Hi all

We have Samba PDC with OpenLDAP (samba 3.0.21c openldap 2.3.19) . we have
another linux system which is
acting as Domain member server( samba 3.0.21c) . On the domain member serve=
r
we
have declared some shares which get mapped to my win2k clients as drives.
when client access the share declared in Domain Member Server, the samba
creates smbd process by the user id
After client closes the shares and logs off , the smbd process created by
that users still exists and never gets killed
and about 100 smbd process are getting created there by samba getting hange=
d
and unable to process the client requests.

The following is the ps -aux | grep smbd | grep testuser

output of smbd process by a user named "testuser"
################################################## #########################=
####################
testuser 12844 0.0 0.4 14804 4696 ? S 13:33 0:00
/usr/local/samba3c2/sbin/smbd -D
testuser 12845 0.0 0.4 14760 4828 ? S 13:34 0:00
/usr/local/samba3c2/sbin/smbd -D
testuser 12998 0.0 0.4 14808 4652 ? R 13:42 0:00
/usr/local/samba3c2/sbin/smbd -D
testuser 13009 0.0 0.4 14772 4452 ? S 13:44 0:00
/usr/local/samba3c2/sbin/smbd -D
testuser 13348 0.0 0.4 14784 4292 ? S 14:55 0:00
/usr/local/samba3c2/sbin/smbd -D
testuser 13392 0.0 0.4 14792 4604 ? S 14:57 0:00
/usr/local/samba3c2/sbin/smbd -D
testuser 13418 0.0 0.4 14792 4508 ? S 14:59 0:00
/usr/local/samba3c2/sbin/smbd -D
testuser 13454 0.0 0.4 14832 4428 ? S 15:05 0:00
/usr/local/samba3c2/sbin/smbd -D
testuser 13854 0.0 0.4 14888 4492 ? S 15:57 0:00
/usr/local/samba3c2/sbin/smbd -D
################################################## #########################=
####################

The above output is of the smbd process of the user "testuser" which got
created when the user first accessed the
shares . but when the user logged off and did not login in any system nor
anybody has accessed the share.
but still the above process still remains and never gets killed.

