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);