[PATCH] Add support for SASL EXTERNAL to libads

Andrew Bartlett abartlet at samba.org
Mon Jun 9 02:11:35 GMT 2003


On Mon, 2003-06-09 at 11:20, Luke Howard wrote:
> 
> The attached patch adds the ADS_AUTH_EXTERNAL_BIND authentication flag.

> @@ -397,6 +414,10 @@
>  	ADS_STATUS status;
>  	int i, j;
>  	void *res;
> +
> +	if (ads->auth.flags & ADS_AUTH_EXTERNAL_BIND) {
> +		return ads_sasl_external_bind(ads);
> +	}

Given you just added support in the SASL code for 'external', why do we
need to explicitly enforce it here?  Won't it be negotiated already?  Or
am I missing something?

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20030609/341ae9c9/attachment.bin


More information about the samba-technical mailing list