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

initial issues



Hi , 

I have OpenLDAP version openldap-servers-2.0.23-4  on RedHat 7.3  .
I am newbie into LDAP , I had to get involved in this because i needed Qmail 
to authnticate users with LDAP.
anyhow, 

The issue is i am unable to make even email clients use LDAP for address book.
below are attached my slapd.conf and ldif files 

Problem is when i run command 

[root@cacRus atifphotos]# ldapadd -x -D "cn=Manager,dc=atifphotos,dc=com"  -W 
-f atifphotos.ldif
Enter LDAP Password:
ldap_bind: Invalid credentials

even though i crated password with 

slappasswd -h {crypt}

and pasted in the slapd.conf file.




********************************************************************
include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/cosine.schema
include         /etc/openldap/schema/nis.schema
include         /etc/openldap/schema/inetorgperson.schema

database        ldbm
suffix          "dc=atifhotos,dc=com"
rootdn          "cn=Manager,dc=atifphotos,dc=com"
rootpw          {CRYPT}N0x7Ch7tvfoaU
directory       /var/lib/ldap/atifphotos
index           objectClass,uid,uidNumber,gidNumber,memberUid   eq
index           cn,mail,surname,givenname                       eq,subinitial

#access to dn=".*,dc=atifphotos,dc=com" attr=userPassword
#       by dn="cn=Manager,dc=atifphotos,dc=com" write
#       by self write
#       by * auth
#
#access to dn=".*,dc=atifphotos,dc=com" attr=mail
#       by dn="cn=Manager,dc=atifphotos,dc=com" write
#       by self write
#       by * read
#
#access to dn=".*,ou=preople,dc=atifphotos,dc=com"
#       by * read
#
#access to dn=".*,dc=atifphotos,dc=com"
#       by self write
#       by * read
**************************************************************************************

LDIF file
********************************************************

dn: uid=atif,ou=people,dc=atifphotos,dc=com
uid: atif
cb: Syed Atif Ali
givenname: atif
sn: User
mail: atif@atifphotos.com
objectClass: top
objectClass: mailRecipient
objectClass: peron
objectClass: inetOrgPerson

*****************************************************




Really appreciate a reply 

Regards




-- 
Syed Atif Ali
System Administrator
Desk: 971 4 3911914
Cel: 971 50 5445746
                                                         
.qQo            .kkkkkkkkkkkmJ. .Wk;        .kk,JkR.      
.WHR            `TYYYYYYYYYYWHH..HH:        `HH:JMH`
.WHR.........       ........,HHr.HHh........,HH:JMN...........
.WHHHHHHHHHHHHe. .dHHHHHHHHHHHHr ?WHHHHHHHHHHHH:JMHHHHHHHHHHHHK
.WHD?????????HHr.HHY????????jHHr   `????????OHH:JMH7??????????!
 XHH+........WH$`HHm........dHH: ...........dHH!?HHm...........
  7WHHHHHHHHHHY` `WHHHHHHHHHH9! .HHHHHHHHHHHH9!  `THHHHHHHHHHHD
     `````````      `````````     ```````````       ```````````