[Samba] Weird disconnection problems

Mikael Rudberg mikael at iced.se
Sat Sep 29 07:09:57 GMT 2007


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, at 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/
>
>




More information about the samba mailing list