diff options
author | Michael Adam <obnox@samba.org> | 2009-02-06 10:42:11 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-02-06 11:05:50 +0100 |
commit | 55f2cb18adf4bed0e6770bc33278ef6bf0c64e17 (patch) | |
tree | 79a7b1625e8e90d4e72f24de36abbabb2ead7436 /source3/utils | |
parent | 3accf9e80f52d4beba8fd4988d17e563e4e70325 (diff) | |
download | samba-55f2cb18adf4bed0e6770bc33278ef6bf0c64e17.tar.gz samba-55f2cb18adf4bed0e6770bc33278ef6bf0c64e17.tar.bz2 samba-55f2cb18adf4bed0e6770bc33278ef6bf0c64e17.zip |
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
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_conf.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c index 31e87ca804..0c2cd24fb2 100644 --- a/source3/utils/net_conf.c +++ b/source3/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"); |