Commit Graph

911 Commits

Author SHA1 Message Date
Roland Gruber c8e46ff7ec better error handling at login 2003-12-03 23:03:10 +00:00
Roland Gruber acddfb773a updated to new $_SESSION['header'] 2003-11-29 12:54:00 +00:00
Roland Gruber e2f04d8850 fixed HTML errors, added some newlines in HTML output 2003-11-29 12:30:22 +00:00
Roland Gruber 68492670a2 fixed SMD5 passwords 2003-11-26 19:06:40 +00:00
Roland Gruber 806880435a small translation update 2003-11-26 18:57:46 +00:00
katagia 69313c13ca Removed possible buffer overrun in lamdaemon.pl
Allow - in streetname and title
2003-11-24 20:32:37 +00:00
katagia 9af780b94e removed bug in userworkstations 2003-11-18 08:06:46 +00:00
Roland Gruber 5261442687 updated to new smb_flags structure 2003-11-17 16:21:59 +00:00
katagia 8494a2f4ad Changes Samba Flags into an array and renamed $account->smb_password_no to $account->smb_flags['N'] 2003-11-17 16:02:23 +00:00
duergner fcbc27d24f *** empty log message *** 2003-11-17 15:57:08 +00:00
duergner 8c89b19a07 *** empty log message *** 2003-11-17 15:50:52 +00:00
duergner 969a19cba3 *** empty log message *** 2003-11-17 15:47:53 +00:00
duergner 4663c880a7 *** empty log message *** 2003-11-17 15:36:03 +00:00
katagia f4d68c3280 Display Samba-N flag when loading users. 2003-11-17 12:51:45 +00:00
katagia 7475827848 removed problem when setting samba-password to no.
Changed quota code to display grace period as whole number.
2003-11-17 12:46:22 +00:00
katagia 7aa3dae1e0 Fixed cache (memberUid)
fixed wrong SID for new groups
removed spaces from sambauserworkstations
2003-11-17 12:10:41 +00:00
Roland Gruber cb6c900276 save pdftext only if needed, changed error message if write failed 2003-11-16 09:20:31 +00:00
katagia 87751f5bb9 Only submit 5 user at once because stdin and stdout buffers in net::ssh::perl are too small 2003-11-15 11:37:15 +00:00
Roland Gruber 885ef93eaf added PDF text 2003-11-15 10:35:58 +00:00
katagia 543f0d4119 fixed bug in groupDN-cache
changed lamdaemon.pl to return stdout only once.
2003-11-13 19:56:10 +00:00
Roland Gruber d1541119ad better error messages if ldap_add() fails 2003-11-13 18:52:44 +00:00
katagia e00ffb4cc0 changed loaduser to use group-cache 2003-11-13 17:58:51 +00:00
katagia dddbcdb8ae changed lamdaemon to submit only 30 requests via
ssh. I had trouble with 600 requests at once
2003-11-13 15:33:17 +00:00
duergner 7c6f5efb4a *** empty log message *** 2003-11-13 14:27:44 +00:00
duergner 169004f9c2 *** empty log message *** 2003-11-12 20:33:06 +00:00
katagia 6e3f868372 fixed loaduser 2003-11-12 14:24:23 +00:00
katagia f8bb2f127b run search_domains only once in loaduser 2003-11-12 11:40:23 +00:00
katagia 6e87054468 searchfilter in loaduser is now limited to 1024 characters 2003-11-12 10:46:13 +00:00
katagia e9ad4e446a changed all lamdaemon.pl related functions
to support arrays and scalar variables

