Getting the Samba PDC into the domain

Len Harold lharold at mrc.uidaho.edu
Thu Jan 13 21:17:35 GMT 2000


Ok Luke,

>if it's not broken, smbclient and rpcclient take a -n NETBIOSNAME option.
>check this out, first, though.

I tried this:

  rpcclient -n SMBTEST -S SMBTEST -W MRCTEST -U smbroot

It is taking the the netbios name so now I'm guessing that my problem is
in the configuration somewhere, not the code.

Guys,

If someone wants to take a stab at this, the end of lsaquery error message
says:

 cli_establish_connection: SMBTEST<00> connecting to SMBTEST<20> (129.101.74.140) - smbguest [MRCTEST] with NTLMv1, nopw: No
 socket open succeeded.  file name: /tmp/.smb.0/agent
 socket connect to /tmp/.smb.0/agent failed
 redirect FAILED, make direct connection
 Connecting to 129.101.74.140 at port 445
 error connecting to 129.101.74.140:445 (Invalid argument)
 Connecting to 129.101.74.140 at port 139
 error connecting to 129.101.74.140:139 (Invalid argument)
 cli_establish_connection: failed to connect to SMBTEST<00> (129.101.74.140)
 cli_net_use_add: connection failed
 cli_net_use_del: \\SMBTEST. force close: No
 cmd_lsa_query_info: query failed


Len


More information about the samba-ntdom mailing list