mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
param: fix testparm to show hidden share defaults
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10864 Change-Id: I16710f70a3cbaeadf7adf139441dd2b017ef81ee Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Garming Sam <garming@samba.org> Autobuild-Date(master): Fri Nov 28 07:54:54 CET 2014 on sn-devel-104
This commit is contained in:
parent
f9acb949cc
commit
907094c7fa
@ -2073,10 +2073,11 @@ void lpcfg_dump_a_service(struct loadparm_service * pService, struct loadparm_se
|
|||||||
(i == 0 || (parm_table[i].offset != parm_table[i - 1].offset)))
|
(i == 0 || (parm_table[i].offset != parm_table[i - 1].offset)))
|
||||||
{
|
{
|
||||||
if (pService == sDefault) {
|
if (pService == sDefault) {
|
||||||
|
if (!show_defaults) {
|
||||||
if (flags && (flags[i] & FLAG_DEFAULT)) {
|
if (flags && (flags[i] & FLAG_DEFAULT)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (!show_defaults) {
|
|
||||||
if (is_default(sDefault, i)) {
|
if (is_default(sDefault, i)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user