Add libnet_conf API function libnet_smbconf_create_share().
authorMichael Adam <obnox@samba.org>
Thu, 3 Jan 2008 10:30:14 +0000 (11:30 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 3 Jan 2008 10:30:14 +0000 (11:30 +0100)
commitfd597c7e6d1b5d89c75dd24f2b62916ec81a67ae
tree9df3a6f4b4cc1b291f529aca6597d89ae908573f
parent40079c4eb47b590a88ac8d568a5d5f039bc02af6
Add libnet_conf API function libnet_smbconf_create_share().

And make libnet_smbconf_setparm() return error if the share
does not already exist. Adapt net_conf_addshare to this new
situation.

Michael
(This used to be commit de349bd26db3341815f6d8f6c18a5ca1fd664dca)
source3/libnet/libnet_conf.c
source3/utils/net_conf.c