summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-07-31 18:15:39 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-07-31 18:15:39 +0200
commitdf270cd796afe3f2b051db742b9094acf16502d9 (patch)
tree675fc5b173b519a802b4f20ac5f8bfbb315f6b73 /source4/rpc_server
parent8110cf57aa2709ec6476e6952965f302a5c16997 (diff)
downloadsamba-df270cd796afe3f2b051db742b9094acf16502d9.tar.gz
samba-df270cd796afe3f2b051db742b9094acf16502d9.tar.bz2
samba-df270cd796afe3f2b051db742b9094acf16502d9.zip
s4: Correct renamed constants
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/netlogon/dcerpc_netlogon.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c
index 2095bf6fa5..30c7ccda55 100644
--- a/source4/rpc_server/netlogon/dcerpc_netlogon.c
+++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c
@@ -860,13 +860,13 @@ static WERROR dcesrv_netr_GetDcName(struct dcesrv_call_state *dce_call, TALLOC_C
dce_call->conn->dce_ctx->lp_ctx,
dce_call->conn->auth_state.session_info);
if (sam_ctx == NULL) {
- return WERR_DS_SERVICE_UNAVAILABLE;
+ return WERR_DS_UNAVAILABLE;
}
domain_dn = samdb_domain_to_dn(sam_ctx, mem_ctx,
r->in.domainname);
if (domain_dn == NULL) {
- return WERR_DS_SERVICE_UNAVAILABLE;
+ return WERR_DS_UNAVAILABLE;
}
ret = gendb_search_dn(sam_ctx, mem_ctx,
@@ -1245,7 +1245,7 @@ static WERROR dcesrv_netr_DsRGetDCNameEx2(struct dcesrv_call_state *dce_call, TA
sam_ctx = samdb_connect(mem_ctx, dce_call->event_ctx, dce_call->conn->dce_ctx->lp_ctx, dce_call->conn->auth_state.session_info);
if (sam_ctx == NULL) {
- return WERR_DS_SERVICE_UNAVAILABLE;
+ return WERR_DS_UNAVAILABLE;
}
/* Win7-beta will send the domain name in the form the user typed, so we have to cope
@@ -1257,7 +1257,7 @@ static WERROR dcesrv_netr_DsRGetDCNameEx2(struct dcesrv_call_state *dce_call, TA
domain_dn = ldb_get_default_basedn(sam_ctx);
if (domain_dn == NULL) {
- return WERR_DS_SERVICE_UNAVAILABLE;
+ return WERR_DS_UNAVAILABLE;
}
ret = gendb_search_dn(sam_ctx, mem_ctx,