View previous topic :: View next topic |
Author |
Message |
WladyX Guru
Joined: 25 Nov 2004 Posts: 503 Location: Romania
|
Posted: Sat Feb 05, 2005 2:09 pm Post subject: Samba errors |
|
|
I often see this in my logs, what is causing them? Thanks.
Code: |
Feb 5 16:08:16 wladyx nmbd[7636]: [2005/02/05 16:08:16, 0] nmbd/nmbd_incomingdgrams.c:process_master_browser_announce(385)
Feb 5 16:08:16 wladyx nmbd[7636]: process_master_browser_announce: Not configured as domain master - ignoring master announce.
Feb 5 16:09:15 wladyx smbd[14351]: [2005/02/05 16:09:15, 0] lib/util_sock.c:get_peer_addr(1000)
Feb 5 16:09:15 wladyx smbd[14351]: getpeername failed. Error was Transport endpoint is not connected
Feb 5 16:09:15 wladyx smbd[14351]: [2005/02/05 16:09:15, 0] lib/util_sock.c:write_socket_data(430)
Feb 5 16:09:15 wladyx smbd[14351]: write_socket_data: write failure. Error = Connection reset by peer
Feb 5 16:09:15 wladyx smbd[14351]: [2005/02/05 16:09:15, 0] lib/util_sock.c:write_socket(455)
Feb 5 16:09:15 wladyx smbd[14351]: write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset by peer
Feb 5 16:09:15 wladyx smbd[14351]: [2005/02/05 16:09:15, 0] lib/util_sock.c:send_smb(647)
Feb 5 16:09:15 wladyx smbd[14351]: Error writing 4 bytes to client. -1. (Connection reset by peer)
|
_________________ We are not alone. |
|
Back to top |
|
|
Rammoth n00b
Joined: 05 Jan 2005 Posts: 36
|
Posted: Sun Feb 27, 2005 11:00 am Post subject: |
|
|
I have this error also, surely someone knows what the hell it is. |
|
Back to top |
|
|
j-m Retired Dev
Joined: 31 Oct 2004 Posts: 975
|
Posted: Sun Feb 27, 2005 11:20 am Post subject: |
|
|
Misconfigured Samba... |
|
Back to top |
|
|
WladyX Guru
Joined: 25 Nov 2004 Posts: 503 Location: Romania
|
Posted: Sun Feb 27, 2005 7:19 pm Post subject: |
|
|
Here is my smb.conf:
Code: |
[global]
workgroup = XXXX
server string = WladyX's GENTOO BOX
interfaces = eth0
security = SHARE
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
log file = /var/log/samba/log.%m
max log size = 50
load printers = No
printcap name = lpstat
preferred master = No
local master = No
domain master = No
dns proxy = No
ldap ssl = no
# message command = /usr/local/bin/linpopup
create mask = 0644
printing = cups
print command = /usr/bin/lp -d '%p' %s; rm %s
lpq command = /usr/bin/lpstat -o '%p'
lprm command = /usr/bin/cancel '%p-%j'
lppause command = lp -i '%p-%j' -H hold
lpresume command = lp -i '%p-%j' -H resume
queuepause command = /usr/bin/disable '%p'
queueresume command = /usr/bin/enable '%p'
[public]
comment = Public Stuff
path = /mnt/samba/public
guest ok = Yes
[incoming]
path = /mnt/samba/incoming
read only = No
guest ok = Yes
hosts deny = xx.xx.xx.xx
[priv]
path = /mnt/samba/priv
guest ok = Yes
hosts allow = wladyx_1
hosts deny = ALL
[tiger]
path = /mnt/samba/tiger
read only = No
guest ok = Yes
hosts allow = tiger
hosts deny = ALL
[linux]
comment = Linux Stuff
path = /mnt/samba/linux
guest ok = Yes
hosts allow = wladyx_1
hosts deny = ALL
[wladyx_1]
path = /mnt/samba/wladyx_1
read only = No
guest ok = Yes
hosts allow = wladyx_1, xx.xx.xx.xx
hosts deny = ALL
|
See any problems? _________________ We are not alone. |
|
Back to top |
|
|
sgould n00b
Joined: 30 Aug 2005 Posts: 5
|
Posted: Tue Aug 30, 2005 10:48 pm Post subject: |
|
|
This problem has to do with the ports Windows 200x and XP client machines use. See my solution on another thread.
Steve |
|
Back to top |
|
|
|