Dear All, I am attempting to set up Samba 1.9.18p8 on a Sun E450 running Solaris 2.6. The Sun is configured as a NIS master serving a number of other Unix machines. It is our primary development platform acting as a NIS client and also has auto mounted home directories for users. Samba has been built using GCC 2.8.1 with the following options set: FLAGSM = -DSUNOS5 -DSHADOW_PWD -DAUTOMOUNT -DFAST_SHARE_MODES LIBSM = -lsocket -lnsl It is possible to connect to the Sun from NT and Windows 95 without any problems. However, it seems that Samba is not validating the user account from the yp passwd maps. Each user connects as user 'nobody' using the guest account as defined in the smb.conf configuration file and, consequently, only has read-only permissions even though their home directory has been auto mounted correctly. User names are the same for Windows95/NT as those for Unix. Does anyone have any suggestions as to what I'm doing wrong and how I can get Samba to access the NIS maps? SMB.CONF ======== [global] auto services = homes printers dead time = 5 guest account = nobody load printers = yes mangled map = (*.html *.htm) printer name = lp printcap name = /usr/local/samba/printcap public = yes workgroup = AXIOM [root] comment = Home Directories path = / writable = yes create mode = 0750 [homes] comment = Home Directories writable = yes create mode = 0750 [printers] comment = All Printers path = /tmp printable = yes create mode = 0700 browseable = no All suggestions gratefully received, Regards, Neil Robertson Axiom (Europe) Ltd 32 Southgate Street Winchester Hants SO23 9EF Tel: +44 (0) 1962 878257 Direct: +44 (0) 1962 873606 Fax: +44 (0) 1962 878258 E-mail: neil.robertson@greendown.demon.co.uk <mailto:adrian.brown@greendown.demon.co.uk>
Neil Robertson wrote:> > It is possible to connect to the Sun from NT and Windows 95 without any > problems. However, it seems that Samba is not validating the user > account from the yp passwd maps. Each user connects as user 'nobody' > using the guest account as defined in the smb.conf configuration file > and, consequently, only has read-only permissions even though their home > directory has been auto mounted correctly. User names are the same for > Windows95/NT as those for Unix. > > Does anyone have any suggestions as to what I'm doing wrong and how I > can get Samba to access the NIS maps?It would appear as if all your logins are being authenticated as your guest account. You probably need to set "public = no" for your "homes" share. Also, see the entries in the manual page for smb.conf for "encrypt passwords" and "update encrypted". You did not say which versions of NT and Win95 you were running but if they are fairly recent (i.e. SP3 and OSR2) you will either have to use encrypted passwords or hack all your client registries to use plain text passwords. See the following files in the docs directory for more information: WinNT.txt, Win95.txt, and ENCRYPTION.txt. Chris -- Christopher Kranz | Systems Programmer | clk@CS.Princeton.EDU 35 Olden St., Room 211 | Computer Science Dept. | Voice: 609-258-1747 Princeton, NJ 08544-2087 | Princeton University | FAX: 609-258-1771 ==========================PGP V2.6.2 key available===================== "I may make you feel but I can't make you think" - Ian Anderson
i would like to set up a samba server to verify users/passwords against an NIS server. is this possible? if so, what options do i need to take into consideration. thanks, andy __________________________________________________ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/
Does anyone have Samba working in an environment where Microsoft's NIS server from Services for Unix is being used? I am interested in how Samba might be getting its NIS authentication tokens, and what PAM module is compatible with NIS for Win2k. Daniel Curry IT Manager Cariocas 625 Second Street Suite 201 San Francisco, CA 94107 ph: 415-348-6516 fx: 415-348-6505 cell: 510-579-6680
Is it possible a samba server authenticate users by NIS? For example, can a NIS client be a Samba Server and use the NIS system to authenticate the users? If so, how? Regards, -- Benilton Carvalho
Benilton de Sa Carvalho schrieb:> Is it possible a samba server authenticate users by NIS? For example, can > a NIS client be a Samba Server and use the NIS system to authenticate theYou can use NIS with plaintext passwords (unencrypted) only. If you use encrypted passwords, you have to use a second database for the Samba-passwords. If you want everything from one source: LDAP. cu, Uwe
Can I use this solution (plaintext passwords) even if my Samba server acts as PDC? Thank you, -- Benilton Carvalho DE / IMECC / UNICAMP Red Hat Linux i18n Team On Tue, 8 Jul 2003, Uwe Laverenz wrote:>Benilton de Sa Carvalho schrieb: > >> Is it possible a samba server authenticate users by NIS? For example, can >> a NIS client be a Samba Server and use the NIS system to authenticate the > >You can use NIS with plaintext passwords (unencrypted) only. If you use >encrypted passwords, you have to use a second database for the >Samba-passwords. If you want everything from one source: LDAP. > >cu, >Uwe > >-- >To unsubscribe from this list go to the following URL and read the >instructions: http://lists.samba.org/mailman/listinfo/samba >