inherit the share name from the command line if it is not
specified. This allows you to just specify the servers in the unclist,
and connect to the same share on all servers.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@22616
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
if (p && *p) {
*sharename = talloc_strdup(mem_ctx, p);
terminate_path_at_separator(*sharename);
+ } else {
+ *sharename = talloc_strdup(mem_ctx,
+ lp_parm_string(-1, "torture", "share"));
}
if (*hostname && *sharename) {