I recently installed Fedora 9 for use as a squid server.  We use smb_auth
basic authorization and have run into a problem with it.  I believe that I
have tracked the problem down to smbclient when the USER environmental
variable contains the userid and password.  smb_auth.sh in squid uses the
USER environmental variable.  Below are test results for Version
3.0.28a-0.fc8 and Version 3.2.0pre3-9.fc9.

Note that typing in the password or putting it on the command line works
for both versions.  However, USER="smbauth%test1234" fails with Version
3.2.0pre3-9.fc9



[EMAIL PROTECTED] ~]$ smbclient -V
Version 3.0.28a-0.fc8
[EMAIL PROTECTED] ~]$ USER="smbauth"
[EMAIL PROTECTED] ~]$ smbclient  "//hssrv01/netlogon"   -c "get proxyauth -"
Password:
Domain=[EGHSLIB] OS=[Unix] Server=[Samba 3.0.28a-0.fc8]
allow
getting file \proxyauth of size 6 as - (5.9 kb/s) (average 5.9 kb/s)
[EMAIL PROTECTED] ~]$ smbclient  "//hssrv01/netlogon" test1234 -c "get
proxyauth -"
Domain=[EGHSLIB] OS=[Unix] Server=[Samba 3.0.28a-0.fc8]
allow
getting file \proxyauth of size 6 as - (5.9 kb/s) (average 5.9 kb/s)
[EMAIL PROTECTED] ~]$ USER="smbauth%test1234"
[EMAIL PROTECTED] ~]$ export USER
[EMAIL PROTECTED] ~]$ smbclient  "//hssrv01/netlogon" -c "get proxyauth -"
Domain=[EGHSLIB] OS=[Unix] Server=[Samba 3.0.28a-0.fc8]
allow
getting file \proxyauth of size 6 as - (5.9 kb/s) (average 5.9 kb/s)
[EMAIL PROTECTED] ~]$




[EMAIL PROTECTED] ~]$ smbclient -V
Version 3.2.0pre3-9.fc9
[EMAIL PROTECTED] ~]$ USER="smbauth"
[EMAIL PROTECTED] ~]$ smbclient  "//hssrv01/netlogon"   -c "get proxyauth -"
Enter smbauth's password:
Domain=[EGHSLIB] OS=[Unix] Server=[Samba 3.0.28a-0.fc8]
allow
getting file \proxyauth of size 6 as - (60000.0 kb/s) (average inf kb/s)
[EMAIL PROTECTED] ~]$ smbclient  "//hssrv01/netlogon" test1234  -c "get
proxyauth -"
Domain=[EGHSLIB] OS=[Unix] Server=[Samba 3.0.28a-0.fc8]
allow
getting file \proxyauth of size 6 as - (60000.0 kb/s) (average inf kb/s)
[EMAIL PROTECTED] ~]$ USER="smbauth%test1234"
[EMAIL PROTECTED] ~]$ export USER
[EMAIL PROTECTED] ~]$ smbclient  "//hssrv01/netlogon"  -c "get proxyauth -"
session setup failed: NT_STATUS_LOGON_FAILURE
[EMAIL PROTECTED] ~]$

Mark Orenstein
East Granby, CT, USA School System


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to