connect /disconnect XP client

b_plancoulaine at iutcaen.unicaen.fr b_plancoulaine at iutcaen.unicaen.fr
Sun Aug 28 17:00:07 GMT 2005


Hello, 

We carried out a migration towards Linux - Debian (Testing) with a kernel 2.4
and a samba 3.0.14a.  For a very long time, we use the samba software and we had
not encountered this problem :  

When several customers Windows XP connect themselves or disconnect themselves at
the same time with the SAMBA server,the demon smbd does not answer any more or
becomes very slow. The users have profiles which are in shareable directory on
the same server.

Have you had this problem ?

Thank you for your assistance,

Benoît PLANCOULAINE

Our smb.conf file :

#======================= Global Settings =======================

[global]
;  Background
## Browsing/Identification ###
   workgroup = IUTCAEN
;  server string = %h server (Samba %v)
   server string = Samba-LDAP Server
   deadtime = 720

######### Char font ##########
   Dos charset = 850
   Unix charset = ISO8859-1

## Domain control PDC/BDC  ###
   netbios name = agx
;  netbios aliases = agx2
;  domain master = No
;  local master = No
   domain logons = Yes
## Max level for windows : 33
   os level = 65
   interfaces = 194.199.106.2/255.255.255.0 10.131.10.5/255.255.255.0 127.0.0.1
   bind interfaces only = yes

# Windows Internet Name Serving Support Section:
    wins support = yes
;   wins server = 10.131.2.1
;   name resolve order = lmhosts host wins bcast
    name resolve order = host wins bcast

# This will prevent nmbd to search for NetBIOS names through DNS.
   dns proxy = yes

#### Debugging/Accounting ####
#  log file = /var/log/samba/log.%m
   log file = /var/log/samba/log.smbd
   max log size = 1000
;  syslog only = no
   syslog = 0
   panic action = /usr/share/samba/panic-action %d

### Authentication/Users ###
   security = user
   encrypt passwords = true
;  passdb backend = tdbsam guest
;  obey pam restrictions = yes
;  guest account = nobody
;  invalid users = root
;  unix password sync = no
;  passwd program = /usr/bin/passwd %u
;  passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword
:* %n\n .
;  pam password change = no

############ Profile and startup file  ############
;  username map = /etc/samba/user.map
   logon home = \\%L\profiles\%G\%U
   logon path = \\%L\profiles\%G\%U
;  logon script = logon.cmd
   logon script = startup.bat
   logon drive = c:

############ LDAP ############
   ldap passwd sync = Yes
   passdb backend = ldapsam:ldap://127.0.0.1/
;  ldap filter = (&(objectclass=sambaSamAccount)(uid=%u))
   ldap admin dn = cn=sysadm,dc=iutcaen,dc=unicaen,dc=fr
   ldap suffix = dc=iutcaen,dc=unicaen,dc=fr
   ldap group suffix = ou=Groups
   ldap user suffix = ou=Users
   ldap machine suffix = ou=Computers

########## SMB LDAP ##########
;  ldap ssl = start tls
;  ldap delete dn = Yes
   ldap delete dn = No
;  add user script = /usr/sbin/smbldap-useradd -m "%u"
;  add machine script = /usr/sbin/smbldap-useradd -w "%u"
;  add group script = /usr/sbin/smbldap-groupadd -p "%g"
;  add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
;  delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
;  set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"

######## File sharing ########
;  preserve case = yes
;  short preserve case = yes

############ Misc ############
;  include = /home/samba/etc/smb.conf.%m
;  socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
;  message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
;  nt acl support = no

########## Printing ##########
;   load printers = yes
;   printing = bsd
;   printcap name = /etc/printcap
# CUPS printing.  See also the cupsaddsmb(8) manpage in the
;   printing = cups
;   printcap name = cups
;   printer admin = @ntadmin

#======================= Share Definitions =======================

[netlogon]
   comment = Network Logon Service
   path = /home/gnet/netlogon/%G
   create mask = 0755
   writeable = no
   write list = gnet
   browseable = no
   locking = no

[profiles]
   comment = Profiles utilisateurs
   path = /home/profiles
   csc policy = disable
;  profile acls = yes
   browsable = no
   writable = yes
   create mask = 0700
   directory mask = 0700

[printers]
   comment = All Printers
   browseable = no
   path = /var/spool/public
   printable = yes
   public = no
   writable = no
   create mode = 0700

[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no

[homes]
   comment = Repertoire utilisateur
   browseable = no
;  browseable = yes
   writable = yes
;  create mask = 0700
   create mask = 0775
;  directory mask = 0700
   directory mask = 0775

[sclog]
  comment = Zone logicielle d'AGX
  create mask = 0750
  path = /home/aglog
  writeable = no
  write list = gnet
  force group = users
  public = yes

---------------------------------------------------
Benoît PLANCOULAINE
IUT de CAEN, Boulevard du maréchal JUIN
F-14032 Caen Cedex, France

EMail: b_plancoulaine at iutcaen.unicaen.fr
---------------------------------------------------

---------------------------------------------
This message was sent using Endymion MailMan.
http://www.endymion.com/products/mailman/




More information about the samba-technical mailing list