Commit Graph

660 Commits

Author SHA1 Message Date
duergner fe4947e491 <br> tags removed 2004-09-08 14:39:47 +00:00
duergner 2f12aba6d3 get_help added. Help uses this->meta in most cases. 2004-09-08 14:38:55 +00:00
katagia 9127486894 it's no possible again to create a group. But something strange is going on when trying to edit a group 2004-09-08 10:58:56 +00:00
katagia 7feba33196 try to get it work 2004-09-08 10:07:25 +00:00
katagia f92b77b64f removed main-Module 2004-09-07 17:58:58 +00:00
Roland Gruber 0cb64e5f7b moved var $base to baseModule, added init() to baseModule, removed several checks from modules init() function 2004-09-01 20:53:06 +00:00
Roland Gruber 1ea3ab8ca1 added ldap.inc to includes, removed $ldap variable from accountContainer which is always 'ldap' 2004-09-01 20:48:29 +00:00
Roland Gruber 4b51087239 added/updated get_uploadColumns() 2004-08-28 11:53:40 +00:00
Roland Gruber 0c77b21df2 added first interface for file upload 2004-08-23 20:01:40 +00:00
Roland Gruber 10d873cee4 changed regex for admin list 2004-08-18 19:20:29 +00:00
Roland Gruber 47d7a19b3c fixed syntax error 2004-08-18 18:54:56 +00:00
duergner 28184982b9 PHPDoc coments added; refactored some things by using the meta array; 2004-08-17 15:16:17 +00:00
Roland Gruber a9bb380ccf removed syntax check for LDAP suffixes 2004-08-14 12:39:36 +00:00
katagia cfa62e9c83 added taborder in modules 2004-08-11 11:08:56 +00:00
duergner e69e7f0045 new PDF support added; tested should work; 2004-08-03 19:07:31 +00:00
Roland Gruber c986660195 moved password hash type setting to modules 2004-08-03 18:49:19 +00:00
Roland Gruber 0a75fe91a0 moved min/maxUID settings for users and hosts to posixAccount module 2004-08-01 09:39:24 +00:00
Roland Gruber 8786dea1c3 minor changes: fixed comment and translation 2004-08-01 09:37:21 +00:00
Roland Gruber 8c6b75e5a5 moved min/maxGID to module settings 2004-07-26 15:15:30 +00:00
Roland Gruber 3959293d09 implemented configuration options for modules 2004-07-24 17:14:39 +00:00
Roland Gruber aa052ebf10 fixed saving of new settings 2004-07-24 11:50:44 +00:00
Roland Gruber 650b694488 get/set_configSettings with array values 2004-07-24 09:26:44 +00:00
Roland Gruber cf5cc2f519 added dynamic settings for modules 2004-07-18 10:18:25 +00:00
duergner ee5619ba08 PDF improved; some things still open; should work now; 2004-07-16 06:33:37 +00:00
Roland Gruber c420e1e201 added integer comparison for profile options 2004-07-13 14:51:28 +00:00
Roland Gruber 6556bdbf0f fixed PHPDoc comments 2004-07-07 18:40:12 +00:00
Roland Gruber d1b3894a1c added profile check 2004-07-05 19:45:19 +00:00
Roland Gruber 1db70cca45 fixed regex checks 2004-07-05 19:41:53 +00:00
Roland Gruber 4d5ce3bf80 added profile check 2004-07-04 15:18:53 +00:00
Roland Gruber 21150d31dd removed checkProfileOptions() because drop down boxes need no extra checks 2004-07-04 10:27:58 +00:00
Roland Gruber 22b568bcd2 added profile checks,
changed some regular expressions
2004-07-03 16:12:51 +00:00
Roland Gruber 6b73cc11c6 checkProfileOptions: skip regex check for empty fields 2004-07-03 16:11:13 +00:00
Roland Gruber 61fcd6b69d added profile check 2004-07-02 18:01:44 +00:00
Roland Gruber 7d1b25a3e7 added syntax check for profiles 2004-07-02 16:09:44 +00:00
Roland Gruber d8b7f6ddad fixed mail error message 2004-07-02 16:01:17 +00:00
Roland Gruber ef40c88292 removed profile functions 2004-07-02 12:22:01 +00:00
Roland Gruber 2c2a9a20f1 added comments,
changed regular expressions
2004-07-02 12:09:06 +00:00
Roland Gruber c92674a95a removed $scope from profile functions,
added meta data for profile options and checks
2004-07-01 15:54:33 +00:00
Roland Gruber a7862e4dab moved suffix option from main module to profile page 2004-06-27 18:07:43 +00:00
Roland Gruber df8aa61bcd separated regex's and error messages (preparation for profile check) 2004-06-24 09:51:12 +00:00
Roland Gruber 393cb5e6ce added profile options 2004-06-23 19:10:22 +00:00
Roland Gruber ea7788e11b use functions from account.inc for password hashes 2004-06-22 13:36:38 +00:00
Roland Gruber 45e1686157 added functions to generate LM/NT password hashes 2004-06-22 13:05:19 +00:00
Roland Gruber fb0c424d88 documentation update 2004-06-20 19:23:04 +00:00
Roland Gruber 1da244e2b3 moved dependencies to meta data 2004-06-20 17:32:02 +00:00
Roland Gruber 6ce5f9d1d3 moved get_alias() to baseModule 2004-06-14 16:05:36 +00:00
Roland Gruber 94c117a770 moved can_manage() to baseModule 2004-06-13 19:58:58 +00:00
Roland Gruber 44e3cfce7c added meta data for get_ldap_filter() 2004-06-11 15:44:49 +00:00
Roland Gruber 212c5c4f5f moved printing of table header to lists.inc 2004-06-11 11:01:56 +00:00
Roland Gruber c8da0fee22 documentation update 2004-06-10 19:01:18 +00:00
Roland Gruber d97b91e1cb documentation update 2004-06-10 11:40:17 +00:00
Roland Gruber 500da61d0f changed aliases 2004-06-10 10:21:51 +00:00
Roland Gruber c26001c37d all modules now extend the baseModule,
implemented meta data for is_base_module()
2004-06-08 18:54:37 +00:00
Roland Gruber 8a6f8c3f64 initial checkin 2004-06-08 18:39:53 +00:00
Roland Gruber 29753a127e changed the LDAP filter syntax for base modules,
fixed dependency information,
only include files in lib/modules which end with ".inc"
2004-06-04 11:28:22 +00:00
duergner f6e01592a7 new pdf support nearly completed; dropdown boxes added in lists to choose which profile to use; 2004-06-03 14:26:48 +00:00
Roland Gruber 5f31cbef1a removed user PDF text 2004-06-03 10:50:01 +00:00
Roland Gruber 1a61d3a7dd removed get_samba3() call 2004-06-02 13:20:19 +00:00
Roland Gruber e59b6f6418 moved atrribute descriptions to lists.inc 2004-06-01 13:00:09 +00:00
Roland Gruber c74404ec29 moved draw_navigation_bar to lists.inc 2004-06-01 11:32:00 +00:00
Roland Gruber 4bbeabf249 moved cmp_array to lists.inc 2004-05-31 20:10:36 +00:00
Roland Gruber 8e926d3a47 documentation update 2004-05-31 17:58:27 +00:00
Roland Gruber dc7ffcc5a6 documentation update 2004-05-31 14:04:00 +00:00
duergner 1a1c369401 things improved since last version:
- add static text
- move up/down section/static text
- save pdf structure
things todo:
- implement correct getAvailablePDFFields functions
- add error checking and reporting
2004-05-31 12:19:42 +00:00
duergner 058a516e8b directories where also offered as pdf structure files. 2004-05-30 13:52:42 +00:00
duergner c1735aecc6 added getPDFEntries in sambaSamAccount;
first step of pdf structure editor implementet; there is no functionallity at this point. Just a litte bit of graphic.
2004-05-30 13:43:42 +00:00
Roland Gruber e1f04d8543 remvoved Samba 3 setting,
changed some comments for PHPDoc
2004-05-30 12:16:01 +00:00
duergner 4eda1e4044 modules pdf ready (except sambaSamAccount); direkt pdf output is disabled for debug reasons at the moment. 2004-05-29 19:20:28 +00:00
duergner cb5c71b23a corrected some last bugs 2004-05-28 09:43:17 +00:00
duergner 789e3ea7ff everythins should be fixed now and work 2004-05-27 19:07:50 +00:00
duergner 8f68551944 account type is fetched before pdf is instantiated 2004-05-27 18:13:16 +00:00
duergner 5076243977 infinite loop removed 2004-05-27 18:06:19 +00:00
duergner 1b017e09ad spelling error 2004-05-27 17:46:11 +00:00
duergner d699ee133b corrected some little bugs with pdf creation 2004-05-27 17:42:19 +00:00
Roland Gruber 08177ee6c4 fixed path problems 2004-05-26 16:47:45 +00:00
duergner e9b6dfc519 dummy implemenation of get_pdfEntries added for each module class;account,inetOrgPerson and posixAccount partially implemented 2004-05-24 21:39:57 +00:00
Roland Gruber dad40a8a14 fixed syntax error 2004-05-23 15:51:21 +00:00
duergner 3a27f1591f changed parameter for get_pdftext function 2004-05-23 15:25:14 +00:00
duergner c4443310a3 new PDF function. not completed at the moment 2004-05-23 15:23:00 +00:00
Roland Gruber 75a77db5b2 fixed TLS error handling 2004-05-23 08:16:38 +00:00
Roland Gruber 9ad4115248 added DN to profile options 2004-04-17 14:10:32 +00:00
Roland Gruber d9ecf3bd45 fixed problems with empty values 2004-04-17 14:09:05 +00:00
Roland Gruber 2cf5aeea93 updated profile options 2004-04-11 13:07:24 +00:00
Roland Gruber 1508049bbf added profile options 2004-04-10 15:23:45 +00:00
Roland Gruber f2fd75f743 fixed bug in disabled password hashes 2004-04-09 10:21:43 +00:00
Roland Gruber d9ccfdba5e fixed profile options 2004-04-04 14:52:54 +00:00
Roland Gruber e79483ca02 implemented profile options for user accounts 2004-04-04 13:48:21 +00:00
Roland Gruber f4186db721 included account.inc 2004-04-04 13:45:59 +00:00
Roland Gruber cc0fe1d949 create cache in accountContainer if needed 2004-04-04 13:03:30 +00:00
Roland Gruber a32c4a106b made get_profileOptions() non-static 2004-04-03 14:47:33 +00:00
Roland Gruber f988f4726d removed disturbing tab at end of file 2004-04-03 14:45:26 +00:00
Roland Gruber 81bd355bb0 removed error messages that are also generated by profilecreate.php 2004-03-17 11:27:59 +00:00
duergner 62f394d10a *** empty log message *** 2004-03-15 16:30:52 +00:00
Roland Gruber 6592b0911c updated checkProfileOptions 2004-03-14 17:35:22 +00:00
Roland Gruber e2c1420e25 added check_profileOptions() dummy 2004-03-14 17:33:05 +00:00
Roland Gruber 03d4b4ecf4 added dummy getProfileOptions() functions 2004-03-09 12:03:39 +00:00
Roland Gruber 47534ed53a fixed problem when MessageVariables were no array 2004-03-09 10:07:10 +00:00
Roland Gruber b78fe9c363 replaced eval() 2004-03-08 14:35:10 +00:00
Roland Gruber b8f5597679 attributes are no longer seperated by modules,
attributes are returned as arrays
2004-03-06 19:59:32 +00:00
Roland Gruber 0902c105ef changed getProfileOptions 2004-03-06 19:15:40 +00:00
Roland Gruber 915a39a85f use can_manage() functions to generate module lists 2004-03-02 19:58:17 +00:00
Roland Gruber 6522fa596b added can_manage functions 2004-03-02 19:54:31 +00:00
Roland Gruber 8e61180fa4 updated LGPL notice 2004-02-25 17:01:27 +00:00
Roland Gruber e653105d86 updated to new version with changed license 2004-02-23 22:30:00 +00:00
Roland Gruber 290f5454aa added $scope to is_base_module,
added get_ldap_filter
2004-02-23 16:56:53 +00:00
Roland Gruber 27e5f9a911 added get_ldap_filter 2004-02-23 16:55:51 +00:00
Roland Gruber 95fdb7b1a5 added $scope to get_alias 2004-02-23 15:59:56 +00:00
Roland Gruber bb844b5c60 added is_base_module() 2004-02-21 17:35:16 +00:00
Roland Gruber b27e550dde added $scope to getModuleAlias,
added dependency/conflict checks
2004-02-21 17:25:18 +00:00
Roland Gruber e5457d2df9 updated licence information 2004-02-21 13:47:54 +00:00
Roland Gruber c1fbe22ee9 fixed problem with disabled Unix passwords 2004-02-21 13:26:52 +00:00
Roland Gruber cdeb2db535 removed unneeded makefont utility 2004-02-14 11:39:34 +00:00
katagia 1b7c0d261f chnaged return array of getProfileOptions. Use Module names as array-index.
Removed error-message when creating a new account.
2004-02-13 09:48:14 +00:00
Roland Gruber bc94fb6563 save module name for each option 2004-02-12 15:58:04 +00:00
katagia a95afff139 changed function in accountContainer -> need to change all modules 2004-02-12 12:09:41 +00:00
katagia dbb605816a Modules are now loaded from config.
Unfortunalty it's not yet possible to define modules in config.
2004-02-12 11:26:30 +00:00
Roland Gruber bf42eaa53c fixed problems with non-available modules in profile 2004-02-10 22:04:18 +00:00
Roland Gruber 456d9e4def updated to new getAvailableModules function 2004-02-10 20:52:01 +00:00
katagia 3fa676ee73 fixed little problem with new php-page.
Forgot to change pst target
2004-02-10 20:18:00 +00:00
katagia 01bfb82e0f Modules are now included in modules.inc
Changed edit-Page to single page
2004-02-10 19:59:41 +00:00
katagia 88333091e3 Made some basic checks in modules main inetOrgPerson posixAccount sambaAccout. 2004-02-09 20:15:43 +00:00
katagia e6206bdcaa fixed many little problems in modules. Too many to count.
Added a new function to all modules
2004-02-09 18:11:01 +00:00
katagia 65de996633 checked new functions in modules.inc 2004-02-08 15:57:55 +00:00
katagia c18d50e720 moved cache functions in new file
fixed little type in modules.inc
2004-02-08 12:09:12 +00:00
katagia dc1ee0a191 fixed little typo 2004-02-08 12:06:23 +00:00
katagia 0af2227974 made changes 4 profiles and config 2004-02-07 18:34:26 +00:00
katagia 87edb86047 upload changes 2004-02-07 11:55:40 +00:00
Roland Gruber 1aa6f8de59 added module selection 2004-02-01 12:33:21 +00:00
Roland Gruber 282fc8c1fc fixed return values of module dependencies 2004-01-31 10:35:34 +00:00
Roland Gruber 9180e779dd first part of module functions 2004-01-30 17:06:28 +00:00
Roland Gruber 1bb21836bd initial checkin, first part of specification with dummy functions 2004-01-30 10:26:04 +00:00
katagia 45c3b80d46 added support for profile in account_container.
With the new functions it should be possible to create
2004-01-29 20:11:05 +00:00
katagia fb1e38e2c1 *** empty log message *** 2004-01-28 14:05:22 +00:00
katagia 2dcbda5ecb added support for profile, config and help in modules 2004-01-27 19:07:31 +00:00
Roland Gruber bcb60e5dea made host management optional 2004-01-27 18:05:35 +00:00
Roland Gruber 7d2c706bf4 profiles are now loaded/saved as hash arrays 2004-01-26 15:29:56 +00:00
katagia 8a01905ad5 initial support for pseudo html. 2004-01-18 12:52:52 +00:00
Roland Gruber 09b18eda53 removed "user information" 2004-01-15 16:19:10 +00:00
katagia 4fd84f73fe *** empty log message *** 2004-01-14 20:33:25 +00:00
katagia 57807ab71c *** empty log message *** 2004-01-10 11:47:48 +00:00
Roland Gruber 9fd6df2f03 Blowfish update 2004-01-10 11:08:10 +00:00
Roland Gruber 7e53c7d291 Blowfish algorithm to replace MCrypt 2004-01-08 21:32:27 +00:00
Roland Gruber d34468e787 syntax of list attributes is now less strict 2004-01-05 17:23:49 +00:00
Roland Gruber 2ba947e01d changed password hash functions, MHash is no longer needed if PHP >4.3 2004-01-03 18:19:21 +00:00
katagia 193ae2c571 fixed internal problem with references 2003-12-30 17:09:15 +00:00
katagia ff1ceeac80 improved support for config of modules 2003-12-30 15:36:30 +00:00
katagia af1239bcec reinsert account class 2003-12-29 14:12:11 +00:00
katagia 0bde012f49 improved new modules 2003-12-29 14:07:06 +00:00
katagia 689101b658 *** empty log message *** 2003-12-27 11:23:02 +00:00
katagia 62d35c207a Added new modules and improve ols modules 2003-12-27 11:21:00 +00:00
katagia 2304216169 improved new modules
Added support for hosts.
2003-12-21 14:52:23 +00:00
katagia 5a6962ba40 Added samba-Modules and initial support for lamdaemon.pl 2003-12-20 21:42:52 +00:00
katagia 2162935f53 improved modules.
It's nearly possible to create and modify users
2003-12-20 19:24:01 +00:00
katagia 5782108a0f Removed little bug when moving groups to another dn. It has worked but an error has shown.
Improved new module design.
It's now possible to create and modify users if they're only using inetOrgPerson and posixAccount.
2003-12-19 12:45:23 +00:00
katagia e9cdb7d16a inetOrgPerson and posixAccount version should be near finish.
Design may be improved.

