[Samba] windows7 and samba 3.4.7 in Ubuntu 10.04 LTS

Lumeng Lim lumeng.lim at gmail.com
Thu Aug 18 04:49:38 MDT 2011

Is there a specific way of doing the smb.conf to make windows7 join the 

was able to make windows7 join in one instance but when is not 
successful in logging into the domain using a domain user and also 
cannot add a domain user to the local machine.

 From my initial attempts, I was able to join the win7 machine but after 
I upgraded to 3.4.7 everything seems to have gone to hell.

below are some of the messages i get from the logs
[2011/08/18 14:16:27,  0] lib/util_sock.c:1498(get_peer_addr_internal)
   getpeername failed. Error was Transport endpoint is not connected
   read_fd_with_timeout: client read error = Connection reset by 

[2011/08/18 14:17:31,  1] smbd/service.c:676(make_connection_snum)
   create_connection_server_info failed: NT_STATUS_ACCESS_DENIED

[2011/08/18 14:44:11,  0] 
   _netr_ServerAuthenticate3: netlogon_creds_server_check failed. 
Rejecting auth request from client SOMETHING-PC machine account 

below is my global settings

         workgroup = MYDOMAIN
         server string = HOSTNAME
         client schannel = Yes
         server schannel = Yes
         lanman auth = Yes
         client NTLMv2 auth = Yes
         log file = /var/log/samba/samba.%m
         max log size = 50
         add user script = /usr/sbin/useradd -s /bin/bash %u
         delete user script = /usr/sbin/userdel %u
         add group script = /usr/sbin/groupadd %u
         delete group script = /usr/sbin/groupdel %g
         delete user from group script = /usr/sbin/deluser %u %g
         add machine script = /usr/sbin/useradd -s /bin/false -d 
/dev/null %u
         logon script = %U.bat
         logon path =
         logon drive = M:
         logon home = \\hostname\%U
         domain logons = Yes
         os level = 64
         preferred master = Yes
         domain master = Yes
         wins support = Yes

More information about the samba mailing list