2.1alpha feature in smbclient - USER and LOGNAME env variables

Dave.Stevenson at durham.ac.uk Dave.Stevenson at durham.ac.uk
Sat Oct 2 12:12:11 GMT 1999


smbclient -L hostname -U user%password

works fine, BUT

smbclient -L hostname

fails unless GUEST access is OK


when getting user ( and password ) from variables the flag
should be set and isn't ( in both USER and LOGNAME ) otherwise username is nulled out
by the -L option in the command line switch ladder. setting username  explicitly
should include setting it in environment shouldn't it?

Only a "ley" hacker, so needs checking by samba brethren but putting it in works for me :-)
please correct me if mistaken.

More information about the samba-ntdom mailing list