ldapQuery.bat and ldapQuery.sh
Then input the user to be searched in format:
ldapsearch -D cn=root -w password -b dc=edu,dc=
ldapsearch -D cn=root -w password -b cn=sunil*
2. To start/stop ITDS LDAP Server instance
ibmdirctl -D cn=root -w password start
ibmdirctl -D cn=root -w password stop
3. To start/stop ITDS Admin Daemon
ibmdirctl -D cn=root -w password admstop
ibmdiradm& - to start
4. To check the LDAP Server status
ibmdirctl -D cn=root -w password status
5. Create a group in ITDS LDAP
Prepare an LDIF file with the following content:
dn: cn=groupname,cn=groups
objectclass: groupOfNames
objectclass: top
cn: groupname
owner: cn=ITDS Admins,cn=groups
member: cn=Sunil Sagar,dc=edu,dc=
NOTE: Member is a required attribute. If not included, you will receive ObjectClass violation error.
ldapmodify –a –c –D adminID -w adminPW –h hostname -p
No comments:
Post a Comment