i'm seeing same problems here.

A very specific problem is clients sometimes can't get their roaming profile. Error message is the same so i guess the problem may be somewhat the same. Sometimes it happens with shares too.


System Debian etch
Samba 3.024

smbd log: Around 9:14 i'm seeing the same errors.

2007/10/19 09:03:56, 0] lib/util_sock.c:get_peer_addr(1229)
  getpeername failed. Error was Transport endpoint is not connected
[2007/10/19 09:03:56, 0] lib/util_sock.c:get_peer_addr(1229)
  getpeername failed. Error was Transport endpoint is not connected
[2007/10/19 09:03:56, 0] lib/access.c:check_access(327)
[2007/10/19 09:03:56, 0] lib/util_sock.c:get_peer_addr(1229)
  getpeername failed. Error was Transport endpoint is not connected
  Denied connection from  (0.0.0.0)
[2007/10/19 09:03:56, 1] smbd/process.c:process_smb(1103)
[2007/10/19 09:03:56, 0] lib/util_sock.c:get_peer_addr(1229)
  getpeername failed. Error was Transport endpoint is not connected
  Connection denied from 0.0.0.0
[2007/10/19 09:03:56, 0] lib/util_sock.c:write_data(562)
write_data: write failure in writing to client 192.168.1.98. Error Connection reset by peer
[2007/10/19 09:03:56, 0] lib/util_sock.c:send_smb(769)
  Error writing 5 bytes to client. -1. (Connection reset by peer)
[2007/10/19 09:04:28, 0] lib/util_sock.c:get_peer_addr(1229)
  getpeername failed. Error was Transport endpoint is not connected
[2007/10/19 09:04:28, 0] lib/util_sock.c:get_peer_addr(1229)
  getpeername failed. Error was Transport endpoint is not connected
[2007/10/19 09:04:28, 0] lib/util_sock.c:read_data(534)
read_data: read failure for 4 bytes to client 0.0.0.0. Error = Connection reset by peer
[2007/10/19 09:04:28, 0] smbd/service.c:make_connection(1111)
  mpi057 (192.168.1.98) couldn't find service verah
[2007/10/19 09:04:28, 0] smbd/service.c:make_connection(1111)
  mpi057 (192.168.1.98) couldn't find service verah
[2007/10/19 09:04:30, 1] smbd/service.c:make_connection_snum(950)
mpi057 (192.168.1.98) connect to service netlogon initially as user verah (uid=1003, gid=1001) (pid 10356)
[2007/10/19 09:04:30, 0] smbd/service.c:set_current_service(150)
  chdir (/data/netlogon) failed
[2007/10/19 09:04:30, 0] smbd/service.c:set_current_service(150)
  chdir (/data/netlogon) failed
[2007/10/19 09:04:38, 1] smbd/service.c:close_cnum(1150)
  mpi057 (192.168.1.98) closed connection to service netlogon
[2007/10/19 09:04:39, 1] smbd/service.c:make_connection_snum(950)
mpi057 (192.168.1.98) connect to service profiles initially as user verah (uid=1003, gid=1001) (pid 10360)
[2007/10/19 09:04:39, 1] smbd/service.c:close_cnum(1150)
  mpi057 (192.168.1.98) closed connection to service profiles
[2007/10/19 09:04:41, 1] smbd/service.c:make_connection_snum(950)
mpi057 (192.168.1.98) connect to service ICT initially as user verah (uid=1003, gid=1004) (pid 10361)
[2007/10/19 09:04:50, 1] smbd/service.c:close_cnum(1150)
  mpi057 (192.168.1.98) closed connection to service ICT
[2007/10/19 09:06:10, 1] smbd/service.c:make_connection_snum(950)
mpi057 (192.168.1.98) connect to service ICT initially as user verah (uid=1003, gid=1004) (pid 10371)
[2007/10/19 09:06:10, 1] smbd/service.c:make_connection_snum(950)
mpi057 (192.168.1.98) connect to service Backup initially as user verah (uid=1003, gid=1004) (pid 10371)
[2007/10/19 09:14:26, 1] smbd/service.c:make_connection_snum(950)
mpi057 (192.168.1.98) connect to service profiles initially as user verah (uid=1003, gid=1001) (pid 10371)
[2007/10/19 09:14:30, 1] smbd/service.c:close_cnum(1150)
  mpi057 (192.168.1.98) closed connection to service profiles
[2007/10/19 09:14:30, 1] smbd/service.c:close_cnum(1150)
  mpi057 (192.168.1.98) closed connection to service Backup
[2007/10/19 09:14:30, 1] smbd/service.c:close_cnum(1150)
  mpi057 (192.168.1.98) closed connection to service ICT
