---------- Forwarded message ----------
From: *高超* <acha...@gmail.com
<javascript:_e(%7B%7D,'cvml','acha...@gmail.com');>>
Date: Thursday, October 30, 2014
Subject: Bug#700983: squid3: samba auth failed (maybe smbclient ignore the
USER environment variable)
To: Luigi Gangitano <lu...@debian.org
<javascript:_e(%7B%7D,'cvml','lu...@debian.org');>>


On Wednesday, October 29, 2014, Luigi Gangitano <lu...@debian.org> wrote:

> Hi,
>
> Every documentation I found about smbclient states that $USER environment
> variable is checked first. Do you have evidence that this is not the case
> on your system? Did the change to smb_auth.sh fix it?
>
> Since this is a documented feature in smbclient which is missing I would
> move this bug to smbclient.
>

Yes, it should be a bug of smbclient. I did a test on my system and a
*clean* Debian/wheezy system, the result is same.

below is my test case:

------------------

gaochao@proxy:~$ echo $USER

gc%foobar

gaochao@proxy:~$ smbclient //qinserver/gc

WARNING: The "enable privileges" option is deprecated

session setup failed: NT_STATUS_LOGON_FAILURE

gaochao@proxy:~$ smbclient //qinserver/gc --user="$USER"

WARNING: The "enable privileges" option is deprecated

Domain=[ZFCPA] OS=[Unix] Server=[Samba 3.5.6]

smb: \> exit

gaochao@proxy:~$ smbclient -V
Version 3.6.6
---------------------


>
> Best regards,
>
> L
>
> --
> Luigi Gangitano -- <lu...@debian.org> -- <gangit...@lugroma3.org>
> GPG: 1024D/924C0C26: 12F8 9C03 89D3 DB4A 9972  C24A F19B A618 924C 0C26
> GPG: 4096R/2BA97CED: 8D48 5A35 FF1E 6EB7 90E5  0F6D 0284 F20C 2BA9 7CED
>
>

-- 
中砝高超



-- 
中砝高超

Reply via email to