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
Charles Hamel
2003-Dec-10 00:16 UTC
[Samba] RPC Net Vampire sambaNTPassword hash missing ?
Hi I just tried to import the users/machine/groups from a NT4 PDC, it imported everything fine with the group mappings, only one thing messing, the password hashes, they are all XXX (sambaLMPassword and sambaNTPassword attributes). I am running RH9.0 with OpenLDAP 2.0.27 with nssldap. Am I missing something ? Thank you ! Charles Hamel
Charles Hamel
2003-Dec-10 00:46 UTC
[Samba] RPC Net Vampire sambaNTPassword hash missing ?
I am thinking it is related to the add scripts, here they are : add machine script = /usr/local/samba/share/smbldap-useradd.pl -w "%u" add user script = /usr/local/samba/share/smbldap-useradd.pl -a "%u" delete user script = /usr/local/samba/share/smbldap-userdel.pl "%u" add group script = /usr/local/samba/share/smbldap-groupadd.pl "%g" delete group script = /usr/local/samba/share/smbldap-groupdel.pl "%g" add user to group script = /usr/local/samba/share/smbldap-groupmod.pl -m "%u" "%g" delete user from group script = /usr/local/samba/share/smbldap-groupmod.pl -x "%u" "%g" set primary group script = /usr/local/samba/share/smbldap-usermod.pl -G "%g" "%u" Am I missing any parameters ? Thank you Charles Hamel On 03-12-09, at 19:14, Charles Hamel wrote:> Hi > > I just tried to import the users/machine/groups from a NT4 PDC, it > imported everything fine with the group mappings, only one thing > messing, the password hashes, they are all XXX (sambaLMPassword and > sambaNTPassword attributes). I am running RH9.0 with OpenLDAP 2.0.27 > with nssldap. Am I missing something ? > > Thank you ! > > Charles Hamel > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >