Hello, when using pam_smbpasswd only an empty password with XXX is created in the smbpasswd file when using the migration function. (With samba 2.2 this was OK). If have fixed this in changing the following line in pam_smb_auth.c (Function _smb_add_user) --------------------------- retval = local_password_change( name, LOCAL_ADD_USER, pass, err_str, sizeof(err_str), msg_str, sizeof(msg_str) ); --------------------------- to --------------------------- retval = local_password_change( name, LOCAL_ADD_USER | LOCAL_SET_PASSWORD, pass, err_str, sizeof(err_str), msg_str, sizeof(msg_str) ); --------------------------- Now the correct password entry is created in the smbpasswd file. Is this modification OK? Ulrich
*** Bug 779 has been marked as a duplicate of this bug. ***
*** Bug 719 has been marked as a duplicate of this bug. ***
Looks right to me. Applying.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
database cleanup