[Samba] Samba doesn't free network resource with 2000 clients!

Frédéric BERNOUD frederic.bernoud at altiva.fr
Sat Apr 5 07:58:36 GMT 2003


Hi,

Active session (see with smbstatus) never die in my Server!

I tried to use deadtime and keepalive unsuccessfully.

I use 2.2.7a in Mandrake 8.2. with openldap 2.0.21

Thanks in advance.


Frédéric BERNOUD


My smb.conf :

[global]
   root postexec = kill -9 %d

workgroup = INTRANET
   netbios name = PDC-SRV
   server string = Samba-Ldap PDC Server %v
force create mode = 0770
force directory mode = 2770	
    load printers = yes
    printing = cups
    log file = /var/log/samba/%m.log
    max log size = 1000
   guest account = guestsmb
    security = user
    password server = *
   encrypt passwords = yes
   update encrypted = yes
   unix password sync = Yes
   passwd program = /usr/sbin/smbldap-passwd.pl -o %u
   passwd chat = *new*password* %n\n *new*password* %n\n *successfully*
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    local master = yes
    os level = 64
    domain master = yes
    preferred master = yes
    domain logons = yes
    logon script = %U.bat
    logon script = STARTUP.bat
     logon home = \\%L\%U\.Win9X-profile
     add user script = /usr/sbin/smbldap-useradd.pl -a %u
     domain admin group = root @Administrators
    wins support = yes
    wins proxy = yes
    ;dns proxy = no
    dns proxy = no
    client code page = 850
    character set = ISO8859-1
     allow trusted domains = no
     logon drive = H:
     ldap suffix = "dc=rainero,dc=lan"
     ldap admin dn = "cn=Manager,dc=LLLLLLL,dc=lan"
     ldap ssl = no
     ldap port = 389
     time server = yes
     create mode = 0770
     directory mode = 0770
     veto files = /.AppleDouble/.bin/.AppleDesktop/Network Trash 
Folder/TheFindByContentFolder/
     read only = no
     create mask = 0660
     directory mask = 0770

     deadtime = 10

     keepalive = 3600
     ;Oplocks = No
     ;kernel oplocks = No
     ;level2 oplocks = No

[homes]
    comment = Home Directories
    browseable = no
    writable = yes
    create mask = 600
    directory mask = 700

[netlogon]
    comment = Network Logon Service
    path = /var/lib/samba/netlogon
    guest ok = yes
    writable = no
    admin users = root @Administrators
    public = no
    browseable = no


[NT-Profiles]
    comment = Répertoire des profiles
    # correspond à \\PDC-SRV\NT-Profiles
    path = /home/NT-Profiles
    browseable = no
    guest ok = yes
    create mode = 0600
    directory mode = 0700

[printers]
    comment = All Printers
    path = /var/spool/samba
    browseable = no
    guest ok = yes
    writable = no
    printable = yes
    create mode = 0700
    print command = lpr-cups -P %p -o raw %s -r   # using client side 
printer drivers.

[print$]
    path = /var/lib/samba/printers
    browseable = yes
    read only = yes
    write list = @Administrators root


[public]
    comment = Public Stuff
    path = /home/public
    public = yes
    writable = yes
    write list = @allusers
    read only = no
    guest ok = yes

...
				




More information about the samba mailing list