Login to domain still failing ...

Clair Roberts clairroberts at home.com
Thu Mar 9 18:44:33 GMT 2000


I tried the example Luke put up, word, for word and had troubles.

Here is my typescript of events after I checked the code today at 9am.
Compiled it, wiped out the entire var dir and the .SID files plus wiped
out my smbpasswd file.  (btw samba is running on my solaris 2.7 E250.)


[root] elk /opt/samba-tng $> rpcclient -S . -U root%test -l log
[root at .]$ enumu
enumu

SAM Enumerate Users
[root at .]$ createuser root -p test
createuser root -p test

SAM Create Domain User
Domain: SAMBA-TNG Name: root ACB: [U          ]
Create Domain User: OK
[root at .]$ createuser test -p test
createuser test -p test

SAM Create Domain User
Domain: SAMBA-TNG Name: test ACB: [U          ]
Create Domain User: OK
[root at .]$ ntlogin SAMBA-TNG\root test
ntlogin SAMBA-TNG\root test

Segmentation Fault (core dumped)

-- so I checked the smbpasswd file and

root:0:NO PASSWORDXXXXXXXXXXXXXXXXXXXXX:NO
PASSWORDXXXXXXXXXXXXXXXXXXXXX:[NDU        ]:LCT-38C7EA2F:
test:2004:NO PASSWORDXXXXXXXXXXXXXXXXXXXXX:NO
PASSWORDXXXXXXXXXXXXXXXXXXXXX:[NDU        ]:LCT-38C7EAA1:

-- No password ehh ??? okay then.....
smbpasswd root

--- now smbpasswd looks like...
root:0:01FC5A6BE7BC6929AAD3B435B51404EE:0CB6948805F797BF2A82807973B89537:[DU
]:LCT-38C7ED4F:
test:2004:NO PASSWORDXXXXXXXXXXXXXXXXXXXXX:NO
PASSWORDXXXXXXXXXXXXXXXXXXXXX:[NDU        ]:LCT-38C7ECCF:

-- okay now try the ntlogin again .....

[root] elk /opt/samba-tng $> rpcclient -S . -U root%test -l log
[root at ELK]$ ntlogin SAMBA-TNG\root test
ntlogin SAMBA-TNG\root test

cmd_nt_login: login (root) test succeeded: No
[root at ELK]$

- damn !!!! must be that damn [DU     ] businesss..  manually do a
little tweaking to SMBPASSWD
- might as well set test's password while I am here   and ...


root:0:01FC5A6BE7BC6929AAD3B435B51404EE:0CB6948805F797BF2A82807973B89537:[U
]:LCT-38C7ED4F:
test:2004:01FC5A6BE7BC6929AAD3B435B51404EE:0CB6948805F797BF2A82807973B89537:[U
]:LCT-38C7EE5B:

- now try the ntlogin ...

[root at ELK]$ ntlogin SAMBA-TNG\root test
ntlogin SAMBA-TNG\root test

cmd_nt_login: login (root) test succeeded: Yes
[root at ELK]$ ntlogin SAMBA-TNG\test test
ntlogin SAMBA-TNG\test test

cmd_nt_login: login (test) test succeeded: Yes

-- looking good... now try it with a bad password.....

[root at ELK]$ ntlogin SAMBA-TNG\root ARGHHH
ntlogin SAMBA-TNG\root ARGHHH

Segmentation Fault (core dumped)

-- ut oh!!!!

On my NT4SP6a machine I was able to join the domain, but still not able
to log into it.

Anybody else having the same problems.



More information about the samba-ntdom mailing list