cc-1164 cc: WARNING File = passdb/pdb_nds.c, Line = 672 Argument of type "int *" is incompatible with parameter of type "size_t *". rc = nmasldap_get_password(ld, object_dn, pwd_len, pwd); ^ cc-1164 cc: WARNING File = passdb/pdb_nds.c, Line = 798 Argument of type "size_t *" is incompatible with parameter of type "int *". if (pdb_nds_get_password(ldap_state->smbldap_state, dn, &pwd_len, clear_text_pw) == L\ DAP_SUCCESS) { ^
Created attachment 1090 [details] change "int *" to "size_t *" in pdb_nds_get_passwd() argument
Compiling passdb/pdb_ldap.c cc-1164 cc: WARNING File = passdb/pdb_ldap.c, Line = 707 Argument of type "int *" is incompatible with parameter of type "size_t *". if (pdb_nds_get_password(ldap_state->smbldap_state, user_dn, &pwd_len, clear_text_pw)\ == LDAP_SUCCESS) { ^
Since pwd_len is assigned the result of a sizeof() the three occurances of pwd_len in the passdb/*.c files should be size_t.
Created attachment 1096 [details] change "int *" to "size_t *" in pdb_nds_get_passwd() argument Additional, moves pwd_len = sizeof(clear_text_pw); to inside an if statement where it is actually used.
lowering priority
Reassign IRIX bugs to me.
Fixed in bug #2523.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.