summaryrefslogtreecommitdiffstats
path: root/ipalib/config.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-10-14 00:38:17 -0600
committerJason Gerard DeRose <jderose@redhat.com>2008-10-14 00:38:17 -0600
commit149912d0e7bb75459c52c9404a1af537023729dc (patch)
treec9c6d5c72be8f833782e28da3e1cadc897240ddd /ipalib/config.py
parent446037fd60d59f671b9a402b9111ab041c1c1439 (diff)
downloadfreeipa-149912d0e7bb75459c52c9404a1af537023729dc.tar.gz
freeipa-149912d0e7bb75459c52c9404a1af537023729dc.tar.xz
freeipa-149912d0e7bb75459c52c9404a1af537023729dc.zip
Added ldap.get_user_dn() method
Diffstat (limited to 'ipalib/config.py')
-rw-r--r--ipalib/config.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ipalib/config.py b/ipalib/config.py
index a0a33b401..c55c47c8a 100644
--- a/ipalib/config.py
+++ b/ipalib/config.py
@@ -25,13 +25,15 @@ DEFAULT_CONF='/etc/ipa/ipa.conf'
def generate_env(d={}):
default = dict(
- server_context = False,
+ server_context = True,
query_dns = True,
verbose = False,
interactive = True,
server = LazyIter(get_servers),
realm = LazyProp(get_realm),
domain = LazyProp(get_domain),
+ container_user='cn=users,cn=accounts',
+ basedn='dc=example,dc=com',
)
for key, value in d.iteritems():
if key in default and type(default[key]) in (LazyIter, LazyProp):