Mac wrote:
Date: Mon, 01 Oct 2007 13:22:25 +0100
From: Julian Pilfold-Bagwell <[EMAIL PROTECTED]>
To: Samba mail List <[email protected]>
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\" >> /var/log/samba/logons.log

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
LDAP?)


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.



                               Mac
          Assistant Systems Administrator @nibsc.ac.uk
                           [EMAIL PROTECTED]
   Work: +44 1707 641565          Everything else: +44 7956 237670 (anytime)
Hiya,

Yup, I upgraded to 3.0.24 at the same time. How's it changed?

Thanks,

Julian

--
Julian Pilfold-Bagwell,
Network Manager,
Borden Grammar School,
Sittingbourne,
Kent,
ME10 1EY.

Tel: 01795 424192
--
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