[Samba] samba as PDC with w2k clients

Sam Barasch barasch at biostat.wisc.edu
Tue May 21 07:04:23 GMT 2002

Dear plugbert,

try using this command

smbpasswd -a -m machine1$

Double check that the machine name has a $ at the end of it in /etc/passwd.


At 06:19 AM 5/21/2002 -0700, plug bert wrote:
>    A good day to you all. i'm trying to set up
>samba(2.2.3a, right out of the rh7.3 cds) as a PDC.
>i've already read through the Samba-howto collection,
>and am confident that i've put in all the necessary
>samba options.
>netbios name = pdc1
>workgroup = testing
>security = user
>domain logon = yes
>domain master = yes
>local master = yes
>domain admin group=@admins
>encrypt passwords = yes
>smb passwd file = /etc/samba/smbpasswd
>unix password sync = yes
>pam password change = yes
>logon script = logon.bat
>path = /home/netlogon
>writable = no
>write list = @admins
>     i have also created the necessary machine and user
>accounts in /etc/passwd and /etc/samba/smbpasswd:
>useradd machine1$
>smbpasswd -a -m machine1
>    However, i keep getting this error in log.smbd
>whenever i try to add my 2k pro client:
>rpc_server/src_samr.c: api_samr_set_userinfo(670)
>api_samr_set_userinfo: Unable to unmarshall
>passdb/pdb_smbpasswd.c: pdb_getsampwrid(1416)
>unable to open passdb database
>    Any suggestions as to the cause of the problem?
>Thanks in advance.
>Do You Yahoo!?
>LAUNCH - Your Yahoo! Music Experience
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list