wierd logon problems

Brian Hawley brian at walton-thomas.com
Wed Oct 25 11:56:45 GMT 2000


Okay, I spoke too soon.  All four users logged in without any 
problems after a samba restart BUT after one of them logged out of Win
95 and logged back in it took four tries to get in again.

Here is a snippet from the log.sophie file showing that she logged in
with no problems at 9:48 but all hell broke loose when she tried to
log in again at 10:47.

<log.sophie>
[2000/10/25 09:48:10, 1] smbd/service.c:make_connection(535)
  sophie (192.168.1.11) connect to service netlogon as user sophie
  (uid=504, gi$
[2000/10/25 09:48:28, 1] smbd/service.c:make_connection(535)
  sophie (192.168.1.11) connect to service public as user sophie
  (uid=504, gid=$
[2000/10/25 09:51:03, 1] smbd/service.c:close_cnum(568)
  sophie (192.168.1.11) closed connection to service netlogon
[2000/10/25 10:47:22, 1] smbd/service.c:close_cnum(568)
  sophie (192.168.1.11) closed connection to service public
[2000/10/25 10:48:13, 1] smbd/service.c:make_connection(535)
  sophie (192.168.1.11) connect to service netlogon as user sophie
  (uid=504, gi$
[2000/10/25 10:48:17, 0] lib/util_sock.c:write_socket_data(537)
  write_socket_data: write failure. Error = Broken pipe
[2000/10/25 10:48:17, 0] lib/util_sock.c:write_socket(563)
  write_socket: Error writing 4 bytes to socket 7: ERRNO = Broken pipe
[2000/10/25 10:48:17, 0] lib/util_sock.c:send_smb(751)
  Error writing 4 bytes to client. -1. Exiting
[2000/10/25 10:48:19, 1] smbd/service.c:make_connection(535)
  sophie (192.168.1.11) connect to service public as user sophie
  (uid=504, gid=$
[2000/10/25 10:48:23, 0] lib/util_sock.c:write_socket_data(537)
[2000/10/25 10:48:23, 0] lib/util_sock.c:write_socket(563)
  write_socket: Error writing 4 bytes to socket 7: ERRNO = Broken pipe
[2000/10/25 10:48:23, 0] lib/util_sock.c:send_smb(751)
  Error writing 4 bytes to client. -1. Exiting
[2000/10/25 10:48:46, 0] lib/util_sock.c:write_socket_data(537)
  write_socket_data: write failure. Error = Broken pipe
[2000/10/25 10:48:46, 0] lib/util_sock.c:write_socket(563)
  write_socket: Error writing 4 bytes to socket 7: ERRNO = Broken pipe
[2000/10/25 10:48:46, 0] lib/util_sock.c:send_smb(751)
  Error writing 4 bytes to client. -1. Exiting
[2000/10/25 10:51:02, 1] smbd/service.c:close_cnum(568)
  sophie (192.168.1.11) closed connection to service netlogon
<end log.sophie>

Here are the 10:48 errors from the log.smb file:
<log.smb>
[2000/10/25 10:48:23, 0] lib/util_sock.c:write_socket(563)
  write_socket: Error writing 4 bytes to socket 7: ERRNO = Broken pipe
[2000/10/25 10:48:23, 0] lib/util_sock.c:send_smb(751)
  Error writing 4 bytes to client. -1. Exiting
[2000/10/25 10:48:46, 0] lib/util_sock.c:write_socket_data(537)
  write_socket_data: write failure. Error = Broken pipe
[2000/10/25 10:48:46, 0] lib/util_sock.c:write_socket(563)
  write_socket: Error writing 4 bytes to socket 7: ERRNO = Broken pipe
[2000/10/25 10:48:46, 0] lib/util_sock.c:send_smb(751)
  Error writing 4 bytes to client. -1. Exiting
[2000/10/25 10:51:02, 1] smbd/service.c:close_cnum(568)
  sophie (192.168.1.11) closed connection to service netlogon
<end log.smb>

Here is the latest version of my smb.conf file:
<smb.conf>
[global]
   workgroup = WORKGROUP
   server string = PowerEdge
   hosts allow = 192.168.1.   127.
   printcap name = /etc/printcap
   load printers = yes
  guest account = nobody
   log file = /var/log/samba/log.%m
   max log size = 50
   security = user
  encrypt passwords = yes
  smb passwd file = /etc/smbpasswd
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   local master = yes
   os level = 65
   domain master = yes
   preferred master = yes
   domain logons = yes
logon path = \\poweredge\public\netlogon
logon home = \\poweredge\public\netlogon
   wins support = yes
   dns proxy = no 
share modes = yes
locking = yes
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777

[homes]
   comment = Home Directories
   browseable = yes
   writable = yes
   read only = no

 [netlogon]
   comment = Network Logon Service
   path = /public/netlogon
   guest ok = yes
   writable = no
   share modes = no
   browseable = yes

[Profiles]
    path = /public/netlogon
    browseable = no
    guest ok = yes

[public]
   comment = Public
   path = /public
   read only = no
   writable = yes
   public = yes
   create mode = 0775
<end smb.conf> 




More information about the samba-ntdom mailing list