Displaying 2 results from an estimated 2 matches for "smbvars".
2004 Mar 03
2
session user name
Hi,
Can anyone tell me how to fetch the session username of a request in the
smb.conf file? The %U doesn't seem to work anymore in version 3.0.2a.
The %u option gives me the guest account name ( the share I want to
cannect to is a fax share and is accessible by guest). If I put in our
oulder samba version the %U option gives me the session name. The
request from the client to the fax is
2005 Apr 21
1
%M client DNS name resolution
Since upgrading from 2.2.8a to 3.0.11, I'm having trouble with the %M
samba variable that represents the client's DNS name. Instead of the
hostname, it's resolving to the IP address.
I added "exec = /data1/smbvars.sh "%m" "%M" "%I" "%a" "%D" "%u" "%H" "%g"
"%U" "%G" "%S" "%P" "%p" "%h" "%L" "%N" "%v" "%d" "%R" "%T&q...