diff options
author | Rob Crittenden <rcritten@redhat.com> | 2009-05-13 17:16:05 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2009-05-19 09:54:17 -0400 |
commit | e5bec4ae39e7a369e1475bed90505565cbd8c847 (patch) | |
tree | 9d2e792b0b259bfd4a5dea31f9bd6de405db43e0 /ipaserver | |
parent | 7ef34b8cdafa655e757d18c120ab484791531a8e (diff) | |
download | freeipa-e5bec4ae39e7a369e1475bed90505565cbd8c847.tar.gz freeipa-e5bec4ae39e7a369e1475bed90505565cbd8c847.tar.xz freeipa-e5bec4ae39e7a369e1475bed90505565cbd8c847.zip |
Schema change so the nisnetgroup triples work properly.
If we use cn for hostname there is no easy way to distinguish between
a host and a hostgroup. So adding a fqdn attribute to be used to store
the hostname instead.
Diffstat (limited to 'ipaserver')
-rw-r--r-- | ipaserver/plugins/ldapapi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/plugins/ldapapi.py b/ipaserver/plugins/ldapapi.py index cb55f1cfa..3d62507e7 100644 --- a/ipaserver/plugins/ldapapi.py +++ b/ipaserver/plugins/ldapapi.py @@ -109,7 +109,7 @@ class ldap(CrudBackend): """ Construct host dn from hostname """ - return 'cn=%s,%s,%s' % ( + return 'fqdn=%s,%s,%s' % ( self.dn.escape_dn_chars(hostname), self.api.env.container_host, self.api.env.basedn, |