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

Reply
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 15th, 2013, 08:31 AM
arrudaje arrudaje is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 2 arrudaje User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 46 sec
Reputation Power: 0
Operations error in ldap_search() in PHP

All that has been occurring to me leads me to think this is more a problem with LDAP connection rather than PHP. I might be wrong, of course.

The problem is: I'm configuring a third-party PHP system for my company, and it has a module for logging in from LDAP/AD bases. When I activate this module, I try to log in and I get this:

exception 'Exception' with message ''Warning:
/var/www/html/infra_php/InfraLDAP.php line:345. ldap_search(): Search: Operations error '' in /var/www/html/infra_php/Infra.php:149

Nevertheless, when I refresh the log in page and try to log in again, it works flawlessly. And even sometimes it works at first, straight away. I'm really having a hard time trying to figure how could this happen, how could it stop working so... randomly.

Does anyone have a clue about how could I fix this problem?

Reply With Quote
  #2  
Old January 16th, 2013, 02:35 AM
Viper_SB's Avatar
Viper_SB Viper_SB is offline
Psycho Canadian
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Jan 2001
Location: Canada
Posts: 4,845 Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level)Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level)Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level)Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level)Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level)Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level)Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level)Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level)Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level)Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level)Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level)Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level)Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 20 h 15 m 53 sec
Reputation Power: 634
Does your search query change depending on a variable? Maybe it's not complete sometimes and other times it is. Can you post part of your code?

Reply With Quote
  #3  
Old January 16th, 2013, 05:32 AM
arrudaje arrudaje is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 2 arrudaje User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 46 sec
Reputation Power: 0
Well, I talked to the Network Administrator and he tried to use another user to access the LDAP base. Apparently it worked fine. Don't know if the former user had some restrictions, but now it seems to work. However I'm not sure yet, even with the bunch of tests we did yesterday... But thank you for your readiness in helping me.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesLDAP Programming > Operations error in ldap_search() in PHP

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