Fix libsmbclient 3.0.x code.

This commit is contained in:
Andreas Schneider 2008-10-29 13:50:04 +01:00
parent 0cb00f266d
commit a825dd3e14

View file

@ -125,7 +125,8 @@ static void get_auth_data_fn(const char *pServer,
/* Call the passwort prompt */ /* Call the passwort prompt */
if (auth_cb != NULL) { if (auth_cb != NULL) {
DEBUG_SMB(("csync_smb - execute authentication callback\n")); DEBUG_SMB(("csync_smb - execute authentication callback\n"));
(*auth_cb) (pUsername, maxLenUsername, pPassword, maxLenPassword); (*auth_cb) ("Username:", pUsername, maxLenUsername, 1, 0);
(*auth_cb) ("Password:", pPassword, maxLenPassword, 0, 0);
} }
DEBUG_SMB(("csync_smb - user=%s, workgroup=%s, server=%s, share=%s\n", DEBUG_SMB(("csync_smb - user=%s, workgroup=%s, server=%s, share=%s\n",