diff options
author | Kevin McCarthy <kmccarth@redhat.com> | 2007-09-26 15:47:34 -0700 |
---|---|---|
committer | Kevin McCarthy <kmccarth@redhat.com> | 2007-09-26 15:47:34 -0700 |
commit | 1725397a53ad133001b3c558904302cc91832b77 (patch) | |
tree | 3296835c9e8e5e105bd2b6309003f38b50f48921 /ipa-server/ipaserver/ipaldap.py | |
parent | f8eda3da3e4cf7053947d365219e82fa7079b9cf (diff) | |
download | freeipa.git-1725397a53ad133001b3c558904302cc91832b77.tar.gz freeipa.git-1725397a53ad133001b3c558904302cc91832b77.tar.xz freeipa.git-1725397a53ad133001b3c558904302cc91832b77.zip |
Adds methods to manipulate groups by dns.
Renamed some of the user_group parameters to be self-evident.
Binary wrapping isn't necessary on strings, so removed from xmlrpc calls.
Diffstat (limited to 'ipa-server/ipaserver/ipaldap.py')
-rw-r--r-- | ipa-server/ipaserver/ipaldap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-server/ipaserver/ipaldap.py b/ipa-server/ipaserver/ipaldap.py index ffbb2168..3dcb836d 100644 --- a/ipa-server/ipaserver/ipaldap.py +++ b/ipa-server/ipaserver/ipaldap.py @@ -215,7 +215,7 @@ class IPAdmin(SimpleLDAPObject): out this way so that we can call them from places other than instance creation e.g. when we just need to reconnect, not create a new instance""" - if debug.lower() == "on": + if debug and debug.lower() == "on": ldap.set_option(ldap.OPT_DEBUG_LEVEL,255) if cacert is not None: ldap.set_option(ldap.OPT_X_TLS_CACERTFILE,cacert) |