Ignore:
Timestamp:
Mar 12, 2008, 9:08:18 AM (17 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.28a

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/utils/smbpasswd.c

    r30 r124  
    9797                switch(ch) {
    9898                case 'L':
     99#if !defined(DEVELOPER)
     100                        if (getuid() != 0) {
     101                                fprintf(stderr, "smbpasswd -L can only be used by root.\n");
     102                                exit(1);
     103                        }
     104#endif
    99105                        local_flags |= LOCAL_AM_ROOT;
    100106                        break;
Note: See TracChangeset for help on using the changeset viewer.