Compiling rpc_client/cli_samr.c cc-1164 cc: WARNING File = rpc_client/cli_samr.c, Line = 1459 Argument of type "unsigned char *" is incompatible with parameter of type "char *". encode_pw_buffer(new_lm_password, newpassword, STR_UNICODE); ^ cc-1164 cc: WARNING File = rpc_client/cli_samr.c, Line = 1468 Argument of type "unsigned char *" is incompatible with parameter of type "char *". encode_pw_buffer(new_nt_password, newpassword, STR_UNICODE); ^ cc-1164 cc: WARNING File = rpc_client/cli_samr.c, Line = 1481 Argument of type "unsigned char *" is incompatible with parameter of type "const char *". new_nt_password, ^ cc-1164 cc: WARNING File = rpc_client/cli_samr.c, Line = 1483 Argument of type "unsigned char *" is incompatible with parameter of type "const char *". new_lm_password, ^
Just changing new_lm_password and new_nt_password to char (which seems to be the convention on password variables), leads to this type mismatch: cc-1164 cc: WARNING File = rpc_client/cli_samr.c, Line = 1461 Argument of type "char *" is incompatible with parameter of type "unsigned char *". SamOEMhash( new_lm_password, old_nt_hash, 516); ^ cc-1164 cc: WARNING File = rpc_client/cli_samr.c, Line = 1470 Argument of type "char *" is incompatible with parameter of type "unsigned char *". SamOEMhash( new_nt_password, old_nt_hash, 516); ^ Other uses of SamOEMhash() on passwords cast the password argument to (uchar *).
Created attachment 1092 [details] changes type on new_nt_password, new_lm_password to char
lowering priority
Reassign IRIX bugs to me.
Compiler warning is not in 3.0.23rc2