[Samba] samba 3.0.4 : cannot join domain with w2k clients.
HM
mercier at msi.unilim.fr
Mon Jun 28 15:34:13 GMT 2004
I'm back ;-)
Thanks a lot to all of you who take some time to help me. I finally
solved the problem : the add machine script option in smb.conf seems to
produce invalid machine accounts (?!).
workaround : disable this option in the smb.conf file and manually
create both system account AND smbpasswd entry.
Hope this will help.
HM a écrit :
> Hello all.
>
> I'm trying since a few jours to get my w2k clients join my domain,
> managed by my samba 3.0.4 PDC, without success. I can browse the
> server, share files with it with my station, but i can't join the
> domain. When i try to, i get the following message (sorry for the poor
> translation) :
>
> The following error occurred while trying to join domain 'SLS' :
> Failed to open a session : username unknown or invalid password.
>
> I the logs, i get the following :
>
> [2004/06/25 17:57:42, 0] lib/util_sock.c:get_peer_addr(978)
> getpeername failed. Error was Transport endpoint is not connected
> [2004/06/25 17:57:42, 3] smbd/oplock.c:init_oplocks(1226)
> open_oplock_ipc: opening loopback UDP socket.
> [2004/06/25 17:57:42, 3]
> smbd/oplock_linux.c:linux_init_kernel_oplocks(303)
> Linux kernel oplocks enabled
> [2004/06/25 17:57:42, 3] smbd/oplock.c:init_oplocks(1257)
> open_oplock ipc: pid = 3791, global_oplock_port = 1065
> [2004/06/25 17:57:42, 3] smbd/process.c:process_smb(890)
> Transaction 0 of length 72
> [2004/06/25 17:57:42, 2] smbd/reply.c:reply_special(208)
> netbios connect: name1=SERVEUR name2=SLS-PHY-14
> [2004/06/25 17:57:42, 2] smbd/reply.c:reply_special(215)
> netbios connect: local=serveur remote=sls-phy-14, name type = 0
> [2004/06/25 17:57:42, 0] lib/util_sock.c:get_peer_addr(978)
> getpeername failed. Error was Transport endpoint is not connected
> [2004/06/25 17:57:42, 0] lib/util_sock.c:write_socket_data(413)
> write_socket_data: write failure. Error = Connection reset by peer
> [2004/06/25 17:57:42, 0] lib/util_sock.c:write_socket(438)
> write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection
> reset by peer
> [2004/06/25 17:57:42, 0] lib/util_sock.c:send_smb(630)
> Error writing 4 bytes to client. -1. (Connection reset by peer)
> [2004/06/25 17:57:42, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> [2004/06/25 17:57:42, 2] smbd/server.c:exit_server(568)
> Closing connections
> [2004/06/25 17:57:42, 3] smbd/connection.c:yield_connection(69)
> Yielding connection to
> [2004/06/25 17:57:42, 3] smbd/server.c:exit_server(611)
> Server exit (process_smb: send_smb failed.)
>
> Of course, the user root is correctly mapped in the username map, and
> the password is correctly set.
>
> Any idea ?
>
> Thanks !
More information about the samba
mailing list