Commit Graph

754 Commits

Author SHA1 Message Date
katagia e257ffcb5b made some fixes 2004-10-17 09:33:24 +00:00
katagia d8b02d37aa fixed password handling in sambaAccount module
changed error code handling
2004-10-16 19:51:36 +00:00
katagia b96fa3e32f added some information to module specification 2004-10-16 18:41:39 +00:00
Roland Gruber 9d3e4353d9 added basic upload functions 2004-10-16 14:28:06 +00:00
Roland Gruber 4ec2a4ef4f getshells() now returns an empty array if $_SESSION['lampath'] is not set 2004-10-16 13:58:08 +00:00
Roland Gruber 153da7bf86 fixed regex for email, added gecos 2004-10-16 11:30:08 +00:00
Roland Gruber 81c8bbd47d made "cn" first attribute for upload 2004-10-15 14:52:02 +00:00
Roland Gruber 9aac2700a4 check correctness of modules only once on load 2004-10-14 18:59:26 +00:00
Roland Gruber 5a49e69dc6 restricted domain search for upload to logged-in status 2004-10-14 14:11:36 +00:00
Roland Gruber 86bb6297c6 fixed including of module files 2004-10-14 14:09:44 +00:00
katagia 3216280f16 fixed smaller bus.
I hope password handling is now ok
2004-10-12 13:34:00 +00:00
Roland Gruber 5594631601 use "possible values" option in upload 2004-10-12 13:13:04 +00:00
Roland Gruber 49a50ec363 added upload code 2004-10-11 18:06:53 +00:00
katagia 08b99f008e fixed some little bugs.
Changed get_preg to avoid possible php bug
2004-10-11 12:20:27 +00:00
Roland Gruber 3e7773b38b fixed domain sorting and function_exists() calls 2004-10-10 18:08:19 +00:00
Roland Gruber a60e563431 added Samba group type to upload 2004-10-10 17:59:41 +00:00
Roland Gruber e161023278 removed optional required options in upload columns 2004-10-10 12:25:25 +00:00
Roland Gruber ff16dd9ed0 updated to new profile functions 2004-10-10 11:40:31 +00:00
Roland Gruber 5afddd33a9 updated to removed main module 2004-10-10 11:30:20 +00:00
katagia c5606519d1 fixed little bugs, mostly typos 2004-10-10 11:21:54 +00:00
Roland Gruber 96b3a08dc0 removed unneeded main module 2004-10-10 11:13:33 +00:00
katagia 799d9d1228 Added sambaGroupType as option 2004-10-09 14:15:56 +00:00
Roland Gruber 81aa810c0c added possibility to mark upload columns as containing unique entries 2004-10-09 11:09:53 +00:00
Roland Gruber e8a916a68b fixed error handling in upload code 2004-10-09 11:08:16 +00:00
Roland Gruber 6761f601c6 changed PHPDoc package 2004-10-09 11:04:20 +00:00
Roland Gruber 214d38571d fixed syntax error 2004-10-08 11:26:59 +00:00
Roland Gruber c811b1721c set language to English if not defined in session 2004-10-07 09:48:31 +00:00
Roland Gruber 6289fa7cc4 renamed profile management functions 2004-10-06 20:00:17 +00:00
Roland Gruber 921a0e1639 added getRDNAttributes() 2004-10-06 18:17:22 +00:00
Roland Gruber 81f7e5e847 improved error output for file upload 2004-10-03 18:06:57 +00:00
Roland Gruber 65dca8e09b added scope for config help entries, moved some Posix group entries to module 2004-10-02 18:45:11 +00:00
Roland Gruber 8b1fc57bea made pwdHash help entry more generic 2004-10-02 18:43:20 +00:00
Roland Gruber 4c30d35826 moved help entries to quota module 2004-10-02 17:41:42 +00:00
Roland Gruber dd5231ca9c modified default modules, added checks for module properties 2004-10-02 17:16:39 +00:00
Roland Gruber 68f0942727 moved cache creation from modules.inc to main.php 2004-10-02 16:40:02 +00:00
Roland Gruber c6d1ebc98d set character encoding in HTTP header 2004-10-02 12:06:03 +00:00
katagia c884687e1a removed utf8... code
Changes language files to utf-8
2004-10-01 12:13:16 +00:00
katagia 794b229a35 some fixes 2004-09-28 16:46:53 +00:00
katagia c58e2ba0ea fixed ne regexpr 2004-09-28 16:44:33 +00:00
katagia 174539d53f fixed problems. Sometimes Code was returned as unicode and not as local code 2004-09-28 16:42:12 +00:00
katagia 565a5a2c9e changed left menu.Don't use disabled buttons anymore 2004-09-28 15:41:16 +00:00
Roland Gruber 8ac15ce411 implemented account building for file uploads 2004-09-27 19:14:16 +00:00
Roland Gruber d4710f6141 fixed message loading 2004-09-27 19:12:22 +00:00
Roland Gruber eb8297385c fixed regex for user/group lists 2004-09-27 19:09:48 +00:00
Roland Gruber 7c49bb5aad added user/groupNameList 2004-09-27 16:51:17 +00:00
katagia 88d104d444 use dynamic_MEssage for dynamic info messages 2004-09-27 15:45:12 +00:00
Roland Gruber 5e771bff23 added regex checks and error messages to build_uploadAccounts() 2004-09-26 17:39:27 +00:00
Roland Gruber 2c991d9075 use preg-checks 2004-09-26 15:55:29 +00:00
Roland Gruber 61dffc68ac added preg-checks for profiles and config 2004-09-26 15:45:40 +00:00
Roland Gruber 941bd55d8f fixed config error messages 2004-09-26 14:56:34 +00:00
Roland Gruber 7373059701 changed messages 2004-09-26 14:51:18 +00:00
katagia 37da9db821 fixed two problems 2004-09-26 13:55:27 +00:00
katagia e53a3874cb added new get_preg function. Changed all modules to use get_reg
Changed Status Messages in Module. Thex are now all stored in a single array.
Changed Password handling in psoxGroup and posixAccount
2004-09-26 13:48:52 +00:00
katagia bbc8ef2b6d changed errrormessage to message 2004-09-26 13:37:54 +00:00
Roland Gruber 44a5799b90 updated help links 2004-09-26 11:18:05 +00:00
Roland Gruber 9db54170a1 updated help entries for posixGroup 2004-09-26 10:58:36 +00:00
Roland Gruber 66fa43498a phpdoc update 2004-09-26 08:46:56 +00:00
Roland Gruber 6c90cdc350 fixed password attribute for upload 2004-09-25 15:11:15 +00:00
Roland Gruber 1316556a7a added additional parameter checks 2004-09-25 13:38:56 +00:00
Roland Gruber d6c8b2ed78 load error messages in constructor 2004-09-25 10:13:32 +00:00
Roland Gruber 587e81be8f removed load_errormessages, must be implemented and called in submodules 2004-09-25 10:07:23 +00:00
Roland Gruber 9afa90dacc fixed loading of errormessages, moved config messages to errormessages 2004-09-25 10:02:56 +00:00
katagia 187f537a08 renamed get_ereg in get_preg function. Made get_preg work with non standard letters.
Fix password handling in posixGroup