Changed loaduser to load multiple users at once
2003-11-12 10:30:52 +00:00
katagia b833b838a2 fixed problem with mobile telephonenumber 2003-11-12 08:08:15 +00:00
Roland Gruber 2a9600e431 moved suffix to the page end 2003-11-11 21:39:53 +00:00
katagia 8eb25220e4 changed smb_home to smb_smbhome 2003-11-11 11:03:13 +00:00
Roland Gruber 3e52f102f4 added functions to read/write PDF text 2003-11-10 18:36:10 +00:00
katagia efba9905d9 changed failure returnvalue of getquotas. 2003-11-10 15:49:12 +00:00
katagia dcc1afbbb9 fixed problem with quotas when not using proc_open 2003-11-10 14:24:17 +00:00
katagia 2e46c96335 improved quotas
fixed a possible problem: When chaning uidNumber quotas were lost.
2003-11-09 22:09:22 +00:00
Roland Gruber ff02918d44 updated to changed getquotas() function 2003-11-09 09:31:02 +00:00
Roland Gruber 80802d631b added quota to PDF,
fixed HTML errors
2003-11-08 20:26:28 +00:00
katagia 4337a1c795 changed getquotas to use account objects as input 2003-11-08 18:51:48 +00:00
Roland Gruber ab99775bc8 fixed deleting of usernames with spaces,
display quota in PDF
2003-11-08 16:07:40 +00:00
katagia aa96aa9d29 changed files to use new header 2003-11-08 12:52:22 +00:00
katagia c185e5d9aa fixed Problem. Quotas were displayed wrong for new users. 2003-11-08 12:44:26 +00:00
katagia 55e8c117ed changed code to communicate with lamdaemon.pl
to support < PHP 4.3
2003-11-08 12:29:23 +00:00
katagia 78145c6288 a 2003-11-08 11:32:52 +00:00
katagia 58a1b21207 added support for custom text in pdf-files
show error when creating user or host an no groups are existing
2003-11-08 11:24:20 +00:00
Roland Gruber 9ff6f56a3b added PDF text for users 2003-11-08 10:33:12 +00:00
Roland Gruber ac919a161e allow spaces in suffixes and ou's 2003-11-06 22:02:58 +00:00
Roland Gruber 5a735e1c5a create new domain only if necessary 2003-11-06 21:25:01 +00:00
Roland Gruber 81b6cd6107 removed tilos changes 2003-11-06 18:37:42 +00:00
katagia ec277c457e lamdaemon.pl should work now again. 2003-11-06 14:53:00 +00:00
katagia 2d98b6907e quotas in profiles should work now again
(need to make changes to test massupload)
2003-11-06 11:43:21 +00:00
katagia 004cd10cd4 medofied delete.php to call lamdaemon.pl max. 2 times
Changed Profile Files to support new quota interface
2003-11-06 11:08:28 +00:00
katagia e116aa0893 changed way of lamdaemon.pl how to transfer variables
Now ot's possible to set up quotas for
more than one user in one call
Not completly tested yet.

