[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: help, openldap-2.1.xx, host attribute - I try, try, try....and nothing :(



Toper wrote:
dn: uid=nowak,ou=People,dc=ctlm,dc=pl
	changetype: modify
	add: objectClass
	objectClass: personOfAccount
	add: host
	host: proxy


oooops, it didn't work, too:

 modifying entry "uid=nowak,ou=People,dc=ctlm,dc=pl"
 ldapadd: update failed: uid=nowak,ou=People,dc=ctlm,dc=pl
 ldap_modify: Undefined attribute type (17)
         additional info: add: attribute type undefined

I really don't know whats is going on....
Help.....

Try the ldapmodify command instead of the ldapadd command, or correctly spec the file you are ldapadd'ing.




I tried ldapmodify, it didn't work:

modifying entry "uid=nowak,ou=People,dc=ctlm,dc=pl"
ldapadd: update failed: uid=nowak,ou=People,dc=ctlm,dc=pl
ldap_modify: Undefined attribute type (17)
        additional info: add: attribute type undefined

What id wrong???
I must have host attribute to logon on selected hosts!!!
Help... Help... help... hel.... he..... h....

Hi Toper

try the following with ldapamodify:

dn: uid=nowak,ou=People,dc=ctlm,dc=pl
changetype: modify
add: objectClass
objectClass: personOfAccount
-
add: host
host: proxy
-

Xavier