summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-08-29 04:38:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:34:54 -0500
commitefcba52ae5b5ff0e709da56a64eeb3621c7ebe51 (patch)
tree870a7562ec945a0298495c099d56e9bef10fb0b5 /source4
parent24186a80eb4887b5fb3e72e4b877b456cbe8e35f (diff)
downloadsamba-efcba52ae5b5ff0e709da56a64eeb3621c7ebe51.tar.gz
samba-efcba52ae5b5ff0e709da56a64eeb3621c7ebe51.tar.bz2
samba-efcba52ae5b5ff0e709da56a64eeb3621c7ebe51.zip
r9731: Fix typo
(This used to be commit e4492951e56d89a2b805f644d83d4bd4be31a6b0)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/credentials.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/credentials.c b/source4/lib/credentials.c
index 69e237428c..579f199d2e 100644
--- a/source4/lib/credentials.c
+++ b/source4/lib/credentials.c
@@ -126,7 +126,7 @@ BOOL cli_credentials_set_principal(struct cli_credentials *cred, const char *val
BOOL cli_credentials_authentication_requested(struct cli_credentials *cred)
{
- if (cred->principal_obtained == CRED_SPECIFIED) {
+ if (cred->principal_obtained >= CRED_SPECIFIED) {
return True;
}
if (cred->username_obtained >= CRED_SPECIFIED) {