Fwd: $hostname returns the FQDN
[Date Prev][Date Next] [Thread Prev][Thread Next]Fwd: $hostname returns the FQDN
- From: Frank Kruchio <fkruchio [at] gmail.com>
- To: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: Fwd: $hostname returns the FQDN
- Date: Mon, 16 Nov 2015 09:00:38 +1300
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.
pam_authz_search (&(uniqueMember=$dn)(cn=$hostname))
-- To unsubscribe send an email to nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see http://lists.arthurdejong.org/nss-pam-ldapd-users/
- Fwd: $hostname returns the FQDN, Frank Kruchio
- Prev by Date: Re: [PATCH] allow tls_randfile to be a file or a character device
- Next by Date: Re: getent gid does not return group name
- Previous by thread: Re: Failed to login using a serial connection.
- Next by thread: How to specify more than one binddn in nslcd.conf