urls like smb://:password@hostname/share, will invalidly consider password an username.
this is due to next_token that is used to get the username. it consumes any leading spliting characters before looking for the next token.
patch for url parser in libsmbclient provided, thou it might be a good idea to look over all uses of next_token.
Created attachment 1976 [details]
Fix for url parser
Thanks for the report!
I added a new function to retrieve the next token without trimming leading separator characters. This is fixed by check-ins 16552 (Samba3 branch) and 16553 (trunk). Pleae let me know if you still see any problems.