The following is the output of the ps -aux | grep smbd
################################################## #########################=
##################
root 2324 0.0 0.3 14108 3656 ? Ss Mar25 0:00
/usr/local/samba3c2/sbin/smbd -D
root 2348 0.0 0.3 14476 4036 ? S Mar25 0:00
/usr/local/samba3c2/sbin/smbd -D
kk5535 11581 0.0 0.4 14576 4632 ? S 09:04 0:00
/usr/local/samba3c2/sbin/smbd -D
mp1414 11604 0.0 0.4 14876 4944 ? S 09:11 0:02
/usr/local/samba3c2/sbin/smbd -D
root 11616 0.0 0.4 14896 4880 ? S 09:17 0:02
/usr/local/samba3c2/sbin/smbd -D
root 11657 0.0 0.4 14788 4660 ? S 09:31 0:01
/usr/local/samba3c2/sbin/smbd -D
pk383 11835 0.0 0.4 14708 4612 ? S 10:09 0:00
/usr/local/samba3c2/sbin/smbd -D
sv234 11847 0.0 0.4 14576 4492 ? S 10:14 0:00
/usr/local/samba3c2/sbin/smbd -D
sv234 11978 0.0 0.4 14912 4808 ? S 10:34 0:00
/usr/local/samba3c2/sbin/smbd -D
sv234 11981 0.0 0.4 14576 4360 ? S 10:35 0:00
/usr/local/samba3c2/sbin/smbd -D
root 11987 0.0 0.4 14736 4544 ? S 10:42 0:00
/usr/local/samba3c2/sbin/smbd -D
pk383 11989 0.0 0.4 14576 4412 ? S 10:46 0:00
/usr/local/samba3c2/sbin/smbd -D
root 12008 0.0 0.4 14732 4896 ? S 11:00 0:01
/usr/local/samba3c2/sbin/smbd -D
root 12061 0.0 0.4 14652 4492 ? S 11:23 0:00
/usr/local/samba3c2/sbin/smbd -D
root 12065 0.0 0.4 14844 4880 ? S 11:28 0:04
/usr/local/samba3c2/sbin/smbd -D
root 12548 0.0 0.4 14920 4680 ? S 13:13 0:00
/usr/local/samba3c2/sbin/smbd -D
yc1426 12651 0.0 0.4 14776 4640 ? S 13:20 0:00
/usr/local/samba3c2/sbin/smbd -D
root 12652 0.0 0.4 14996 4860 ? S 13:20 0:01
/usr/local/samba3c2/sbin/smbd -D
kr1233 12844 0.0 0.4 14804 4696 ? S 13:33 0:00
/usr/local/samba3c2/sbin/smbd -D
kr1233 12845 0.0 0.4 14760 4828 ? S 13:34 0:00
/usr/local/samba3c2/sbin/smbd -D
kr1233 12998 0.0 0.4 14808 4652 ? S 13:42 0:00
/usr/local/samba3c2/sbin/smbd -D
1144 13001 0.0 0.4 14788 4776 ? S 13:43 0:00
/usr/local/samba3c2/sbin/smbd -D
kr1233 13009 0.0 0.4 14772 4452 ? S 13:44 0:00
/usr/local/samba3c2/sbin/smbd -D
root 13012 0.0 0.4 15012 4756 ? S 13:45 0:00
/usr/local/samba3c2/sbin/smbd -D
root 13015 0.0 0.4 14640 4412 ? S 13:45 0:00
/usr/local/samba3c2/sbin/smbd -D
gr249 13059 0.0 0.4 14800 4624 ? S 14:09 0:00
/usr/local/samba3c2/sbin/smbd -D
gr249 13066 0.0 0.4 14868 4628 ? S 14:12 0:00
/usr/local/samba3c2/sbin/smbd -D
gr249 13069 0.0 0.4 14840 4568 ? S 14:13 0:00
/usr/local/samba3c2/sbin/smbd -D
sf1537 13070 0.0 0.4 14748 4700 ? S 14:13 0:00
/usr/local/samba3c2/sbin/smbd -D
mr3409 13076 0.0 0.4 14712 4372 ? S 14:16 0:00
/usr/local/samba3c2/sbin/smbd -D
mr3409 13078 0.0 0.4 14692 4180 ? S 14:19 0:00
/usr/local/samba3c2/sbin/smbd -D
mr3409 13082 0.0 0.3 14652 4072 ? S 14:20 0:00
/usr/local/samba3c2/sbin/smbd -D
root 13087 0.0 0.4 14908 4868 ? S 14:21 0:01
/usr/local/samba3c2/sbin/smbd -D
ns1354 13098 0.1 0.4 14920 4468 ? S 14:27 0:13
/usr/local/samba3c2/sbin/smbd -D
gr249 13102 0.0 0.4 14852 4660 ? S 14:28 0:00
/usr/local/samba3c2/sbin/smbd -D
root 13116 0.0 0.4 14888 4816 ? S 14:30 0:01
/usr/local/samba3c2/sbin/smbd -D
ps1152 13166 0.0 0.4 14748 4592 ? S 14:38 0:00
/usr/local/samba3c2/sbin/smbd -D
ps1152 13199 0.0 0.4 14736 4448 ? S 14:44 0:00
/usr/local/samba3c2/sbin/smbd -D
ps1152 13199 0.0 0.4 14736 4448 ? S 14:44 0:00
/usr/local/samba3c2/sbin/smbd -D
root 13200 0.0 0.4 14760 4604 ? S 14:45 0:00
/usr/local/samba3c2/sbin/smbd -D
ps1152 13209 0.0 0.4 14892 4736 ? S 14:46 0:00
/usr/local/samba3c2/sbin/smbd -D
sf1537 13226 0.0 0.3 14696 4068 ? S 14:48 0:00
/usr/local/samba3c2/sbin/smbd -D
ps1152 13228 0.0 0.4 15032 4860 ? S 14:48 0:00
/usr/local/samba3c2/sbin/smbd -D
rr5534 13229 0.0 0.4 14956 4800 ? S 14:48 0:01
/usr/local/samba3c2/sbin/smbd -D
sf1537 13246 0.0 0.4 14796 4636 ? S 14:49 0:00
/usr/local/samba3c2/sbin/smbd -D
root 13250 0.0 0.4 14896 4628 ? S 14:50 0:01
/usr/local/samba3c2/sbin/smbd -D
ps1152 13257 0.0 0.3 14704 4080 ? S 14:50 0:00
/usr/local/samba3c2/sbin/smbd -D
sa8084 13264 0.0 0.4 14812 4680 ? S 14:51 0:00
/usr/local/samba3c2/sbin/smbd -D
ps1152 13275 0.0 0.3 14712 4076 ? S 14:52 0:00
/usr/local/samba3c2/sbin/smbd -D
ps1152 13328 0.0 0.3 14712 4092 ? S 14:53 0:00
/usr/local/samba3c2/sbin/smbd -D
kr1233 13348 0.0 0.4 14784 4292 ? S 14:55 0:00
/usr/local/samba3c2/sbin/smbd -D
vs104 13385 0.0 0.4 14928 4744 ? S 14:56 0:00
/usr/local/samba3c2/sbin/smbd -D
kr1233 13392 0.0 0.4 14792 4604 ? S 14:57 0:00
/usr/local/samba3c2/sbin/smbd -D
kr1233 13418 0.0 0.4 14792 4508 ? S 14:59 0:00
/usr/local/samba3c2/sbin/smbd -D
ns1354 13438 0.0 0.3 14744 4052 ? S 15:01 0:00
/usr/local/samba3c2/sbin/smbd -D
root 13443 0.0 0.4 14980 4436 ? S 15:02 0:00
/usr/local/samba3c2/sbin/smbd -D
root 13444 0.0 0.4 14856 4396 ? S 15:03 0:00
/usr/local/samba3c2/sbin/smbd -D
vs104 13446 0.0 0.4 14808 4172 ? S 15:04 0:00
/usr/local/samba3c2/sbin/smbd -D
kr1233 13454 0.0 0.4 14832 4428 ? S 15:05 0:00
/usr/local/samba3c2/sbin/smbd -D
vs104 13457 0.0 0.4 14816 4444 ? S 15:06 0:00
/usr/local/samba3c2/sbin/smbd -D
bc17 13459 0.0 0.3 14752 4084 ? S 15:08 0:00
/usr/local/samba3c2/sbin/smbd -D
vs104 13465 0.0 0.4 14816 4272 ? S 15:08 0:00
/usr/local/samba3c2/sbin/smbd -D
ps1482 13474 0.0 0.4 14816 4272 ? S 15:08 0:00
/usr/local/samba3c2/sbin/smbd -D
bc17 13477 0.0 0.3 14776 4092 ? S 15:09 0:00
/usr/local/samba3c2/sbin/smbd -D
root 13481 0.0 0.4 14840 4464 ? S 15:10 0:00
/usr/local/samba3c2/sbin/smbd -D
ps1482 13493 0.0 0.3 14784 4044 ? S 15:10 0:00
/usr/local/samba3c2/sbin/smbd -D
bc17 13511 0.0 0.3 14784 4072 ? S 15:11 0:00
/usr/local/samba3c2/sbin/smbd -D
bc17 13533 0.0 0.3 14784 4076 ? S 15:13 0:00
/usr/local/samba3c2/sbin/smbd -D
root 13544 0.0 0.4 14864 4528 ? S 15:15 0:00
/usr/local/samba3c2/sbin/smbd -D
bc17 13545 0.0 0.3 14792 4092 ? S 15:15 0:00
/usr/local/samba3c2/sbin/smbd -D
bc17 13546 0.0 0.3 14792 4104 ? S 15:16 0:00
/usr/local/samba3c2/sbin/smbd -D
root 13547 0.0 0.4 14888 4508 ? S 15:16 0:00
/usr/local/samba3c2/sbin/smbd -D
root 13559 0.0 0.4 14888 4536 ? S 15:18 0:00
/usr/local/samba3c2/sbin/smbd -D
mr3409 13601 0.0 0.4 14900 4736 ? S 15:25 0:00
/usr/local/samba3c2/sbin/smbd -D
dcadmin 13623 0.0 0.4 14888 4608 ? S 15:31 0:00
/usr/local/samba3c2/sbin/smbd -D
sa8084 13624 0.0 0.4 14888 4676 ? S 15:31 0:00
/usr/local/samba3c2/sbin/smbd -D
mr3409 13811 0.0 0.4 14868 4348 ? S 15:51 0:00
/usr/local/samba3c2/sbin/smbd -D
mr3409 13835 0.0 0.3 14804 4068 ? S 15:53 0:00
/usr/local/samba3c2/sbin/smbd -D
kr1233 13854 0.0 0.4 14888 4492 ? S 15:57 0:00
/usr/local/samba3c2/sbin/smbd -D
mr3409 13855 0.0 0.4 14888 4424 ? S 15:57 0:00
/usr/local/samba3c2/sbin/smbd -D
mr3409 13920 0.0 0.3 14804 4064 ? S 16:01 0:00
/usr/local/samba3c2/sbin/smbd -D
root 13932 0.0 0.4 14932 4572 ? S 16:02 0:00
/usr/local/samba3c2/sbin/smbd -D
nv538 13959 0.0 0.4 15056 4708 ? S 16:07 0:01
/usr/local/samba3c2/sbin/smbd -D
gr249 14257 0.0 0.4 15044 4848 ? S 16:18 0:00
/usr/local/samba3c2/sbin/smbd -D
root 14299 0.0 0.4 14912 4296 ? S 16:25 0:00
/usr/local/samba3c2/sbin/smbd -D
locuz 14311 0.0 0.4 14888 4440 ? R 16:27 0:00
/usr/local/samba3c2/sbin/smbd -D
locuz 14324 0.0 0.4 14888 4428 ? S 16:29 0:00
/usr/local/samba3c2/sbin/smbd -D
root 14671 0.0 0.3 14804 4100 ? S 16:35 0:00
/usr/local/samba3c2/sbin/smbd -D
root 14672 0.0 0.4 14868 4220 ? S 16:35 0:00
/usr/local/samba3c2/sbin/smbd -D
root 14673 0.0 0.4 14932 4584 ? S 16:35 0:00
/usr/local/samba3c2/sbin/smbd -D
root 14679 0.0 0.4 14904 4616 ? S 16:36 0:00
/usr/local/samba3c2/sbin/smbd -D
root 14686 0.0 0.4 14840 4196 ? S 16:38 0:00
/usr/local/samba3c2/sbin/smbd -D
root 14687 0.0 0.4 14916 4636 ? S 16:38 0:00
/usr/local/samba3c2/sbin/smbd -D
rr5534 14696 0.0 0.3 14832 4136 ? R 16:40 0:00
/usr/local/samba3c2/sbin/smbd -D
sa8084 14697 0.0 0.4 14896 4524 ? S 16:41 0:00
/usr/local/samba3c2/sbin/smbd -D
root 14698 0.0 0.4 14912 4484 ? S 16:41 0:00
/usr/local/samba3c2/sbin/smbd -D
rr5534 14699 0.0 0.4 14904 4472 ? S 16:41 0:00
/usr/local/samba3c2/sbin/smbd -D
root 14705 0.0 0.3 14812 4080 ? S 16:42 0:00
/usr/local/samba3c2/sbin/smbd -D
sa8084 14709 0.0 0.4 14856 4228 ? S 16:44 0:00
/usr/local/samba3c2/sbin/smbd -D
rr5534 14712 0.0 0.4 14940 4624 ? S 16:44 0:00
/usr/local/samba3c2/sbin/smbd -D
root 14713 0.0 0.4 14900 4148 ? S 16:44 0:00
/usr/local/samba3c2/sbin/smbd -D
root 14714 0.0 0.3 14864 4052 ? S 16:45 0:00
/usr/local/samba3c2/sbin/smbd -D
sa8084 14715 0.0 0.4 14928 4480 ? S 16:45 0:00
/usr/local/samba3c2/sbin/smbd -D
mt1532 14716 0.0 0.3 14864 4092 ? S 16:45 0:00
/usr/local/samba3c2/sbin/smbd -D
root 14747 0.0 0.4 14936 4344 ? S 16:46 0:00
/usr/local/samba3c2/sbin/smbd -D
root 14751 0.0 0.3 14852 4060 ? S 16:47 0:00
/usr/local/samba3c2/sbin/smbd -D
sa8084 14881 0.0 0.4 14872 4264 ? S 16:48 0:00
/usr/local/samba3c2/sbin/smbd -D
root 14886 0.0 0.4 14956 4204 ? S 16:49 0:00
/usr/local/samba3c2/sbin/smbd -D
root 14904 0.0 0.0 5352 688 tty1 S+ 16:50 0:00 grep smbd
################################################## #########################=
###########