masscreate.php should use this new behavior which
should make creation of many users much faster.
2003-11-06 10:58:21 +00:00
Roland Gruber 752f584cee fixed bug when deleting profiles,
check if user is logged in before deletion
2003-11-05 19:53:51 +00:00
Roland Gruber 61848dc7d7 prevent new page directly after the groupname in group PDF 2003-11-05 18:11:15 +00:00
Roland Gruber 03b246e206 updated to beta1 2003-11-05 16:25:08 +00:00
katagia 4b078a5bc4 be less strict with usernames.
Allow capital letter but show warning.
2003-11-05 08:36:48 +00:00
katagia 3a8cd4ca1e use hidden password fields.
Added second password vield to check password.
2003-11-05 08:13:22 +00:00
katagia d3e20ac7b9 added support for custom text in pdf-files
added support for german pdf-files
2003-11-04 13:56:29 +00:00
Roland Gruber 66b654c602 added link if Samba domain is missing, too 2003-11-03 20:41:59 +00:00
Roland Gruber 8ddcc29855 fixed bug with identical missing suffixes,
create missing suffixes recursivly
2003-11-03 17:48:15 +00:00
katagia a032ba1e2c improved PDF-support
fixed bug: unix-host option wasn't showed.
allowed slashes '-' for telephone numbers
changed sur- and givenname to first- and lastname
changed order of first- and lastname for personal settings page
2003-11-03 16:33:16 +00:00
Roland Gruber ae9920bec0 delete PDF files which are older than 10 min 2003-11-03 14:32:27 +00:00
katagia cad6c58fa7 Fixed little bug. Displayed Final-Page although there are some
errors. Fixed.
2003-10-30 08:15:32 +00:00
duergner cd9e2e3aa6 *** empty log message *** 2003-10-29 19:24:01 +00:00
duergner 3d61732c8f *** empty log message *** 2003-10-29 19:20:00 +00:00
duergner a8d27ecbc9 *** empty log message *** 2003-10-29 19:19:00 +00:00
katagia 581311a8aa Removed 'lamurl'
Changed $_GET-variables to ?$var=true
2003-10-29 18:40:36 +00:00
Roland Gruber 4d263fb79c updated TODO 2003-10-28 20:39:11 +00:00
Roland Gruber d304a97521 completed german translation 2003-10-28 20:38:57 +00:00
Roland Gruber 35bf6395b8 fixed sorting of DNs 2003-10-28 19:32:10 +00:00
katagia 723c21b13a fixed several bugs.
Couldn't change groupname.
sambaSID wasn't always set.
2003-10-28 18:24:30 +00:00
katagia e73932ca33 lamdaemon.pl can now be used without quota support
Fixed problem when changing groupname
Fixed Problem with user-unix settings (weren't modified)
Improved performance when chaning DN-name
2003-10-28 11:23:06 +00:00
Roland Gruber b8bb8ebc83 edited profile help 2003-10-26 19:09:45 +00:00
Roland Gruber 48db51486e changed profile help 2003-10-26 18:19:31 +00:00
katagia c4fed11bfc fixed help text. 2003-10-26 14:54:19 +00:00
uid108615 c72729730c return false if profile name is invalid, fixed regular expressions for profile names 2003-10-23 19:31:17 +00:00
uid111856 40aa825088 Added error-message if no profile could be created 2003-10-23 19:20:53 +00:00
uid108615 487d2b3c84 fixed wrong title for groups 2003-10-23 18:55:13 +00:00
katagia c590e897d5 added test-function in landaemon.pl 2003-10-23 18:25:55 +00:00
Roland Gruber d0292f2cea translation update 2003-10-23 17:41:43 +00:00
katagia 7578b1bbf8 Removed half sentences in help.
Removed some debug-code
2003-10-23 11:30:33 +00:00
katagia 6bfc0fa071 *** empty log message *** 2003-10-23 11:12:04 +00:00
katagia e49648af93 Fixed small bug prevention to display next page 2003-10-22 17:51:44 +00:00
duergner a8faa1470f *** empty log message *** 2003-10-22 17:42:12 +00:00
katagia 1652cbd62a checked mass*.php and removed some bugs.
Sometimes I had some errors while creating users
Maybe I can reproduce this.
2003-10-22 13:57:32 +00:00
Roland Gruber 8eb39ade02 added meta-tags for cache control 2003-10-21 16:56:44 +00:00
katagia d8aeeb9886 checked useredit.php, groupedit.php and delete.php
Now I only need to check mass*.php
2003-10-21 15:36:12 +00:00
katagia 3f1a646797 checked account.inc, hostedit.php and groupedit.php
for bugs and added comments to make the code
more understandable
2003-10-21 13:40:13 +00:00
katagia 6cdcde26c0 Added a lot of comments in account.inc
and fixed little bugs.
2003-10-20 17:56:52 +00:00
katagia 21d6b5c5c6 added many comments and removed some smaller bugs 2003-10-19 17:06:16 +00:00
katagia 708dc678c7 added many comments and
fixed mayn errors
2003-10-19 17:04:49 +00:00
Roland Gruber 3bfd9d8ad2 translation update 2003-10-19 09:42:43 +00:00
duergner 2f64858361 MessageVariable set to optional 2003-10-19 09:28:15 +00:00
Roland Gruber 42bb1192e7 added group PDF, display attribute names bold and values normal 2003-10-18 17:23:07 +00:00
Roland Gruber 72e6f80c55 added PDF for groups 2003-10-18 17:04:45 +00:00
Roland Gruber 7d0548ebaa do not show errors on connect (removes Michael's change) 2003-10-18 16:45:15 +00:00
duergner 5e2127f65b *** empty log message *** 2003-10-18 11:28:57 +00:00
duergner 47e750db6e *** empty log message *** 2003-10-18 11:26:49 +00:00
Roland Gruber ea47bf0a16 updated file permissions 2003-10-18 07:42:29 +00:00
katagia 379a43252e fixed problem with ID generation. I hope it's working now
Fixed new problem with additaional groups
Added Group and Host PDF Support
2003-10-17 16:04:57 +00:00
katagia 2a192da7d3 added extra page 4 additional groups
removed selected groups/users/hosts from list
2003-10-17 09:30:13 +00:00
katagia 60ead57acc fixed many problems 2003-10-17 07:58:43 +00:00
Roland Gruber 5cb72a2314 added random number 2003-10-16 18:49:25 +00:00
Roland Gruber 5d3ab5976f added host PDFs 2003-10-15 18:48:06 +00:00
Roland Gruber 0b9658c891 small design change 2003-10-13 17:35:49 +00:00
Roland Gruber e63ce4891c added new attributes:
objectClasses: objectClass strings from LDAP server
supports_unix_hosts: true if schema allows hosts in inetOrgPerson
supports_samba2/3_schema: true if schema includes samba(Sam)Account
2003-10-12 17:07:03 +00:00
Roland Gruber 88239dec21 updated comments 2003-10-11 17:20:00 +00:00
Roland Gruber 824db1daf3 added some comments 2003-10-11 15:43:47 +00:00
Roland Gruber a57406488b print LDAP error if add failed 2003-10-11 15:23:08 +00:00
Roland Gruber c535a42f27 added comments, removed double checks, removed session related bug 2003-10-11 12:17:28 +00:00
Roland Gruber 9e8d184b66 fixed setting for Samba account expiration and added deactivation 2003-10-09 15:37:44 +00:00
Roland Gruber cb6d51c0c1 fixed default user profile 2003-10-09 15:35:25 +00:00
Roland Gruber e9302d205b updated TODO 2003-10-09 12:30:17 +00:00
katagia 04075098f3 added some text to help (username)
Removed html-tags from text
2003-10-07 18:39:44 +00:00
katagia af872d4fea fixed a new problem; could not create any user
When creating new group all settings 4 memberUid were ignored. Fixed
2003-10-07 17:52:51 +00:00
Roland Gruber 01893985c3 changed default attributes to show in lists, better error handling for list settings 2003-10-06 15:59:49 +00:00
Roland Gruber 87eed44285 added links for mhash/mcrypt 2003-10-06 12:42:34 +00:00
Roland Gruber 105f119efa added plain text passwords, fixed empty passwords 2003-10-05 10:51:01 +00:00
katagia bba0d4b01b added support for different encryption types 2003-10-05 10:38:31 +00:00
katagia e75a2edc87 run lamdaemon.pl only if really needed. 2003-10-04 18:44:18 +00:00
Roland Gruber 3b5cab97f3 check for existing SID/name if creating a new domain 2003-10-04 17:14:14 +00:00
Roland Gruber 28149b0e5d added hashes and PDF 2003-10-04 15:08:36 +00:00
Roland Gruber 09b6c47a81 added functions to hash passwords 2003-10-04 13:26:37 +00:00
Roland Gruber a3a7cf56f5 added password hash setting 2003-10-04 12:34:19 +00:00
Roland Gruber 9bbec43dfa some security documentation 2003-10-02 18:15:42 +00:00
Roland Gruber 462ac62c86 use /dev/random for IV+KEY if possible 2003-10-02 17:54:04 +00:00
katagia 0516036e15 removed old account.php
delte.phh gets now accounts via session
quotas are now dosplayed in pdf if quota page wasn't viewed.
2003-10-02 14:10:31 +00:00
Roland Gruber ac7475584e save accounts marked for deletion in session 2003-10-01 20:44:40 +00:00
Roland Gruber a782e5b4c8 added check for filters; replaced select all image 2003-10-01 15:16:37 +00:00
Roland Gruber 3ef2a2ac4b update design for deleting domains 2003-10-01 15:02:41 +00:00
Roland Gruber 7a20393b5e chmod config files to 0600 2003-10-01 15:01:29 +00:00
katagia 89dfd1410a *** empty log message *** 2003-10-01 14:59:23 +00:00
katagia d8fc45f830 added session info
changed redirector.
Fixed little bug which causes to display unix-accounts always disabled
delte loads users from session, not from $_GET anymore
2003-10-01 12:14:04 +00:00
Roland Gruber 5005f6039e fixed HTML error 2003-09-30 19:08:13 +00:00
Roland Gruber 2bc70df334 fixed buggy config saving 2003-09-30 18:42:14 +00:00
Roland Gruber 012d80f7a3 changed names of session variables to prefix "conf_", fixed bug that prevented to change the password 2003-09-30 17:49:11 +00:00
Roland Gruber 94a721e9b3 list of used session variables 2003-09-30 14:49:20 +00:00
katagia 91f07edc31 fixed possible problem when register_globals = yes 2003-09-29 16:20:30 +00:00
Roland Gruber 8f2ff3f0c4 center checkboxes 2003-09-29 15:20:27 +00:00
Roland Gruber f536ed45ee fixed checking of logon script 2003-09-29 12:49:48 +00:00
Roland Gruber 6cf236e9bd do not allow empty quota fields 2003-09-29 12:00:38 +00:00
katagia 9b382bdfe8 fixed little problem when changing profilepath and scriptpath
fixed little bug which an change user passwords randomly
users in groupedit and hosts in useredit are now sorted
2003-09-29 10:54:44 +00:00
Roland Gruber 49f9083190 disable directory listing 2003-09-28 17:47:51 +00:00
katagia 5f7164c7c8 Added missing code 4 PDFs 2003-09-28 16:41:00 +00:00
katagia fd15b03eb1 removed debug code 2003-09-28 16:39:22 +00:00
katagia 6551b9519c PDFs should work now with Internet Explorer and Konqueror 2003-09-28 16:38:54 +00:00
katagia 248737d10d upload should now work.
Added some help
Fixed wrong Warn-message when creating new hosts
2003-09-28 16:00:13 +00:00
Roland Gruber 59cbe4d416 fixed SID loading for hosts 2003-09-28 13:46:49 +00:00
Roland Gruber 1537d24e93 fixed SID loading 2003-09-28 13:45:57 +00:00