The Samba-Bugzilla – Attachment 1088 Details for
Bug 2522
passdb/pdb_interface.c: "const unsigned char*" assigned to "const char *"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
change "const char *" to "const uchar *"
pdb_interface.patch (text/plain), 995 bytes, created by
Jason Mader (mail bounces back)
on 2005-03-22 20:08:37 UTC
(
hide
)
Description:
change "const char *" to "const uchar *"
Filename:
MIME Type:
Creator:
Jason Mader (mail bounces back)
Created:
2005-03-22 20:08:37 UTC
Size:
995 bytes
patch
obsolete
>Index: passdb/pdb_interface.c >=================================================================== >--- passdb/pdb_interface.c (revision 5967) >+++ passdb/pdb_interface.c (working copy) >@@ -48,7 +48,7 @@ > > static void pdb_force_pw_initialization(SAM_ACCOUNT *pass) > { >- const char *lm_pwd, *nt_pwd; >+ const uchar *lm_pwd, *nt_pwd; > > /* only reset a password if the last set time has been > explicitly been set to zero. A default last set time >@@ -233,7 +233,7 @@ > static NTSTATUS context_add_sam_account(struct pdb_context *context, SAM_ACCOUNT *sam_acct) > { > NTSTATUS ret = NT_STATUS_UNSUCCESSFUL; >- const char *lm_pw, *nt_pw; >+ const uchar *lm_pw, *nt_pw; > uint16 acb_flags; > > if ((!context) || (!context->pdb_methods)) { >@@ -262,7 +262,7 @@ > static NTSTATUS context_update_sam_account(struct pdb_context *context, SAM_ACCOUNT *sam_acct) > { > NTSTATUS ret = NT_STATUS_UNSUCCESSFUL; >- const char *lm_pw, *nt_pw; >+ const uchar *lm_pw, *nt_pw; > uint16 acb_flags; > > if (!context) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2522
: 1088