git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3af16e4
)
werror: replace WERR_BADFILE with WERR_FILE_NOT_FOUND in source3/services/svc_winreg_...
author
Günther Deschner
<gd@samba.org>
Thu, 3 Dec 2015 14:24:11 +0000
(15:24 +0100)
committer
Jeremy Allison
<jra@samba.org>
Tue, 27 Sep 2016 22:04:17 +0000
(
00:04
+0200)
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/services/svc_winreg_glue.c
patch
|
blob
|
history
diff --git
a/source3/services/svc_winreg_glue.c
b/source3/services/svc_winreg_glue.c
index 8a0d619416be9fe7ad2ce1f308f58b1fe33c6cd2..8e8fa21edc7f222e0233524b183050e21c8c5cc3 100644
(file)
--- a/
source3/services/svc_winreg_glue.c
+++ b/
source3/services/svc_winreg_glue.c
@@
-127,7
+127,7
@@
struct security_descriptor *svcctl_get_secdesc(TALLOC_CTX *mem_ctx,
"%s\n", nt_errstr(status)));
return NULL;
}
- if (W_ERROR_EQUAL(result, WERR_
BADFILE
)) {
+ if (W_ERROR_EQUAL(result, WERR_
FILE_NOT_FOUND
)) {
goto fallback_to_default_sd;
} else if (!W_ERROR_IS_OK(result)) {
DEBUG(2, ("svcctl_get_secdesc: error getting value 'Security': "