The branch, v3-3-test has been updated via e513360db3f2cc6ff1865ec08fc243dd6346e18e (commit) from 38ea92a4c1cb0e8c52ccff9b77bb59070030d10c (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log ----------------------------------------------------------------- commit e513360db3f2cc6ff1865ec08fc243dd6346e18e Author: Michael Adam <ob...@samba.org> Date: Fri Feb 6 10:42:11 2009 +0100 s3:net conf: remove check for sharename being a usernam in "net conf addshare" This is useless and can be overriden by "net conf setparm" anyways. Michael ----------------------------------------------------------------------- Summary of changes: source/utils/net_conf.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) Changeset truncated at 500 lines: diff --git a/source/utils/net_conf.c b/source/utils/net_conf.c index ab1b0f3..3d542fc 100644 --- a/source/utils/net_conf.c +++ b/source/utils/net_conf.c @@ -576,12 +576,6 @@ static int net_conf_addshare(struct net_context *c, goto done; } - if (getpwnam(sharename)) { - d_fprintf(stderr, "ERROR: share name %s is already a valid " - "system user name.\n", sharename); - goto done; - } - if (strequal(sharename, GLOBAL_NAME)) { d_fprintf(stderr, "ERROR: 'global' is not a valid share name.\n"); -- Samba Shared Repository