From e5bec4ae39e7a369e1475bed90505565cbd8c847 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Wed, 13 May 2009 17:16:05 -0400 Subject: 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. --- ipaserver/plugins/ldapapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipaserver') diff --git a/ipaserver/plugins/ldapapi.py b/ipaserver/plugins/ldapapi.py index cb55f1cf..3d62507e 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, -- cgit