summaryrefslogtreecommitdiff
path: root/source3/utils/smbcontrol.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-07-07 23:57:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:52 -0500
commita5946cb46af25ef43d0d554a81f114b85a882190 (patch)
tree17056028ecd1cc3f094988daf09962046d2c7f5b /source3/utils/smbcontrol.c
parent1bea19c1273bdf934663afc0ba63c3873a2fa303 (diff)
downloadsamba-a5946cb46af25ef43d0d554a81f114b85a882190.tar.gz
samba-a5946cb46af25ef43d0d554a81f114b85a882190.tar.bz2
samba-a5946cb46af25ef43d0d554a81f114b85a882190.zip
r23750: Change the behaviour of net conf import when there is a global section
in the current registry and there is no global section in the input file (or only global options with default values): In that case the existing global section is now not touched. Before, it would have been deleted and recreated empty. The new behaviour is how other shares are treated too. Note that since the input file is parsed by lp_load, there is currently no way to distinguish between a section with only default parameters and a non-existing section in net conf import. Michael PS: A couple of trailing white-spaces have been eliminated and a line was broken to be not longer than 80 chars, too. (This used to be commit ec21a0cf9f01986d333b50b883f2105e32cf7fc9)
Diffstat (limited to 'source3/utils/smbcontrol.c')
0 files changed, 0 insertions, 0 deletions