The Samba-Bugzilla – Attachment 926 Details for
Bug 2093
passdb/pdb_ldap.c: several signed/unsigned incompatible types
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fixes several incompatible types in pdb_ldap.c
bug2093.patch (text/plain), 1.19 KB, created by
Jason Mader (mail bounces back)
on 2005-01-30 12:02:48 UTC
(
hide
)
Description:
fixes several incompatible types in pdb_ldap.c
Filename:
MIME Type:
Creator:
Jason Mader (mail bounces back)
Created:
2005-01-30 12:02:48 UTC
Size:
1.19 KB
patch
obsolete
>--- passdb/pdb_ldap.c Fri Jan 21 15:29:12 2005 >+++ ../../mod-samba-3.0.11rc1/source/passdb/pdb_ldap.c Sun Jan 30 14:01:13 2005 >@@ -475,7 +475,7 @@ > uint8 hours[MAX_HOURS_LEN]; > pstring temp; > LOGIN_CACHE *cache_entry = NULL; >- int pwHistLen; >+ unsigned int pwHistLen; > pstring tmpstring; > > /* >@@ -1070,7 +1070,7 @@ > } > > if (need_update(sampass, PDB_PWHISTORY)) { >- int pwHistLen = 0; >+ unsigned int pwHistLen = 0; > account_policy_get(AP_PASSWORD_HISTORY, &pwHistLen); > if (pwHistLen == 0) { > /* Remove any password history from the LDAP store. */ >@@ -1077,7 +1077,7 @@ > memset(temp, '0', 64); /* NOTE !!!! '0' *NOT '\0' */ > temp[64] = '\0'; > } else { >- int i, currHistLen = 0; >+ int i; unsigned int currHistLen = 0; > const uint8 *pwhist = pdb_get_pw_history(sampass, &currHistLen); > if (pwhist != NULL) { > /* We can only store (sizeof(pstring)-1)/64 password history entries. */ >@@ -1106,7 +1106,7 @@ > } > > if (need_update(sampass, PDB_HOURS)) { >- const char *hours = pdb_get_hours(sampass); >+ const unsigned char *hours = pdb_get_hours(sampass); > if (hours) { > pdb_sethexhours(temp, hours); > smbldap_make_mod(ldap_state->smbldap_state->ldap_struct,
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 2093
:
926
|
1043