r9731: Fix typo
authorAndrew Bartlett <abartlet@samba.org>
Mon, 29 Aug 2005 04:38:37 +0000 (04:38 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:34:54 +0000 (13:34 -0500)
(This used to be commit e4492951e56d89a2b805f644d83d4bd4be31a6b0)

source4/lib/credentials.c

index 69e237428cf30b22eac5ee57e0d187cebb539d2d..579f199d2e3ab3f5d4e3783091c346147e379fa5 100644 (file)
@@ -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) {