Re: Addressbook with Squirrelmail

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

 



Please show all script output. If output contains private information -hide or mangle only private information. Other text printed by that scriptshows how script is executed. If you show only error message, I know whenit occurred, but I don't know what happened before that error.
If you haven't modified scope setting in ldap_test.php, then LDAP baseshould not fail on Win2k3 ADS.
Could you provide more information about your ADS domain functionalitylevel? It is displayed in Administrative Tools -> Active Directory Usersand Computers. Right click on domain and select 'Properties'.
> Hello,>> I run the script you give me and I get two errors. The error messages> don´t> help me to find the solution to my problem.>> These are the errors:>> Warning: ldap_read(): Search: Protocol error in> /var/www/html/hospital/test-ldap.php on line 128> Unable to read LDAP base.>> Warning: ldap_search(): Search: Protocol error in> /var/www/html/hospital/test-ldap.php on line 160> LDAP search failed.>> I forgot to tell you that my LDAP server use Microsoft Exchange. Could it> be> this the cause of the problem?>> Thank you for your help.>>>>From: "Tomas Kuliavas" <tokul@xxxxxxxxxxxxxxxxxxxxx>>>To: "Gonzalo Carmona Martinez" <maidenero@xxxxxxxxxxx>>>CC: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx>>Subject: Re:  Addressbook with Squirrelmail>>Date: Mon, 18 Jun 2007 13:06:13 +0300 (EEST)>>>>SquirrelMail 1.5.2svn has ldap test script in contrib directory.>>>>You can download it from>>http://squirrelmail.svn.sourceforge.net/viewvc/*checkout*/squirrelmail/trunk/squirrelmail/contrib/test_ldap.phps?revision=11044>>>>save script as test-ldap.php, set configuration variables correctly, run>>that script in browser or console and show results>>>> > I have made the changes you told me, but I get the same error.  I set>>the>> > protocol to 3. Changing the 'base' variable doesn´t change the error>> > message>> > I receive.>> >>> > Do I need to set other variables? Do you have any idea?>> >>> > Thank you very much for your help.>> >>> >>From: Tomas Kuliavas <tokul@xxxxxxxxxxxxxxxxxxxxx>>> >>To: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx>> >>Subject: Re: [SM-USERS] Addressbook with Squirrelmail>> >>Date: Mon, 18 Jun 2007 07:46:51 +0000 (UTC)>> >>>> >> > I have a mail server with postfix and Squirrelmail, and I would>> like>> >> to>> >>use>> >> > an address book, that is allocated in another server.>> >> >>> >> > In the squirrelmail configuration file I worte this lines:>> >> >>> >> > $ldap_server[0] = array(>> >> > 'host' => <ip_ldap_server>,>> >> > 'name' => <addressbook_name>>> >> > );>> >> >>> >> > where <ip_ldap_server> is the IP of the addressbook server.>> >> >>> >> > When I try to find addresses in the addressbook I always get this>> >>message:>> >> > "Protocol error".>> >> >>> >> > As I said, mail server address and addressbook servers are>> DIFFERENT.>> >>Colud>> >> > anybody help me?>> >>>> >>PHP LDAP extension defaults to LDAP v2 bind protocol. Latest OpenLDAP>>and>> >>ADS>> >>versions don't allow v2 binding. Set protocol to 3, when you add LDAP>> >>address>> >>book in SquirrelMail configuration. Please note that 'base' is>> required>> >>LDAP>> >>address book configuration option.>> >>>> >>$ldap_server[0] = array(>> >>  'host' => 'address_of_ldap_server',>> >>  'name' => 'address_book_name',>> >>  'base' => 'your-basedn',>> >>  'protocol' => 3>> >>);>> >>

-------------------------------------------------------------------------This SF.net email is sponsored by DB2 ExpressDownload DB2 Express C - the FREE version of DB2 express and takecontrol of your XML. No limits. Just data. Click to get it now.http://sourceforge.net/powerbar/db2/--squirrelmail-users mailing listPosting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelinesList Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxxxxxx Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.userList Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995List 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