ldap configuration on mac os x
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   piyush_sharma
Posted On:   Friday, October 7, 2005 08:58 AM

IM CONFIGURING THE MAC OS X FOR THE LDAP SERVER IM ALSO LOADING THE PRE-PREPARED SCHEMA IN THE LDAP DATABASE PLEASE HELP ME WITH THIS HERE IS HOW I AM DOING IT step1 $ ldapsearch -x # extended LDIF # # LDAPv3 # base <> with scope sub # filter: (objectclass=*) # requesting: ALL # # search result search: 2 result: 32 No such object # numResponses: 1 step 2 $ sudo mv prepared.schema /etc/openldap/prepared.schema step 3 $ cd /etc/openldap/ $ sudo vi slapd.conf include /etc/openldap/schema/apple.schema include    More>>

IM CONFIGURING THE MAC OS X FOR THE LDAP SERVER

IM ALSO LOADING THE PRE-PREPARED SCHEMA IN THE LDAP DATABASE

PLEASE HELP ME WITH THIS

HERE IS HOW I AM DOING IT

step1

$ ldapsearch -x
# extended LDIF
#
# LDAPv3
# base <> with scope sub
# filter: (objectclass=*)
# requesting: ALL
#

# search result
search: 2
result: 32 No such object

# numResponses: 1


step 2

$ sudo mv prepared.schema /etc/openldap/prepared.schema

step 3

$ cd /etc/openldap/
$ sudo vi slapd.conf
include /etc/openldap/schema/apple.schema
include /etc/openldap/schema/prepared.schema <-- Added this line in
the slapd.conf

step 4

Restart slapd
$ sudo kill -9 `cat /var/run/slapd.pid`
$ sudo /usr/libexec/slapd -d 0 -h ldap:/// ldapi://%2Fvar%2Frun%2Fldapi ldaps:/// &


step 5

$ ldapadd -x -D "uid=diradmin,cn=Users,dc=mycompany,dc=org" -f prepared_test.ldif ls-W

step 6

$ ldapsearch -LLL -x -b "dc=mycompany,dc=org" "(&(&(&(objectClass=imyAccount)(mail=user01@bunka.com))(idebutUserType=GroupLeader))(o=souen))"

result :- gives the garbage values


I VE ALSO CONFIGURED MY DNS WEB AND OPENDIRECTORY STRUCTURE AS MENDATORY




thank you

for the time

   <<Less
About | Sitemap | Contact