[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-28-24-geaaf5c7

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


The branch, v3-0-test has been updated
       via  eaaf5c7ad00a821d1c4c2fb17295d8d51809707e (commit)
      from  e7e5a7c613b73ca5832d18ccd1c2660d012c7b13 (commit)

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


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

    Only add the non-root escape on !developer.
    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 d4cacfb..ef4e20b 100644
--- a/source/utils/smbpasswd.c
+++ b/source/utils/smbpasswd.c
@@ -96,10 +96,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 !defined(DEVELOPER)
 			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