You wrote:
[...] would like to know if it is possible
| to setup Samba to check if a %U.bat exists for user %U. If no such
batch
| file exists, default.bat should be used. This would less of a pain
of
| creating a seperate batch file for a user that only requires generic
logon
| scripts.
You can do the equivalent with (root) preexec,
by looking to see if user fred has a fred.bat,
and putting in a link if not.
Of course, the preexec will run every time,
causing an initial delay when connecting to
the share.
--dave
--
David Collier-Brown, | Always do right. This will gratify some people
185 Ellerslie Ave., | and astonish the rest. -- Mark Twain
Willowdale, Ontario | //www.oreilly.com/catalog/samba/author.html
Work: (905) 415-2849 Home: (416) 223-8968 Email: davecb@canada.sun.com