diff options
author | Tomas Babej <tbabej@redhat.com> | 2012-09-04 09:20:10 -0400 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2012-09-04 18:06:44 +0200 |
commit | ed44de17ff1ec8f5f85b925cb9169e5455967d1f (patch) | |
tree | d7f94dc382c2377bdfc2bedce309c710ebdd5c99 /daemons/ipa-slapi-plugins/ipa-winsync/ipa-winsync.c | |
parent | a95eaeac8e07b8ccd173b0f408575cc9a0d508fc (diff) | |
download | freeipa-ed44de17ff1ec8f5f85b925cb9169e5455967d1f.tar.gz freeipa-ed44de17ff1ec8f5f85b925cb9169e5455967d1f.tar.xz freeipa-ed44de17ff1ec8f5f85b925cb9169e5455967d1f.zip |
Change slapi_mods_init in ipa_winsync_pre_ad_mod_user_mods_cb
https://fedorahosted.org/freeipa/ticket/2953
Diffstat (limited to 'daemons/ipa-slapi-plugins/ipa-winsync/ipa-winsync.c')
-rw-r--r-- | daemons/ipa-slapi-plugins/ipa-winsync/ipa-winsync.c | 2 |
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 5d9e3cf94..612d607b8 100644 --- a/daemons/ipa-slapi-plugins/ipa-winsync/ipa-winsync.c +++ b/daemons/ipa-slapi-plugins/ipa-winsync/ipa-winsync.c @@ -471,7 +471,7 @@ ipa_winsync_pre_ad_mod_user_mods_cb(void *cbdata, const Slapi_Entry *rawentry, /* wrap the modstosend in a Slapi_Mods for convenience */ smods = slapi_mods_new(); - slapi_mods_init_byref(smods, *modstosend); + slapi_mods_init_passin(smods, *modstosend); sync_acct_disable(cbdata, rawentry, (Slapi_Entry *)ds_entry, ACCT_DISABLE_TO_AD, NULL, smods, NULL); |