[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-613-ga50c2d1

Jeremy Allison jra at samba.org
Thu Dec 13 02:07:46 GMT 2007


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

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


- Log -----------------------------------------------------------------
commit a50c2d159c754c6ff88649ed859f2b3f9c24f6a1
Author: Jeremy Allison <jra at samba.org>
Date:   Wed Dec 12 18:07:02 2007 -0800

    Only add the non-root escape on !developer.
    Jeremy.

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

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


Changeset truncated at 500 lines:

diff --git a/source/utils/smbpasswd.c b/source/utils/smbpasswd.c
index 17eb43c..a60d605 100644
--- a/source/utils/smbpasswd.c
+++ b/source/utils/smbpasswd.c
@@ -94,7 +94,7 @@ 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 !defined(DEVELOPER)
 			if (getuid() != 0) {
 				fprintf(stderr, "smbpasswd -L can only be used by root.\n");
 				exit(1);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list