[Samba] Connection scripts with the 'prexec' clause
Maurice Forte
mforte at us.ibm.com
Mon Aug 14 19:57:02 GMT 2006
Hi all,
I am running Samba 3.0.20B on an AIX server with SECURITY=USER using an
LDAP backend. I am looking for a way to capture the actual
username(%USER_NAME%) that
the client user is logged onto his individual workstation with and compare
it with the user(%u) they are connecting with the share as. If they are
different, I want to reject the user's connection. After doing some
reading, it appears that a connection script with the 'preexec' clause is
the way to go but the Samba environment variables only can intrepret
client's hostname, netbios name, and ip address. Is there a way for me
to capture the client's logon id(%USERNAME%) or accomplish this task
another way?
Thanks in advance,
Maurice Forte
More information about the samba
mailing list