Logon errors

Seth Thornberry stm at greeny.org
Tue Mar 20 19:22:48 GMT 2001


I'm having a similar problem to Pavlos. My log files are getting the same
errors and I can not browse network neighborhood or access the samba server.

I read from an earlier list message that the open files error:
][2001/03/20 11:51:31, 1] smbd/files.c:file_init(216)
]  file_init: Information only: requested 10000 open files, 1014
can be resolved by setting your max open files in smb.conf, but the
documentation says that you should almost never have to set that. Setting it
got rid of the error, but the problem of not seeing the samba server (or
anything in network neighborhood) still occurs.

I did notice that this problem occured after I created a share, but after
removing the share and restarting samba, it still required a reboot of the
client machine for network neighborhood to show up again.

I've seen other mentions of the error
][2001/03/20 11:34:38, 0] lib/util_sock.c:send_smb(754)
]  Error writing 4 bytes to client. -1. Exiting
in the list before but I haven't seen anyone address the problem.

My smb.conf is at the end of the document (below the quote of Pavlos)


]-----Original Message-----
]From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
]Behalf Of Pavlos Parissis
]Sent: Tuesday, March 20, 2001 4:06 AM
]To: samba at us5.samba.org
]Subject: Logon errors

]>>>smb.conf
]
][global]
]        client code page = 737
]        workgroup = LOCALENLOGIC
]        server string = Samba Server
]        encrypt passwords = Yes
]        username map = /etc/samba/smbusers
]        log file = /var/log/samba/%m.log
]        max log size = 1000
]        name resolve order = lmhosts host bcast wins
]        socket options = IPTOS_LOWDELAY TCP_NODELAY
]SO_SNDBUF=1024 SO_RCVBUF=4096
]        load printers = No
]        character set = ISO8859-7
]        local master = No
]        dns proxy = No
]        remote announce = 192.168.0.255
]        guest account = pavlos
]        hosts allow = 192.168.0.
]        printing = lprng
]
]>>>ndemou.log (this is the winbox name and also the name of the
]loged in user)
]
][2001/03/20 11:34:10, 0] lib/util_sock.c:send_smb(754)
]  Error writing 4 bytes to client. -1. Exiting
][2001/03/20 11:34:38, 0] lib/util_sock.c:write_socket_data(540)
]  write_socket_data: write failure. Error = Broken pipe
][2001/03/20 11:34:38, 0] lib/util_sock.c:write_socket(566)
]  write_socket: Error writing 4 bytes to socket 6: ERRNO = Broken pipe
][2001/03/20 11:34:38, 0] lib/util_sock.c:send_smb(754)
]  Error writing 4 bytes to client. -1. Exiting
]
]>>>log.nmb
]
][2001/03/20 11:32:19, 0]
]nmbd/nmbd_incomingrequests.c:process_name_release_request(84)
]  process_name_release_request: unicast name release request
]received for name LOCALENLOGIC<1d>
]from IP 192.168.0.14 on subnet UNICAST_SUBNET. Error - should be
]sent to WINS server
][2 001/03/20 11:32:19, 0]
]nmbd/nmbd_incomingrequests.c:process_name_release_request(84)
]  process_name_release_request: unicast name release request
]received for name __MSBROWSE__<01>
]from IP 192.168.0.14 on subnet UNICAST_SUBNET. Error - should be
]sent to WINS server
][2001/03/20 11:32:19, 0]
]nmbd/nmbd_incomingrequests.c:process_name_release_request(84)
]  process_name_release_request: unicast name release request
]received for name NDEMOU<00> from IP
]192.168.0.14 on subnet UNICAST_SUBNET. Error - should be sent to
]WINS server
][2001/03/20 11:32:19, 0]
]nmbd/nmbd_incomingrequests.c:process_name_release_request(84)
]  process_name_release_request: unicast name release request
]received for name LOCALENLOGIC<00>
]from IP 192.168.0.14 on subnet UNICAST_SUBNET. Error - should be
]sent to WINS server
][2001/03/20 11:32:19, 0]
]nmbd/nmbd_incomingrequests.c:process_name_release_request(84)
]  process_name_release_request: unicast name release request
]received for name LOCALENLOGIC<1e>
]from IP 192.168.0.14 on subnet UNICAST_SUBNET. Error - should be
]sent to WINS server
]
]>>> smb.log
][2001/03/20 11:23:08, 1] lib/util_sock.c:client_name(1007)
]  Gethostbyaddr failed for 192.168.0.14
][2001/03/20 11:34:10, 1] lib/util_sock.c:client_name(1007)
]  Gethostbyaddr failed for 192.168.0.14
][2001/03/20 11:34:38, 1] lib/util_sock.c:client_name(1007)
]  Gethostbyaddr failed for 192.168.0.14
][2001/03/20 11:51:31, 1] smbd/files.c:file_init(216)
]  file_init: Information only: requested 10000 open files, 1014
]are available.
][2001/03/20 11:56:06, 1] lib/util_sock.c:client_name(1007)
]  Gethostbyaddr failed for 192.168.0.14



------- My smb.conf --------
# Global parameters
[global]
        workgroup = VOID
        netbios name = CHAOS
        server string = Chaos The File Server
        interfaces = eth0
        encrypt passwords = Yes
        log file = /var/log/samba/%m.log
        max log size = 0
        max open files = 1014
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        dns proxy = No
        wins support = Yes
        hosts allow = 192.168.55.
        printing = lprng

[homes]
        comment = Home Directories
        writeable = Yes
        browseable = No

[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No

[private]
        comment = Private Share
        path = /storage/private
        valid users = stm
        admin users = stm
        writeable = Yes

;[archives]
;       comment = Archives for Chaos
;       path = /storage/archives
;       admin users = stm
;       write list = stm
;       writeable = Yes
;       guest ok = Yes










More information about the samba mailing list