From 6032ec8a0172b9197ed1422e39ba4790d8df83f8 Mon Sep 17 00:00:00 2001 From: John Terpstra Date: Mon, 13 Oct 1997 12:13:11 +0000 Subject: JHT ==> Removed linefeed that caused problems. (This used to be commit 534b4c6d371eff6fdbcbcf5fafa3b79d3116b544) --- source3/smbadduser | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source3/smbadduser b/source3/smbadduser index 789cc927eb..e4e1b273d1 100755 --- a/source3/smbadduser +++ b/source3/smbadduser @@ -55,8 +55,7 @@ foreach one ($argv) echo "Adding: $unix to $smbpasswd" eval $passwd | \ awk -F: '$1==USR { \ - printf( "%s:%s:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:%s:%s:%s\n", -$1, $3, $5, $6, $7) }' USR=$unix >> $smbpasswd + printf( "%s:%s:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:%s:%s:%s\n", $1, $3, $5, $6, $7) }' USR=$unix >> $smbpasswd if ($unix != $ntid) then echo "Adding: {$unix = $ntid} to $user_map" echo "$unix = $ntid" >> $user_map @@ -71,4 +70,4 @@ foreach one ($new) echo $line echo "ENTER password for $one" smbpasswd $one -end \ No newline at end of file +end -- cgit