Unable to join domain

Eric Wallace Eric.Wallace at nsc.com
Mon Nov 5 14:52:19 GMT 2001

I'm failing to convince Samba 2.2.2 on several Solaris8/Sparc machines to join the NT4 domain. It's just taunting me now, with no useful error messages! Yes, I'm following directions: (a) add the server name in NT's Server Mangler, (b) run 'smbpasswd -j MEFP -r MEADMIN01 -UAdministrator%domainadminpassword' (yes, that's the domain name and PDC name, and no, I didn't tell you the real password). This is the output:

	INFO: Debug class all level = 3   (pid 15702 from pid 15702)
	added interface ip= bcast= nmask=
	added interface ip= bcast= nmask=
	resolve_lmhosts: Attempting lmhosts lookup for name MEADMIN01<0x20>
	Connecting to at port 139
	session setup ok
	Domain=[MEFP] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
	Unable to join domain MEFP.

Other things I've tried:
* using the NT-based WINS server, or local LMHOSTS
* deleting 'secrets.tdb' before trying again

Also, I've changed to log level 10 and read the whole dang output... The communication seems to be working fine, from authentication to establishing the pipes, etc. Towards the end, there's an error "error closing user policywrite_socket(4,45)", a write and a read, and then smbpasswd dies with the same message "Unable to join domain MEFP."

If anyone has any ideas, please help (on-list or off). I've put my butt on the line to say that Samba could solve some of our problems, and I'm still convinced it can, I just need to get it authenticating properly!

	Eric W. Wallace
	National Semiconductor/Maine
	I.S. Infrastructure Sr. System Engineer
	eric.wallace at nsc.com

More information about the samba mailing list