results in garbage. with no password length argument doing dump_data(
100, password, strlen(password)) is the next best alternative.
if (password) password[pwlen] = 0;
#if DEBUG_PASSWORD
- DEBUG(100,("checking user=[%s] pass=[%s]\n",user,password));
+ DEBUG(100,("checking user=[%s] pass=",user));
+ dump_data(100, password, strlen(password));
#endif
if (!password) {
if (password) password[pwlen] = 0;
#if DEBUG_PASSWORD
- DEBUG(100,("checking user=[%s] pass=[%s]\n",user,password));
+ DEBUG(100,("checking user=[%s] pass=",user));
+ dump_data(100, password, strlen(password));
#endif
if (!password) {