[Samba] Mapping User from ADS
Hi folks, I'm using Samba 3beta running on RH 8.0 and I'd like to authentificate against a Microsoft AD. This all works very well, except that not all AD User are mapped to my Unixbox! When starting getent passwd, my UnixBox shoiws just my User from passwd and some of the AD User - not all!! Looking through my User with the command wbinfo -u all AD user are shown correctly! Anybody knowing any workaround? Attached I'm sending my setups. Sascha my smb.conf: [global] workgroup = *** realm = * ADS server = DE4A068C.ffm.sbs.de server string = Samba ADS security = ADS password server = * #passdb backend = smbpasswd algorithmic rid base = 10 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 encrypt passwords = yes log file = /usr/local/samba/var/%m.log log level = 10 max log size = 10 domain logons = yes ldap ssl = no idmap uid = 1000-20 idmap gid = 1000-20 template shell = /bin/false template homedir = /home/%D/%U winbind cache time = 1 #'winbind gid = 20001 - 3 #winbind uid = 20001 - 3 winbind separator =* winbind enum groups = yes winbind enum users = yes unix password sync = Yes extract from winbindd.log when trying getent passwd - User Sascha is shown but mapping ofHugo fails! [2003/06/26 14:04:39, 1] nsswitch/winbindd_user.c:winbindd_getpwent(511) could not lookup domain user hugo [2003/06/26 14:04:39, 10] sam/idmap_util.c:sid_to_uid(219) sid_to_uid: sid = [S-1-5-21-484763869-1563985344-1343024091-1313] [2003/06/26 14:04:39, 10] sam/idmap_util.c:sid_to_uid(245) sid_to_uid: Fall back to algorithmic mapping [2003/06/26 14:04:39, 3] sam/idmap_util.c:sid_to_uid(248) sid_to_uid: SID S-1-5-21-484763869-1563985344-1343024091-1313 is *NOT* a user [2003/06/26 14:04:39, 1] nsswitch/winbindd_user.c:winbindd_fill_pwent(46) error getting user id for sid S-1-5-21-484763869-1563985344-1343024091-1313 [2003/06/26 14:04:39, 1] nsswitch/winbindd_user.c:winbindd_getpwent(511) could not lookup domain user sascha [2003/06/26 14:04:39, 10] sam/idmap_util.c:sid_to_uid(219) sid_to_uid: sid = [S-1-5-21-484763869-1563985344-1343024091-1337] [2003/06/26 14:04:39, 10] sam/idmap_util.c:sid_to_uid(231) sid_to_uid: uid = [10006] [2003/06/26 14:04:39, 10] sam/idmap_util.c:sid_to_gid(277) sid_to_gid: sid = [S-1-5-21-484763869-1563985344-1343024091-513] [2003/06/26 14:04:39, 10] sam/idmap_util.c:sid_to_gid(289) sid_to_gid: gid = [3] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] W2K PDC Domain
On Fri, 2003-06-27 at 16:47, [EMAIL PROTECTED] wrote: > > I can not add a W2K computer to my newly created SMB PDC. I get the error > message: the credentials supplied conflict with an existing set of > credentials on SAMBA 2.2.7 and "The account used is a computer account. > Use your global user account or local user account to access this > server." on SAMBA 3.0.0. Are you sure you didn't mix that up? The error messages are typical, just reversed! Make sure you have no mapped drives to the server before you join the domain. In particular, don't have any drives open as a different user to the one you use to join the domain (usually root). In 2.2.x it sometimes helps to have added the domain to the server first. (You are not meant to need to do this, but when debugging I would try it). Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] W2K PDC Domain
On Fri, 27 Jun 2003 [EMAIL PROTECTED] wrote: > > I can not add a W2K computer to my newly created SMB PDC. I get the error > message: the credentials supplied conflict with an existing set of > credentials on SAMBA 2.2.7 and "The account used is a computer account. > Use your global user account or local user account to access this > server." on SAMBA 3.0.0. > > On W98 I am able to logon to the domain, but unable to execute the map > logon drive = h: or logon home = \\netbios_name\home\%u Sounds broken. What have you done to diagnose the problem? What is the output of running: testparm smbclient -L lcoalhost -U% - John T. -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Problems after changing operating system and versions
Dear all, we have been using samba as PDC with ldap for over a year without any problems. Now we are trying to switch to a another operating system version and another samba version and have big problems with our windows clients (NT, 2000 and XP). Some have problems logging on to the domain (error C19B), others give the net helpmsg 3678 (problems saving profile) and/or the netlogon script and profile is not properly executed. Strangely a few seem to work just fine! Old version: SuSE 8.0 samba 2.2.4 openldap 2.0.23 New version: United Linux with SP 1+2 (and SP2 hotfix) samba 2.2.5-178 openldap 2.2.14-86 As I could nowhere find more information about how to properly make such a migration, I did naivly the following: 1. profiles and user data are in an external RAID array (and weren't moved) 2. install new operating system on the same host giving him the same name and ip address. 3. export ldap from old host using slapcat and import it with ldapadd (after manually taking into account the modified samba schema between openldap 2.0 and 2.2). ldapadd did not report any problems while checking the schema so I assume that was done right. I should add, that at the same time the different ldap entries that used to be all together at the top of the ldap tree (uid=YYY,dc=samba,dc=org) were put into ou=groups,dc=samba,dc=org, ou=people,dc=samba,dc=org and ou=computer,dc=samba,dc=org to have themseparated while browsing the ldap tree. In addition the computer account used to have an entry in the /etc/passwd and ldap (ldap had only sambaAccount no posixAccount). I changed this and added a posixAccount into the ldap entry for machines and removed all machine entries in the /etc/passwd. (The users and groups were already entirely in ldap). I was extra careful not to change any uid's, rid's etc in ldap between the old and new setup. No passwords were changed (the same ones were taken as before). 4. To setup pams and nss I configured the ldap client with yast2 and verified the settings of nsswitch and /etc/security/pam_unix2.conf 5. Then I take the same smb.conf file as before. (domain name and all that were not changed). 6. The windows clients were not touched at all. In particular I did not take them out of the domain and add them again. I would like to avoid this at any cost because of the time involved.I tried this with a few machines and joining the domain seemed to work. However that did not fix the problems with the users logging into the PCs after that. 7. I tested the entire setup with a separate, smaller installation consisting of three PCs with one being the linux server (same software,same ldap info etc as the big server) and two windows PCs (2000 and NT). For this test setup I had no problems but of course I had to newly add the machines into the domain during the setup as they didn't exist in the original ldap setting.) Now my questions: - 1. Is the general approach correct or should be done different? 1. If 1 is ok, what have I done wrong and forgotten to do? 3. Among other things I read somewhere that the domain sid should also be the same, so this could be part of my problem. How can I do this? I couldn't figure it out using rpcclient.Is that the only thing that could be wrong. Unfortunately with many users using the real system my access is very limited and I don't have a lot of opportunities to just keep trying things out! Many thanks in advance Christoph -- *** Christoph Witzig [EMAIL PROTECTED] OPIT Solutions AG Täfernstr. 11 CH-5405 Baden-Dättwil Tel: +41 56 484-8000 / Fax: +41 56 484-8001 / Web: www.opit.ch *** -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] W2K PDC Domain
I can not add a W2K computer to my newly created SMB PDC. I get the error message: the credentials supplied conflict with an existing set of credentials on SAMBA 2.2.7 and "The account used is a computer account. Use your global user account or local user account to access this server." on SAMBA 3.0.0. On W98 I am able to logon to the domain, but unable to execute the map logon drive = h: or logon home = \\netbios_name\home\%u TIA, cmc -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba and ghostscript to build a pdf-printer
Hello, I want to build a pdf-Printer with samba, using a description by Martin Rode found in a magazine called iX in March 2003. Following all instructions i got a problem, when I tried to print a document. I think, Samba should create a a file in the specified directory, but it doesn't work. What kind of permissions do I have to create to make Samba printing in the directory where at least ghotscript would take it to create a pdf-file. Thank you all for some hints to solve my problem, greatings, Ralf -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Virus Alert
*** THIS IS AN AUTOMATED MESSAGE *** A mail message sent from this account to a Cisco employee had an attachment called your_details.zip. The file your_details.zip contained a virus. Please contact your local System Administrator for further assistance. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Time synchronizing a Samba (member) server
On Sun, 2003-06-22 at 16:54, Sergey Badamshin wrote: > > Ak> Is it possible to synchronize the time of a Samba (member) server > Ak> running in a W2K-domain with a W2K-server which is also the time-server > Ak> for our domain?? > > Ak> Thanks > > Ak> AdK. > > Is it a problem to put 'rdate -s your-time-server' in cron? I think Win2k runs NTP - so you should just be able to point your unix clients at that. Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] samba authenticated netatalk logins??
On Tue, 2003-06-24 at 08:54, eric wrote: > hello all... > > i'm running freebsd 4.8 release on our fileservers. we serve files to > over 50 macintosh OS 9 clients, and we use netatalk to do it. However, > all our username/password info is managed by the corporate IT dept. and > they run Win2000. To avoid having to maintain my own password database, > I'd like to use the authentication mechanism built into samba to > authenticate our netatalk users. I'd also like to expand that > authentication scheme to allow unix interactive logins using usernames > hosted from the company's domain controller. > > Can anybody help me on this? Specifically what extra ports I need to > install or options I must recompile with? Can I use PAM to help? pam_winbind is what you are after. Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Multiple domains, one PDC
On Fri, 2003-06-27 at 06:16, Jay Winks wrote: > I know this has to be frequently asked, but I haven't found enough info to > strike out on my own and do it right myself. I'm somewhat rusty in > regards to Samba. I haven't used the server since 1999 or so. I want > to use a single server to be PDC for several NT/2000 type domains. Can > this be done effectively, and, if so, what is the *right* way to > proceed. Bear in mind that I'm wanting to be fairly ambitious with > this... I want to try to integrate LDAP/S and even possibly MS > Exchange without syncing two separate stores of accounts (i.e., a > SAMBA SAM and an NT SAM). Am I on crack or is it in the realm of > possibility? Setting up multiple domains is certainly possible - a chroot() works best, but you can get away with different prefixes, and different interfaces to bind to. As to Exchange, it's unknown to what state we are at with intergration - it's known that Samba-TNG has had some success, but I've not done anything on it myself. You may need to have exchange in it's own domain, trusting Samba's domains. Domain trusts will be a feature of Samba 3.0, and being 'trusted' is supported in CVS/beta1 already. Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] net ads join - tells me ADS support not compiled in buti did configure it!!
On Fri, 2003-06-27 at 01:42, stefan sokoll wrote: > hi > > i'm using suse8.2 > > i compiled and installed heimdal-0.6 > > i configured samba3.0.0beta1 with: > configure --with-winbind --with-pam-winbind --with-smbmount --with-ads --with-pam > --with-ldap > > i did make without options and make install > > "kinit [EMAIL PROTECTED]" did work > > "net ads join" told me ADS support not compiled in > > how can this be? - the configure file tells ads support is inluded by default and > additionally i added it as parameter to the configure script > > can somebody help my? i can see at the make output that he doesn't compile the ads > files! Current Samba 3.0 CVS does a much better job of 'failing' configure if you ask for --with-ads and you don't have the krb5.h, for example. Previous versions would just ignore your request, and just disable it if it was not available. Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] UID/SID mapping across PDC member servers?
On Fri, 2003-06-27 at 01:26, Sven Riedel wrote: > Hi, > I have a Samba 3.0 beta server set up as an NT Domain PDC (lets call it > box S), a Windows 2000 client (box W) and a Linux member server in the > domain (box L). All are configured as per the most recent 3.0/HEAD howto. S and L > have the same users with same UIDs and login names in /etc/passwd and /etc/shadow. > > When browsing the domain from W, I can access all the shares on S and L. > On S I can access the shares as the user I log into to the domain with. > On L I can only acces the shares as "nobody" (/var/log/samba/log.smbd > states that the UID/GID was mapped to 10001/10001). How do I make L > realize that the user logged in is the same user as the one with the > same UID on S? I tried experimenting with the "usermap" file (trying > user = user DOMAIN/user), but that didn't succeed. Any ideas? I think this is one of the things that has been fixed in CVS, and should be working properly in the next beta (due in the next couple of days). Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
samba survey (was: Re: [Samba] Off Subject)
On Fri, 2003-06-27 at 05:29, [EMAIL PROTECTED] wrote: > Pardon me for asking this general question with regards to Samba but I've been > searching and haven't found a source that would answer my question. > > > Is there some site, list, etc, that lists companies, schools, etc, who have > volunteered information that they use Samba in their day-to-day operations? > > > This would be of great interest to us as it would show Linux/Samba to be a viable > solution instead of going exclusively with a Windows-server-based setup. This has been part of the purpose of the 'samba survey' http://samba-survey.sernet.de Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] concurrent login
Dear all, Is there any way to limit the number of concurrent connections of a user ? R.Ho -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] RE: setting passwd help
>I'm still getting this error even after adding a new user ? >unable to open passdb database. >any ideas >thanks Some actions, such as joinging the domain from a W2K box require that you have a smbpasswd entry for a root account. You may want to add user root with smbpasswd. There are some security issues related to adding root to smbpasswd if you are on a non-home network. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] XP Pro, Samba-3 authentication consistancy problems
Thus spake Justin Kreger ([EMAIL PROTECTED]) [25/06/03 19:30]: > I'm seeing the same exact thing, Primarly with an XP Home user, and one > XP Pro user. We've managed to narrow it down to workstations that we'd imported old values from. We're in the midst of setting up new workstations to replace the old ones, without doing the XP import bit. Hopefully that will fix it. As suspected, it looks to be a workstation issue. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Group Policy for Win2k/XP
OK, lets go tru your question again. Yo want to have a profile for to diferent machines. One for lab and one for office? Is the same user going to be loging in on both machines? If that is so then I sugest you don,t use profiles but use system policy. To do that you realy need poledit program from win NT 4 SERVER! cd-rom. If I am not right, Can you explain to me the exact situation and why you need multiple profiles for diferent users. I also know that wehen you are using roaming profiles on diferent machines you get some msg's like there is no program found for shourtcut's. That kind of staf. You have to tell me exectly why you want this? Regards, Admir - Original Message - From: "Ryan Novosielski" <[EMAIL PROTECTED]> To: "admir" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, June 26, 2003 8:04 PM Subject: Re: [Samba] Re: Group Policy for Win2k/XP > I am logging into a Samba server on an HP9000. I read the HOWTO that John > has been recommended (chapter 18) multiple times, but I think pieces are > missing in the explanation for this stuff, unless I'm just inept. ;) > > _ _ _ _ ___ _ _ _ > |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin > |$&| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) > \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 > > On Thu, 26 Jun 2003, admir wrote: > > > What server are you using for your users to log in? > > > > Is it samba or win2000? If it is samba then take a look at samba howto head > > 3 at samba.org . It is telling you there how to change registry for machines > > to set diferent path for profile and policy updates. If you are using > > win2000 server just install active directory and look at Microsoft.com for > > info how to deploy security and policy settings in Active Directory. > > > > I have not done this in a long time. That is all I can tell you for now. > > > > regards, > > > > Admir > > > > "Ryan Novosielski" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > Sorry to re-send, but I think this may have gotten missed last time, > > > possibly because of the inaccurate subject line. Can someone throw me a > > > bone here? I am very lost as far as this one part of the administration > > > goes. > > > > > > Thanks for any help you can provide! > > > > > > The thing that I have been having great difficulty understanding, and this > > > could be because of lack of Windows knowledge but bear with me, is how you > > > can have DIFFERENT policy files based on... well, anything. I know group > > > support is limited... how about even based on NetBIOS name as I can easily > > > get that from %m at least. I know, for example, the profile of a Win2k > > > machine will be located in \\SERVER\NETLOGON\Default Profile, but what if > > > I want to have one for lab PC's and one for Office PC's, and for some > > > remote sites, none at all, just authentication? I know how to implement > > > policies per user, too, but I don't want to have to login as the user, set > > > the policy and then save the policy and log out. How can I apply a policy > > > to a user based on some arbitrary information? Is the logon script early > > > enough to do some work behind the scenes to smylink the proper files into > > > the right place, or... am I totally off track here? I'm sure this is > > > something everyone does, but I can't for the life of me figure out the way > > > to make this stuff apply to different users differently. > > > > > > PS: This information would be EXCEEDINGLY helpful to have in the HOWTO. > > > The Oreilly book covers it a little, but... not that much either. > > > > > > _ _ _ _ ___ _ _ _ > > > |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin > > > |$&| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) > > > \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 > > > > > > -- > > > To unsubscribe from this list go to the following URL and read the > > > instructions: http://lists.samba.org/mailman/listinfo/samba > > > > > > > > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Symantec AVF detected that you sent a message with aprohibited attachment name
Subject of the message: Re: Movie Recipient of the message: Unknown Recipient(s) Prohibited attachment: your_details.zip -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Off Subject
Hi, in Germany ther are many projects special for school, kindergardens etc here is one side you can look on they make a special samba distro for schools http://home.germany.net/100-120220/cn-index.htm sorry but all is in german , but i am sure the webadmin does have english faqs for you Regards > Pardon me for asking this general question with regards to Samba but I've > been searching and haven't found a source that would answer my question. > > > Is there some site, list, etc, that lists companies, schools, etc, who > have volunteered information that they use Samba in their day-to-day > operations? > > > This would be of great interest to us as it would show Linux/Samba to be a > viable solution instead of going exclusively with a Windows-server-based > setup. > > > TIA, > Marion D. Haines > Network Administrator > Board of County Commissioners > Brevard County, Florida > == > EMail: [EMAIL PROTECTED] > Phone: 321-617-7398 > == > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Multiple domains, one PDC
I know this has to be frequently asked, but I haven't found enough info to strike out on my own and do it right myself. I'm somewhat rusty in regards to Samba. I haven't used the server since 1999 or so. I want to use a single server to be PDC for several NT/2000 type domains. Can this be done effectively, and, if so, what is the *right* way to proceed. Bear in mind that I'm wanting to be fairly ambitious with this... I want to try to integrate LDAP/S and even possibly MS Exchange without syncing two separate stores of accounts (i.e., a SAMBA SAM and an NT SAM). Am I on crack or is it in the realm of possibility? Thanks -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Off Subject
On Thu, Jun 26, 2003 at 03:29:24PM -0400, Marion Haines scrawled: > Pardon me for asking this general question with regards to Samba but I've been > searching and haven't found a source that would answer my question. > > > Is there some site, list, etc, that lists companies, schools, etc, who have > volunteered information that they use Samba in their day-to-day operations? > > > This would be of great interest to us as it would show Linux/Samba to be a viable > solution instead of going exclusively with a Windows-server-based setup. A good site to look into would be http://counter.li.org/. That is the linux counter website. I was a student in Anne Arundel County Public Schools until this last year, and the majority of the linux installs were rouge installs for individual computer labs, but they were much better at handling the load than the main servers. I would try contacting the people at the Linux Counter project and ask them to help you get more specialized data. Chris Shafer > TIA, > Marion D. Haines > Network Administrator > Board of County Commissioners > Brevard County, Florida > == > EMail: [EMAIL PROTECTED] > Phone: 321-617-7398 > == > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba pgp0.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Off Subject
Pardon me for asking this general question with regards to Samba but I've been searching and haven't found a source that would answer my question. Is there some site, list, etc, that lists companies, schools, etc, who have volunteered information that they use Samba in their day-to-day operations? This would be of great interest to us as it would show Linux/Samba to be a viable solution instead of going exclusively with a Windows-server-based setup. TIA, Marion D. Haines Network Administrator Board of County Commissioners Brevard County, Florida == EMail: [EMAIL PROTECTED] Phone: 321-617-7398 == -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Hooray...I've got Samba to play with LDAP!!
I am so excited folks...I finally got Samba to authenticate Windows using LDAP and successfully join my XP boxes to the domain. Man, after all the frustration of debugging in Samba 3.0 beta1. I decided to try out version 2.2.8a instead. Therefore, I grab the .tar.gz and recompiled it and setup everything with the smbldap-tools and bam, it works...Well, at first I cannot join my XP into the DOMAIN and get the Access Denied and read the log and it said there was no root account in which windows is looking for. I then used the smblap-useradd.pl and added root, modified some entries and there it is the good old wonderfu message "Welcome to Domain" and reboot and hooray... I can't get the damn Samba 3.0 beta1 to work cuz I guess the smbldap-toos is not working right under 3.0. Anyway, don't care now, I'll just stick with Samba 2.2.8a. So happy :) - Need Web Email Account? Email [EMAIL PROTECTED] - -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Group Policy for Win2k/XP
I am logging into a Samba server on an HP9000. I read the HOWTO that John has been recommended (chapter 18) multiple times, but I think pieces are missing in the explanation for this stuff, unless I'm just inept. ;) _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$&| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 On Thu, 26 Jun 2003, admir wrote: > What server are you using for your users to log in? > > Is it samba or win2000? If it is samba then take a look at samba howto head > 3 at samba.org . It is telling you there how to change registry for machines > to set diferent path for profile and policy updates. If you are using > win2000 server just install active directory and look at Microsoft.com for > info how to deploy security and policy settings in Active Directory. > > I have not done this in a long time. That is all I can tell you for now. > > regards, > > Admir > > "Ryan Novosielski" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Sorry to re-send, but I think this may have gotten missed last time, > > possibly because of the inaccurate subject line. Can someone throw me a > > bone here? I am very lost as far as this one part of the administration > > goes. > > > > Thanks for any help you can provide! > > > > The thing that I have been having great difficulty understanding, and this > > could be because of lack of Windows knowledge but bear with me, is how you > > can have DIFFERENT policy files based on... well, anything. I know group > > support is limited... how about even based on NetBIOS name as I can easily > > get that from %m at least. I know, for example, the profile of a Win2k > > machine will be located in \\SERVER\NETLOGON\Default Profile, but what if > > I want to have one for lab PC's and one for Office PC's, and for some > > remote sites, none at all, just authentication? I know how to implement > > policies per user, too, but I don't want to have to login as the user, set > > the policy and then save the policy and log out. How can I apply a policy > > to a user based on some arbitrary information? Is the logon script early > > enough to do some work behind the scenes to smylink the proper files into > > the right place, or... am I totally off track here? I'm sure this is > > something everyone does, but I can't for the life of me figure out the way > > to make this stuff apply to different users differently. > > > > PS: This information would be EXCEEDINGLY helpful to have in the HOWTO. > > The Oreilly book covers it a little, but... not that much either. > > > > _ _ _ _ ___ _ _ _ > > |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin > > |$&| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) > > \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Hier is a working smb.conf file, almoust working.
Hier is my new smb.conf (this smb wil make your win2000 profiles to be stored in one directory, ''\\%L\Profiles''. Verry handy if you want one mandatory profile for all users. It wil also make connection to the right user home drive :). Have fun, but beware! Right now for some wierd reson i can only log in with root account and nobody else. # Samba config file created using SWAT # from 192.168.1.142 (192.168.1.142) # Date: 2003/06/26 18:42:30 # Global parameters [global] dos charset = CP850 unix charset = UTF8 display charset = ASCII workgroup = DOMAIN.COM realm = ADS server = netbios name = MASTER netbios aliases = close netbios scope = server string = Samba Server 3 Beta interfaces = 192.168.1.10/24 bind interfaces only = No security = USER auth methods = encrypt passwords = Yes update encrypted = No client schannel = Auto server schannel = Yes allow trusted domains = Yes hosts equiv = min passwd length = 3 map to guest = Never null passwords = No obey pam restrictions = Yes password server = smb passwd file = /etc/samba/smbpasswd private dir = /etc/samba passdb backend = smbpasswd, guest algorithmic rid base = 1000 root directory = guest account = nobody pam password change = No passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* passwd chat debug = No username map = /etc/samba/smbusers password level = 0 username level = 0 unix password sync = Yes restrict anonymous = 0 lanman auth = Yes ntlm auth = Yes client NTLMv2 auth = No client lanman auth = Yes preload modules = log level = 0 syslog = 1 syslog only = No log file = /var/log/samba/log.%m max log size = 50 timestamp logs = Yes debug hires timestamp = No debug pid = No debug uid = No smb ports = 445 139 protocol = NT1 large readwrite = Yes max protocol = NT1 min protocol = CORE unicode = Yes read bmpx = No read raw = Yes write raw = Yes disable netbios = No acl compatibility = nt pipe support = Yes nt status support = Yes announce version = 4.9 announce as = NT max mux = 50 max xmit = 16644 name resolve order = bcast lmhosts wins host max ttl = 259200 max wins ttl = 518400 min wins ttl = 21600 time server = Yes unix extensions = No use spnego = Yes client signing = No client use spnego = Yes change notify timeout = 60 deadtime = 0 getwd cache = Yes keepalive = 300 kernel change notify = Yes lpq cache time = 10 max smbd processes = 0 paranoid server security = No max disk size = 0 max open files = 1 read size = 16384 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 stat cache size = 50 use mmap = Yes hostname lookups = No name cache timeout = 660 load printers = Yes printcap name = /etc/printcap disable spoolss = No enumports command = addprinter command = deleteprinter command = show add printer wizard = Yes os2 driver map = strip dot = No mangling method = hash2 mangle prefix = 1 mangled stack = 50 stat cache = Yes machine password timeout = 604800 add user script = delete user script = add group script = delete group script = add user to group script = delete user from group script = set primary group script = add machine script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u shutdown script = abort shutdown script = logon script = logon.cmd logon path = \\%L\Profiles logon drive = Z: logon home = \\%L\homes\%U domain logons = Yes os level = 64 lm announce = Auto lm interval = 60 preferred master = Yes local master = Yes domain master = Yes browse list = Yes enhanced browsing = Yes dns proxy = No wins proxy = No wins server = wins support = No wins hook = wins partners = kernel oplocks = Yes lock spin count = 3 lock spin time = 10 oplock break wait time = 0 ldap suffix = ldap machine suffix = ldap user suffix = ldap group suffix = ldap idmap suffix
[Samba] Re: Group Policy for Win2k/XP
What server are you using for your users to log in? Is it samba or win2000? If it is samba then take a look at samba howto head 3 at samba.org . It is telling you there how to change registry for machines to set diferent path for profile and policy updates. If you are using win2000 server just install active directory and look at Microsoft.com for info how to deploy security and policy settings in Active Directory. I have not done this in a long time. That is all I can tell you for now. regards, Admir "Ryan Novosielski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Sorry to re-send, but I think this may have gotten missed last time, > possibly because of the inaccurate subject line. Can someone throw me a > bone here? I am very lost as far as this one part of the administration > goes. > > Thanks for any help you can provide! > > The thing that I have been having great difficulty understanding, and this > could be because of lack of Windows knowledge but bear with me, is how you > can have DIFFERENT policy files based on... well, anything. I know group > support is limited... how about even based on NetBIOS name as I can easily > get that from %m at least. I know, for example, the profile of a Win2k > machine will be located in \\SERVER\NETLOGON\Default Profile, but what if > I want to have one for lab PC's and one for Office PC's, and for some > remote sites, none at all, just authentication? I know how to implement > policies per user, too, but I don't want to have to login as the user, set > the policy and then save the policy and log out. How can I apply a policy > to a user based on some arbitrary information? Is the logon script early > enough to do some work behind the scenes to smylink the proper files into > the right place, or... am I totally off track here? I'm sure this is > something everyone does, but I can't for the life of me figure out the way > to make this stuff apply to different users differently. > > PS: This information would be EXCEEDINGLY helpful to have in the HOWTO. > The Oreilly book covers it a little, but... not that much either. > > _ _ _ _ ___ _ _ _ > |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin > |$&| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) > \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] RH9 compile problems AND WinXP netlogon script
Because of the original issue below, it dawned on me to re-compile Samba after the RH9 upgrade from RH7.1. The make fails, and I was hoping someone could shed some light on either/both issues. I'm compiling Samba 2.2.8a with: ./configure --with-smbwrapper --with-pam --with-syslog --with-netatalk --prefix=/var/samba --with-quotas --with-smbmount --with-shadow No errors there, but make fails with: Compiling passdb/passdb.c Compiling passdb/secrets.c passdb/secrets.c: In function `secrets_fetch': passdb/secrets.c:59: warning: assignment discards qualifiers from pointer target type passdb/secrets.c: In function `secrets_store': passdb/secrets.c:74: warning: assignment discards qualifiers from pointer target type passdb/secrets.c:76: warning: assignment discards qualifiers from pointer target type passdb/secrets.c: In function `secrets_delete': passdb/secrets.c:89: warning: assignment discards qualifiers from pointer target type Compiling passdb/pass_check.c Compiling passdb/smbpassfile.c Compiling passdb/machine_sid.c Compiling passdb/pdb_smbpasswd.c Compiling passdb/pampass.c passdb/pampass.c: In function `make_pw_chat': passdb/pampass.c:220: warning: passing arg 1 of `next_token' from incompatible pointer type passdb/pampass.c:231: warning: passing arg 1 of `next_token' from incompatible pointer type Compiling passdb/pdb_tdb.c Compiling passdb/pdb_ldap.c Compiling passdb/pdb_nisplus.c Compiling lib/wins_srv.c Compiling lib/util_str.c lib/util_str.c: In function `toktocliplist': lib/util_str.c:104: warning: assignment discards qualifiers from pointer target type Compiling lib/util_sid.c Compiling lib/util_unistr.c Compiling lib/util_file.c Compiling lib/util.c Compiling lib/util_sock.c Compiling lib/util_sec.c Compiling smbd/ssl.c Compiling lib/talloc.c Compiling tdb/spinlock.c Compiling tdb/tdbutil.c tdb/tdbutil.c: In function `tdb_chainlock_with_timeout': tdb/tdbutil.c:46: warning: passing arg 1 of `tdb_set_lock_alarm' discards qualifiers from pointer target type tdb/tdbutil.c: In function `tdb_lock_bystring': tdb/tdbutil.c:73: warning: assignment discards qualifiers from pointer target type tdb/tdbutil.c: In function `tdb_unlock_bystring': tdb/tdbutil.c:87: warning: assignment discards qualifiers from pointer target type tdb/tdbutil.c: In function `tdb_fetch_int32_byblob': tdb/tdbutil.c:103: warning: assignment discards qualifiers from pointer target type tdb/tdbutil.c: In function `tdb_store_int32_byblob': tdb/tdbutil.c:134: warning: assignment discards qualifiers from pointer target type tdb/tdbutil.c: In function `tdb_fetch_uint32_byblob': tdb/tdbutil.c:162: warning: assignment discards qualifiers from pointer target type tdb/tdbutil.c: In function `tdb_store_uint32_byblob': tdb/tdbutil.c:194: warning: assignment discards qualifiers from pointer target type tdb/tdbutil.c: In function `tdb_store_by_string': tdb/tdbutil.c:224: warning: assignment discards qualifiers from pointer target type tdb/tdbutil.c: In function `tdb_fetch_by_string': tdb/tdbutil.c:242: warning: assignment discards qualifiers from pointer target type Compiling printing/printing.c Compiling printing/nt_printing.c Compiling smbwrapper/smbw.c with -fPIC smbwrapper/smbw.c: In function `smbw_parse_path': smbwrapper/smbw.c:331: warning: passing arg 1 of `next_token' from incompatible pointer type smbwrapper/smbw.c:339: warning: passing arg 1 of `next_token' from incompatible pointer type smbwrapper/smbw.c:346: warning: passing arg 1 of `next_token' from incompatible pointer type smbwrapper/smbw.c: In function `smbw_lseek': smbwrapper/smbw.c:1258: warning: passing arg 4 of `cli_getattrE' from incompatible pointer type smbwrapper/smbw.c: At top level: smbwrapper/smbw.c:1523: warning: no semicolon at end of struct or union smbwrapper/smbw.c:1523: parse error before '.' token smbwrapper/smbw.c:1525: parse error before '.' token smbwrapper/smbw.c:1527: parse error before '.' token smbwrapper/smbw.c:1531: parse error before '}' token smbwrapper/smbw.c: In function `xstat_convert': smbwrapper/smbw.c:1548: dereferencing pointer to incomplete type smbwrapper/smbw.c:1549: dereferencing pointer to incomplete type smbwrapper/smbw.c:1550: dereferencing pointer to incomplete type smbwrapper/smbw.c:1551: dereferencing pointer to incomplete type smbwrapper/smbw.c:1552: dereferencing pointer to incomplete type smbwrapper/smbw.c:1553: dereferencing pointer to incomplete type smbwrapper/smbw.c:1554: dereferencing pointer to incomplete type smbwrapper/smbw.c:1555: dereferencing pointer to incomplete type smbwrapper/smbw.c:1556: dereferencing pointer to incomplete type smbwrapper/smbw.c:1557: dereferencing pointer to incomplete type smbwrapper/smbw.c:1558: dereferencing pointer to incomplete type smbwrapper/smbw.c:1559: dereferencing pointer to incomplete type smbwrapper/smbw.c:1560: dereferencing pointer to incomplete type make: *** [smbwrapper/smbw.po] Error 1 Thanks in advance... Khanh Tran Network Operations Sarah Lawrence College -Origina
[Samba] how can i share directory using samba
Hello, i want to share directory /data which of size 173gb using samba with other window client.how can i do this. thanks Dada A. Adebayo (ccna,mcp) BUROMAT LIMITED Mobile : 0803-360-2762, 0802-327-1126 - Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Ecartis command results: -- Binary/unsupported filestripped by Ecartis --
>> Please see the attached zip file for details. Unknown command. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 2.2.8a, printer driver download: need to use setdrive r
On Thu, Jun 26, 2003 at 06:46:48PM +0200, Vizitiu, Ciprian wrote: > > This URL crashes my mozilla, I only have 128M of RAM :) > > Damn! We're in 2003 and I feel like in the "mail" era... > > Check this: http://www.linuxprinting.org/kpfeifle/ I got the PDF, relax :) Very good doc, also teaches a lot about cups. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 2.2.8a, printer driver download: need to use setdrive r
On Thu, Jun 26, 2003 at 01:15:09PM -0300, Andreas wrote: > On Thu, Jun 26, 2003 at 05:15:09PM +0200, Vizitiu, Ciprian wrote: > > You seem to be missing the right how-to. Try > > http://www.linuxprinting.org/kpfeifle/SambaPrintHOWTO/Samba-HOWTO-Collection > > -3.0-PrintingChapter-11th-draft.html > > This URL crashes my mozilla, I only have 128M of RAM :) > > Anyhow, I was talking about samba-2, not 3. Having now looked at the pdf file, I must say I'm impressed with this howto, very extensive, congratulations :) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] 2.2.8a, printer driver download: need to use setdrive r
> > > http://www.linuxprinting.org/kpfeifle/SambaPri> ntHOWTO/Samba-HOWTO-Coll > > ection > > -3.0-PrintingChapter-11th-draft.html > > This URL crashes my mozilla, I only have 128M of RAM :) Damn! We're in 2003 and I feel like in the "mail" era... Check this: http://www.linuxprinting.org/kpfeifle/ >From there navigate to SambaPrinting and there search for 11th version. BTW, get a newer Mozilla anyway! ;-) > > Anyhow, I was talking about samba-2, not 3. Again! Please check that how-to, it is by no mean version3-only! It works very well with 2.2.7 or 2.2.8 and it contains many ! PS(/2) Kurt why on earth did you name it like that? :-/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] 2.2.8a, printer driver download: need to use setdrive r
I was indeed talking about Samba2 as well. -Original Message- From: Andreas [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 11:15 AM To: [EMAIL PROTECTED] Subject: Re: [Samba] 2.2.8a, printer driver download: need to use setdrive r On Thu, Jun 26, 2003 at 05:15:09PM +0200, Vizitiu, Ciprian wrote: > You seem to be missing the right how-to. Try > http://www.linuxprinting.org/kpfeifle/SambaPrintHOWTO/Samba-HOWTO-Collection > -3.0-PrintingChapter-11th-draft.html This URL crashes my mozilla, I only have 128M of RAM :) Anyhow, I was talking about samba-2, not 3. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 2.2.8a, printer driver download: need to use setdrive r
On Thu, Jun 26, 2003 at 05:15:09PM +0200, Vizitiu, Ciprian wrote: > You seem to be missing the right how-to. Try > http://www.linuxprinting.org/kpfeifle/SambaPrintHOWTO/Samba-HOWTO-Collection > -3.0-PrintingChapter-11th-draft.html This URL crashes my mozilla, I only have 128M of RAM :) Anyhow, I was talking about samba-2, not 3. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] quick detection of wins server
Hello all, Is there a quick and simple ways to detect if a wins server is present on a network and get its IP ? D.Morel -- *** [EMAIL PROTECTED] OpenPGP public key: http://www.amakuru.net/dmorel.asc 28192ef126bc871757cb7d97f4a44536 signature.asc Description: Ceci est une partie de message=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 2.2.8a, printer driver download: need to use setdrive r
On Thu, Jun 26, 2003 at 10:06:58AM -0500, Brandon Lederer wrote: > That is exactly it! Now--- documentation on setdriver is where? Lets put > this sweetie to a rest. The howto talks about using it. For example: http://us4.samba.org/samba/devel/docs/html/Samba-HOWTO-Collection.html Search for "setdriver", you will get to a section called "Support a large number of printers". I just didn't have the impression that setdriver was *required*, only that it was useful for a specific situation. Perhaps the NT APW does something win2k does not? I didn't try to add a printer via NT4, I don't have this system, only win2k and xp. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Access Files
Le jeu 26/06/2003 à 15:28, Scherb, Glenn a écrit : > Iwan, > > Ensure that your smb.conf contains these settings: > > kernel oplocks = no > oplocks = no > level2 oplocks = no or oplocks = yes level2 oplocks = yes veto oplock files = /*.DBF/*.dbf/*.MDX/*.mdx/*.ITB/*.itb/*.MDB/*.mdb/ -- *** [EMAIL PROTECTED] OpenPGP public key: http://www.amakuru.net/dmorel.asc 28192ef126bc871757cb7d97f4a44536 signature.asc Description: Ceci est une partie de message=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] WinBind and SUSE 8.2 - Has anyone gotten it to work?
Suse 8.2 Samba 3.0.0beta1 I have succefully configured WinBind, joined the NT domain and been able to perform wbinfo -u and -g and that is where the success stops. When I do a getent on passwords or groups I only get the local information. When I try and log on as a existing user on the linux box, it does accept the winbind authentication and let me in, but if the user does not already exist, then login denies the user. I have successfully configured my pam pop3 module to allow access through WinBind for the existing users as well. All of the configs that I have seen are centered around either RedHat or Mandrake, both of which reference pam modules that Suse doesnt use. Any help would be appreciated. -- Terry Poperszky Network Manager SOS Staffing Services [EMAIL PROTECTED] 801-257-5757 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Two winbinds in one machine?
> Why don't you use 2 different Linux boxes each one acting as a domain > controller? In fact, the box is a domain member, not a domain controller (that's why I use winbind, for fetching accounts and allowing access to the box shares). Anyway, I found a workaround, pretty nasty though: as I am migrating from one domain to another, and the situation is temporary, I pasted the results from one winbind (with wbinfo) in /etc/passwd and /etc/group, shut down this winbind, started the other one, and, in combination, I have accounts from both domains up and running (as seen by 'getent passwd' and 'getent group'). And when migration is done, I'll delete the added entries and rely on winbind. Anyway, I think it would be great if there were a way to make nsswitch.conf work with more than one winbind simultaneously... Yours, Fernando del Valle > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Fernando del Valle > Sent: 25 iunie 2003 19:22 > To: [EMAIL PROTECTED] > Subject: [Samba] Two winbinds in one machine? > > > Hi, > > I'm switching between two domains, and I need to make a couple of > Linux+Samba machines provide the same shares in both domains. I've set > up > two sambas in the same machine, listening on different subinterfaces, > but I > can't make winbind to behave properly. As soon as I start the second > winbind, the domain accounts provided by the first one become hidden > (that > is, 'getent passwd' only shows the second domain). I found both winbinds > use > the same UNIX socket/pipe. I found no way to choose the socket used, or > to > make winbind share the socket, neither in the configure script nor in > the > daemon options. Does anyone know how to work around this? > > I use samba 2.2.3. > > > Why don't you use 2 different Linux boxes each one acting as a domain > controller? > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] 2.2.8a, printer driver download: need to use setdrive r
Exactly how I do it So setdriver is the answer wont have time to play with it today. -Original Message- From: Andreas [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 9:57 AM To: Samba Mailing List Subject: Re: [Samba] 2.2.8a, printer driver download: need to use setdrive r On Thu, Jun 26, 2003 at 10:50:57AM -0400, Ryan Novosielski wrote: > How were you uploading drivers in the first place? There is a right and > wrong way, apparently. win2k, my network places, find the samba machine, click on it, open the printers icon, right-click on an empty space in that windows, select properties, installed drivers, add new driver, select arch, etc. :) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] net ads join - tells me ADS support not compiled in but idid configure it!!
hi i'm using suse8.2 i compiled and installed heimdal-0.6 i configured samba3.0.0beta1 with: configure --with-winbind --with-pam-winbind --with-smbmount --with-ads --with-pam --with-ldap i did make without options and make install "kinit [EMAIL PROTECTED]" did work "net ads join" told me ADS support not compiled in how can this be? - the configure file tells ads support is inluded by default and additionally i added it as parameter to the configure script can somebody help my? i can see at the make output that he doesn't compile the ads files! thanx stefan - Gesendet von http://mail.yahoo.de -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] RH9, Samba 2.2.8a and printing with CUPS
Roy Otto Kleiv schrieb: [2003/06/26 13:13:28, 3] smbd/ipc.c:api_fd_reply(296) Got API command 0x26 on pipe "spoolss" (pnum 739e)free_pipe_context: destroying talloc pool of size 0 Maybe this parameter: disable spoolss = yes ...in your [global] section helps. cu, Uwe -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] UID/SID mapping across PDC member servers?
Hi, I have a Samba 3.0 beta server set up as an NT Domain PDC (lets call it box S), a Windows 2000 client (box W) and a Linux member server in the domain (box L). All are configured as per the most recent 3.0/HEAD howto. S and L have the same users with same UIDs and login names in /etc/passwd and /etc/shadow. When browsing the domain from W, I can access all the shares on S and L. On S I can access the shares as the user I log into to the domain with. On L I can only acces the shares as "nobody" (/var/log/samba/log.smbd states that the UID/GID was mapped to 10001/10001). How do I make L realize that the user logged in is the same user as the one with the same UID on S? I tried experimenting with the "usermap" file (trying user = user DOMAIN/user), but that didn't succeed. Any ideas? Regs, Sven P.S. Please CC me, as I'm not subscribed to this list. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] KDC has no support for encryption type
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gerald (Jerry) Carter wrote: | On Wed, 25 Jun 2003, Sergey Smirnov wrote: | | |>~ kerberos_kinit_password [EMAIL PROTECTED] failed: KDC has no support |>for encryption type | | | Change the admin password on the Windows DC once and you'll be set to go. How can I change it? I know this password but can't change it because I'm just UNIX sysadmin. | | | | | cheers, jerry | -- | Hewlett-Packard- http://www.hp.com | SAMBA Team -- http://www.samba.org | GnuPG Key http://www.plainjoe.org/gpg_public.asc | "You can never go home again, Oatman, but I guess you can shop there." | --John Cusack - "Grosse Point Blank" (1997) | - -- Sergey Smirnov -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE++w6/DeW3DVbXLdcRAlIzAKDQYWgR8QYPmKCsjfZgmIAfOKzoBQCfQjCV 2mv3aHR3txh+UgDsX6+GTLE= =0lXH -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] 2.2.8a, printer driver download: need to use setdrive r
No, I mean what did you click on, etc.? There is one way to do it and many wrong ways -- I believe they are documented in the HOWTO, but that may not be where I saw it. _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$&| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 On Thu, 26 Jun 2003, Brandon Lederer wrote: > I used 2k & XP to upload 9 drivers for 3 printers (3 OS's each). neither > time did any PC auto download them. But any 2k and XP machine could see all > 9 drivers on the server. > > -Original Message- > From: Ryan Novosielski [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 26, 2003 9:51 AM > To: Samba Mailing List > Subject: Re: [Samba] 2.2.8a, printer driver download: need to use > setdrive r > > > How were you uploading drivers in the first place? There is a right and > wrong way, apparently. > > _ _ _ _ ___ _ _ _ > |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin > |$&| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) > \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 > > On Thu, 26 Jun 2003, Andreas wrote: > > > On Thu, Jun 26, 2003 at 09:27:32AM -0500, Brandon Lederer wrote: > > > This is the EXACT problem I had. Haven't fixed it either if I have > 10 > > > printers upload all the drivers.. for all the OS's... how do I tell > > > which drivers go with which printer? > > > > You use the setdriver command, it seems. What I wanted to know is if this > > is expected or if I'm missing something. > > > > Just to make myself clear: setdriver works :) > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] 3.0 beta1 problem
Hi I recently installed the 3.0beta1 version on a FreeBSD 5.1-R box and I get this error message when running the "testparm" utility in fact the directory /usr/local/samba/lib/charset is not created by a "make install" The install is a fresh one not an update of any existing samba version. Error loading module '/usr/local/samba/lib/charset/CP850.so': Cannot open "/usr/local/samba/lib/charset/CP850.so" Conversion from UCS-2LE to CP850 not supported Error loading module '/usr/local/samba/lib/charset/CP850.so': Cannot open "/usr/local/samba/lib/charset/CP850.so" Conversion from UTF8 to CP850 not supported Error loading module '/usr/local/samba/lib/charset/CP850.so': Cannot open "/usr/local/samba/lib/charset/CP850.so" Conversion from ASCII to CP850 not supported Error loading module '/usr/local/samba/lib/charset/CP850.so': Cannot open "/usr/local/samba/lib/charset/CP850.so" Conversion from CP850 to UCS-2LE not supported Error loading module '/usr/local/samba/lib/charset/CP850.so': Cannot open "/usr/local/samba/lib/charset/CP850.so" Conversion from CP850 to UTF8 not supported Error loading module '/usr/local/samba/lib/charset/CP850.so': Cannot open "/usr/local/samba/lib/charset/CP850.so" Conversion from CP850 to ASCII not supported Error loading module '/usr/local/samba/lib/charset/CP850.so': Cannot open "/usr/local/samba/lib/charset/CP850.so" Conversion from CP850 to UTF8 not supported Error loading module '/usr/local/samba/lib/charset/CP850.so': Cannot open "/usr/local/samba/lib/charset/CP850.so" Conversion from UTF8 to CP850 not supported Error loading services. Thanks Frank -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Group Policy for Win2k/XP
Sorry to re-send, but I think this may have gotten missed last time, possibly because of the inaccurate subject line. Can someone throw me a bone here? I am very lost as far as this one part of the administration goes. Thanks for any help you can provide! The thing that I have been having great difficulty understanding, and this could be because of lack of Windows knowledge but bear with me, is how you can have DIFFERENT policy files based on... well, anything. I know group support is limited... how about even based on NetBIOS name as I can easily get that from %m at least. I know, for example, the profile of a Win2k machine will be located in \\SERVER\NETLOGON\Default Profile, but what if I want to have one for lab PC's and one for Office PC's, and for some remote sites, none at all, just authentication? I know how to implement policies per user, too, but I don't want to have to login as the user, set the policy and then save the policy and log out. How can I apply a policy to a user based on some arbitrary information? Is the logon script early enough to do some work behind the scenes to smylink the proper files into the right place, or... am I totally off track here? I'm sure this is something everyone does, but I can't for the life of me figure out the way to make this stuff apply to different users differently. PS: This information would be EXCEEDINGLY helpful to have in the HOWTO. The Oreilly book covers it a little, but... not that much either. _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$&| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] 2.2.8a, printer driver download: need to use setdriver
> I'm setting up the automatic printer driver download feature, > and it works nicelly except for one little thing: I have to > use, on the samba machine, rpcclient's setdriver command to > associate a printer with its driver. > > I didn't see this requirement in the Samba howto, it only > mentions setdriver as a way to speed up large installations. > Am I missing something? You seem to be missing the right how-to. Try http://www.linuxprinting.org/kpfeifle/SambaPrintHOWTO/Samba-HOWTO-Collection -3.0-PrintingChapter-11th-draft.html -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] 2.2.8a, printer driver download: need to use setdrive r
That is exactly it! Now--- documentation on setdriver is where? Lets put this sweetie to a rest. -Original Message- From: Andreas [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 10:02 AM To: 'Samba Mailing List' Subject: Re: [Samba] 2.2.8a, printer driver download: need to use setdrive r On Thu, Jun 26, 2003 at 09:54:20AM -0500, Brandon Lederer wrote: > I used 2k & XP to upload 9 drivers for 3 printers (3 OS's each). neither > time did any PC auto download them. But any 2k and XP machine could see all > 9 drivers on the server. Exactly. XP and 2k can see the drivers (but I didn't try the auto-download feature with these OSs, I only used them for the upload), but when I tried to install a printer in a win98 machine, the automatic download feature only worked after I used the setdriver command on the samba machine. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 2.2.8a, printer driver download: need to use setdrive r
On Thu, Jun 26, 2003 at 09:54:20AM -0500, Brandon Lederer wrote: > I used 2k & XP to upload 9 drivers for 3 printers (3 OS's each). neither > time did any PC auto download them. But any 2k and XP machine could see all > 9 drivers on the server. Exactly. XP and 2k can see the drivers (but I didn't try the auto-download feature with these OSs, I only used them for the upload), but when I tried to install a printer in a win98 machine, the automatic download feature only worked after I used the setdriver command on the samba machine. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 2.2.8a, printer driver download: need to use setdrive r
On Thu, Jun 26, 2003 at 10:50:57AM -0400, Ryan Novosielski wrote: > How were you uploading drivers in the first place? There is a right and > wrong way, apparently. win2k, my network places, find the samba machine, click on it, open the printers icon, right-click on an empty space in that windows, select properties, installed drivers, add new driver, select arch, etc. :) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] 2.2.8a, printer driver download: need to use setdrive r
I used 2k & XP to upload 9 drivers for 3 printers (3 OS's each). neither time did any PC auto download them. But any 2k and XP machine could see all 9 drivers on the server. -Original Message- From: Ryan Novosielski [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 9:51 AM To: Samba Mailing List Subject: Re: [Samba] 2.2.8a, printer driver download: need to use setdrive r How were you uploading drivers in the first place? There is a right and wrong way, apparently. _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$&| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 On Thu, 26 Jun 2003, Andreas wrote: > On Thu, Jun 26, 2003 at 09:27:32AM -0500, Brandon Lederer wrote: > > This is the EXACT problem I had. Haven't fixed it either if I have 10 > > printers upload all the drivers.. for all the OS's... how do I tell > > which drivers go with which printer? > > You use the setdriver command, it seems. What I wanted to know is if this > is expected or if I'm missing something. > > Just to make myself clear: setdriver works :) > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re[2]: [Samba] 2.2.8a, printer driver download: need to use setdrive r
Hello Andreas, >> This is the EXACT problem I had. Haven't fixed it either if I have 10 >> printers upload all the drivers.. for all the OS's... how do I tell >> which drivers go with which printer? A> You use the setdriver command, it seems. What I wanted to know is if this A> is expected or if I'm missing something. It should work and should be needed. Or, if you add drivers from a Win2000 client, then you don't need setdriver (I think). -- Best regards, Fabiomailto:[EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 2.2.8a, printer driver download: need to use setdrive r
How were you uploading drivers in the first place? There is a right and wrong way, apparently. _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$&| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 On Thu, 26 Jun 2003, Andreas wrote: > On Thu, Jun 26, 2003 at 09:27:32AM -0500, Brandon Lederer wrote: > > This is the EXACT problem I had. Haven't fixed it either if I have 10 > > printers upload all the drivers.. for all the OS's... how do I tell > > which drivers go with which printer? > > You use the setdriver command, it seems. What I wanted to know is if this > is expected or if I'm missing something. > > Just to make myself clear: setdriver works :) > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 2.2.8a, printer driver download: need to use setdrive r
On Thu, Jun 26, 2003 at 09:27:32AM -0500, Brandon Lederer wrote: > This is the EXACT problem I had. Haven't fixed it either if I have 10 > printers upload all the drivers.. for all the OS's... how do I tell > which drivers go with which printer? You use the setdriver command, it seems. What I wanted to know is if this is expected or if I'm missing something. Just to make myself clear: setdriver works :) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Unable to contact LMB of a workgroup on another subnet
Hi all! I have NT BOGUS based on Samba 2.2.8a, named BOGUS. Samba acts as PDC(BOGUS),LMB,DMB,WINS. In BOGUS I have machines from both 192.168.1.0 and 192.168.2.0 subnets. For the BOGUS browsing works just fine. workgroup1 workgroup2 workgroup2 --||-| 192.168.1.0 only | --- router PDC,DMB(BOGUS) --- BOGUS | ---| | | 192.168.1.1 192.168.2.1 I can access any machine in BOGUS from workgroup1 or workgroup2 etc. However, if BOGUS's machine is on 192.168.2.0 subnet I can not contact any of workgroup* (unable to contact LMB). WINS is up and working so I still can find any machine if I query WINS. As I know WINS doesn't store names "workgroup*#1d" in the database. So I can find LMB only by broadcast. Is there any solutions or workarounds? I would appreciate any help and suggestion. Thank you in advance -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] 2.2.8a, printer driver download: need to use setdriver
This is the EXACT problem I had. Haven't fixed it either if I have 10 printers upload all the drivers.. for all the OS's... how do I tell which drivers go with which printer? -Original Message- From: Andreas [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 9:24 AM To: [EMAIL PROTECTED] Subject: [Samba] 2.2.8a, printer driver download: need to use setdriver Hello I'm setting up the automatic printer driver download feature, and it works nicelly except for one little thing: I have to use, on the samba machine, rpcclient's setdriver command to associate a printer with its driver. I didn't see this requirement in the Samba howto, it only mentions setdriver as a way to speed up large installations. Am I missing something? Should windows make this association automatically when it uploads the driver to the samba [print$] share? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] [homes] share not available for this user....
On Thu, 26 Jun 2003, Yeri Swamy wrote: Hi All I have setup Samba-3.0-beta as PDC for Windows Network.. Users can login from client computers to Samba Server..everything fine. Actually i used migration process from NT to Samba using latest HOWTO document.. After login users cann not access their home directories though home directories owner and group is same as user login name respectively..i saw this error in the log file on Samba Server [homes] share not available for this user because it was not found or created at session setup time Does the users' home directory exist on your Samba server? What home directory is in your /etc/passwd file? Note: If you are running Red Hat Linux then instead of the '-m' parameter to the useradd command you may need to use '-M'. Not all Linux systems are born equal! :) - John T. -- John H Terpstra Email: [EMAIL PROTECTED][global] dos charset = ASCII display charset = UTF8 workgroup = ITERNAL map to guest = Bad User passdb backend = tdbsam, guest passwd program = /usr/bin/passwd %u username map = /etc/samba/smbusers encrypt passwords = Yes security = user unix password sync = Yes log level = 2 log file = /var/log/samba/%m time server = Yes keepalive = 255 socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=8192 SO_RCVBUF=8192 load printers = No printcap name = cups add user script = /usr/sbin/useradd -m %u delete user script = /usr/sbin/userdel -r %u add group script = /usr/sbin/groupadd -r %g delete group script = /usr/sbin/groupdel %g add user to group script = /usr/bin/gpasswd -a %u %g delete user from group script = /usr/bin/gpasswd -d %u %g set primary group script = /usr/sbin/usermod -g '%g' '%u' #create a group machines first ! add machine script = /usr/sbin/useradd -g machines -c Machine -d /dev/null -s /bin/false %u logon drive = z domain logons = Yes os level = 255 preferred master = Yes domain master = Yes wins proxy = Yes wins support = Yes ldap ssl = no host msdfs = Yes [homes] comment = Home Directories read only = No create mask = 0640 directory mask = 0750 browseable = No -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] 2.2.8a, printer driver download: need to use setdriver
Hello I'm setting up the automatic printer driver download feature, and it works nicelly except for one little thing: I have to use, on the samba machine, rpcclient's setdriver command to associate a printer with its driver. I didn't see this requirement in the Samba howto, it only mentions setdriver as a way to speed up large installations. Am I missing something? Should windows make this association automatically when it uploads the driver to the samba [print$] share? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] [homes] share not available for this user....
Hi All I have setup Samba-3.0-beta as PDC for Windows Network.. Users can login from client computers to Samba Server..everything fine. Actually i used migration process from NT to Samba using latest HOWTO document.. After login users cann not access their home directories though home directories owner and group is same as user login name respectively..i saw this error in the log file on Samba Server [homes] share not available for this user because it was not found or created at session setup time i have attached my smb.conf file Anybody Help! with Best Regards YS [global] dos charset = ASCII display charset = UTF8 workgroup = ITERNAL map to guest = Bad User passdb backend = tdbsam, guest passwd program = /usr/bin/passwd %u username map = /etc/samba/smbusers encrypt passwords = Yes security = user unix password sync = Yes log level = 2 log file = /var/log/samba/%m time server = Yes keepalive = 255 socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=8192 SO_RCVBUF=8192 load printers = No printcap name = cups add user script = /usr/sbin/useradd -m %u delete user script = /usr/sbin/userdel -r %u add group script = /usr/sbin/groupadd -r %g delete group script = /usr/sbin/groupdel %g add user to group script = /usr/bin/gpasswd -a %u %g delete user from group script = /usr/bin/gpasswd -d %u %g set primary group script = /usr/sbin/usermod -g '%g' '%u' #create a group machines first ! add machine script = /usr/sbin/useradd -g machines -c Machine -d /dev/null -s /bin/false %u logon drive = z domain logons = Yes os level = 255 preferred master = Yes domain master = Yes wins proxy = Yes wins support = Yes ldap ssl = no host msdfs = Yes [homes] comment = Home Directories read only = No create mask = 0640 directory mask = 0750 browseable = No -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
SV: [Samba] RH9, Samba 2.2.8a and printing with CUPS
Hi again Thank you all for helping me out, really appreciate it. Works like a charm now, I added [global] printing = cups printcap name = lpstat load printers = yes and in [printers]-section: [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = yes writable = no printable = yes create mode = 0700 print command = lpr -P %p -o raw %s -r lpq command = lpstat -o %p lprm command = cancel %p-%j printer admin = @users to my smb.conf and now both printers prints like crazy. Now I gotta get the upload function to work ;-) Thanks again to all Regards Roy -Opprinnelig melding- Fra: Karl Banasky [mailto:[EMAIL PROTECTED] Sendt: to 26.06.2003 15:15 Til: Roy Otto Kleiv Kopi: [EMAIL PROTECTED] Emne: Re: [Samba] RH9, Samba 2.2.8a and printing with CUPS Some quick things to look at. The [global] settings: printing = cups (not bsd -My understanding is that you want to use cups) No print comman needed with cups add printcap name = lpstat Under [printers]: [printers] comment = Alle Printere path = /var/spool/samba read only = Yes create mask = 0700 (I do not use this in mine) guest ok = Yes public = Yes printable = Yes browseable = Yes Use these setting and see the results. Sorry for my hurry, admin'n for the staff this morning. Hope this helps, and look over the document links the other posting sent. Cheers Karl- > Hi there > > I just installed the above mentioned system and try to print from a W2k > box to the Samba box but nothing happens. There's no problem in printing > from the RH box or via Webmin but when I try to print from the W2k box > nothing happens. I don't get an error or anything. > > I installed the printer by the help of the add printer tool in RH, and > simply go to the Printer--->Add Printer on the W2k box. I install the > driver and try to print. I have two printers, a HPDeskJet710C and an > Okipage8wLite. The Oki printer doesn't work at all though, I need the > oki4drv daemon. Not sure what that is. But I'll get that to work later, > right now I need the HP printer to work from the W2k machine. > > At this point I don't want to upload the drivers, just get it to print. > I'll worry about the uploading of the drivers at a later point =) The > thing is this worked great on an earlier system i had, RH 7.1 and an > earlier version of Samba (can't remember which). No problems whatsoever. > But I can't seem to get this one to work. > > My logs and conf files are listed below > > Thanks in advance > Roy > > -- > smb.conf > > > # Global parameters > > [global] > > workgroup = > > netbios name = X > > server string = X > > encrypt passwords = Yes > > unix password sync = Yes > > security = User > > log file = /var/log/samba/samba-log.%m > > log level = 3 > > max log size = 50 > > name resolve order = wins lmhosts hosts bcast > > socket options = SO_KEEPALIVE TCP_NODELAY SO_SNDBUF=8192 > SO_RCVBUF=8192 > > logon path = \\%N\profiles\%U > > logon script = logon.bat > > add user script = /usr/sbin/useradd -d /dev/null -g 100 -s > /bin/false -M %u > > time server = Yes > > domain logons = Yes > > os level = 4 > > message command = csh -c 'xedit %s;rm %s' & > > preferred master = True > > domain master = True > > local master = Yes > > wins support = Yes > > lock dir = /var/lock/samba > > guest account = ftp > > guest ok = Yes > > show add printer wizard = Yes > > printer admin = XX > > load printers = Yes > > #printing = cups > > #printcap name = cups > > printing = bsd > > #default devmode = Ye
RE: [Samba] Access Files
Iwan, Ensure that your smb.conf contains these settings: kernel oplocks = no oplocks = no level2 oplocks = no Microsoft file sharing has problems if oplocks are enabled. Regards, Glenn -- Glenn Scherb Midwest Research Institute 425 Volker Boulevard Kansas City, Missouri 64110 [EMAIL PROTECTED] http://www.mriresearch.org Phone: (816)753-7600 x1806 FAX: (816)753-5359 Page: (816)990-8513 [EMAIL PROTECTED] > -Original Message- > From: Iwan Davies [mailto:[EMAIL PROTECTED] > Sent: Monday, June 16, 2003 4:14 AM > To: [EMAIL PROTECTED] > Subject: [Samba] Access Files > > > This mail is probably spam. The original message has been > attached along with this report, so you can recognize or > block similar unwanted mail in future. See > http://spamassassin.org/tag/ for more details. > > Content preview: Hi, I'm running samba as a file store in our windows > 2000 domain and are having a few problems with MS Access, we have a > couple of users accessing the same mdb file, but when more than one > person accesses the same file is says that the file is > locked. I'm new > to samba but feel that I have got everything else working apart from > these mdb file. Your assistance would be greatly appreciated. [...] > > Content analysis details: (5.40 points, 5 required) > X_PRIORITY_HIGH(1.9 points) Sent with 'X-Priority' set to high > FORGED_MUA_OUTLOOK (3.5 points) Forged mail pretending to be > from MS Outlook > > > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] VIRUS IN YOUR MAIL
V I R U S A L E R T Our viruschecker found the 'W32/Sobig-E' virus(es) in your email to the following recipient(s): -> [EMAIL PROTECTED] Please check your system for viruses, or ask your system administrator to do so. For your reference, here are the headers from your email: - BEGIN HEADERS - Received: from MOTSE-V0BGS5WDD (unknown [210.63.108.67]) by bougainville.cnam.fr (Postfix) with ESMTP id 5BABF2F046 for <[EMAIL PROTECTED]>; Thu, 26 Jun 2003 14:29:39 +0200 (CEST) From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Re: Movie Date: Thu, 26 Jun 2003 21:29:38 +0800 Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600. X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="CSmtpMsgPart123X456_000_026A1F23" Message-Id: <[EMAIL PROTECTED]> -- END HEADERS -- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] samba-ldap and password expiration
Hello every body, i am using samba (2.2.8a) with ldap support. In the samba.schema, there are special attributes relatives to the user passord: pwdMustChange, pwdCanChange, kickoffTime, logoffTime, logonTime and pwdLastSet. All the samba's documentations i can found described those attributes as "currently unused", execpt the last one that represent the time modification since 1970. But what do the others attributes are for ? Can they be used and how ? For example, i found that pwdMustChange can be used to force user to change his password. It seems that if i set pwdMustChange to epoch time+20, the user will have to change his password in 20s. And again in 20s ... So can i force a user to change his password in n secondes, but more later ? Thanks a lot -- Jérôme -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Need an explanation on Samba Log.
On Thu, 26 Jun 2003, Farget Vincent wrote: > Hi John, > > > Le Vendredi 20 Juin 2003 21:27, vous avez écrit : > > On Fri, 20 Jun 2003, Farget Vincent wrote: > > > Hi, > > > > > > > > > I am using Samba (v2.2.3a-12.3 on stable Debian Woody) on a bi-cpu server > > > acting as a primary domain controller to allow connection from Win98 and > > > Win2000Pro client computers. All user connections on the domain works > > > well but I have the following lines in my logs for every user connections > > > : > > > > Do you have "security = domain" by any chance? > > > > Yes, I have. Ok. If your samba server is the domain controller then this needs to be set to: "security = user" > But what does it means ? security = domain, means that your Samba server is a MEMBER of a domain and then for all authentication requests will try to contact the domain controller. > Is it a real problem or not ? Yes. Correct configuration is very important for correct operation. - John T. -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] RH9, Samba 2.2.8a and printing with CUPS
Some quick things to look at. The [global] settings: printing = cups (not bsd -My understanding is that you want to use cups) No print comman needed with cups add printcap name = lpstat Under [printers]: [printers] comment = Alle Printere path = /var/spool/samba read only = Yes create mask = 0700 (I do not use this in mine) guest ok = Yes public = Yes printable = Yes browseable = Yes Use these setting and see the results. Sorry for my hurry, admin'n for the staff this morning. Hope this helps, and look over the document links the other posting sent. Cheers Karl- > Hi there > > I just installed the above mentioned system and try to print from a W2k > box to the Samba box but nothing happens. There's no problem in printing > from the RH box or via Webmin but when I try to print from the W2k box > nothing happens. I don't get an error or anything. > > I installed the printer by the help of the add printer tool in RH, and > simply go to the Printer--->Add Printer on the W2k box. I install the > driver and try to print. I have two printers, a HPDeskJet710C and an > Okipage8wLite. The Oki printer doesn't work at all though, I need the > oki4drv daemon. Not sure what that is. But I'll get that to work later, > right now I need the HP printer to work from the W2k machine. > > At this point I don't want to upload the drivers, just get it to print. > I'll worry about the uploading of the drivers at a later point =) The > thing is this worked great on an earlier system i had, RH 7.1 and an > earlier version of Samba (can't remember which). No problems whatsoever. > But I can't seem to get this one to work. > > My logs and conf files are listed below > > Thanks in advance > Roy > > -- > smb.conf > > > # Global parameters > > [global] > > workgroup = > > netbios name = X > > server string = X > > encrypt passwords = Yes > > unix password sync = Yes > > security = User > > log file = /var/log/samba/samba-log.%m > > log level = 3 > > max log size = 50 > > name resolve order = wins lmhosts hosts bcast > > socket options = SO_KEEPALIVE TCP_NODELAY SO_SNDBUF=8192 > SO_RCVBUF=8192 > > logon path = \\%N\profiles\%U > > logon script = logon.bat > > add user script = /usr/sbin/useradd -d /dev/null -g 100 -s > /bin/false -M %u > > time server = Yes > > domain logons = Yes > > os level = 4 > > message command = csh -c 'xedit %s;rm %s' & > > preferred master = True > > domain master = True > > local master = Yes > > wins support = Yes > > lock dir = /var/lock/samba > > guest account = ftp > > guest ok = Yes > > show add printer wizard = Yes > > printer admin = XX > > load printers = Yes > > #printing = cups > > #printcap name = cups > > printing = bsd > > #default devmode = Yes > > print command = /usr/bin/lpr -P%p -r %s > > min print space = 2000 > > case sensitive = Yes > > password level = 4 > > passwd chat = *password* %n\n *password* %n\n *updated* > > smb passwd file = /usr/local/samba/private/smbpasswd > > passwd program = /usr/bin/passwd %u > > > > [profiles] > > path = /usr/local/samba/lib/profiles > > read only = No > > browseable = No > > writeable = Yes > > create mask = 0600 > > directory mask = 0700 > > > > [netlogon] > > path = /usr/local/samba/lib/netlogon > > guest ok = No > > browseable = No > > read only = Yes > > write list = X > > > > [homes] > > comment = Hjemmekatalogen til: %U > > read only = No > > browseable = No > > writeable = Yes > > > > [public] > > comment = Public katalog > > path = /public > > read only = No > > browseable = Yes > > writeable = Yes > > public = Yes > > guest ok = Yes > > create mask = 2770 > > directory mask = 2770 > > > > > > [print$] > > path = /usr/local/samba/print > > browseable = Yes > > guest ok = Yes > > read only = Yes > > writeable = Yes > > write list = X > > > > [printers] > > comment = Alle Printere > > path = /var/spool/samba > > read only = Yes > > create mask = 0700 > > guest ok = Yes > > public = Yes > > printable = Yes > > writeable = Yes > > browseable = Yes > > -- > > the first and last lines of the cups error_log > > > I [23/Jun/2003:12:28:38 -0400] Listening to 7f01:631 > > I [23/Jun/2003:12:28:38 -0400] Configured for up to 100 clients. > > I [23/Jun/2003:12:28:38 -0400] Allowing up to 10 client connections per > host. > > I [23/Jun/2003:12:28:38 -0400] LoadPPDs: Wrote "/etc/cups/ppds.dat", 13 > PPDs...
[Samba] (no subject)
got it sorted thanks - Original Message - From: "Vizitiu, Ciprian" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 26, 2003 10:39 PM Subject: RE: [Samba] setting passwd help > > > unable to open passdb database. > > Failed to find entry for user root. > > Failed to modify password entry for user root > > > > any ideas on how i can fix this ?? > > > > You'll have to add a linux user to smbpasswd before changing his password. > E.g. smbpasswd -a username > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: setting passwd help
What version of samba are you using? Can you post your smb.conf? Kevin Jim wrote: I'm still getting this error even after adding a new user ? unable to open passdb database. any ideas thanks - Original Message - From: "Vizitiu, Ciprian" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 26, 2003 10:39 PM Subject: RE: [Samba] setting passwd help unable to open passdb database. Failed to find entry for user root. Failed to modify password entry for user root any ideas on how i can fix this ?? You'll have to add a linux user to smbpasswd before changing his password. E.g. smbpasswd -a username -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] can not add users, Machine account are not made automaticly.
Me again, I can not add users using swat tool and machine accounts are not configured automaticly. what am I doing wrong? I have samba 3 beta on RH 8. Here is my smb.conf file in full view. PLs. Help? Thank you verry, verry, much. # Samba config file created using SWAT # from 192.168.1.142 (192.168.1.142) # Date: 2003/06/26 14:47:18 # Global parameters [global] dos charset = CP850 unix charset = UTF8 display charset = ASCII workgroup = DOMAIN.COM realm = ADS server = netbios name = MASTER netbios aliases = shit netbios scope = server string = Samba 3 Beta interfaces = 192.168.1.10 bind interfaces only = No security = USER auth methods = encrypt passwords = Yes update encrypted = No client schannel = No server schannel = Yes allow trusted domains = Yes hosts equiv = min passwd length = 2 map to guest = Never null passwords = Yes obey pam restrictions = Yes password server = smb passwd file = /etc/samba/smbpasswd private dir = /etc/samba passdb backend = /etc/samba/smbpasswd, guest algorithmic rid base = 1000 root directory = guest account = nobody pam password change = Yes passwd program = /etc/samba/passwd passwd chat = *new*password* %n\n *new*password* %n\n *changed* passwd chat debug = No username map = /etc/samba/smbusers password level = 0 username level = 0 unix password sync = Yes restrict anonymous = 0 lanman auth = Yes ntlm auth = Yes client NTLMv2 auth = No client lanman auth = Yes preload modules = log level = 1 syslog = 1 syslog only = No log file = /var/log/samba/log.%m max log size = 50 timestamp logs = Yes debug hires timestamp = No debug pid = No debug uid = No smb ports = 445 139 protocol = NT1 large readwrite = Yes max protocol = NT1 min protocol = CORE unicode = Yes read bmpx = No read raw = Yes write raw = Yes disable netbios = No acl compatibility = nt pipe support = Yes nt status support = Yes announce version = 4.9 announce as = NT max mux = 50 max xmit = 16644 name resolve order = bcast lmhosts wins host max ttl = 259200 max wins ttl = 518400 min wins ttl = 21600 time server = Yes unix extensions = No use spnego = Yes client signing = No client use spnego = Yes change notify timeout = 60 deadtime = 0 getwd cache = Yes keepalive = 300 kernel change notify = Yes lpq cache time = 10 max smbd processes = 0 paranoid server security = No max disk size = 0 max open files = 1 read size = 16384 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 stat cache size = 50 use mmap = Yes hostname lookups = No name cache timeout = 660 load printers = Yes printcap name = /etc/printcap disable spoolss = No enumports command = addprinter command = deleteprinter command = show add printer wizard = Yes os2 driver map = strip dot = No mangling method = hash2 mangle prefix = 1 mangled stack = 50 stat cache = Yes machine password timeout = 604800 add user script = /usr/sbin/useradd -m %u delete user script = /usr/sbin/userdel -r %u add group script = /usr/sbin/groupadd %g delete group script = /usr/sbin/groupadd %g add user to group script = /usr/sbin/usermod -G %g %u delete user from group script = set primary group script = add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u shutdown script = abort shutdown script = logon script = logon.bat logon path = \\%N\profiles\%U logon drive = H: logon home = \\%L\%U domain logons = Yes os level = 64 lm announce = Yes lm interval = 60 preferred master = Yes local master = Yes domain master = Yes browse list = Yes enhanced browsing = Yes dns proxy = No wins proxy = No wins server = wins support = No wins hook = wins partners = kernel oplocks = Yes lock spin count = 3 lock spin time = 10 oplock break wait time = 0 ldap suffix = ldap machine suffix = ldap user suffix = ldap group suffix = ldap idmap suffix = ldap filter = (uid=%u) ldap admin dn = lda
Re: [Samba] setting passwd help
I'm still getting this error even after adding a new user ? unable to open passdb database. any ideas thanks - Original Message - From: "Vizitiu, Ciprian" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 26, 2003 10:39 PM Subject: RE: [Samba] setting passwd help > > > unable to open passdb database. > > Failed to find entry for user root. > > Failed to modify password entry for user root > > > > any ideas on how i can fix this ?? > > > > You'll have to add a linux user to smbpasswd before changing his password. > E.g. smbpasswd -a username > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] setting passwd help
> unable to open passdb database. > Failed to find entry for user root. > Failed to modify password entry for user root > > any ideas on how i can fix this ?? > You'll have to add a linux user to smbpasswd before changing his password. E.g. smbpasswd -a username -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] setting passwd help
Hey, I have got samba running ok on my debian box, but i'am having alot of trouble with my redhat box.. I think it is because i cannot set the passwd. Everytime i try and reset the passwd i get unable to open passdb database. Failed to find entry for user root. Failed to modify password entry for user root any ideas on how i can fix this ?? this is were i have got it looking for the passwd smb passwd file = /etc/samba/passwd thanks -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] smb.conf file
Yo, How about that samebody post here working smb.conf file for Red Hat 8? Samba Configured as PDC. Please? Regards, Admir -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Can't setup password database vectors.
Hi there, I am using samba 3 beta 1 on Red Hat 8. I am trying to add users to samba with swat but nos luck. I get msg. "Can't setup password database vectors." What is going on? On samba 2.2.8 this works fine. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
SV: [Samba] RH9, Samba 2.2.8a and printing with CUPS
First, try following the HOWTO by Kurt Pfeifle: http://www.linuxprinting.org/kpfeifle/SambaPrintHOWTO/Samba-HOWTO-Collection -3.0-PrintingChapter-11th-draft.html If that doesnt help you (I had a similar problem, no error or anything) follow this thread: http://groups.google.com/groups?hl=sv&lr=&ie=UTF-8&oe=UTF-8&threadm=1PDs.2uZ .21%40gated-at.bofh.it&rnum=3&prev=/groups%3Fq%3Dsamba%2Bcups%2Bsolved%26hl% 3Dsv%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26selm%3D1PDs.2uZ.21%2540gated-at.bof h.it%26rnum%3D3 Hope it helps you. BTW is it really 2.2.8a? I just installed RH9 and 2.2.7a came with mine. Go figure... /Bo Mellberg > -Ursprungligt meddelande- > Från: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] För > Roy Otto Kleiv > Skickat: den 26 juni 2003 13:16 > Till: [EMAIL PROTECTED] > Ämne: [Samba] RH9, Samba 2.2.8a and printing with CUPS > > > Hi there > > I just installed the above mentioned system and try to print > from a W2k box to the Samba box but nothing happens. There's > no problem in printing from the RH box or via Webmin but when > I try to print from the W2k box nothing happens. I don't get > an error or anything. > > I installed the printer by the help of the add printer tool > in RH, and simply go to the Printer--->Add Printer on the W2k > box. I install the driver and try to print. I have two > printers, a HPDeskJet710C and an Okipage8wLite. The Oki > printer doesn't work at all though, I need the oki4drv > daemon. Not sure what that is. But I'll get that to work > later, right now I need the HP printer to work from the W2k machine. > > At this point I don't want to upload the drivers, just get it > to print. I'll worry about the uploading of the drivers at a > later point =) The thing is this worked great on an earlier > system i had, RH 7.1 and an earlier version of Samba (can't > remember which). No problems whatsoever. But I can't seem to > get this one to work. > > My logs and conf files are listed below > > Thanks in advance > Roy > > -- > smb.conf > > > # Global parameters > > [global] > > workgroup = > > netbios name = X > > server string = X > > encrypt passwords = Yes > > unix password sync = Yes > > security = User > > log file = /var/log/samba/samba-log.%m > > log level = 3 > > max log size = 50 > > name resolve order = wins lmhosts hosts bcast > > socket options = SO_KEEPALIVE TCP_NODELAY > SO_SNDBUF=8192 SO_RCVBUF=8192 > > logon path = \\%N\profiles\%U > > logon script = logon.bat > > add user script = /usr/sbin/useradd -d /dev/null -g 100 > -s /bin/false -M %u > > time server = Yes > > domain logons = Yes > > os level = 4 > > message command = csh -c 'xedit %s;rm %s' & > > preferred master = True > > domain master = True > > local master = Yes > > wins support = Yes > > lock dir = /var/lock/samba > > guest account = ftp > > guest ok = Yes > > show add printer wizard = Yes > > printer admin = XX > > load printers = Yes > > #printing = cups > > #printcap name = cups > > printing = bsd > > #default devmode = Yes > > print command = /usr/bin/lpr -P%p -r %s > > min print space = 2000 > > case sensitive = Yes > > password level = 4 > > passwd chat = *password* %n\n *password* %n\n *updated* > > smb passwd file = /usr/local/samba/private/smbpasswd > > passwd program = /usr/bin/passwd %u > > > > [profiles] > > path = /usr/local/samba/lib/profiles > > read only = No > > browseable = No > > writeable = Yes > > create mask = 0600 > > directory mask = 0700 > > > > [netlogon] > > path = /usr/local/samba/lib/netlogon > > guest ok = No > > browseable = No > > read only = Yes > > write list = X > > > > [homes] > > comment = Hjemmekatalogen til: %U > > read only = No > > browseable = No > > writeable = Yes > > > > [public] > > comment = Public katalog > > path = /public > > read only = No > > browseable = Yes > > writeable = Yes > > public = Yes > > guest ok = Yes > > create mask = 2770 > > directory mask = 2770 > > > > > > [print$] > > path = /usr/local/samba/print > > browseable = Yes > > guest ok = Yes > > read only = Yes > > writeable = Yes > > write list = X > > > > [printers] > > comment = Alle Printere > > path = /var/spool/samba > > read only = Yes > > create mask = 0700 > > guest ok = Yes > > public = Yes > > printable = Yes > > writeable = Yes > > browseable = Yes > >
Re: [Samba] snprintf, vsnprintf
got it now...my built in diff does not support -u. this is against 2.2.8a on AIX 5.2. I've tested it on 5.2 with IBM C 6.0 and it compiled fine after this patch. the first change resolves the uneeded #else clause that causes the compile to occur, but the link of smbd to fail since the linker is looking for .SAFE_FREE and .VA_COPY. the second change converts the test to what i believe is more accurate if you are to redefine snprintf for a system. HAVE_C99_SNPRINTF can never be defined and I don't think the intention was to use HAVE_C99_VSNPRINTF. --- snprintf.orig 2003-06-25 19:20:54.0 -0400 +++ snprintf.c 2003-06-25 19:23:31.0 -0400 @@ -84,9 +84,7 @@ #if defined(HAVE_SNPRINTF) && defined(HAVE_VSNPRINTF) && defined(HAVE_C99_VSNPR INTF) /* only include stdio.h if we are not re-defining snprintf or vsnprintf */ #include - /* make the compiler happy with an empty file */ - void dummy_snprintf(void) {} -#else +#endif #ifdef HAVE_LONG_DOUBLE #define LDOUBLE long double @@ -111,7 +109,6 @@ #else #define VA_COPY(dest, src) (dest) = (src) #endif -#endif static size_t dopr(char *buffer, size_t maxlen, const char *format, va_list args_in); @@ -787,7 +784,7 @@ * these should really be smb_snprintf to avoid conflicts with buggy * linkers? -- mbp */ -#if !defined(HAVE_SNPRINTF) || !defined(HAVE_C99_SNPRINTF) +#if !defined(HAVE_SNPRINTF) || !defined(HAVE_SNPRINTF_DECL) int snprintf(char *str,size_t count,const char *fmt,...) { size_t ret; Thanks! Bill On 26 Jun 2003, Andrew Bartlett wrote: > On Thu, 2003-06-26 at 10:23, William Jojo wrote: > > > > > > > > > > On Wed, 25 Jun 2003, William Jojo wrote: > > > > > > > > anyway the bug i'm tracking is a failure to expand the macros SAFE_FREE > > > and VA_COPY. is compiles fine in AIX 5.1. as soon as i figure that one > > > out, i'll forward it. > > > > > > > > > found it. you are penalized in snprintf.c if you have all three of > > HAVE_SNPRINTF, HAVE_VSNPRINTF and HAVE_C99_VSNPRINTF by what i believe is > > an unnecessary else clause. It will include stdio.h, but will not define > > SAFE_FREE and VA_COPY. > > > > AIX 5.1 does not have vsnprintf so it compiles there. > > > > I think this is what the change should be - pardon my misuse if diff, i > > would like to know the correct format for submitting patches, but could > > not find it during my short search of the site. > > diff -u would make this legible. > > Also, what version was this against? > > Andrew Bartlett > > -- > Andrew Bartlett [EMAIL PROTECTED] > Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] > Student Network Administrator, Hawker College [EMAIL PROTECTED] > http://samba.org http://build.samba.org http://hawkerc.net > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] IDMAP usage
Hi Bartlett, I'm using ldap for Samba accounts and the schemas from examples/LDAP too. I have already configured my idmap backend as you can se below. My ldap server is working fine for users authentication. When I use "smbpasswd -a someuser" it also works fine against ldap. But when I try to do "net group add Administrators -U someUserInLDAP" and supply the password, I get the exit error code -1. Here you are what I have gotten with debug level = 2 -- fabricio:/usr/local/samba # bin/net group add Administradores -U administrador [2003/06/26 08:01:29, 2] lib/interface.c:add_interface(79) added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0 [2003/06/26 08:01:29, 2] lib/interface.c:add_interface(79) added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0 Password: [2003/06/26 08:01:31, 1] libsmb/cliconnect.c:cli_full_connection(1262) failed negprot [2003/06/26 08:01:31, 1] utils/net.c:connect_to_ipc(148) Cannot connect to server. Error was NT_STATUS_UNSUCCESSFUL [2003/06/26 08:01:31, 2] utils/net.c:main(685) return code = -1 And something strange. I have gotten this from smbd log: [2003/06/26 08:01:31, 2] passdb/pdb_ldap.c:pdb_init_ldapsam(3391) Enabling non-unix account ranges [2003/06/26 08:01:31, 0] lib/fault.c:fault_report(36) === [2003/06/26 08:01:31, 0] lib/fault.c:fault_report(37) INTERNAL ERROR: Signal 11 in pid 7305 (3.0.0beta1) Please read the appendix Bugs of the Samba HOWTO collection [2003/06/26 08:01:31, 0] lib/fault.c:fault_report(39) === [2003/06/26 08:01:31, 0] lib/util.c:smb_panic(1462) PANIC: internal error [2003/06/26 08:01:31, 0] lib/util.c:smb_panic(1469) BACKTRACE: 8 stack frames: #0 /usr/local/samba/sbin/smbd(smb_panic+0x5d) [0x81955ad] #1 /usr/local/samba/sbin/smbd [0x818500f] #2 /lib/libc.so.6 [0x400e73a8] #3 /usr/local/samba/sbin/smbd(safe_strcpy_fn+0x44) [0x818db94] #4 /usr/local/samba/sbin/smbd(idmap_init+0x13e) [0x81e329e] #5 /usr/local/samba/sbin/smbd(main+0x339) [0x81ebd09] #6 /lib/libc.so.6(__libc_start_main+0xc7) [0x400d3857] #7 /usr/local/samba/sbin/smbd(ldap_msgfree+0x89) [0x8072381] Here my smb.conf file. [global] ... # User and Machine Backends passdb backend = ldapsam:ldap://127.0.0.1, guest # LDAP Options ldap suffix = dc=ufu,dc=br ldap machine suffix = dc=dr,ou=computadores ldap user suffix = ou=usuarios ldap group suffix = dc=dr,ou=grupos ldap idmap suffix = dc=dr,ou=idMapping ldap admin dn = cn=manager,dc=ufu,dc=br ldap ssl = no ldap port = 389 ldap passwd sync = yes # User and Group Mapping idmap backend = ldap:ldap://127.0.0.1 idmap only = yes idmap uid = 1000-1500 idmap gid = 1000-1500 ... I hope you can help me and these informations can help you fix any problem (if it exists). Thanks. -- Fabrício de Paula Adorno Divisão de Redes - NUPRO Universidade Federal de Uberlândia (UFU) On Wednesday 25 June 2003 21:32, you wrote: > On Wed, 2003-06-25 at 21:28, Fabricio Adorno wrote: > > Hi, all > > > > > > I have a ldap server where I have defined all of my linux users and > > groups. I'd like to store the SID<->(UID,GID) mapping there too using > > idmap, but I don't know how to configure a directory entry to handle > > idmap storage. I couldn't find how to do it in Samba-Howto-Collection > > (6th June 2003) and the man pages seems to be incomplete. If someone have > > done it, I'll be glad to have some help. > > Samba 3.0 is designed to do this quite nicely - the schema file is in > examples/LDAP/samba.schema. > > You configure it by saying: > > idmap backend = ldap:ldap://my.ldap.server > > Are you using ldap for Samba accounts too, or just for IDMAP? > > If you are using it for IDMAP/unix only, then things are not as > 'pleasant' as they should be in how it's stored - it's on my todo list > to fix. > > Andrew Bartlett -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] RH9, Samba 2.2.8a and printing with CUPS
Hi there I just installed the above mentioned system and try to print from a W2k box to the Samba box but nothing happens. There's no problem in printing from the RH box or via Webmin but when I try to print from the W2k box nothing happens. I don't get an error or anything. I installed the printer by the help of the add printer tool in RH, and simply go to the Printer--->Add Printer on the W2k box. I install the driver and try to print. I have two printers, a HPDeskJet710C and an Okipage8wLite. The Oki printer doesn't work at all though, I need the oki4drv daemon. Not sure what that is. But I'll get that to work later, right now I need the HP printer to work from the W2k machine. At this point I don't want to upload the drivers, just get it to print. I'll worry about the uploading of the drivers at a later point =) The thing is this worked great on an earlier system i had, RH 7.1 and an earlier version of Samba (can't remember which). No problems whatsoever. But I can't seem to get this one to work. My logs and conf files are listed below Thanks in advance Roy -- smb.conf # Global parameters [global] workgroup = netbios name = X server string = X encrypt passwords = Yes unix password sync = Yes security = User log file = /var/log/samba/samba-log.%m log level = 3 max log size = 50 name resolve order = wins lmhosts hosts bcast socket options = SO_KEEPALIVE TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 logon path = \\%N\profiles\%U logon script = logon.bat add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u time server = Yes domain logons = Yes os level = 4 message command = csh -c 'xedit %s;rm %s' & preferred master = True domain master = True local master = Yes wins support = Yes lock dir = /var/lock/samba guest account = ftp guest ok = Yes show add printer wizard = Yes printer admin = XX load printers = Yes #printing = cups #printcap name = cups printing = bsd #default devmode = Yes print command = /usr/bin/lpr -P%p -r %s min print space = 2000 case sensitive = Yes password level = 4 passwd chat = *password* %n\n *password* %n\n *updated* smb passwd file = /usr/local/samba/private/smbpasswd passwd program = /usr/bin/passwd %u [profiles] path = /usr/local/samba/lib/profiles read only = No browseable = No writeable = Yes create mask = 0600 directory mask = 0700 [netlogon] path = /usr/local/samba/lib/netlogon guest ok = No browseable = No read only = Yes write list = X [homes] comment = Hjemmekatalogen til: %U read only = No browseable = No writeable = Yes [public] comment = Public katalog path = /public read only = No browseable = Yes writeable = Yes public = Yes guest ok = Yes create mask = 2770 directory mask = 2770 [print$] path = /usr/local/samba/print browseable = Yes guest ok = Yes read only = Yes writeable = Yes write list = X [printers] comment = Alle Printere path = /var/spool/samba read only = Yes create mask = 0700 guest ok = Yes public = Yes printable = Yes writeable = Yes browseable = Yes -- the first and last lines of the cups error_log I [23/Jun/2003:12:28:38 -0400] Listening to 7f01:631 I [23/Jun/2003:12:28:38 -0400] Configured for up to 100 clients. I [23/Jun/2003:12:28:38 -0400] Allowing up to 10 client connections per host. I [23/Jun/2003:12:28:38 -0400] LoadPPDs: Wrote "/etc/cups/ppds.dat", 13 PPDs... E [23/Jun/2003:12:28:38 -0400] StartListening: Unable to find IP address for server name "localhost.localdomain" - Host name lookup failure E [23/Jun/2003:12:28:38 -0400] StartListening: Unable to bind socket - Cannot assign requested address. I [23/Jun/2003:18:51:33 +0200] Listening to 7f01:631 I [23/Jun/2003:18:51:33 +0200] Configured for up to 100 clients. I [23/Jun/2003:18:51:33 +0200] Allowing up to 10 client connections per host. I [23/Jun/2003:18:51:33 +0200] LoadPPDs: Read "/etc/cups/ppds.dat", 13 PPDs... . . . . . I [26/Jun/2003:12:07:05 +0200] Hint: Do you have the raw file printing rules enabled? E [26/Jun/2003:12:32:41 +0200] print_job: Unsupported format 'application/octet-stream'! I [26/Jun/2003:12:32:41 +0200] Hint: Do you have the raw file printing rules enabled? I [26/Jun/2003:12:33:15 +0200] Listening to 7f01:631 I [26/Jun/2003:12:33:15 +0200] Configured for up to 100 clients. I [26/Jun/2003:12:33:15 +
[Samba] delete recursively
Hi all, I have a problem deleting directory hierarchies containing plain files also. Upon deleting an hierarchy located on a HP-UX 11.11 server acting I receive the following messages, e.g.: *EXTRA File 11808 8b163eeeb36babth_vlan_low_fillers.o ERROR 282 (0x011A) Deleting Extra File \\trabi.europe.nokia.com\viewmirror\chroczewski\itr_ralf_chroczewski_l1.vws\. s\00056\8b163eeeb36babth_vlan_low_fillers.o The mounted file system does not support extended attributes. (If the directory hierarchie is empty no error occours!.) For some reason I have to use SAMBA version 2.0.7 or 2.2.3. For both I ran into the same problems. When using 2.2.7a this problem does'nt appear. Many thanks for any hint. Bye Frank Heckes -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Fwd: Segfault in Samba
I have been forwarded this from one of our servers, which we have recently ( 2 days ) updated to Samba 3.0beta1 (Debian's 'unstable' package) from Samba 2.2.8a This is the second time it this happens in a period of 24h. Everything else in this server is working fine. Any comment on this? Is this a known limitation / situation ? Thanks in advance. J.L. 8< 8< The Samba 'panic action' script, /usr/share/samba/panic-action, was called for pid 21241 (/usr/sbin/smbd). Below is a backtrace for this process generated with gdb, which shows the state of the program at the time the error occured. You are encouraged to submit this information as a bug report to Debian. For information about the procedure for submitting bug reports , please see http://www.debian.org/Bugs/Reporting or the reportbug(1) manpage. (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... 0x40245b89 in wait4 () from /lib/libc.so.6 #0 0x40245b89 in wait4 () from /lib/libc.so.6 #1 0x402b9000 in sys_sigabbrev () from /lib/libc.so.6 #2 0x401e8712 in strtold_l () from /lib/libc.so.6 #3 0x401e8815 in system () from /lib/libc.so.6 #4 0x0817da35 in smb_panic () #5 0x0816f256 in dbgtext () #6 0x401d29d8 in sigaction () from /lib/libc.so.6 #7 0x4021677a in mallopt () from /lib/libc.so.6 #8 0x40215467 in realloc () from /lib/libc.so.6 #9 0x0817ce91 in Realloc () #10 0x080c4ce6 in asn1_write () #11 0x080c4d62 in asn1_write_uint8 () #12 0x080c4f23 in asn1_write_OID () #13 0x080c4afd in spnego_gen_auth_response () #14 0x0809d14f in reply_getattrE () #15 0x0809d39d in reply_getattrE () #16 0x0809d709 in reply_getattrE () #17 0x0809e1b8 in reply_sesssetup_and_X () #18 0x080b535d in respond_to_all_remaining_local_messages () #19 0x080b5553 in respond_to_all_remaining_local_messages () #20 0x080b5700 in process_smb () #21 0x080b61c8 in smbd_process () #22 0x081d2043 in main () #23 0x401c1a51 in __libc_start_main () from /lib/libc.so.6 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] SMBMOUNT: Problems with 866 codepage and others
Hello urban, While trying samba we've found some errors. Windows machine has 866 code page (we are from Russia), and Linux - 1251. smbclient works fine and show all the coding as it should. 1. smbmount checks argc, argv too late to set debug level at a proper time. 2. Some parameters are ignored despite --help option and man pages. They include codepage and iocharset options. 3. After mounting the directory Russian filenames are wrong coded, for example, file with the name coded in 866 as 90 A0 A1 AE E2 A0 is seen as C9 E1 ED AB 3A 30 33 39 33 E1 4. Periodically ls command returns a diagnostics: lse: x: No such file or directory where x - the name of the file from #3. And the file is not listed. After several attempt is appears again in the list in order to disappear at one of next times. 5. During initialization of the program subroutine codepage_initialise is called twice. The version of the program is 2.2.8a smbmount.c is dated as 2002.04.30 -- Best regards, Dmitri mailto:[EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Urgent : Connection problem to a Samba PDC
On Thu, Jun 26, 2003 at 10:16:20AM +0200, [EMAIL PROTECTED] wrote: > [2003/06/25 11:40:43, 0] rpc_server/srv_pipe_hnd.c:process_request_pdu(605) > process_request_pdu: failed to do schannel processing. > [2003/06/25 11:41:13, 0] passdb/pdb_ldap.c:ldapsam_open(418) > ldapsam_open: cannot access LDAP when not root.. > [2003/06/25 11:41:13, 0] passdb/pdb_ldap.c:ldapsam_setsamgrent(3240) > LDAP search failed: Insufficient access > [2003/06/25 11:41:13, 0] passdb/pdb_ldap.c:ldapsam_enum_group_mapping(3310) > Unable to open passdb > > > Could you please help me ? A quick fix might be: 'server schannel = no'. Volker pgp0.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Urgent : Connection problem to a Samba PDC
Hi, We have a Samba3.0Beta1-LDAP acting as PDC for about 170 computers, since 2 weeks everything works perfectly but since yesterday every computers are unable to connect to the PDC. The following message appears on client side : The session setup from the computer CJEREV01 failed to authenticate. The name(s) of the account(s) referenced in the security database is CJEREV01$. The following error occurred: Access is denied. And in log file for this computer account I found this : [2003/06/25 11:40:43, 0] rpc_server/srv_pipe_hnd.c:process_request_pdu(605) process_request_pdu: failed to do schannel processing. [2003/06/25 11:41:13, 0] passdb/pdb_ldap.c:ldapsam_open(418) ldapsam_open: cannot access LDAP when not root.. [2003/06/25 11:41:13, 0] passdb/pdb_ldap.c:ldapsam_setsamgrent(3240) LDAP search failed: Insufficient access [2003/06/25 11:41:13, 0] passdb/pdb_ldap.c:ldapsam_enum_group_mapping(3310) Unable to open passdb Could you please help me ? Thank you Raphaël -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Virus Alert
** This is an automated message *** A mail message sent from this account to a Cisco employee had an attachment called your_details.zip. The file your_details.zip contained a virus. Please contact your local System Administrator. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Need an explanation on Samba Log.
Hi John, Le Vendredi 20 Juin 2003 21:27, vous avez écrit : > On Fri, 20 Jun 2003, Farget Vincent wrote: > > Hi, > > > > > > I am using Samba (v2.2.3a-12.3 on stable Debian Woody) on a bi-cpu server > > acting as a primary domain controller to allow connection from Win98 and > > Win2000Pro client computers. All user connections on the domain works > > well but I have the following lines in my logs for every user connections > > : > > Do you have "security = domain" by any chance? > Yes, I have. But what does it means ? Is it a real problem or not ? Thanks. Best regards. -- Mr FARGET Vincent Universite Claude Bernard LYON 1 CNRS - UMR 5020 Laboratoire des Neurosciences et Systemes Sensoriels 50, avenue Tony Garnier 69366 LYON Cedex 07 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba