Rename libnet_smbconf_create_share() to libnet_conf_create_share().
authorMichael Adam <obnox@samba.org>
Thu, 3 Jan 2008 12:55:43 +0000 (13:55 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 3 Jan 2008 13:17:49 +0000 (14:17 +0100)
Michael
(This used to be commit 6bc4ee210855dbfbee9e86b59e90b08ecb3a9df9)

source3/libnet/libnet_conf.c
source3/utils/net_conf.c

index cf11a42329f9c558615a25ce38914a253dba2ce8..be45e30d50d9a3cbbbcb667aa2186895b451325f 100644 (file)
@@ -612,7 +612,7 @@ bool libnet_conf_share_exists(const char *servicename)
 /**
  * Add a service if it does not already exist.
  */
-WERROR libnet_smbconf_create_share(const char *servicename)
+WERROR libnet_conf_create_share(const char *servicename)
 {
        WERROR werr;
        TALLOC_CTX *mem_ctx = talloc_stackframe();
index be1447f182ec1cb19e26d551f67d4dd788deb376..c080da2d9187ee3ae1e79b8fe4d3b317f41eb762 100644 (file)
@@ -631,7 +631,7 @@ static int net_conf_addshare(int argc, const char **argv)
         * create the share
         */
 
-       werr = libnet_smbconf_create_share(sharename);
+       werr = libnet_conf_create_share(sharename);
        if (!W_ERROR_IS_OK(werr)) {
                d_fprintf(stderr, "Error creating share %s: %s\n",
                          sharename, dos_errstr(werr));