diff options
author | John Terpstra <jht@samba.org> | 2001-04-16 18:03:06 +0000 |
---|---|---|
committer | John Terpstra <jht@samba.org> | 2001-04-16 18:03:06 +0000 |
commit | fe5947339d467d3dc866c0357a78c6f3a37d9609 (patch) | |
tree | 2bd787bf7981b5e31fb9695652e5b67ee1141c1e /packaging/Caldera | |
parent | fa3297f8ce388b1ade73719f8927f40c64629479 (diff) | |
download | samba-fe5947339d467d3dc866c0357a78c6f3a37d9609.tar.gz samba-fe5947339d467d3dc866c0357a78c6f3a37d9609.tar.xz samba-fe5947339d467d3dc866c0357a78c6f3a37d9609.zip |
Deprecated commands removal.
Diffstat (limited to 'packaging/Caldera')
-rwxr-xr-x | packaging/Caldera/OpenLinux/convertsmbpasswd.perl | 15 | ||||
-rwxr-xr-x | packaging/Caldera/OpenLinux/updatesmbpasswd.perl | 10 |
2 files changed, 0 insertions, 25 deletions
diff --git a/packaging/Caldera/OpenLinux/convertsmbpasswd.perl b/packaging/Caldera/OpenLinux/convertsmbpasswd.perl deleted file mode 100755 index 6b83886cd4d..00000000000 --- a/packaging/Caldera/OpenLinux/convertsmbpasswd.perl +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/perl -w -# -# Convert a Samba 1.9.18 smbpasswd file format into -# a Samba 2.0 smbpasswd file format. -# Read from stdin and write to stdout for simplicity. -# Set the last change time to the time of conversion. -while ( <> ) { - @V = split(/:/); - if ( ! /^\#/ ) { - $V[6] = $V[4] . "\n"; - $V[5] = sprintf( "LCT-%X", time()); - $V[4] = "[U ]"; - } - print( join( ':', @V)); -} diff --git a/packaging/Caldera/OpenLinux/updatesmbpasswd.perl b/packaging/Caldera/OpenLinux/updatesmbpasswd.perl deleted file mode 100755 index 60f572b4905..00000000000 --- a/packaging/Caldera/OpenLinux/updatesmbpasswd.perl +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/perl -w -while ( <> ) { - print; - @V = split(/:/); - $_ = $V[3]; - if ( $V[0] !~ /^\#/ && !(/^[0-9A-F]{32}$/ || /^X{32}$/ || /^\*{32}$/) ) { - $V[3] = "X" x 32; - } - print( join( ':', @V)); -} |