The Samba-Bugzilla – Attachment 1096 Details for
Bug 2524
passdb/pdb_nds.c: "int *" incompatible with "size_t *"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
change "int *" to "size_t *" in pdb_nds_get_passwd() argument
bug.patch (text/plain), 770 bytes, created by
Jason Mader (mail bounces back)
on 2005-03-23 10:54:29 UTC
(
hide
)
Description:
change "int *" to "size_t *" in pdb_nds_get_passwd() argument
Filename:
MIME Type:
Creator:
Jason Mader (mail bounces back)
Created:
2005-03-23 10:54:29 UTC
Size:
770 bytes
patch
obsolete
>Index: passdb/pdb_nds.c >=================================================================== >--- passdb/pdb_nds.c (revision 5995) >+++ passdb/pdb_nds.c (working copy) >@@ -663,7 +663,7 @@ > int pdb_nds_get_password( > struct smbldap_state *ldap_state, > char *object_dn, >- int *pwd_len, >+ size_t *pwd_len, > char *pwd ) > { > LDAP *ld = ldap_state->ldap_struct; >@@ -793,8 +793,8 @@ > > DEBUG(3, ("pdb_nds_update_login_attempts: username %s found dn '%s'\n", username, dn)); > >- pwd_len = sizeof(clear_text_pw); > if (success == True) { >+ pwd_len = sizeof(clear_text_pw); > if (pdb_nds_get_password(ldap_state->smbldap_state, dn, &pwd_len, clear_text_pw) == LDAP_SUCCESS) { > /* Got clear text password. Use simple ldap bind */ > got_clear_text_pw = True;
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 2524
:
1090
| 1096