Sorry : i forgot my smb.conf :((((

Here it is :


[global] netbios name = serveur workgroup = sls

       passdb backend = smbpasswd:/etc/samba/private/smbpasswd
       os level = 255

       socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

       security = user
       preferred master = yes
       domain logons = yes
       domain master = yes
       local master = yes

       logon path = \\%L\%U\.profile
       logon home = \\%L\%U
       logon script = %G.cmd
       logon drive = u:

       encrypt passwords = yes
       username map = /etc/samba/smbusers

add machine script = /usr/sbin/useradd -d /dev/null -s /bin/false -c "compte machine - client w2k" -g machines %u

       printing = cups
       load printers = yes
       printcap name = cups

       #wins support = yes
       #name resolve order = host bcast
       log level = 3

       #guest account = nobody


[netlogon] path = /etc/samba/netlogon read only = yes write list = @wheel guest ok = no browseable = no


[profiles] path = \\%L\%U/.profile create mode = 0600 directory mode = 0700 read only = no profile acls = no browseable = no






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 !


--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to