[Samba] Login and logout scripts
tkbsmb at midwestinstruments.com
Wed Jan 24 16:40:18 GMT 2007
Maybe use preexec? It's a share thing, but you should be able to script
something . . .
Maurício Szabo wrote:
> But what I want to do is a login / logout script that runs *on the
> samba server*, so when a user logs in, I could make a backup of his
> "home share" before he logs...
> On 1/24/07, *Toby Bluhm* <tkbsmb at midwestinstruments.com
> <mailto:tkbsmb at midwestinstruments.com>> wrote:
> Charles Marcus wrote:
> >> If you are just using a samba server as the PDC with no MS Windows
> >> domain controller then yes you can have login scripts.
> >> You can also use group membership comparisons within the login
> >> using a windows tool called ifmember.exe. Both the vbs/bat
> files and
> >> ifmember.exe go /etc/netlogon.
> > Correction: it is ISMEMBER.EXE, not ifmember.exe.
> ismember.exe & osver.exe are third party tools. ifmember.exe is
> part of
> MS Resource Kit.
More information about the samba