summaryrefslogtreecommitdiffstats
path: root/daemons
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2011-02-25 13:11:34 -0500
committerSimo Sorce <ssorce@redhat.com>2011-03-01 11:02:55 -0500
commit1d01ea53f1ecc050ad8e6703a3537912f5f84704 (patch)
tree9a8ed0acfbdfb96630be104fd419e88730c56e60 /daemons
parentc335eb96e7989254683ce3dc2666f47082490edf (diff)
downloadfreeipa-1d01ea53f1ecc050ad8e6703a3537912f5f84704.tar.gz
freeipa-1d01ea53f1ecc050ad8e6703a3537912f5f84704.tar.xz
freeipa-1d01ea53f1ecc050ad8e6703a3537912f5f84704.zip
Unbreak the ipa winsync plugin.
Fix RDN construction. Fixes: https://fedorahosted.org/freeipa/ticket/1015
Diffstat (limited to 'daemons')
-rw-r--r--daemons/ipa-slapi-plugins/ipa-winsync/ipa-winsync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-winsync/ipa-winsync.c b/daemons/ipa-slapi-plugins/ipa-winsync/ipa-winsync.c
index 2c0f4d1d2..b98a34d1f 100644
--- a/daemons/ipa-slapi-plugins/ipa-winsync/ipa-winsync.c
+++ b/daemons/ipa-slapi-plugins/ipa-winsync/ipa-winsync.c
@@ -403,7 +403,7 @@ ipa_winsync_get_new_ds_user_dn_cb(void *cbdata, const Slapi_Entry *rawentry,
return;
}
- ldap_rdn2str(ldn[0], &rdn, LDAP_DN_FORMAT_UFN);
+ ldap_rdn2str(ldn[0], &rdn, LDAP_DN_FORMAT_LDAPV3);
*new_dn_string = slapi_ch_smprintf("%s,%s", rdn, slapi_sdn_get_dn(ds_suffix));
ldap_dnfree(ldn);
ldap_memfree(rdn);