Hi all! I need a setup that will log exactly when a user has logged in or out of samba. Preferably I would like to have a separate list per user, but this can also be achieved with grep. I found some solutions that rely on login script processing which is nice if your clients are running Win95/Win98 but for anything else it won't work. Anybody know of a solution? Thanks!!
Le ven 30/01/2004 ? 13:49, Remco Barendse a ?crit :> Hi all! > > I need a setup that will log exactly when a user has logged in or out of > samba. > > Preferably I would like to have a separate list per user, but this can > also be achieved with grep. > > I found some solutions that rely on login script processing which is nice > if your clients are running Win95/Win98 but for anything else it won't > work. > > Anybody know of a solution? > > Thanks!have you had a look at the preexec and postexec directives ?! -- *********************************************** david.morel@amakuru.net OpenPGP public key: http://www.amakuru.net/dmorel.asc 28192ef126bc871757cb7d97f4a44536 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?Url : http://lists.samba.org/archive/samba/attachments/20040130/50a1d630/attachment.bin
On Fri, 2004-01-30 at 23:49, Remco Barendse wrote:> Hi all! > > I need a setup that will log exactly when a user has logged in or out of > samba. > > Preferably I would like to have a separate list per user, but this can > also be achieved with grep. > > I found some solutions that rely on login script processing which is nice > if your clients are running Win95/Win98 but for anything else it won't > work. > > Anybody know of a solution?Many people enable utmp support on the server for this. Andrew Bartlett -- Andrew Bartlett abartlet@pcug.org.au Manager, Authentication Subsystems, Samba Team abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net http://samba.org http://build.samba.org http://hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20040131/4e8622ca/attachment.bin