The Samba-Bugzilla – Attachment 1675 Details for
Bug 3391
Login with correct uid but faulty password results in 30 sec delay
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
make sure we have the right access rights to query account policy settings
bug3391.patch (text/plain), 696 bytes, created by
Gerald (Jerry) Carter (dead mail address)
on 2006-01-12 11:50:03 UTC
(
hide
)
Description:
make sure we have the right access rights to query account policy settings
Filename:
MIME Type:
Creator:
Gerald (Jerry) Carter (dead mail address)
Created:
2006-01-12 11:50:03 UTC
Size:
696 bytes
patch
obsolete
>Index: passdb/passdb.c >=================================================================== >--- passdb/passdb.c (revision 12869) >+++ passdb/passdb.c (working copy) >@@ -2400,13 +2400,16 @@ > { > uint32 account_policy_lockout; > BOOL autolock_updated = False, badpw_updated = False; >+ BOOL ret; > > if (!sampass) > return False; > > /* Retrieve the account lockout policy */ >- if (!pdb_get_account_policy(AP_BAD_ATTEMPT_LOCKOUT, >- &account_policy_lockout)) { >+ become_root(); >+ ret = pdb_get_account_policy(AP_BAD_ATTEMPT_LOCKOUT, &account_policy_lockout); >+ unbecome_root(); >+ if ( !ret ) > DEBUG(0, ("pdb_increment_bad_password_count: pdb_get_account_policy failed.\n")); > return False; > }
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 3391
:
1659
| 1675