From 23bd59cb22abc321b9d682235ccdadd78dce63b3 Mon Sep 17 00:00:00 2001 From: duergner Date: Thu, 21 Aug 2003 15:28:15 +0000 Subject: [PATCH] *** empty log message *** --- lam/tests/lib-pdf-test.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lam/tests/lib-pdf-test.php b/lam/tests/lib-pdf-test.php index 6d28a938..a3a1f6ee 100644 --- a/lam/tests/lib-pdf-test.php +++ b/lam/tests/lib-pdf-test.php @@ -27,6 +27,7 @@ include_once("../lib/pdf.inc"); $accounts = array(); $account = new Account(); +$account->type = "user"; $account->general_username = "mamu1"; $account->general_uidnumber = "501"; $account->general_surname = "Mustermann"; @@ -36,9 +37,11 @@ $account->general_groupadd = array("tg2","tg3"); $account->general_homedir = "/home/m/mamu1"; $account->general_shell = array("/bin/bash","/bin/sh"); $account->unix_password = "secret1"; -$account->unix_password_no = "0"; +$account->unix_password_no = "1"; +$account->smb_password_no = "1"; array_push($accounts,$account); $account = new Account(); +$account->type = "user"; $account->general_username = "mamu1"; $account->general_uidnumber = "501"; $account->general_surname = "Mustermann"; @@ -46,11 +49,13 @@ $account->general_givenname = "Max"; $account->general_group = "tg1"; $account->general_groupadd = array("tg2","tg3"); $account->general_homedir = "/home/m/mamu1"; -$account->general_shell = array("/bin/bash","/bin/sh"); +$account->general_shell = array("/bin/bash"); $account->unix_password = "secret1"; $account->unix_password_no = "0"; +$account->smb_useunixpwd = "1"; array_push($accounts,$account); $account = new Account(); +$account->type = "user"; $account->general_username = "mamu1"; $account->general_uidnumber = "501"; $account->general_surname = "Mustermann"; @@ -61,6 +66,7 @@ $account->general_homedir = "/home/m/mamu1"; $account->general_shell = array("/bin/bash","/bin/sh"); $account->unix_password = "secret1"; $account->unix_password_no = "0"; +$account->smb_useunixpwd = "0"; array_push($accounts,$account); createUserPDF($accounts);