Using -A works, but --authfile does not, with smbclient. Log: t-bone@andromeda t-bone $ smbclient //exchange/shared -A /home/t-bone/smbauth - N Domain=[OUTOFTHEBOX] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0] smb: \> quit t-bone@andromeda t-bone $ smbclient //exchange/shared --authfile=/home/t- bone/smbauth -N Anonymous login successful Domain=[OUTOFTHEBOX] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0] tree connect failed: NT_STATUS_ACCESS_DENIED t-bone@andromeda t-bone $ smbclient -V Version 3.0.2a
This is a poor documented matter. --authfile is not correct, --authenticate-file is the correct name! And in Samba 3.0.11, thie document bug still remains...
it's actually --authentication-file (see lib/p[opt_commond.c). I can't find any reference to --authfile in samba-docs or in the source code.
>I can't find any reference to --authfile in samba-docs >or in the source code. man smbclient # I look at man pages at first whenever I need to check what Samba document says. The man pages are most well maintained documents, aren't they?
I grepped the xml source and for some reason --authfile didn't show up. I forgot about the global.entities file. Fixed in all man pages now. Thanks.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.