Results 1 to 4 of 4
Hi at all!
I would want to ask you about a problem that I have with my phpbb forum with OpenLdap.
I have installed without problems, but when I want ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-10-2013 #1Just Joined!
- Join Date
- Mar 2013
- Posts
- 3
OpenLdap problem
Hi at all!
I would want to ask you about a problem that I have with my phpbb forum with OpenLdap.
I have installed without problems, but when I want to do some operations like next:
ldapsearch -W -D "cn=admin,dc=domain,dc=net"
or, next operation, that it's more important for me:
ldapdelete -x -r "ou=Familias,ou=Groups,dc=domain,dc=net" -D "cn=admin,dc=ovh,dc=net" -w password
I always got same error:
ldap_bind: Invalid credentials (49)
In slapd.conf file I have some configuration lines like this:
However, I don't know if I have to use this file or configuration is included into ldap database...allow bind_v2
suffix "dc=domain,dc=net"
rootdn "cn=admin,dc=domain,dc=net"
rootpw password
directory "/var/lib/ldap"
access to attrs=userPassword,shadowLastChange
by dn="cn=admin,dc=ovh,dc=net" write
by anonymous auth
by self write
by * none
access to dn.base="" by * read
access to *
by dn="cn=admin,dc=domain,dc=net" write
by * read
Can you help me??
Thank you very much!!
- 03-11-2013 #2Just Joined!
- Join Date
- Sep 2012
- Location
- Nashville, TN
- Posts
- 67
The error appears to be referring to the account that is binding to do the ldap server. But just for testing sake, what happens when you run the following from command line?
Code:ldapsearch -x -b 'dc=domain,dc=net' '(objectclass=*)'
- 03-12-2013 #3Just Joined!
- Join Date
- Mar 2013
- Posts
- 3
Hi,
the answer is next:
What does it means?# extended LDIF
#
# LDAPv3
# base <dc=domain,dc=net> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#
# search result
search: 2
result: 32 No such object
# numResponses: 1
Thank you very much!!
- 03-13-2013 #4Just Joined!
- Join Date
- Mar 2013
- Posts
- 3
I think that Im fixing my problem but however I can't enter to my forum and I think the problem is access control.
I have next:
access to attrs=userPassword,shadowLastChange
by dn="cn=admin,dc=domain,dc=net" write
by anonymous auth
by self write
by * none
access to *
by dn="cn=admin,dc=domain,dc=net" write
by * read
Can you say me it's correct?
Or which can be the solution?
Thanx!!


Reply With Quote
