[Samba] samba 2.2.2 and nis?

Christian Barth barth at cck.uni-kl.de
Mon Mar 18 00:11:11 GMT 2002


> Encrypted passwords work. First of all sychronize the NIS Samba password.
> PDC smb.conf
>         workgroup = Domainname
>         netbios name = PDC
>         encrypt passwords = Yes
>         passwd program = /usr/bin/yppasswd %u
>         unix password sync = Yes
>         passwd chat = *root*password* secret\n \

Sure you want to do this? Normaly smb.conf is world readable!! Its 
realy bad to put your root password in a world readable file! even a 
file only readable by root is bad.

Install samba on the NIS master (you do not need any shares there, 
just the password stuff), set 
passwd programm = /usr/bin/passwd %u ; cd /var/yp ; make
or update nis via cron.

Christian


>         *new*password* %n\n *new*password* %n\n *NIS* 
> 
> Point other member samba server to PDC
>         workgroup = Domainname
>         netbios name = MEMBER
>         security = SERVER
>         encrypt passwords = Yes
>         password server = PDC
> 
> BTW on Member smbpasswd -j Domainname
> 
> 
> Shekhar
> System Administrator, VIIT
> Telefax: +91-2112-43476 to 79 Ext: 216
> Email: webmaster at viitindia.org
> Web: www.viitindia.org
> -----------------------------------------
> Check out viitindia.org
> for new Career services 
> 
> ----- Original Message ----- 
> From: <awesome-dave1 at juno.com>
> To: <samba at samba.org>
> Sent: Sunday, March 17, 2002 9:48 AM
> Subject: [Samba] samba 2.2.2 and nis?
> 
> 
> > Hello,
> > I'm trying to get samba to work with nis on several boxes, one a freebsd
> > 4.5 machine, the other a redhat 7.2 box. The problem is samba is not
> > recognizing the nis database. Is it possible to use samba and nis
> > together, preferably with encrypted passwords or will i have to use plain
> > text passwords or another form of authentication? My ultimate goal is to
> > have a system where a user can log on at any box beit windows, or unix
> > and get to any other box.
> > Thanks.
> > Dave.
> > 
> > 
> > ________________________________________________________________
> > GET INTERNET ACCESS FROM JUNO!
> > Juno offers FREE or PREMIUM Internet access for less!
> > Join Juno today!  For your FREE software, visit:
> > http://dl.www.juno.com/get/web/.
> > 
> > -- 
> > 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
> 


               _(_)_                          wWWWw   _
   @@@@       (_)@(_)   vVVVv     _     @@@@  (___) _(_)_
  @@()@@ wWWWw  (_)\    (___)   _(_)_  @@()@@   Y  (_)@(_)
   @@@@  (___)     `|/    Y    (_)@(_)  @@@@   \|/   (_)\
    /      Y       \|    \|/    /(_)    \|      |/      |
 \ |     \ |/       | / \ | /  \|/       |/    \|      \|/
jgs|//   \\|///  \\\|//\\\|/// \|///  \\\|//  \\|//  \\\|// 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^




More information about the samba mailing list