Re: SM/LDAP Could not bring results

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tomas Kuliavas wrote:
Hi all,

I have setup a squirrelmail/oldap server. When try to fetch address
through address book option in the compose window, it fails with an
error message. The error message is as follows,

*Your search failed with the following error(s):
[LDAP:XX.XX.XXX.XXX] No such object*

My config.php configuration is as follows

$default_use_javascript_addr_book = true;
$ldap_server[0] = array(
    'host' => 'ldap://XX.XX.XXX.XXX',
    'base' => 'ou=Usuarios,ou=webmail,dc=ran,dc=es',
    'name' => 'LDAP:XX.XX.XXX.XXX',
    'maxrows' => 100,
    'binddn' => 'cn=admin,dc=ran,dc=es',
    'bindpw' => 'mypassword',
    'protocol' => 3

Please let me know, what did i miss ?
    

1. 'host' => 'ldap://XX.XX.XXX.XXX',

'ldap://' prefix is useless. It is default protocol.

2. 'base' => 'ou=Usuarios,ou=webmail,dc=ran,dc=es',

reduce it to 'dc=ran,dc=es'.

3. provide more information about used LDAP schema

4. See information about test-ldap.php script at 
http://article.gmane.org/gmane.mail.squirrelmail.user/31199
"set $ldap_limit_scope to true" does not apply to openldap.



  
Hi Tomas,
Now I can get the search results from the squirrel mail through Directory options. But I could not get the results from Compose --> Address options.
When I try this I got the following error messages.
"No persons matching your search were found".
Should I include anything more ?. Here I am attaching my lists of schemas.


include         /etc/ldap/schema/core.schema
include         /etc/ldap/schema/cosine.schema
include         /etc/ldap/schema/nis.schema
include         /etc/ldap/schema/inetorgperson.schema

Did I miss any schema ?
--
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux