[Samba] smbcontrol
Spike Burkhardt
burkhardt.richard at ssd.loral.com
Tue Dec 9 23:49:48 GMT 2003
All,
I want to be able to disconnect a user from a samba share. I'm using
Samba 2.2.8a on Solaris 8. If I'm reading OReilly correctly, I should
be able to use smbcontrol with the SMBD process id of the user who has
the share mounted. Here's an example:
ascmdev nguyenal tcmsdev 5654 orton (158.184.58.145) Tue
Dec 9 14:14:10 2003
burkharr burkharr other 26688 le15970 (158.184.88.151) Mon
Dec 8 08:08:55 2003
wangg wangg other 4846 summersun (158.184.88.138) Tue
Dec 9 12:06:10 2003
ps -ef|grep 5654 yields:
root 5654 890 0 14:14:06 ? 0:00 /apps/samba/sbin/smbd -D
I want to disconnect nguyenal from the ascmdev share. Shouldn't I be
able to do a:
smbcontrol 5654 close-share ascmdev
TIA,
Spike
More information about the samba
mailing list