lists.arthurdejong.org
RSS feed

Re: [nssldap] restricting users to certain hosts?

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

Re: [nssldap] restricting users to certain hosts?





Buchan Milne wrote:
Add the auxiliary hostObject objectclass, from ldapns.schema, shipped with
pam_ldap.

Regards,
Buchan

Thanks, I'm still not doing something correct, any help?

dn: uid=astewart,ou=People,dc=mdah,dc=state,dc=ms,dc=us
changetype: modify
add: objectClass
objectClass: account
add: objectClass
objectClass: hostObject
add: host
host: roark
host: welty
host: manship
host: archives4

ldapmodify -D "cn=Manager,dc=mdah,dc=state,dc=ms,dc=us" -w xxxxxxxxxx -x -v -a -f modifyastewart.ldif
ldap_initialize( <DEFAULT> )
add objectClass:
       account
       hostObject
add add:
       objectClass
       host
add host:
       roark
       welty
       manship
       archives4
modifying entry "uid=astewart,ou=People,dc=mdah,dc=state,dc=ms,dc=us"
modify complete
ldapmodify: Undefined attribute type (17)
       additional info: add: attribute type undefined