Issue #880 has been reported by Armando Felipe Fuentes Denis.

----------------------------------------
Bug #880:  Error changing password in AD Windows 2008r2
http://tools.lsc-project.org/issues/880

Author: Armando Felipe Fuentes Denis
Status: New
Priority: Urgent
Assigned to: 
Category: Self Service Password
Target version: self-service-password-?


I have the following situation, I have an AD in Windows Server 2008 r2 with 
10700 users distributed in 17 OU and within them in several departments .. 
configure the configuration file as follows

$ldap_url = "ldap://10.11.10.6:389";;
$ldap_starttls = false;
$ldap_binddn = "[email protected]";
$ldap_bindpw = "PASSWORD";
$ldap_base = "dc=dominio,dc=com";
$ldap_login_attribute = "uid";
$ldap_fullname_attribute = "cn";
$ldap_filter = "(&(objectClass=user)(sAMAccountName={login}))";

And I did not process the request when I go to the *nginx* logs gives me the 
following

2016/11/12 16:09:39 [error] 18180#0: *140 FastCGI sent in stderr: "PHP message: 
PHP Notice:  Use of undefined constant LDAP_MODIFY_BATCH_REMOVE - assumed 
'LDAP_MODIFY_BATCH_REMOVE' in 
/var/www/password.domain.com/html/lib/functions.inc.php on line 325
PHP message: PHP Notice:  Use of undefined constant LDAP_MODIFY_BATCH_ADD - 
assumed 'LDAP_MODIFY_BATCH_ADD' in 
/var/www/password.domain.com/html/lib/functions.inc.php on line 330
PHP message: PHP Fatal error:  Call to undefined function ldap_modify_batch() 
in /var/www/password.domain.com/html/lib/functions.inc.php on line 335" while 
reading response header from upstream, client: 10.11.16.11, server: 
password.domain.com, request: "POST / HTTP/1.1", upstream: 
"fastcgi://unix:/var/run/php5-fpm.sock:", host: "password.domain.com", 
referrer: "https://password.domain.com/";


*I change the configuration and leave it as follows and I'm left maried and 
when I check the log shows this*

$ldap_url = "ldap://10.11.10.6:389";;
$ldap_starttls = false;
$ldap_binddn = "[email protected]";
$ldap_bindpw = "PASSWORD";
$ldap_base = "dc=dominio,dc=com";
$ldap_login_attribute = "uid";
$ldap_fullname_attribute = "cn";
$ldap_filter = "(&(objectClass=user))";

2016/11/12 16:01:22 [error] 18180#0: *133 FastCGI sent in stderr: "PHP message: 
PHP Warning:  ldap_search(): Partial search results returned: Sizelimit 
exceeded in /var/www/password.domain.com/html/pages/change.php on line 109
PHP message: LDAP - Search error 4  (Size limit exceeded)" while reading 
response header from upstream, client: 10.11.16.11, server: 
password.domain.com, request: "POST / HTTP/1.1", upstream: 
"fastcgi://unix:/var/run/php5-fpm.sock:", host: "password.domain.com", 
referrer: "https://password.domain.com/";


I think the error that is giving me is because of the amount of users I have, 
is there any way to fix that?



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________
ltb-dev mailing list
[email protected]
http://lists.ltb-project.org/listinfo/ltb-dev

Reply via email to