svn commit: samba r22893 - in branches/SAMBA_3_0/source/libads: .
obnox at samba.org
obnox at samba.org
Tue May 15 10:47:41 GMT 2007
Author: obnox
Date: 2007-05-15 10:47:40 +0000 (Tue, 15 May 2007)
New Revision: 22893
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22893
Log:
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?\195?\182rn Jacke <bj at sernet.de>.
Modified:
branches/SAMBA_3_0/source/libads/ldap.c
Changeset:
Modified: branches/SAMBA_3_0/source/libads/ldap.c
===================================================================
--- branches/SAMBA_3_0/source/libads/ldap.c 2007-05-15 10:36:51 UTC (rev 22892)
+++ branches/SAMBA_3_0/source/libads/ldap.c 2007-05-15 10:47:40 UTC (rev 22893)
@@ -1754,7 +1754,8 @@
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:
More information about the samba-cvs
mailing list