iF.SVNAdmin
iF.SVNAdmin copied to clipboard
Synchronize provide a disaster in a particular configuration
Hi,
Thanks you for your great product.
I have found an issue with version 1.6.1.
My data provider configuration:
User view provider type: ldap
User edit provider type: off
Group view provider type: svnauthfile
Group edit provider type: svnauthfile
Repository view provider type: off
Repository edit provider type: off
LDAP providers: Search filter: (samAccountType=805306368) Attributes: sAMAccountName
When I clic on "Update > Synchronize" it remove all my group in the subversion authorization file. The management of group works fine (add, manage, remove groups).
[Tue Feb 05 11:19:01 2013] [error] [client 127.0.0.1] PHP Warning: ldap_search() [function.ldap-search]: Partial search results returned: Sizelimit exceeded in C:\wamp\www\iFSVNAdmin\include\ifcorelib\IF_AbstractLdapConnector.class.php on line 291, referer: http://localhost/iFSVNAdmin/update.php [Tue Feb 05 11:19:01 2013] [error] [client 127.0.0.1] PHP Stack trace:, referer: http://localhost/iFSVNAdmin/update.php [Tue Feb 05 11:19:01 2013] [error] [client 127.0.0.1] PHP 1. {main}() C:\wamp\www\iFSVNAdmin\update.php:0, referer: http://localhost/iFSVNAdmin/update.php [Tue Feb 05 11:19:01 2013] [error] [client 127.0.0.1] PHP 2. svnadmin\core\Engine->handleAction() C:\wamp\www\iFSVNAdmin\update.php:41, referer: http://localhost/iFSVNAdmin/update.php [Tue Feb 05 11:19:01 2013] [error] [client 127.0.0.1] PHP 3. eval() C:\wamp\www\iFSVNAdmin\classes\core\Engine.class.php:313, referer: http://localhost/iFSVNAdmin/update.php [Tue Feb 05 11:19:01 2013] [error] [client 127.0.0.1] PHP 4. svnadmin\providers\ldap\LdapUserViewProvider->update() C:\wamp\www\iFSVNAdmin\classes\core\Engine.class.php(313) : eval()'d code:54, referer: http://localhost/iFSVNAdmin/update.php [Tue Feb 05 11:19:01 2013] [error] [client 127.0.0.1] PHP 5. svnadmin\providers\ldap\LdapUserViewProvider->updateSvnAuthFile() C:\wamp\www\iFSVNAdmin\classes\providers\ldap\LdapUserViewProvider.class.php:247, referer: http://localhost/iFSVNAdmin/update.php [Tue Feb 05 11:19:01 2013] [error] [client 127.0.0.1] PHP 6. svnadmin\providers\ldap\LdapUserViewProvider->userExists() C:\wamp\www\iFSVNAdmin\classes\providers\ldap\LdapUserViewProvider.class.php:767, referer: http://localhost/iFSVNAdmin/update.php [Tue Feb 05 11:19:01 2013] [error] [client 127.0.0.1] PHP 7. IF_AbstractLdapConnector->objectSearch() C:\wamp\www\iFSVNAdmin\classes\providers\ldap\LdapUserViewProvider.class.php:295, referer: http://localhost/iFSVNAdmin/update.php [Tue Feb 05 11:19:01 2013] [error] [client 127.0.0.1] PHP 8. ldap_search() C:\wamp\www\iFSVNAdmin\include\ifcorelib\IF_AbstractLdapConnector.class.php:291, referer: http://localhost/iFSVNAdmin/update.php
Tell me if you need more information.
Regards,
Hi makeluv, which PHP Version do you run on?
Usually the "Sizelimit exceeded" error only occurs, if you run and older PHP version than 5.4. See docs: http://svnadmin.insanefactory.com/documentation/#ldap-more-than-1000-users-and-groups
But of course, its not good when you lose existing configuration.
Hi mfreiholz,
I'm running php version 4.3. I know there is a bug with large amount of user, so I have optimized the search filter. The query which list users return 950 users. I don't understand why the query failed and why it removed any groups. The management interface says no group "blabla", removing! But the group is used with members and permissions.
Regards,