SHARADAMABA N
2002-Feb-13  05:41 UTC
[Samba] Can a Unix box act as Samba server as well as a NIS server?
Hello,
I need help - 
1. What should be the configuration of nsswitch.conf
file when I want to make a Unix box both PDC (by
configuring Samba as PDC) as well a NIS server.
2. what should be the value of following parameters in
nsswitch.conf file?
   a)  passwd = nis files
       group   = nis files
     or 
   b)  passwd = nis [NOTFOUND=return] files
       group    = nis [NOTFOUND=return] files
3. Can I have users/password in etc/passwd, smbpasswd
as well in yppasswd?
kindly reply.
Best Regards,
sharada
__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
Christian Barth
2002-Feb-13  07:00 UTC
[Samba] Can a Unix box act as Samba server as well as a NIS server?
> Hello, > > I need help - > > 1. What should be the configuration of nsswitch.conf > file when I want to make a Unix box both PDC (by > configuring Samba as PDC) as well a NIS server. > > 2. what should be the value of following parameters in > nsswitch.conf file? > > a) passwd = nis files > group = nis files > > or > > b) passwd = nis [NOTFOUND=return] files > group = nis [NOTFOUND=return] filesIf it is the NIS master it should just be files. If you bound your nis server to it self than you may use "files nis", I wouldn't do it the other way.> > 3. Can I have users/password in etc/passwd, smbpasswd > as well in yppasswd?You will have to. /etc/passwd is the source for yppasswd and used to build the maps distributeted by NIS, smbpasswd is needed by the samba PDC. Just keep them in sync. Christian> kindly reply. > > Best Regards, > > sharada > > __________________________________________________ > Do You Yahoo!? > Send FREE Valentine eCards with Yahoo! Greetings! > http://greetings.yahoo.com > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >_(_)_ wWWWw _ @@@@ (_)@(_) vVVVv _ @@@@ (___) _(_)_ @@()@@ wWWWw (_)\ (___) _(_)_ @@()@@ Y (_)@(_) @@@@ (___) `|/ Y (_)@(_) @@@@ \|/ (_)\ / Y \| \|/ /(_) \| |/ | \ | \ |/ | / \ | / \|/ |/ \| \|/ jgs|// \\|/// \\\|//\\\|/// \|/// \\\|// \\|// \\\|// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^