loadparm: fixed service list handling
authorAndrew Tridgell <tridge@samba.org>
Tue, 6 Dec 2011 00:30:24 +0000 (11:30 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 15 Dec 2011 22:36:22 +0000 (23:36 +0100)
commit77a551d613059fd2df0fbfbd86f206c2b59e91a7
tree7998030e024b5417034f8067558e55f7e20bca6c
parentfae42c1f41435bf087c23d384cd6147dd9f7f4ef
loadparm: fixed service list handling

when you have:

  server services = +smb -s3fs

and 'smb' is already in the list, then this should not be an
error. This ensures that a config that specifically sets the services
it wants doesn't generate an error if the service list being set
happens to be the default
lib/param/loadparm.c