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?



Tony Earnshaw wrote:
Adam Williams skrev, on 06-03-2008 19:15:

So do you have objectClass account too?

Watch out, it's a structural objectClass and probably won't do what you want if you're trying to use posixAccount records for your users (conflicting structural objectClasses).

Best,

--Tonni


yeah, this is my ldif:

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

ldapmodify -D "cn=Manager,dc=mdah,dc=state,dc=ms,dc=us" -w xxxxxxxxx -x -v -a -f modifyastewart.ldif
ldap_initialize( <DEFAULT> )
add objectClass:
       account
add add:
       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