[PATCH 4/6] libsmb: Use smbXcli_conn_use_unicode instead of smb1 specific test

Stefan (metze) Metzmacher metze at samba.org
Sat May 18 04:12:58 MDT 2013


Am 18.05.2013 10:50, schrieb Luk Claes:
> Signed-off-by: Luk Claes <luk at debian.org>

Reviewed-by: Stefan Metzmacher <metze at samba.org>

> ---
>  source3/libsmb/clidfs.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c
> index 95f8817..41996fe 100644
> --- a/source3/libsmb/clidfs.c
> +++ b/source3/libsmb/clidfs.c
> @@ -600,7 +600,7 @@ static bool cli_dfs_check_error(struct cli_state *cli, NTSTATUS expected,
>  {
>  	/* only deal with DS when we negotiated NT_STATUS codes and UNICODE */
>  
> -	if (!(smb1cli_conn_capabilities(cli->conn) & CAP_UNICODE)) {
> +	if (!(smbXcli_conn_use_unicode(cli->conn))) {
>  		return false;
>  	}
>  	if (!(smb1cli_conn_capabilities(cli->conn) & CAP_STATUS32)) {
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130518/a9a87490/attachment.pgp>


More information about the samba-technical mailing list