git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64ab71d
)
[s3]libsmbconf: return WERR_BADFILE when no path to text backend is provided.
author
Michael Adam
<obnox@samba.org>
Thu, 23 Oct 2008 14:05:19 +0000
(16:05 +0200)
committer
Michael Adam
<obnox@samba.org>
Mon, 27 Oct 2008 12:02:39 +0000
(13:02 +0100)
Michael
source3/lib/smbconf/smbconf_txt.c
patch
|
blob
|
history
diff --git
a/source3/lib/smbconf/smbconf_txt.c
b/source3/lib/smbconf/smbconf_txt.c
index 7661c0dceb718e56db3a8de02b27cbc0be45ea4a..d932705e7d104ed281a351d374a1bfb42d39290a 100644
(file)
--- a/
source3/lib/smbconf/smbconf_txt.c
+++ b/
source3/lib/smbconf/smbconf_txt.c
@@
-221,7
+221,7
@@
static WERROR smbconf_txt_load_file(struct smbconf_ctx *ctx)
static WERROR smbconf_txt_init(struct smbconf_ctx *ctx, const char *path)
{
if (path == NULL) {
-
path = get_dyn_CONFIGFILE()
;
+
return WERR_BADFILE
;
}
ctx->path = talloc_strdup(ctx, path);
if (ctx->path == NULL) {