logon script newbee question

Charlie medievalist at gmail.com
Mon Jul 28 22:36:26 GMT 2008

You could have the samba preexec script create a file with the unix
"touch" command, on a share where the workstation can get to it, and
delete that file as the last command in the logon script, couldn't

If you use gamin or FAM to monitor the contents of the share from the
unix side, this could be very efficient (you'd have to understand FAM
though).  If you set up a dummy wait loop your sysadmins will hate you
for wasting resources but it will still work.

There are lots of ways to signal through a shared filesystem.  Once
your workstation has successfully logged into a domain, your samba
host and your workstation have a shared filesystem.


On Thu, Jul 24, 2008 at 12:09 PM, andreas moroder
<andreas.moroder at gmx.net> wrote:
> Hello,
> in the samba.general group I asked if it  is possible to start a script
> similar to preexec after the client has finished the logon script.
> I got no good answer so I suppose it is not.
> Now I would like tod dig myself in samba code to understand how the login
> script part of the code works and if it would be possible to add such a
> script.
> Could anyone please point me to the right place in the code ?
> Thank you very much.
> Andreas

More information about the samba-technical mailing list