diff options
author | Michael Adam <obnox@samba.org> | 2007-05-15 10:47:40 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:22:05 -0500 |
commit | 2753d30cbea6cc6689cda17182caff20d65c6f6c (patch) | |
tree | 203d851b124cdf8864008124a72999db2aa3ccc0 | |
parent | c0d467462fe332284416a3a7d4cc7535147a2eba (diff) | |
download | samba-2753d30cbea6cc6689cda17182caff20d65c6f6c.tar.gz samba-2753d30cbea6cc6689cda17182caff20d65c6f6c.tar.bz2 samba-2753d30cbea6cc6689cda17182caff20d65c6f6c.zip |
r22893: Use ldap_rename_s instead of deprecated ldap_rename2_s.
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>.
(This used to be commit a43775ab36aa3d36108e1b5860bbee6c47e9b1b4)
-rw-r--r-- | source3/libads/ldap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index f5f273d3f2..5b87017d84 100644 --- a/source3/libads/ldap.c +++ b/source3/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: |