[Samba] 'net rpc join -U Administrator' on Samba + LDAP PDC

Craig White craigwhite at azapple.com
Mon Jul 12 01:12:20 GMT 2004


On Sun, 2004-07-11 at 10:55, abebe lsslp wrote:
> You know, You have given me detailed steps for me to
> take. I really appreciate that! It is still not
> working though. Do you have any other ideas? See below
> for more information :). If anybody else have any idea
> how to fix this, pealse give it a try. 
> 
> I removed all the log files from '/var/log/samba/'
> directory and tried to join Win XP pro (xppro) to the
> domain. Two log files were created for the xp machine:
> 192.168.1.18.log and xppro.log. xppro.log is empty,
> but 192.168.1.18.log contains the following
> 
> [2004/07/11 00:34:26, 1]
> smbd/process.c:process_smb(1085)
> [2004/07/11 00:34:26, 0]
> lib/util_sock.c:get_peer_addr(1000)
>   getpeername failed. Error was Transport endpoint is
> not connected
>   Connection denied from 0.0.0.0
> [2004/07/11 00:34:26, 0]
> lib/util_sock.c:write_socket_data(430)
>   write_socket_data: write failure. Error = Connection
> reset by peer
> [2004/07/11 00:34:26, 0]
> lib/util_sock.c:write_socket(455)
>   write_socket: Error writing 5 bytes to socket 22:
> ERRNO = Connection reset by peer
> [2004/07/11 00:34:26, 0] lib/util_sock.c:send_smb(647)
>   Error writing 5 bytes to client. -1. (Connection
> reset by peer)
----
I have seen this error and this seems to be a general networking error -
in my case, it was a bad wire from one switch to another switch and the
problem would temporarily disappear when I reset the switches (hubs) but
it would come back.

Just to make certain do these things...

1 - power cycle all the involved hubs/switches
2 - check all the link lights
3 - turn up log levels on both openldap and samba temporarily to log
everything (i.e. level 256 on openldap and 10 on samba)
4 - make sure that firewall on both Linux machine and Windows machine
are off
5 - make sure that you haven't attached to any resource on the PDC from
the winXP Pro machine since the last restart of the WinXP Pro computer
(i.e. to be certain, restart the machine and then immediately try to
join)

Craig



More information about the samba mailing list