Getting the Samba PDC into the domain

Luke Kenneth Casson Leighton lkcl at samba.org
Thu Jan 13 22:54:20 GMT 2000


okie, well does the machine at ip 129.101.74.140 actually _have_ a NetBIOS
name SMBTEST registered?  use nmblookup (or nbtstat.exe) to find out.


On Thu, 13 Jan 2000, Len Harold wrote:

> 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
> 

<a href="mailto:lkcl at samba.org"   > Luke Kenneth Casson Leighton    </a>
<a href="http://www.cb1.com/~lkcl"> Samba and Network Development   </a>
<a href="http://samba.org"        > Samba Web site                  </a>
<a href="http://www.iss.net"      > Internet Security Systems, Inc. </a>
<a href="http://mcp.com"          > Macmillan Technical Publishing  </a>

 ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals



More information about the samba-ntdom mailing list