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* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> 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
    script
    >> 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.


--

-Toby


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

Reply via email to