git.samba.org
/
metze
/
samba
/
wb-ndr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r26627: param: Provide a call for loading the system smb.conf.
[metze/samba/wb-ndr.git]
/
source
/
param
/
loadparm.c
diff --git
a/source/param/loadparm.c
b/source/param/loadparm.c
index 51d4beb0ae994b77302c1150dafb239c0b199eda..66bb44dc3cbdfa14c78cec60d316c56d61763599 100644
(file)
--- a/
source/param/loadparm.c
+++ b/
source/param/loadparm.c
@@
-2421,6
+2421,11
@@
const char *lp_configfile(struct loadparm_context *lp_ctx)
return lp_ctx->szConfigFile;
}
+bool lp_load_default(struct loadparm_context *lp_ctx)
+{
+ return lp_load(lp_ctx, dyn_CONFIGFILE);
+}
+
/**
* Load the services array from the services file.
*