util_sock.c:write_socket_data

Radek Kapoun Radek.Kapoun at comimpex.cz
Tue Feb 27 12:08:24 GMT 2001


Hi!
A have some problem as many users in your Archives, bat I don't search solving for this problem:
Any user can't logon to server ( invalid password ), bat sometimes it's OK. In the error log is following messages:


[2001/02/27 07:46:36, 0] lib/util_sock.c:write_socket_data(537)
  write_socket_data: write failure. Error = Poeru1ena roura (SIGPIPE)
[2001/02/27 07:46:36, 0] lib/util_sock.c:write_socket(563)
  write_socket: Error writing 4 bytes to socket 9: ERRNO = Poeru1ena roura (SIGPIPE)
[2001/02/27 07:46:36, 0] lib/util_sock.c:send_smb(751)
  Error writing 4 bytes to client. -1. Exiting


describe to system:
Redhat 6.2
kernel 2.2.14
Samba 2.0.6-9
eth0 ( public IP )
eth1 ( privat IP )

runing process:
Squid eth0,1
ipchains
SSH
inetd : imap,pop3
senmail eth0,1
ntp eth0,1
dhcp eth1
samba eth1
named eth0,1 (cache + primary + reverse domain )

I was reading subsidy from Chris and I try us two separate named.

named1 eth0 ( cache + primary domain + reverse domain )
named2 eth1 ( cache )

Bat this trial no resolve problem.

I'm stocking smb.conf

[root at veronika /root]# cat /etc/smb.conf
[global]
    workgroup = KUSAK
    protocol = NT1
    interfaces = 192.168.0.1/24 localhost
    bind interfaces only = yes
    netbios name = veronika
#    name resolve order = lmhost host wins bcast
    server string = Linux-Samba-server
    client code page = 852
    character set = ISO8859-2
    preserve case = yes
    case sensitive = no
    guest account = nobody
    invalid users = mail, deamon, atd
    log level = 3
    load printers = yes
    printcap name = /etc/printcap
    printing = bsd
    log file = /var/log/samba/log.%m
    max log size = 500
    share modes = yes
    message command = /bin/mail -s 'message from #% on %m' radek < %s; rm %s
#-------Performance---------
    getwd cache = yes
    socket options = TCP_NODELAY IPTOS_LOWDELAY
    max xmit = 65535
    read size = 512
    map hidden = yes
    map archive = yes
    map system = yes
    oplocks = yes
    write raw = yes
    read raw = yes
    lpq cache time = 30
#-----Security and domains logon services------
    security = user
    encrypt passwords = yes
    passwd chat = "*New password:*" %n\r "*New password (again):*" %n\r "*Password changed*"
    passwd program = /usr/bin/passwd %u
    domain master = yes
    preferred master = yes
    os level = 34
    domain logons = yes
    smb passwd file = /etc/smbpasswd
    unix password sync = yes
    dns proxy = no
    map to guest = never
    password level = 0
    null passwords = true
    hosts allow = 192.168.0. localhost
    wins support = yes
    debug level = 0
    logon script = scripts\%U.bat
#--------------shared folder---------------
[netlogon]
    comment = prihlasovaci scripty
    available = yes
    writable = no
    path = /usr/smb/netlogon
    create mode = 444
    guest ok = no
    volume = "Network"

[printers]
    comment = tiskárny
    path = /var/spool/lpd/samba
    browseable = yes
    printable = yes
    public = yes
    guest ok = no
    writable = no
    printable = yes

[homes]
    comment = Home Directories
    browseable = no
    writable = yes
    create mode = 644
    available = yes
    public = no
    only user = no
    volume = "Home"
[share]
    available = yes
    browseable = yes
    path = /usr/smb/share
    public = no
    writable = yes
    create mask = 0770
    directory mask = 0770
[apps]
    available = yes
    browseable = yes
    path = /usr/smb/apps
    public = no
    writable = yes
    create mask = 0770
    directory mask = 0770
[install]
    available = yes
    browseable = yes
    path = /usr/smb/install
    public = no
    writable = yes
[docs]
    available = yes
    browseable = yes
    path = /usr/smb/docs
    public = no
    writable = yes
    create mask = 0770
    directory mask = 0770 

Help me please!

Have a nice day



                        Radek Kapoun
-----------------------------------------------------------------------
Comimpex spol. s r.o.
Srbska 53
612 00 Brno
Czech republic
tel./fax. +420 5 41213159
Email: radek.kapoun at comimpex.cz
-----------------------------------------------------------------------
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba mailing list