Hi,

I'm new to the list, so "hello everybody" ...

I have a (big) problem wih my new PDC under samba with ldap auth. When I start a new session, samba launch multiple instances of smbd for this new user in 5-10 minutes ... The system is very slow on the client and finish to crash and need to close the session. But, when I close the session, the smbd processes aren't stopped ...

I've got the following outputs :

--
%< -----------------------------------------------------------------------------

zeus:~# smbstatus
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
lp_load_ex: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/ smb.conf"
Processing section "[global]"
Processing section "[homes]"
Processing section "[public]"
Processing section "[archives]"
Processing section "[netlogon]"
Processing section "[profiles]"
Processing section "[saisons]"

Samba version 3.2.5
PID     Username      Group         Machine
-------------------------------------------------------------------
1766      accueil       Domain Users  accueil      (::ffff:192.168.1.39)
1758      accueil       Domain Users  accueil      (::ffff:192.168.1.39)
1801      accueil       Domain Users  accueil      (::ffff:192.168.1.39)
1795      accueil       Domain Users  accueil      (::ffff:192.168.1.39)
1785      accueil       Domain Users  accueil      (::ffff:192.168.1.39)
1790      accueil       Domain Users  accueil      (::ffff:192.168.1.39)
1772      accueil       Domain Users  accueil      (::ffff:192.168.1.39)

Service      pid     machine       Connected at
-------------------------------------------------------
accueil      1785   accueil       Sat Aug 29 19:40:42 2009
IPC$         1758   accueil       Sat Aug 29 19:36:34 2009
accueil      1801   accueil       Sat Aug 29 19:44:08 2009
accueil      1795   accueil       Sat Aug 29 19:42:59 2009
profiles     1758   accueil       Sat Aug 29 19:36:45 2009
accueil      1766   accueil       Sat Aug 29 19:38:26 2009
public       1758   accueil       Sat Aug 29 19:36:52 2009
accueil      1772   accueil       Sat Aug 29 19:39:34 2009
accueil      1790   accueil       Sat Aug 29 19:41:50 2009
accueil      1758   accueil       Sat Aug 29 19:36:48 2009
IPC$         1772   accueil       Sat Aug 29 19:39:34 2009
IPC$         1758   accueil       Sat Aug 29 19:36:45 2009
netlogon     1758   accueil       Sat Aug 29 19:36:47 2009
saisons      1758   accueil       Sat Aug 29 19:36:52 2009

Locked files:
Pid Uid DenyMode Access R/W Oplock SharePath Name Time
--------------------------------------------------------------------------------------------------
1790 10018 DENY_NONE 0x20089 RDONLY EXCLUSIVE +BATCH /home/accueil Adresses et tel persos fichier Christophe.doc Sat Aug 29 19:41:50 2009 1758 10018 DENY_NONE 0x81 RDONLY NONE /home/accueil . Sat Aug 29 19:37:00 2009 1772 10018 DENY_NONE 0x100001 RDONLY NONE /home/accueil . Sat Aug 29 19:39:34 2009 1772 10018 DENY_NONE 0x100001 RDONLY NONE /home/accueil . Sat Aug 29 19:39:34 2009

--
%< -----------------------------------------------------------------------------

zeus:~# ps aux | grep accueil
accueil 1758 0.0 0.1 80040 4436 ? D 19:36 0:00 /usr/ sbin/smbd -D accueil 1766 0.0 0.0 79864 3140 ? S 19:38 0:00 /usr/ sbin/smbd -D accueil 1772 0.0 0.0 79916 3604 ? D 19:39 0:00 /usr/ sbin/smbd -D accueil 1785 0.0 0.0 79864 3144 ? S 19:40 0:00 /usr/ sbin/smbd -D accueil 1790 0.0 0.0 79916 3444 ? D 19:41 0:00 /usr/ sbin/smbd -D accueil 1795 0.0 0.0 79864 3152 ? S 19:42 0:00 /usr/ sbin/smbd -D accueil 1801 0.1 0.0 79916 3372 ? S 19:44 0:00 /usr/ sbin/smbd -D root 1811 0.0 0.0 7236 844 pts/0 S+ 19:45 0:00 grep accueil

--
%< -----------------------------------------------------------------------------

My smb.conf :

[global]
        workgroup = BASTILLE
        netbiosname = ZEUS
        server string = Active Directory Server - Samba
        log level = 3
        null passwords = yes
        domain logons = yes
        domain master = yes
        wins support = yes
        time server = yes
        enable privileges = yes
        deadtime = 5

        socket options = TCP_NODELAY
        keepalive = 0

        logon path = \\%N\profiles\%U
        logon script = logon.bat
        logon drive = H:

        map acl inherit = yes
        inherit acls = yes
        inherit permissions = yes
        nt acl support = yes
        force unknown acl user = Yes

        passdb backend = ldapsam:ldap://192.168.1.101/
        ldap admin dn = cn=admin,dc=theatre-bastille,dc=com
        ldap suffix = dc=theatre-bastille,dc=com
        ldap group suffix = ou=Groups
        ldap user suffix = ou=Users
        ldap machine suffix = ou=Computers
        ldap idmap suffix = ou=Users
        idmap backend = ldap:ldap://192.168.1.101/
        idmap uid = 20000-30000
        idmap gid = 20000-30000
        ldap passwd sync = yes

        passwd program = /usr/sbin/smbldap-passwd -u %u

        add user script = /usr/sbin/smbldap-useradd -m "%u"
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
        add group script = /usr/sbin/smbldap-groupadd -p "%g"
        add machine script = /usr/lib/mmc/add_machine_script '%u'
        add share command = /usr/lib/mmc/add_change_share_script
        add printer command = /usr/lib/mmc/add_printer_script
set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
        delete user script = /usr/sbin/smbldap-userdel "%u"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
        delete group script = /usr/sbin/smbldap-groupdel "%g"
        delete share command = /usr/lib/mmc/delete_share_script
        delete printer command = /usr/lib/mmc/delete_printer_script

[homes]
        comment = Home directories
        browseable = no
        writeable = yes
        create mask = 0700
        directory mask = 0700
hide files = /Thumbs.db/desktop.ini/ntuser.ini/NTUSER.*/ SAUVEGARDE.zip/

[public]
        comment = Public share
        path = /home/samba/shares/public
        browseable = yes
        public = yes
        writeable = yes

[archives]
        comment = Backup share
        path = /home/archives
        browseable = yes
        public = no
        writeable = no

[netlogon]
        comment = Network Logon Service
        path = /home/samba/netlogon
        guest ok = yes
        browseable = no

[profiles]
        path = /home/samba/profiles
        writeable = yes
        create mask = 0700
        directory mask = 0700
        browseable = no
        hide files = /desktop.ini/ntuser.ini/NTUSER.*/

[saisons]
        comment = Saisons
        path = /home/samba/shares/saisons
        browseable = yes
        public = no
        writeable = yes

--
%< -----------------------------------------------------------------------------

I've have tried many things, never works ... I don't know what to do ...

All clients machines are under XP (sp3). Samba 3.2.5 under Debian Lenny amd64 in a domU (xen) ...

Thanks a lot for your help !!

ps : sorry for my very bad english, I'm french ...

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

Reply via email to