function get_preg should wor fine now
2004-09-24 16:32:46 +00:00
katagia 21c929f642 added new regexpr function in account.inc 2004-09-23 11:30:20 +00:00
Roland Gruber afa8899ad3 fixed objectclass setting for upload 2004-09-21 18:32:44 +00:00
katagia a7146384fd fixed get_errorMessages in basemodule 2004-09-21 11:46:02 +00:00
katagia a4a0a2f255 changed function order in module.
First are all function variables, second constructor.
All other functions will follow in alphabetical order
2004-09-21 11:33:00 +00:00
katagia 9b4c88bcdf changed function order in module.
First are all function variables, second constructor.
All other functions will follow in alphabetical order
2004-09-21 11:14:22 +00:00
katagia 3755ef4bb8 added new error handling 2004-09-21 10:43:29 +00:00
katagia 0aa6874931 changed error message handling in posixGroup 2004-09-20 19:33:31 +00:00
katagia 25f5991ec0 improved modules 2004-09-20 18:25:18 +00:00
Roland Gruber 50c991fe48 modified buildUploadAccounts() 2004-09-19 16:04:37 +00:00
katagia bc73e501cc fixed problem by optimations yesterday 2004-09-19 09:50:31 +00:00
Roland Gruber 2ed32f3ca0 moved Samba 3 domain object to account.inc 2004-09-19 08:35:01 +00:00
Roland Gruber b9fe20574f documentation update 2004-09-19 08:34:14 +00:00
Roland Gruber a3af830659 start of building upload accounts 2004-09-19 08:33:37 +00:00
Roland Gruber 2ab987047e updated comments, changed build_uploadAccounts function 2004-09-19 08:28:03 +00:00
Roland Gruber aa8028235f next step for file upload - buildUploadAccounts partially implemented 2004-09-19 08:26:33 +00:00
katagia 8e3e173dac optimized code 2004-09-18 18:44:47 +00:00
Roland Gruber 275c3d4d5f moved password functions to account.inc 2004-09-16 17:25:42 +00:00
katagia a23f5ecc06 It should now be possible to modify groups and add sambaGroupMapping to an exsisting posixGroup 2004-09-15 19:52:29 +00:00
Roland Gruber a8ddb13545 fixed several minor problems after code analysis 2004-09-14 18:56:41 +00:00
katagia 3b47260d69 removed old code which isn't not needed anymore.
It's handled by accountContainer now
2004-09-14 13:09:13 +00:00
katagia b6bc73106c Made a lot of changes in modules.
Many reference problems are fixed now

Only posixGroup module is working at the Moment but the
other modules will be fixed very soon
2004-09-14 11:53:33 +00:00
katagia e9da9ef125 Searching for memory leak 2004-09-13 12:01:28 +00:00
Roland Gruber 7e9befcd6f substituted base->ldap/config with 'ldap'/'config' 2004-09-12 10:27:14 +00:00
duergner 73fa74620d help is now using an instance of the appropriate module and accesses help als meta information 2004-09-09 07:10:14 +00:00
Roland Gruber 6b5f602719 readded upload changes and $this->ldap/config removal 2004-09-08 19:30:18 +00:00
duergner 550c136063 changed help to use the accountContainer object in session 2004-09-08 18:26:00 +00:00
duergner 007949bba4 fixed a little bug; help was not displayed in an extra window; 2004-09-08 17:39:55 +00:00
duergner 554a085bcf help entries added; data is double in this->meta und in get_help() funktion 2004-09-08 17:39:06 +00:00
duergner 339f9317c3 little typo corrected 2004-09-08 14:43:38 +00:00
duergner b6dc8aad0e help added as this->meta info 2004-09-08 14:41:57 +00:00
duergner 61012f6572 PDF editor bug should be removed 2004-09-08 14:40:25 +00:00
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