summaryrefslogtreecommitdiff
path: root/packaging/Caldera/OpenLinux/convertsmbpasswd.perl
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2001-06-01 12:05:47 +0000
committerGerald Carter <jerry@samba.org>2001-06-01 12:05:47 +0000
commitc0ee3984b5968a94f604fdf625739f84b9116349 (patch)
tree03475f3112c539ed2e63de19ca7943fe83421cf5 /packaging/Caldera/OpenLinux/convertsmbpasswd.perl
parent3e3d75db700ddca5f1c008d8ffb9aa3e5cce6649 (diff)
downloadsamba-c0ee3984b5968a94f604fdf625739f84b9116349.tar.gz
samba-c0ee3984b5968a94f604fdf625739f84b9116349.tar.bz2
samba-c0ee3984b5968a94f604fdf625739f84b9116349.zip
beginning of merge with SAMBA_2_2
(This used to be commit 3daa174cba4b53f57dfb963e7facb60667113b48)
Diffstat (limited to 'packaging/Caldera/OpenLinux/convertsmbpasswd.perl')
-rwxr-xr-xpackaging/Caldera/OpenLinux/convertsmbpasswd.perl15
1 files changed, 0 insertions, 15 deletions
diff --git a/packaging/Caldera/OpenLinux/convertsmbpasswd.perl b/packaging/Caldera/OpenLinux/convertsmbpasswd.perl
deleted file mode 100755
index 6b83886cd4..0000000000
--- 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));
-}