Hi, Thanks for the quick response|
I am using Debian wheezy.
I installed the ldapns.schema from the deb package but I still
when I try to add a user (as a ldif file with a host attribute
defined) a get the error
ldap_add: Object class
additional info: attribute 'host' not allowed
If I remove the host attribute (from ldif file) the user is
How can I get the host attribute working?
On 01/20/2014 05:43 PM, Joshua
There is some information from the Debian wiki (https://wiki.debian.org/LDAP/PAM
on adding a host attribute to a user, but I'm sure it applies to
other distro's as well:
add the "host"
attribute to a user, he should have an objectClass that
supports this. The "account"
objectClass has the attribute, but is not compatible with
objectClass. To work
around this, you can use the "ldapns" schema,
supplied with the libpam-ldap package. This
schema provides the "hostObject"
objectClass, which has the proper "host"