Samba PDC & /etc/passwd
eirvine
eirvine at tpgi.com.au
Tue Oct 23 05:52:03 GMT 2001
No.
Samba must use encrypted passwords (in the smbpasswd file) to be a PDC.
To use passwords in NIS, it must use plain text passwords. Plaintext as
in that is how the client sends the password across the wire.
So - to be a PDC, you've gotta set up smbpasswd. And you have to have
machine names in /etc/passwd (or nis).
Eddie.
Eric Anderson wrote:
>
> Ok, I have seen a bunch of posts on similar subjects, but I'm just not putting the pieces together.. I have Samba 2.2.2
> (on RedHat 6.2 - from their RPM), and a Windows 2k box (Advanced server). Everything works great, but samba wants me to
> use the smbpasswd file for authentication, and I would like to use the /etc/passwd stuffs to do the authentication - I'm
> using NIS, so this is important. Whats the smb.conf trick to basically say "use /etc/passwd instead of smbpasswd"?
>
> Just for the heck of it, here is one what person said a while back:
>
> ---- Quoted from Aaron Sheard ----
> The way it works with me is as long as you have a +::0:0::: as the last line in
> your /etc/passwd file, samba will authenticate to the NIS master.
>
> If you can log on directly to the unix box through NIS, samba should work fine
> without any modifications.
>
> In my smb.conf file this is all I have for [global] variables and it works fine
> with NIS.
> (this is running on hpux 10.20)
>
> [global]
> passwd program = /usr/bin/passwd %u
> server string = unixbox
> workgroup = office
> passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
> *passwd:*all*authentication*tokens*updated*successfully*
> netbios name = unixbox
> socket address = 10.10.1.2
> ---- -----
>
> Thanks in advance!
> Eric
>
> --
> -------------------------------------------------------------
> Eric Anderson anderson at centtech.com Centaur Technology
> # rm -rf /bin/laden
> -------------------------------------------------------------
More information about the samba-ntdom
mailing list