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" >/tmp/smbvars.txt" to the global section of smb.conf, and the results follow: Client variables... %m = p-griffith = Client's NetBIOS name %M = 192.168.174.212 = Client's DNS name %I = 192.168.174.212 = Client's IP address %a = Win2K = Client's architecture (IP addresses have been changed to protect the innocent.) I'm running Solaris 9, and I have no trouble resolving IP addresses to hostnames, or hostnames to IP addresses, using getent(1M) from the command line. Phillip Griffith (803) 952-8776 Information Technology Department Westinghouse Savannah River Company -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba