[Samba] Logging logins with preexec and Samba/LDAP
jpb at bordengrammar.kent.sch.uk
Mon Oct 1 14:11:37 GMT 2007
>> Date: Mon, 01 Oct 2007 13:22:25 +0100
>> From: Julian Pilfold-Bagwell <jpb at bordengrammar.kent.sch.uk>
>> To: Samba mail List <samba at lists.samba.org>
>> Subject: [Samba] Logging logins with preexec and Samba/LDAP
>> I had the following line in my smb.conf with which to log access to the
>> home share when users logged in:
>> preexec = /bin/echo \"%u logged in to %m at %T\" >>
>> Since updating to LDAP however, it's stopped working and I suspect that smbldap cant handle the % substitutions for user, machine and time. Has anyone else run into this problem? If so, any help with the solution would be handy.
> Did you upgrade Samba recently? (perhaps at the same time as adding
> The way things like "preexec" are handled changed in about 3.0.24 or 25.
> I can help if that looks like it might be the issue.
> Assistant Systems Administrator @nibsc.ac.uk
> mac at nibsc.ac.uk
> Work: +44 1707 641565 Everything else: +44 7956 237670 (anytime)
Yup, I upgraded to 3.0.24 at the same time. How's it changed?
Borden Grammar School,
Tel: 01795 424192
More information about the samba