c0fa2b0bbb
Merge branch 'kaminski_k/ldapuserdir-master'
2016-03-03 11:59:01 +01:00
kaminski_k
13c6566c7f
Add support for paged results
...
LdapUserDir now accepts a new parameter 'page_size', which specifies how
many results should be retrieved at a time (default: 500). A page size
of 0 disables paged results.
2016-03-02 16:19:37 +01:00
567884f5f0
conda recipe to build from source
2016-02-16 20:27:11 +01:00
f952fd4979
fixed bug when search pattern only contains dc
...
* bin/ldapuserdir-ctl: improved documentation
* ldapuserdir/ldapuserdir.py: fixed error when search
ldap base contained only 'dc=d,dc=psi,dc=ch'
2016-02-16 17:32:44 +01:00
0ebee76384
added listing users by mail address
2013-08-30 11:34:12 +02:00
597478879e
group listings can deal with nomssfu entries. Added todo file
2013-07-22 17:18:40 +02:00
8898b03ad5
small fix to release utility
2013-05-03 14:20:37 +02:00
f7756cbfa9
rewrote some functions to have consistent use of DN and mssfu
...
Also improved CLI options usage
2013-05-02 18:06:33 +02:00
a3e4694971
Added sphinx documentation and did some cleanup
...
Converted all docstrings from doxygen to numpydoc formats
2013-05-02 10:10:08 +02:00
d722c32000
implemented discovery of a user's groups by recursive memberOf search
...
in the course of this I also decided to change some of the general
structure, especially concerning the handling of the MSsfu option.
This required a change in the API, regrettably, and to a major version
bump.
Also I adopted semantiv versioning.
2013-04-30 17:21:12 +02:00
94c20aedd6
small change for how to load version number
2012-12-21 16:25:51 +01:00
208d6add00
Fixed error about ignoring of "-D user" option
2012-12-11 15:12:17 +01:00
fe36431f4e
version bump to 1.20
2012-12-11 11:53:42 +01:00
3c0140dbbd
fixed ldap rebind issue
2012-12-10 17:53:09 +01:00
40ed2cebe9
testing ldap reconnect with deleting old object first
2012-12-10 15:27:22 +01:00
c74b73594c
introduced LdapUserDirError exception
...
instead of returning an empty string for a systemuser2dn lookup, now a
LdapUserDirError is returned.
2012-12-07 23:02:11 +01:00
65d13458be
implemented own ldap reconnection routine
...
The ReconnectLDAPObject class led to strange results in tests with the PSI
AD. After some time I would get no results at all, but no error or exception.
This routine contains logging statements.
2012-12-07 15:33:48 +01:00
1a81d9ec1d
using ldap.ReconnectLDAPObject
...
The ldap.ReconnectLDAPObject will reconnect to the ldap server if the
connection is dropped.
Small fix that caused wrong config to be read when multiple locations
were available.
2012-12-07 14:04:18 +01:00
e54316c060
clean build dir before generating release
2012-10-03 16:22:07 +02:00
e0d77c2d69
minor fix for release tool
2012-10-03 16:14:29 +02:00
a221576f6e
default config for setup.py
2012-10-03 16:10:32 +02:00
e954988167
added a minimal release helper script
2012-10-03 16:08:25 +02:00
3778ea18ac
improved help text with flexibel helper class and added cfgfile docu
2012-10-03 15:21:47 +02:00
8323a3faa9
raised version number for release 1.1
2012-10-01 17:22:34 +02:00
7f357e7a59
added some functionality for versioned release process
2012-10-01 15:49:24 +02:00
d5311440f2
refactored ldapuserdir code after splitting from sigateway project
2012-09-28 12:12:03 +02:00