joining a domain works, but login fails

George Cameron george at biomed.abdn.ac.uk
Wed Feb 23 13:32:12 GMT 2000


> Hello Luke!
> 
> I can join the domain, using the join dialog from
> networksettings(under windows nt). I have not created a
> workstation trustaccount with rpcclient before. I created a
> password entry for root in smbpasswd and created a unix user for
> the workstation. After that i was able to join the domain. But
> after reboot i was not able to login. The error message was:
> computer account does not exist or the password is
> wrong.(translated from german)
> I can't find something wrong in the log.files.

Lars,

Yes, I now get this too. I *think* there may be a bug in samedit where
it incorrectly uses pdc's username+password for the local machine, but
it works if they happen to be the same (and as long as you remember
to update your domainuser.map, which I hadn't!). But now that I've
got this to work (i.e. samedit succeeds), it still isn't accepting
a login to the domain.

> 
> If i use rpcclient as root, under solaris, i get a buserror and
> the size of rpcclient is zero. After that i can't use rpcclient
> anymore. Need to investigate this more.

Yes I've found this too, also on Solaris 7/sparc . There seems to be
a problem in the code page code. If you comment out the call in
lib/cmd_interp.c :

#if 0
	codepage_initialise(lp_client_code_page());
#endif

(line 1475 in my version, recently updated), the command line
programs should work again, and stop overwriting the binaries
with zero-length files :-o 

George

> 
> While playing with rpcclient, i tried to shutdown i Windows NT
> workstation, but i failed. But that's not important. But i would
> be funny, to shutdown the NT pc. :-)
> 

 ---------------------------------------------------------------------
 George Cameron		   g.cameron at biomed.abdn.ac.uk
 Dept. BioMedical Physics
 Aberdeen University
 Foresterhill		   Fax:	      +44 (0)1224-685645
 Aberdeen AB25 2ZD	   Telephone: +44 (0)1224-553210
 Scotland, UK



More information about the samba-ntdom mailing list