the following is the smb.conf file of the domain member server
################################################## #########################=
##########
[global]

unix charset =3D LOCALE
workgroup =3D msdpl.com
netbios name =3D prjsrv01
server string =3D Project Server 1
printcap name =3D /etc/printcap
load printers =3D yes
cups options =3D raw
log level =3D 2
log file =3D /usr/local/samba-3c/var/%U.%m.log
syslog =3D 0
max log size =3D 100
smb ports =3D 139
security =3D domain
username map =3D /usr/local/samba-3c/lib/smbusers
socket options =3D TCP_NODELAY SO_RCVBUF=3D8192 SO_SNDBUF=3D8192
name resolve order =3D wins bcasts hosts
wins server =3D 192.168.129.20
dns proxy =3D no
ldap server =3D 192.168.129.20
ldap suffix =3D dc=3Dmsdpl,dc=3Dcom
ldap machine suffix =3D ou=3DComputers
ldap user suffix =3D ou=3DPeople
ldap group suffix =3D ou=3DGroups
ldap idmap suffix =3D ou=3DIdmap
ldap admin dn =3D cn=3Dmanager,dc=3Dmsdpl,dc=3Dcom
ldap ssl =3D no
ldap timeout =3D 50
acl check permissions =3D Yes
template shell =3D /bin/false
winbind use default domain =3D no
inherit permissions =3D yes
inherit acls =3D yes
nt acl support =3D yes
hide dot files =3D yes
#######################################Share
Definations####################################### #
[homes]
comment =3D Home Directories
valid users =3D %S
browseable =3D no
writable =3D yes
veto files =3D
/.bash_history/.bash_logout/.bash_profile/.bashrc/.canna/.emacs/.gtkrc/.kde=
/.viminfo/.xemacs/.zshrc/
hide dot files =3D yes

[printers]
comment =3D All Printers
path =3D /var/spool/samba
browseable =3D no
guest ok =3D no
writable =3D no
printable =3D yes

[projects]
comment =3D All Projects
path =3D /projects
browseable =3D no
guest ok =3D no
writeable =3D yes
printable =3D no
veto files =3D desktop.ini/lost+found/.Trash-root/*.sh/*.scr/.recycle/
create mode =3D 2700
force create mode =3D 0700
force directory mode =3D 0700
inherit permissions =3D yes
inherit acls =3D yes
vfs objects =3D recycle
################################################## #########################=
###########

Please Guide me,

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