[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-612-g1bb5ce8

Jeremy Allison jra at samba.org
Thu Dec 13 01:57:06 GMT 2007


The branch, v3-2-test has been updated
       via  1bb5ce824f800d967e2a92e946dd6ce7c4580b93 (commit)
      from  0723760ba47a465d2ff5a22a680f1b5196eca7d8 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 1bb5ce824f800d967e2a92e946dd6ce7c4580b93
Author: Jeremy Allison <jra at samba.org>
Date:   Wed Dec 12 17:56:28 2007 -0800

    Fix the buildfarm until I figure out how to allow
    smbpasswd -L for non-root on the buildfarm only.
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source/utils/smbpasswd.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/utils/smbpasswd.c b/source/utils/smbpasswd.c
index deed08f..17eb43c 100644
--- a/source/utils/smbpasswd.c
+++ b/source/utils/smbpasswd.c
@@ -94,10 +94,12 @@ static int process_options(int argc, char **argv, int local_flags)
 	while ((ch = getopt(argc, argv, "c:axdehminjr:sw:R:D:U:LW")) != EOF) {
 		switch(ch) {
 		case 'L':
+#if 0
 			if (getuid() != 0) {
 				fprintf(stderr, "smbpasswd -L can only be used by root.\n");
 				exit(1);
 			}
+#endif
 			local_flags |= LOCAL_AM_ROOT;
 			break;
 		case 'c':


-- 
Samba Shared Repository


More information about the samba-cvs mailing list