git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c16ad8d
)
r22893: Use ldap_rename_s instead of deprecated ldap_rename2_s.
author
Michael Adam
<obnox@samba.org>
Tue, 15 May 2007 10:47:40 +0000
(10:47 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:22:05 +0000
(12:22 -0500)
This fixes the build on solaris (host sun9).
And hopefully doesn't break any other builds... :-)
If it does, we need some configure magic.
Thanks to Björn Jacke <bj@sernet.de>.
source/libads/ldap.c
patch
|
blob
|
history
diff --git
a/source/libads/ldap.c
b/source/libads/ldap.c
index f5f273d3f2fe15acd405209382ad9b149032616c..5b87017d848fb7b5a8ac0489bd90d3ba0c2eb28f 100644
(file)
--- a/
source/libads/ldap.c
+++ b/
source/libads/ldap.c
@@
-1754,7
+1754,8
@@
ADS_STATUS ads_move_machine_acct(ADS_STRUCT *ads, const char *machine_name,
goto done;
}
- ldap_status = ldap_rename2_s(ads->ld, computer_dn, computer_rdn, org_unit, 1);
+ ldap_status = ldap_rename_s(ads->ld, computer_dn, computer_rdn,
+ org_unit, 1, NULL, NULL);
rc = ADS_ERROR(ldap_status);
done: