On Mon, Nov 16, 2009 at 12:30 PM, Asimananda Mohanty
<asimananda.mohanty@gmail.com> wrote:
Hi All,
I have openLDAP on ubuntu and LDAP client on Solaris. What I need is a user should be able to log in to the solaris server with a user that is present in LDAP (not in /etc/passwd of Solaris machine)
I have added object classes nisDomainObject, ndsLoginProperties and ndsContainerLoginProperties (all inherits from organizationalUnit) and also added an attribute nisDomain.
Then I created a user asmii like :
dn: uid=asmii,ou=people,dc=ldap-company,dc=com
objectClass: organizationalUnit
objectClass: nisDomainObject
objectClass: posixAccount
objectClass: shadowAccount
uid: asmii
ou: asmii
cn: asmii
uidNumber: 1006
gidNumber: 10000
userPassword: password
gecos: asmii
loginShell: /bin/bash
homeDirectory: /home/asmii
nisDomain: ldap-company.com
shadowExpire: -1
shadowFlag: 0
shadowWarning: 7
shadowMin: 8
shadowMax: 999999
shadowLastChange: 10877
postalCode: 122015
l: Toulouse
postalAddress:
Now I need to create a profile so that the LDAP client on Solaris can download it.
Please let me know what is this profile and how do I create this.
I googled a bit and found that I need a ObjectClass DUAConfigProfile in my LDAP. Is this the ObjectClass I need in my LDAP server? What would I do next? How do I connect the user "asmii" with a profile?
Please suggest.
Thanks in advance.
Regards
Asimananda Mohanty