[Samba] $ char in password

Michael Heydon michaelh at jaswin.com.au
Tue Mar 11 07:55:17 GMT 2008


Xu, Qiang (FXSGSC) wrote:
> Hi, all:
>
> Just come across a strange problem with the usage of "net rpc ...".
>
> If a user's password has the dollar character, it will be discarded, thus cause login failure. For example, if username is "abc" and password is "$1111". I run the command:
> <snip>
> TIA,
> Xu Qiang
>
>   
This isn't a samba issue, it's your shell.

$ echo 111$111
11111
$ echo '111$111'
111$111

Enclose your password in single quotes.

*Michael Heydon - IT Administrator *
michaelh at jaswin.com.au <mailto:michaelh at jaswin.com.au>



More information about the samba mailing list