Rakesh Rajasekharan wrote:
I am trying to set up a host based authentication.
What exactly does that mean in your context?
For that ,am modifying the host attribute of existing users through an ldif file as below
dn: uid=sam,ou=People,dc=example,dc=com changetype: modify add: objectClass objectClass: hostObject
Using 'hostObject' for human users does not sound like a good choice.
Object class 'account' has "MAY host" in its object class description.
add: host host: abc host: xyz
Is there a way I can put the lidt of hosts in a single line something like this
host: xyz abc
You can do that but why? Which LDAP client does expect the hosts to be in e.g. a space separated list.
Ciao, Michael.