[Samba] Problems joining existing domain W2K SP4 and Samba 2.2.8a

Avtar Gill av_gill at sympatico.ca
Mon Mar 29 05:14:59 GMT 2004

Hi all, I seem to be having some weird problems while trying
to add a workstation to an existing domain. Samba 2.2.8a is
running on FreeBSD 4.8-RELEASE-p17 and all the clients have
Windows 2000 Professional with SP4 installed.

This particular workstaion was part of the domain until its
hard drive went under. The drive had to be replaced with a
new one, the OS was installed and now when I try to add it
to the domain I get the following error in Windows 2000..

The following error occurred attempting to join the domain "TEST":
Login failure: unknown user name or bad password.

The username and password are the original ones which were
previously being used so I know they are valid. This is
what is in the Samba log (with 'log level = 3')..

[2004/03/29 00:09:22, 2] lib/access.c:check_access(329) Allowed 
connection from  (
[2004/03/29 00:09:22, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2050)
   Returning domain sid for domain TEST -> 
[2004/03/29 00:09:22, 2] rpc_parse/parse_samr.c:samr_io_userinfo_ctr(6285)
   samr_io_userinfo_ctr: unknown switch level 0x1a
[2004/03/29 00:09:22, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670)
   api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2004/03/29 00:09:22, 2] passdb/pdb_smbpasswd.c:startsmbfilepwent(170)
   startsmbfilepwent_internal: unable to open file 
/usr/local/private/smbpasswd. Error was Permission denied
[2004/03/29 00:09:22, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1418)
   unable to open passdb database.
[2004/03/29 00:09:22, 2] smbd/server.c:exit_server(511) Closing connections

Nothing has been changed in the Samba server's configuration
file since the workstation's hard drive crashed. The smbd
daemons are running as root and /usr/local/private/smbpasswd
is owned by root as well. Anyone have any input?

Avtar Gill

More information about the samba mailing list