[2007/10/19 09:14:43, 1] smbd/service.c:make_connection_snum(950)
mpi057 (192.168.1.98) connect to service profiles initially as user verah (uid=1003, gid=1001) (pid 10405)
[2007/10/19 09:14:47, 1] smbd/service.c:close_cnum(1150)
  mpi057 (192.168.1.98) closed connection to service profiles
[2007/10/19 09:14:47, 0] lib/util_sock.c:get_peer_addr(1229)
  getpeername failed. Error was Transport endpoint is not connected
[2007/10/19 09:14:47, 0] lib/access.c:check_access(327)
[2007/10/19 09:14:47, 0] lib/util_sock.c:get_peer_addr(1229)
  getpeername failed. Error was Transport endpoint is not connected
  Denied connection from  (0.0.0.0)
[2007/10/19 09:14:47, 1] smbd/process.c:process_smb(1103)
[2007/10/19 09:14:47, 0] lib/util_sock.c:get_peer_addr(1229)
  getpeername failed. Error was Transport endpoint is not connected
  Connection denied from 0.0.0.0
[2007/10/19 09:14:47, 0] lib/util_sock.c:write_data(562)
write_data: write failure in writing to client 192.168.1.98. Error Connection reset by peer
[2007/10/19 09:14:47, 0] lib/util_sock.c:send_smb(769)
  Error writing 5 bytes to client. -1. (Connection reset by peer)
[2007/10/19 09:14:50, 1] smbd/service.c:make_connection_snum(950)
mpi057 (192.168.1.98) connect to service profiles initially as user verah (uid=1003, gid=1001) (pid 10409)
[2007/10/19 09:14:58, 1] smbd/service.c:close_cnum(1150)
  mpi057 (192.168.1.98) closed connection to service profiles
[2007/10/19 09:14:58, 1] smbd/service.c:make_connection_snum(950)
mpi057 (192.168.1.98) connect to service netlogon initially as user verah (uid=1003, gid=1001) (pid 10409)
[2007/10/19 09:14:58, 0] smbd/service.c:set_current_service(150)
  chdir (/data/netlogon) failed
[2007/10/19 09:14:58, 0] smbd/service.c:make_connection(1111)
  mpi057 (192.168.1.98) couldn't find service verah
[2007/10/19 09:14:58, 0] smbd/service.c:make_connection(1111)
  mpi057 (192.168.1.98) couldn't find service verah
[2007/10/19 09:14:59, 0] smbd/service.c:set_current_service(150)
  chdir (/data/netlogon) failed
[2007/10/19 09:14:59, 1] smbd/service.c:make_connection_snum(950)
mpi057 (192.168.1.98) connect to service ICT initially as user verah (uid=1003, gid=1004) (pid 10409)
[2007/10/19 09:14:59, 1] smbd/service.c:make_connection_snum(950)
mpi057 (192.168.1.98) connect to service profiles initially as user verah (uid=1003, gid=1001) (pid 10409)
[2007/10/19 09:15:01, 1] smbd/service.c:close_cnum(1150)
  mpi057 (192.168.1.98) closed connection to service profiles
[2007/10/19 09:15:01, 1] smbd/service.c:close_cnum(1150)
  mpi057 (192.168.1.98) closed connection to service netlogon
[2007/10/19 09:15:01, 1] smbd/service.c:close_cnum(1150)
  mpi057 (192.168.1.98) closed connection to service ICT
[2007/10/19 09:15:08, 1] smbd/service.c:make_connection_snum(950)
mpi057 (192.168.1.98) connect to service ICT initially as user verah (uid=1003, gid=1004) (pid 10409)
[2007/10/19 09:15:08, 1] smbd/service.c:make_connection_snum(950)
mpi057 (192.168.1.98) connect to service Backup initially as user verah (uid=1003, gid=1004) (pid 10409)
[2007/10/19 09:15:16, 1] smbd/service.c:close_cnum(1150)
  mpi057 (192.168.1.98) closed connection to service ICT
[2007/10/19 09:15:16, 1] smbd/service.c:close_cnum(1150)
  mpi057 (192.168.1.98) closed connection to service Backup
[2007/10/19 09:16:23, 1] smbd/server.c:open_sockets_smbd(408)
  Reloading services after SIGHUP



Smb.conf:
[global]
        netbios name = SERVER
        workgroup = DOMAIN
#       smb ports = 139 
        domain master = yes
        domain logons = yes
        local master = yes
        preferred master = yes
        os level = 65
        wins support = yes
        name resolve order = wins lmhosts hosts bcast
#       dns proxy = yes

        security = user
        encrypt passwords = yes

        browse list = yes
        browseable = no
        max disk size = 20480

        # Logging (troubleshooting)
