One is there any way to run a server side script every time a user logs in and logs out. I've tried using the pre and post execs in netlogon, but it get's run multiple times. I was wondering if anyone knew of a better way. Basically I want to log username & machine name into a database, to help take computer lab usage. Two is there any kind of flag for printing a Full Unix name, like my user name is jreilly, I want it to query and display Joshua Reilly, we are using the pam_ldap module for auth, don't know if that makes any diffrence. Joshua Reilly Jr. SysAdmin Azusa Pacific University ------------------------------------------------------------------------------ What we do in life echoes in eternity. -- Russell Crowe as Maximus in The Gladiator
Hi, I am a new samba user, and after reviewing the samba documentation, I don't know how to perform two tasks from the point of view of the server. I guess the first one is much easier than the second one. On the one hand, my first question is relative to services that require explicit username and password. Does the username have to be a valid Unix user? If not, how should I set up such a share? On the second hand, I would like to know if it is possible to share a directory to which clients (Window NT & 2000) can move files but they cannot delete them (although the could overwrite them). I know this is possible under Windows 2000. I am running samba 2.0.10 under red hat linux 7.1. Regards, Rafa Gallego