Bug 2522 - passdb/pdb_interface.c: "const unsigned char*" assigned to "const char *"
passdb/pdb_interface.c: "const unsigned char*" assigned to "const char *"
Status: CLOSED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.12
SGI IRIX
: P4 normal
: none
Assigned To: James Peach (outdated mail address)
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-22 14:25 UTC by Jason Mader
Modified: 2005-08-24 10:23 UTC (History)
0 users

See Also:


Attachments
change "const char *" to "const uchar *" (995 bytes, patch)
2005-03-22 20:08 UTC, Jason Mader
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mader 2005-03-22 14:25:22 UTC
cc-1515 cc: WARNING File = passdb/pdb_interface.c, Line = 63
  A value of type "const unsigned char *" cannot be assigned to an entity of
          type "const char *".

                        lm_pwd = pdb_get_lanman_passwd(pass);
                               ^

cc-1515 cc: WARNING File = passdb/pdb_interface.c, Line = 69
  A value of type "const unsigned char *" cannot be assigned to an entity of
          type "const char *".

                        nt_pwd = pdb_get_nt_passwd(pass);
                               ^

cc-1515 cc: WARNING File = passdb/pdb_interface.c, Line = 247
  A value of type "const unsigned char *" cannot be assigned to an entity of
          type "const char *".

        lm_pw = pdb_get_lanman_passwd( sam_acct );
              ^

cc-1515 cc: WARNING File = passdb/pdb_interface.c, Line = 248
  A value of type "const unsigned char *" cannot be assigned to an entity of
          type "const char *".

        nt_pw = pdb_get_nt_passwd( sam_acct );
              ^

cc-1515 cc: WARNING File = passdb/pdb_interface.c, Line = 281
  A value of type "const unsigned char *" cannot be assigned to an entity of
          type "const char *".

        lm_pw = pdb_get_lanman_passwd( sam_acct );
              ^

cc-1515 cc: WARNING File = passdb/pdb_interface.c, Line = 282
  A value of type "const unsigned char *" cannot be assigned to an entity of
          type "const char *".

        nt_pw = pdb_get_nt_passwd( sam_acct );
              ^
Comment 1 Jason Mader 2005-03-22 20:08:37 UTC
Created attachment 1088 [details]
change "const char *" to "const uchar *"
Comment 2 Gerald (Jerry) Carter 2005-03-24 06:26:03 UTC
lowering priority
Comment 3 James Peach (outdated mail address) 2005-07-30 22:46:05 UTC
Reassign IRIX bugs to me.
Comment 4 Jason Mader 2005-08-13 06:16:38 UTC
This has been fixed since Revision 5951.
Comment 5 Gerald (Jerry) Carter 2005-08-24 10:23:09 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.