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

Nigel Marsh Nigel.Marsh at first-linux.com
Mon Mar 29 09:49:29 GMT 2004

On Monday 29 March 2004 06:14, Avtar Gill wrote:
> 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.

Are you trying to use the same computer account that was used before the 
client was rebuilt with the new drive?. If so, remove the old machine account 
and create a new one first because, the original client machines secret 
(password) will not be known by the new client machine.

> 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 ->
> S-1-5-21-404656867-3924527198-896801962
> [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?
> Thanks,
> Avtar Gill

Delay not, Caesar.  Read it instantly.
		-- Shakespeare, "Julius Caesar" 3,1
Here is a letter, read it at your leisure.
		-- Shakespeare, "Merchant of Venice" 5,1
	[Quoted in "VMS Internals and Data Structures", V4.4, when
	 referring to I/O system services.]

More information about the samba mailing list