LDAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesLDAP Programming

Closed Thread
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 31st, 2010, 12:11 AM
chaying chaying is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2010
Posts: 10 chaying User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 55 m 27 sec
Reputation Power: 0
LDAP : cant contact server

Hi

New with LDAP , I got it function on ubuntu 9.10 and can manage it with webmin. But do not know why I can't connect with the following :

Code:
ldapsearch -D "cn=admin,dc=example,dc=org" -b "dc=example,dc=org" -W

The answer is :

Code:
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)

the "-x" option give the same result..

Actually I can browse the database with webmin, but I can't add an access rule :

Code:
Failed to save access control rule : Cannot write to directory /etc/ldap/slapd.d


And still be able to add an user with the command line :

Code:
sudo ldapadd -Y EXTERNAL -H ldapi:/// -f pop.ldif  SASL/EXTERNAL authentication started SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth SASL SSF: 0 adding new entry "uid=testo,ou=people,dc=example,dc=org"

Can someone explain that?

Thanks

Reply With Quote
Closed Thread

Viewing: Dev Shed ForumsDatabasesLDAP Programming > LDAP : cant contact server

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap