Displaying 1 result from an estimated 1 matches for "na0xlogin".
2005 Dec 24
2
3.0.20 usermap script execution
...onfiguration: ./configure --prefix=/opt/samba-3.0.20 --with-smbwrapper --with-nis --with-quotas --with-syslog --with-included-popt
OS: Solaris 8
#!/bin/bash
if [ $1 ]
then
echo "$1" >> /tmp/mhm4in #line needed for debugging
#cut off the na0x\ part of input
na0xlogin=`echo "$1" | cut -d '\' -f2`
#search for a different unix login
unixlogin=`ypcat users.map | grep "\$na0xlogin$" | cut -d ' ' -f1`
if [[ $? = 0 && $unixlogin != "" ]]
then
#if unixlogin is in the...