diff options
Diffstat (limited to 'source4/script/updatesmbpasswd.sh')
-rw-r--r-- | source4/script/updatesmbpasswd.sh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/source4/script/updatesmbpasswd.sh b/source4/script/updatesmbpasswd.sh deleted file mode 100644 index 1d7e0d7332..0000000000 --- a/source4/script/updatesmbpasswd.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -nawk 'BEGIN {FS=":"} -{ - if( $0 ~ "^#" ) { - print $0 - } else if( (length($4) == 32) && (($4 ~ "^[0-9A-F]*$") || ($4 ~ "^[X]*$") || ( $4 ~ "^[*]*$"))) { - print $0 - } else { - printf( "%s:%s:%s:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:", $1, $2, $3); - for(i = 4; i <= NF; i++) - printf("%s:", $i) - printf("\n") - } -}' |