lists.arthurdejong.org
RSS feed

Fwd: $hostname returns the FQDN

[Date Prev][Date Next] [Thread Prev][Thread Next]

Fwd: $hostname returns the FQDN



Hi,

I need host based authorization on RHEL7.1 and the (cn=$hostname) part of the following entry returns the FQDN instead of the short hostname

pam_authz_search (&(uniqueMember=$dn)(cn=$hostname))

is there any reference variable that one can use to extract the hostname without the domain in this scenario ?
Thanks.


-- 
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/