summaryrefslogtreecommitdiffstats
path: root/source4/rpc_server/drsuapi
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-09-06 00:34:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:36:32 -0500
commit1da54ac07caa320892558a6d8e6960a2f669f3a4 (patch)
tree5497bd869a0450488995bc30b67ebb2b710d547b /source4/rpc_server/drsuapi
parent9b8b2bb094f7f23bf097b9d6337ac715628c2ab3 (diff)
downloadsamba-1da54ac07caa320892558a6d8e6960a2f669f3a4.tar.gz
samba-1da54ac07caa320892558a6d8e6960a2f669f3a4.tar.xz
samba-1da54ac07caa320892558a6d8e6960a2f669f3a4.zip
r10045: metze reminded me to use the correct enum entry, rather than 0 for the
return here. Andrew Bartlett (This used to be commit 73bd6c75343808952d97e32be9f624aba11c78d1)
Diffstat (limited to 'source4/rpc_server/drsuapi')
-rw-r--r--source4/rpc_server/drsuapi/drsuapi_cracknames.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/drsuapi/drsuapi_cracknames.c b/source4/rpc_server/drsuapi/drsuapi_cracknames.c
index 8d222463169..866faf49b94 100644
--- a/source4/rpc_server/drsuapi/drsuapi_cracknames.c
+++ b/source4/rpc_server/drsuapi/drsuapi_cracknames.c
@@ -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);
}