Files @ 1ec67ddcaffe
Branch filter:

Location: kallithea/rhodecode/bin/ldap_sync.conf - annotation

Mads Kiilerich
ldap: handle more elegantly that python-ldap isn't installed when trying to use ldap

Don't fail with
AttributeError: 'NoneType' object has no attribute 'SCOPE_SUBTREE'
in the log.
[default]
api_url = http://your.rhodecode.server:5000/_admin/api
api_user = admin
api_key = XXXXXXXXXXXX

ldap_uri = ldap://your.ldap.server:389
ldap_user = cn=rhodecode,ou=binders,dc=linaro,dc=org
ldap_key = XXXXXXXXX
base_dn = dc=linaro,dc=org

sync_users = True