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
Are you using the "root" user and password in smbpasswd to join to the domain? -----Original Message----- From: samba-bounces+sentrum-lists=sentrum.net.au@lists.samba.org [mailto:samba-bounces+sentrum-lists=sentrum.net.au@lists.samba.org] On Behalf Of Santiago Avila Sent: Thursday, 30 January 2003 11:56 AM To: samba@lists.samba.org Subject: [Samba] Problem with Samba PDC and WIN2000 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 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Well only the root user can add "Workstations" to the domain. -----Original Message----- From: Santiago Avila [mailto:savila@kywi.com.ec] Sent: Thursday, 30 January 2003 12:27 PM To: Timothy Kersten Subject: Re: [Samba] Problem with Samba PDC and WIN2000 No, I am using a user account Timothy Kersten wrote:>Are you using the "root" user and password in smbpasswd to join to the >domain? > >-----Original Message----- >From: samba-bounces+sentrum-lists=sentrum.net.au@lists.samba.org >[mailto:samba-bounces+sentrum-lists=sentrum.net.au@lists.samba.org] On >Behalf Of Santiago Avila >Sent: Thursday, 30 January 2003 11:56 AM >To: samba@lists.samba.org >Subject: [Samba] Problem with Samba PDC and WIN2000 > > > >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 > > >
You have to : UNIX - add an account for the machine in /etc/passwd ended by a '$' like 'machine$' - add this machine account to the smbpasswd file with smbpasswd -am machine. The '$' is added by the smbpasswd. W2K WS - 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 Warning: 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. Pierre 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 >