svn commit: samba r4385 - in branches/SAMBA_4_0/source/libcli/ldap:
.
abartlet at samba.org
abartlet at samba.org
Tue Dec 28 23:59:22 GMT 2004
Author: abartlet
Date: 2004-12-28 23:59:22 +0000 (Tue, 28 Dec 2004)
New Revision: 4385
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4385
Log:
Set the correct target service.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/libcli/ldap/ldap_client.c
Changeset:
Modified: branches/SAMBA_4_0/source/libcli/ldap/ldap_client.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/ldap/ldap_client.c 2004-12-28 23:55:58 UTC (rev 4384)
+++ branches/SAMBA_4_0/source/libcli/ldap/ldap_client.c 2004-12-28 23:59:22 UTC (rev 4385)
@@ -412,6 +412,13 @@
goto done;
}
+ status = gensec_set_target_service(conn->gensec, "ldap");
+ if (!NT_STATUS_IS_OK(status)) {
+ DEBUG(1, ("Failed to start set GENSEC target hostname: %s\n",
+ nt_errstr(status)));
+ goto done;
+ }
+
status = gensec_start_mech_by_sasl_name(conn->gensec, "GSS-SPNEGO");
if (!NT_STATUS_IS_OK(status)) {
DEBUG(1, ("Failed to start set GENSEC client SPNEGO mechanism: %s\n",
More information about the samba-cvs
mailing list