r10045: metze reminded me to use the correct enum entry, rather than 0 for the
authorAndrew Bartlett <abartlet@samba.org>
Tue, 6 Sep 2005 00:34:22 +0000 (00:34 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:36:32 +0000 (13:36 -0500)
return here.

Andrew Bartlett
(This used to be commit 73bd6c75343808952d97e32be9f624aba11c78d1)

source4/rpc_server/drsuapi/drsuapi_cracknames.c

index 8d2224631691f70148d062ba215e48337dc7db5b..866faf49b94688518450ddb02427f142ec82df34 100644 (file)
@@ -105,7 +105,7 @@ static enum drsuapi_DsNameStatus LDB_lookup_spn_alias(krb5_context context, stru
                        }
                        if (strcasecmp(str, alias_from) == 0) {
                                *alias_to = mapping;
-                               return 0;
+                               return DRSUAPI_DS_NAME_STATUS_OK;
                        }
                } while (p);
        }