diff options
Diffstat (limited to 'ipaserver/plugins')
-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, |