[Samba] Help with Samba 2.2.X on Solaris 2.8

news.gmane.org scmartin at usgs.gov
Wed Apr 9 17:18:03 GMT 2003


Samba Folks,
I have a major problem with Samba 2.2.8 randomly dropping network connections on our Solaris 2.8 SUN systems and could use some help. On a random basis Samba  will drop network connections and not allow them to re-established until the PC system is rebooted.  

The disconnect error is typically a broken pipe error: 
2003/02/21 09:42:03, 0] lib/util_sock.c:write_socket_data(499)

write_socket_data: write failure. Error = Broken pipe

Samba will not allow the user to reconnect until the PC is rebooted, here is the Samba error log:

[2003/04/01 09:05:37, 0] smbd/reply.c:reply_sesssetup_and_X(912)

restrict anonymous is True and anonymous connection attempted. Denying access.

[2003/04/01 09:05:37, 1] smbd/password.c:server_validate(1102)

password server is not connected

[2003/04/01 09:05:37, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1369)

unable to open passdb database.

[2003/04/01 09:05:37, 1] smbd/password.c:pass_check_smb(545)

Couldn't find user 'afbouret' in passdb.

[2003/04/01 09:05:37, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1369)

unable to open passdb database.



Here is our Samba configuration:

## Configured with /usr/local/samba/bin/config_samba 

workgroup = dis

security = server

encrypt passwords = yes 

password server = dissys

wins server = 134.45.67.99

hosts allow = .work.gov

##

## Disable Browsing Services

os level = 0

preferred master = no

domain master = no

local master = no

##

server string = SUN Samba Server version %v

hosts equiv = /etc/hosts.equiv

username map = /usr/local/samba/lib/users.map

password level = 2

printcap name = /usr/local/samba/lib/printers

preload = homes printers

default service = tmp

message command = csh -c 'xedit %s;rm %s' &

NIS homedir = Yes

print command = lp -c -o nobanner -d%p %s; rm %s

## Use a separate log file for each machine 

log file = /usr/local/samba/var/log.smbd

## Put a cap on the size of the log files (in Kb).

max log size = 50

map archive = no

## Performance Parameters 

log level = 1

socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=16834 SO_RCVBUF=16

834

read raw = yes

write raw = yes

oplocks = yes

max xmit = 65535

getwd cache = yes

## Recommended Security Setting

Restrict anonymous = yes


More information about the samba mailing list