[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-3432-gfe456e4
Michael Adam
obnox at samba.org
Fri Feb 6 11:29:43 GMT 2009
The branch, v3-2-test has been updated
via fe456e4bf8db272d1d6e99b4c1714894af17190b (commit)
from 6c9b13a4c2bfa17793d0f575f53d815afe8a8682 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit fe456e4bf8db272d1d6e99b4c1714894af17190b
Author: Michael Adam <obnox at 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 08a06ea..6639b85 100644
--- a/source/utils/net_conf.c
+++ b/source/utils/net_conf.c
@@ -549,12 +549,6 @@ static int net_conf_addshare(struct smbconf_ctx *conf_ctx,
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
More information about the samba-cvs
mailing list