Samba-tng 2.3 .samedit/connectivity issues
Michael Glauche
mg at plum.de
Thu Apr 13 21:10:13 GMT 2000
Kelly Smelser wrote:
>
> Ah, missed that line in your message. Thanks a lot. Regardless, I'm
> still getting the "Connection refused" when I do a smbpasswd -a root and
> aside from the "Connection refused" when doing a createuser in samedit I
> still get a "Create Domain User: FAILED".
dont use smbpasswd. Luke wants to ditch it ;) (and replace it with some
script
that calls samedit ;)
On my 2.3 tng:
/opt/samba-tng/bin/samedit -S . -U root
added interface ip=10.1.1.1 bcast=10.1.1.63 nmask=255.255.255.192
added interface ip=10.1.1.65 bcast=10.1.1.127 nmask=255.255.255.192
Enter Password:
[root at .]$ createuser kd
createuser kd
socket connect to /tmp/.msrpc/.samr/agent failed: Verbindungsaufbau
abgelehnt
SAM Create Domain User
Domain: TESTWG Name: kd ACB: [U ]
socket connect to /tmp/.msrpc/.samr/agent failed: Verbindungsaufbau
abgelehnt
Create Domain User: OK
Ok .. the user is there, but the account is disabled ("D" in the
smbpasswd file)
How to change this with samedit ??? (editing smb.conf is not the best
sollution, is it ?;)
Also, if I do a
[root at .]$ ntpass kd
ntpass kd
SAM NT Password Change
socket connect to /tmp/.msrpc/.samr/agent failed: Verbindungsaufbau
abgelehnt
Old Password:
it aks me for the old password, but I am root, it should not ask me ?
Ok .. but changing the passwd with smbpasswd works, and if I set the
account to "[U ]"
I can logon to the samba server:
[root at .]$ ntlogin testwg\kd test
ntlogin testwg\kd test
socket connect to /tmp/.msrpc/.lsarpc/agent failed: Verbindungsaufbau
abgelehnt
socket connect to /tmp/.msrpc/.NETLOGON/agent failed: Verbindungsaufbau
abgelehnt
cmd_nt_login: login (kd) test succeeded: Yes
regards,
Michael
--
Samba Information HQ (in german)
http://www.sambahq.de/
More information about the samba-ntdom
mailing list