#       log level = 3   
#       log file = /var/log/samba/log.%m                
        
        # [globals] User and group related

        idmap gid = 15000-20000
        add group script = /usr/sbin/groupadd %g
        delete group script = /usr/sbin/groupdel %g

        idmap uid = 15000-20000
        add user script = /usr/sbin/useradd -m %u
        delete user script = /usr/sbin/userdel -r %u
        
add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null -g machines %u

        passdb backend = tdbsam
        hosts allow = 192.168.1. 127.0.0.1      

#       logon home = \\NEWTON\%U                        
        logon path = \\NEWTON\profiles\%U               
#       logon script = scripts\%G.bat                   
#       logon drive = H:
        

#       printing = cups
        printcap name = cups

        # [globals] Performance Tuning
        
# This option caches the path to the current directory, avoiding long tree-walks to discover it. # It's a nice performance improvement on a printer server or if you've turned off wide links.
#       getwd cache = yes

        # socket options = TCP_NODELAY IPTOS_LOWDELAY

        # tell the server whether the client is present and
        # responding in seconds
        # keep alive = 3600

        # num minutes of inactivity before a connection is
        # considered dead
        # dead time = 30

[netlogon]
        comment = Network Logon Service
        path = /data/netlogon
        writable = no
        write list = root +domadmins

[profiles]
        path = /data/profiles
        read only = no
        create mask = 0600
        directory mask = 0700
        profile acls = yes
        csc policy = disable
        hide files = /desktop.ini/ntuser.ini/NTUSER.*/
        inherit permissions = yes
        valid users = +%U +domadmins


Share example

[share]
        browseable      = yes
        writeable       = yes
        wide links      = no
        write list      = +sharegroup
        path            = /data/shares/share
        force directory mode = 770
        force group     = sharegroup
        force create mode = 770
        valid users     = +sharegroup
        create mode     = 770
        directory mode  = 770


On Sat, 29 Sep 2007 09:09:57 +0200, Mikael Rudberg <[EMAIL PROTECTED]> wrote:

Sorry for the repost but do anyone have any idea on how to try to nail down this problem ?
Hi

I'm running Samba 3.0.24 both on a Debian etch and a Ubuntu 7.04 both as PDC's and I'm experiencing some really strange disconnection issues.

i have net mapped a share to p: and after doing som copying of files all of a sudden it says that the p: drive and i can't acess it for a couple of seconds and then it shows up again.

Browsing through the logs i can't really find any hard errors but a lot of these type of entries

[2007/09/25 20:05:04, 1] smbd/service.c:make_connection_snum(950)
mikael (192.168.1.104) connect to service media initially as user mikael (uid=1000, gid=1000) (pid 9032)
[2007/09/25 20:10:07, 1] smbd/service.c:close_cnum(1150)
 mikael (192.168.1.104) closed connection to service media
[2007/09/25 20:10:07, 1] smbd/service.c:close_cnum(1150)
 mikael (192.168.1.104) closed connection to service mikael
[2007/09/25 20:10:50, 1] smbd/service.c:make_connection_snum(950)
mikael (192.168.1.104) connect to service media initially as user mikael (uid=

I've been browsing the net to find potential solutions but all advise i found was to play around with socket options which i tried with no difference in behavior

I would highly appreciate any advise in the matter


My smb.conf looks like this


[global]
       workgroup = xxxx
       netbios name = yyyy
       server string = %h server (Samba %v)
       preferred master = yes
       log file = /var/log/samba/log.%m
       max log size = 1000
       domain logons = yes
       logon home = \\%N\%U
       logon path =
       logon script = scripts\logon.bat
       wins support = yes
       inherit acls = yes
       inherit permissions = yes
       smb ports = 445
##
## Scripts
##
       add user script = /usr/sbin/useradd -m %u
       delete user script = /usr/sbin/userdel -m %u
       add group script = /usr/sbin/groupadd %g
       delete group script = /usr/sbin/groupdel %g
       add user to group script = /usr/sbin/usermod -G %g %u
add machine script = /usr/sbin/useradd -g machines -c machines -d /dev/null -s /bin/false %u
##
## Printers
##
       load printers = yes
       printing = cups
       printcap name = cups

[netlogon]
       comment = Network Logon Service
       path = /var/lib/samba/netlogon
       guest ok = Yes
       locking = No
       write list = root

[print$]
       comment = Printer Driver Download Area
       path = /etc/samba/drivers
       browsable = yes
       guest ok = yes
       read only = yes
       write list = @ntadmin,root
[printers]
       comment = All Printers
       path = /var/spool/samba
       read only = yes
       printable = yes
       use client driver = yes
       browseable = yes
       printer admin = root,@ntadmins
[homes]
       comment = Home Directories
       path=/home/%U
       browseable = no
       writable = yes
       valid users = %S
       read only = no

[media]
       read only=no
       comment=Media Files
       path=/data/media/







--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to