A small part of module-handling should work now.
2003-12-15 15:11:44 +00:00
katagia 480cfccf88 fixed problem with new groups.
Additional groupmembers did not work
for new groups.
2003-12-15 08:48:25 +00:00
katagia e7a122d45a Finished first module 2003-12-12 18:21:15 +00:00
katagia ff524e3f23 fixed problem with new modules and ldap objectclasses.
SUP-Classes weren't included in attribute list.
2003-12-12 11:52:52 +00:00
katagia b2e93fe95f fixed two bugs in new classes 2003-12-12 10:15:36 +00:00
katagia 610930d018 added new classes for new modules 2003-12-12 00:53:10 +00:00
katagia 8532d6088e first try of module
very very buggy
2003-12-12 00:52:35 +00:00
katagia 68a6a2d3e2 added two new objects in account.inc for new modules 2003-12-12 00:51:23 +00:00
Roland Gruber 767e1c088c fixed problem with multiplpe ldap objects in session 2003-12-10 12:00:05 +00:00
katagia 8bc9ea6e85 added new posixAccount module. Not yet usable.
It's only a disgn snapshot.
2003-12-09 18:42:50 +00:00
katagia 794548226e fixed problems with PrimaryGroupSID.
SId sin't calculatd anymore.
It's loaded from the group.
2003-12-06 14:22:54 +00:00
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
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
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
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 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
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
katagia 4337a1c795 changed getquotas to use account objects as input 2003-11-08 18:51:48 +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