- Timestamp:
- 10/05/12 13:39:18 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r406 r408 2588 2588 return ('FAIL', "Missing one or more required entries") if !defined($state); 2589 2589 return ('FAIL', "Username must not be blank") if !$username; 2590 2591 # Munge in some alternate state values 2592 $state = 1 if $state =~ /^active$/; 2593 $state = 1 if $state =~ /^on$/; 2594 $state = 0 if $state =~ /^inactive$/; 2595 $state = 0 if $state =~ /^off$/; 2590 2596 2591 2597 my $type = shift || 'u'; # create limited users by default - fwiw, not sure yet how this will interact with ACLs
Note:
See TracChangeset
for help on using the changeset viewer.