Setting up samba with NIS

Jason P. Holland jphollan at sprintparanet.com
Tue Aug 3 14:09:40 GMT 1999


Lisa,
  Here is my smb.conf file I used to get NIS working with Samba 2.0.4b.  Its
pretty simple, so nobody laugh :), but it works.

[global]
   workgroup = PNT-NAMERICA
   server string = Solaris Samba Server
   hosts allow = xxx.xxx. 127.
   log file = /usr/local/samba/var/log.%m
   max log size = 50
   security = user
   domain logons = yes
   nis homedir = true
   homedir map = auto.home
   socket options = TCP_NODELAY
   dns proxy = no

This was a very simple setup of Samba with NIS username/password
authentication.  Your Samba server should now allow NIS username/password
authentication.  I don't know if this will help you out, but its the best
help I can offer.  There is also support for NIS+, but I have yet to attempt
to tackle that beast.

Jason P. Holland
Unix Administrator - Sprint Paranet
jphollan at sprintparanet.com

>
> HI:
>
> Is anybody using NIS with Samba?
>
> I have an SGI server running IRIX 6.5 and Samba 2.0.4.  The SGI server
> is acting as an NT PDC.
>
> A couple weeks ago, we weren't running NIS.  The local
> /etc/passwd contained
> entries for each user and NT machine.  I could successfully log
> on from an NT
> workstation into the Samba domain
>
> But we cleaned these entries out of /etc/passwd when we implemented
> NIS.  Now the machine and user entries are contained in /var/yp/passwd.
>
> To further complicate the situation, the SGI server running Samba is
> NOT a master NIS server - it is a slave.
>
> Now the NT workstation login is not working.  The [homes] share is no
> longer resolving to my home directory, and my profile (stored in
> a [profiles]
> share on the SGI server) is not loading.   Also, when I try to access
> the SGI server from Network Neighborhood, I am not recognized as a user!
>
> If you are running NIS with Samba, did you have to do anything
> special?  What
> does your smb.conf look like?
>
> THANKS!
>
>
> Lisa
>
>     ----------------------------------------------------------
>       Lisa M. Becktold - lisa at usna.navy.mil, (410) 293-6480
>                United States Naval Academy - CADIG
>     590 Holloway Road, Rickover Hall, Annapolis, MD 21402-5000
>     ----------------------------------------------------------
>     
>



More information about the samba-ntdom mailing list