Samba 3.0.12rc1 Compiling smbd/chgpasswd.c cc-1164 cc: WARNING File = smbd/chgpasswd.c, Line = 948 Argument of type "int *" is incompatible with parameter of type "unsigned int *". account_policy_get(AP_PASSWORD_HISTORY, &pwHisLen); ^ cc-1164 cc: WARNING File = smbd/chgpasswd.c, Line = 953 Argument of type "int *" is incompatible with parameter of type "unsigned int *". pwhistory = pdb_get_pw_history(sampass, &curr_pwHisLen); ^
Changing both variable types to "unsigned int" on Line 946 eliminates this compiler warning. Also, an observation, the variable names seem quite close to "pwHistLen" and "curr_pwHistLen" used elsewhere in Samba; it might be appropriate to normalize the use of the variable name.
someone already fixed this.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.