[Samba] Re: Problem with Samba PDC and WIN2000

Pierre Lebrun ple000 at artic.fr
Thu Jan 30 08:26:52 GMT 2003

You have to :
- add an account for the machine in /etc/passwd ended by a '$' like 
- add this machine account to the smbpasswd file with smbpasswd -am 
machine. The '$' is added by the smbpasswd.
- on the desktop: "My Computer/Properties/Network Id./Properties/Member 
of" clik on domain and enter the domain name. Enter the root account and 
password then you have a welcome message from the PDC

You cannot change the machine name and join the domain in the same 
operation. You must 1) change the machine name 2) reboot 3)join the domain.
I experienced troubles (not solved yet) while joining a domain with a 
W2K server.

I hope this can help you.

Santiago Avila wrote:
> Hi,
> I just installed a Samba Server as a PDC and my WIN9X machines worked 
> just fine, but I can´t join WIN2000 Clients to the domain.
> I created the Trust Account but when a join the domain I get the message.
> "The following error occured attempting to join the domain "TECNICO""
> Logon failure: unknown user name or bad password
> Also, in the /var/log/samba/taller.log I got
> [2003/01/29 19:41:23,0] rpc_server/srv_samr.c:api_samr_set_userinfo(672)
>  api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
> [2003/01/29 19:41:23, 0] passdb/smbpass.c:startsmbfilepwent_internal(87)
>  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. 
> Error was Permission denied
> [2003/01/29 19:41:23, 0] passdb/smbpass.c:iterate_getsmbpwuid(1240)
>  unable to open smb password database.
> Thanks,
> Santiago

More information about the samba mailing list