svn commit: samba r5951 - in branches/SAMBA_3_0/source/passdb: .
jerry at samba.org
jerry at samba.org
Tue Mar 22 15:03:18 GMT 2005
Author: jerry
Date: 2005-03-22 15:03:17 +0000 (Tue, 22 Mar 2005)
New Revision: 5951
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5951
Log:
gotta love that SGI compiler :-) (thanks Jason)
Modified:
branches/SAMBA_3_0/source/passdb/passdb.c
branches/SAMBA_3_0/source/passdb/pdb_interface.c
Changeset:
Modified: branches/SAMBA_3_0/source/passdb/passdb.c
===================================================================
--- branches/SAMBA_3_0/source/passdb/passdb.c 2005-03-22 14:54:12 UTC (rev 5950)
+++ branches/SAMBA_3_0/source/passdb/passdb.c 2005-03-22 15:03:17 UTC (rev 5951)
@@ -1894,7 +1894,7 @@
/* Change from V1 is addition of password history field. */
account_policy_get(AP_PASSWORD_HISTORY, &pwHistLen);
if (pwHistLen) {
- char *pw_hist = SMB_MALLOC(pwHistLen * PW_HISTORY_ENTRY_LEN);
+ uint8 *pw_hist = SMB_MALLOC(pwHistLen * PW_HISTORY_ENTRY_LEN);
if (!pw_hist) {
ret = False;
goto done;
Modified: branches/SAMBA_3_0/source/passdb/pdb_interface.c
===================================================================
--- branches/SAMBA_3_0/source/passdb/pdb_interface.c 2005-03-22 14:54:12 UTC (rev 5950)
+++ branches/SAMBA_3_0/source/passdb/pdb_interface.c 2005-03-22 15:03:17 UTC (rev 5951)
@@ -48,7 +48,7 @@
static void pdb_force_pw_initialization(SAM_ACCOUNT *pass)
{
- const char *lm_pwd, *nt_pwd;
+ const uint8 *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 uint8 *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 uint8 *lm_pw, *nt_pw;
uint16 acb_flags;
if (!context) {
More information about the samba-cvs
mailing list