Commit Graph

645 Commits

Author SHA1 Message Date
Roland Gruber 9bbd2c4f63 swapped lamdaemon server and path 2004-01-02 13:23:31 +00:00
Roland Gruber 6e4a5cb157 fixed wrong title 2004-01-02 12:42:46 +00:00
katagia ff1ceeac80 improved support for config of modules 2003-12-30 15:36:30 +00:00
katagia 62d35c207a Added new modules and improve ols modules 2003-12-27 11:21:00 +00:00
Roland Gruber 58021e0cef better error messages 2003-12-27 10:27:38 +00:00
Roland Gruber 18a918c6e7 language of default profile was always selected, fixed 2003-12-27 10:26:42 +00:00
katagia 2304216169 improved new modules
Added support for hosts.
2003-12-21 14:52:23 +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 47eb7deb1d *** empty log message *** 2003-12-12 18:45:58 +00:00
katagia 6b9089eb85 *** empty log message *** 2003-12-12 17:53:20 +00:00
katagia d3c09f2801 changes some warning. 2003-12-12 17:48:01 +00:00
Roland Gruber 444d87e954 changed error message 2003-12-12 15:42:21 +00:00
katagia 3fc4f2917e *** empty log message *** 2003-12-12 11:53:19 +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
Roland Gruber eccd242399 fixed missing translation 2003-12-10 12:43:26 +00:00
katagia ce22421028 changes some text.
Fixed bug with samba 2.2
Added first module, posixAccount. Not yet useable.
2003-12-09 18:40:43 +00:00
Roland Gruber 913e961ad5 fixed bug with invalid hostnames 2003-12-06 13:40:01 +00:00
Roland Gruber 458d8c5b31 removed lamurl 2003-12-03 23:20:42 +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
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 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
Roland Gruber 885ef93eaf added PDF text 2003-11-15 10:35:58 +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 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
Roland Gruber 2a9600e431 moved suffix to the page end 2003-11-11 21:39:53 +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 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 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
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
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
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
katagia cad6c58fa7 Fixed little bug. Displayed Final-Page although there are some
errors. Fixed.
2003-10-30 08:15:32 +00:00
katagia 581311a8aa Removed 'lamurl'
Changed $_GET-variables to ?$var=true
2003-10-29 18:40:36 +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
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
katagia c590e897d5 added test-function in landaemon.pl 2003-10-23 18:25:55 +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
Roland Gruber 72e6f80c55 added PDF for groups 2003-10-18 17:04:45 +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
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 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 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
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 105f119efa added plain text passwords, fixed empty passwords 2003-10-05 10:51:01 +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 a3a7cf56f5 added password hash setting 2003-10-04 12:34:19 +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
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 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
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
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 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 9e407116db added "select all" for groups, fixed problems with count entries 2003-09-28 13:35:21 +00:00
katagia 37e8bbb095 Quotas and profiles should work now
fixed little typo in index.html
still working at upload ....
2003-09-28 13:30:31 +00:00
Roland Gruber b1b4458c03 added "select all" link 2003-09-28 12:46:23 +00:00
Roland Gruber 9fac30304d added select all link; fixed some HTML errors 2003-09-28 10:45:14 +00:00
duergner f3c10eb9eb SESSION['lamurl'] and SESSION['lampath'] added 2003-09-26 14:38:12 +00:00
Roland Gruber a062e8e44f fixes for GID translation: show GID if name has not been found, resort table by names if GID is selected for sorting 2003-09-25 07:01:20 +00:00
katagia b300372178 check for existing entried with same uid or cn didn only
work if the other uids (cns) were in same OU. Fixed.
Homedirs weren't deleted. Fixed.
Display some info to change gid of files if primary group has
changed.
Display undo only if editing entries
Fixed "Reset Password" Button 4 hosts. Don't jump to general page anymore.
2003-09-24 20:58:34 +00:00
Roland Gruber acae184c92 improved design 2003-09-24 20:28:23 +00:00
Roland Gruber 81148af18d fixed problems with old session data if search failed 2003-09-23 15:35:48 +00:00
katagia 513371d29f changed surname and givenname in useredit.php 2003-09-23 10:26:18 +00:00
Roland Gruber e8f1b333c6 added help for config management 2003-09-22 19:18:16 +00:00
duergner 0c983dae86 *** empty log message *** 2003-09-21 20:29:19 +00:00
katagia ea46b5705d fixed links in useredit.php to help 2003-09-21 20:15:36 +00:00
duergner 87e46c6f16 *** empty log message *** 2003-09-21 20:08:36 +00:00
duergner 206d1a85ff *** empty log message *** 2003-09-21 20:07:15 +00:00
duergner 556843c58e get_Admins() instead of Admins[] 2003-09-21 20:03:40 +00:00
Roland Gruber 3487236dac fixed missing ":" 2003-09-21 18:55:57 +00:00
Roland Gruber 42115b0ba4 changed layout 2003-09-21 18:53:43 +00:00
Roland Gruber 8675e6a9cb added group profiles 2003-09-20 17:02:21 +00:00
Roland Gruber c7830ae357 fixed domain setting 2003-09-20 16:57:53 +00:00
katagia d0a0ae0b3c fixed some smaller issues with profiles
Loading a profile had overwritten all changes on first
page.
Added better workstaions dialogue
2003-09-20 10:15:24 +00:00
Roland Gruber 469bba9499 added quota settings for users 2003-09-20 08:04:38 +00:00
katagia 1011546425 upload should be work again.
There's still a small bug in autogernerating usernames
2003-09-20 07:59:19 +00:00
Roland Gruber 814b549791 do not read suffixes directly 2003-09-19 19:46:35 +00:00
Roland Gruber fcb6f1473b renamed cache_timeout to cachetimeout for config update 2003-09-19 19:29:02 +00:00
Roland Gruber f629cbcbfd fixed search filter; show all posixAccount users 2003-09-19 12:30:58 +00:00
katagia a421bb8e30 quota fix 4 users 2003-09-19 12:21:57 +00:00
katagia e14de2e72c fixed some quota issues. Group quotas should be working now 2003-09-19 10:03:00 +00:00
katagia 35ff466d26 checked useredit.php
fixed many many samba issues.
samba 2.2 functions not checked all yet.
2003-09-18 13:54:02 +00:00
Roland Gruber 9cbf79ceac show Unix-only accounts 2003-09-17 17:57:16 +00:00
Roland Gruber a27f12d828 removed members link 2003-09-17 17:30:46 +00:00
Roland Gruber fc746dfdce members are now managed by groupedit.php 2003-09-17 17:28:56 +00:00
katagia 42d3041ae7 checked all hostedit.php and removed serveral errors
and improved code a little bit.
converting sambaAccount <--> sambaSamAccount
should work now but it's not tested
2003-09-17 16:57:01 +00:00
katagia 6b9aa444de Fixed some issues when converting nonsamba group.
Added missing help entries.
Checked compatbility with samba 2.2 schemas.
2003-09-17 12:20:38 +00:00
katagia b96f1d14aa *** empty log message *** 2003-09-16 16:51:17 +00:00
katagia 4ee588794a *** empty log message *** 2003-09-16 16:49:35 +00:00
katagia 8c7de8abbb fixed problem when sid was not set and gid has been changed 2003-09-16 16:47:18 +00:00
katagia 29f1acf96f fixed wrong sid if gid has changed 2003-09-16 16:37:51 +00:00
Roland Gruber e207d03bd0 CSS: fixed userlist, added domedit 2003-09-16 16:34:15 +00:00
katagia e1302797e8 added sambaGroupType to modify if sambaGRoupMap object wasn'T set 2003-09-16 16:14:43 +00:00
katagia f6614eff5a groups should be fully working now.
I hope everything is working again after a lot
of changes.
2003-09-16 15:20:48 +00:00
katagia 775aa6cf0d fixed many things ralated to groups like wrong SIDs 2003-09-16 12:44:28 +00:00
katagia f5c8c62355 smaller design fixes 2003-09-15 16:54:44 +00:00
Roland Gruber 833f30a4da updated to new account page 2003-09-15 16:29:57 +00:00
Roland Gruber c334ffbaac added is_samba3() function 2003-09-15 16:24:44 +00:00
katagia f2b5b809b2 added separate useredit.php page 2003-09-15 16:22:04 +00:00
Roland Gruber ad2cb0d103 sort entries, convert UTF-8 2003-09-15 15:37:07 +00:00
katagia 6c0c5b85fa Added some colors 2003-09-12 16:50:55 +00:00
Roland Gruber 4dfb3ac11b create PDF for all found users 2003-09-12 13:37:30 +00:00
katagia 9b972a9ba9 smal fix 2003-09-12 13:31:11 +00:00
katagia e179967151 smaler link fixes 2003-09-12 13:00:44 +00:00
Roland Gruber 2c12b0a671 updated to new account files 2003-09-12 12:45:50 +00:00
katagia 560bb77d22 *** empty log message *** 2003-09-12 12:45:33 +00:00
katagia caaeed3a4c *** empty log message *** 2003-09-12 12:44:30 +00:00
katagia a026c9977d changed start condition 2003-09-12 12:41:56 +00:00
katagia fa1adc143a improved design 2003-09-12 11:56:50 +00:00
katagia e264652d53 Added separate hosts page 2003-09-12 11:27:57 +00:00
katagia fd6f511e7a fixed smaller bugs realted to new design f groupedit.php 2003-09-12 07:16:23 +00:00
katagia 2cb8eb5487 changed design 2003-09-11 19:12:13 +00:00
katagia a8f2a82e53 First try to separate account.php 2003-09-11 16:55:57 +00:00
duergner ccd628da9c *** empty log message *** 2003-09-10 19:10:13 +00:00
Roland Gruber 4783527a2e seperated "edit" and "members" 2003-09-09 20:28:57 +00:00
Roland Gruber 2e90e6f915 translation update 2003-09-07 10:15:35 +00:00
duergner acaa9b38eb problems with short php opening tag fixed 2003-09-03 19:13:38 +00:00
Roland Gruber 18a29a8e11 added link for editing members 2003-09-03 17:23:03 +00:00
Roland Gruber 5f3fdc0062 page for editing group members 2003-09-03 17:22:39 +00:00
Roland Gruber debdb76b7a fixed short tags 2003-09-01 21:28:26 +00:00
katagia 75431dfa07 added support for additional in group editor 2003-09-01 16:04:43 +00:00
katagia 831e44553f changed design 2003-08-29 13:03:35 +00:00
katagia 80ccee34e0 fixed typo 2003-08-29 12:22:08 +00:00
Roland Gruber ad7096e5b9 fixed password fields 2003-08-29 11:51:57 +00:00
katagia 02c85867c0 improved upload 2003-08-28 18:37:27 +00:00
Roland Gruber f53e55d32e added metaRefresh function 2003-08-28 12:41:47 +00:00
Roland Gruber 9afd182a26 removed debug output 2003-08-26 19:48:07 +00:00
katagia b17fcabc62 fixed problem wrong page displayd 2003-08-25 20:51:42 +00:00
Roland Gruber dbed9fa72e added PDF button 2003-08-23 09:22:13 +00:00
duergner 5066e95dbd Bug with chroot jail and access to /dev/random fixed 2003-08-20 19:51:51 +00:00
katagia 240e0f3d90 *** empty log message *** 2003-08-20 19:16:03 +00:00
katagia 7108117385 account.* are now (hopefully) html 4.01 transitional 2003-08-20 16:16:52 +00:00
katagia 864a8193de *** empty log message *** 2003-08-19 10:56:38 +00:00
katagia 7addca67c3 fixed language and some code 2003-08-18 18:46:33 +00:00
Roland Gruber 12ce918342 fixed cache timeout, added new line before cache timeout 2003-08-18 16:28:41 +00:00
Roland Gruber 2654a8446f added cache timeout variable 2003-08-18 15:21:27 +00:00
katagia 0eb23e99f5 optimized code (less ldap-requests) 2003-08-18 11:16:37 +00:00
Roland Gruber c61da9be95 translate logout message, delete session variable 2003-08-17 08:32:18 +00:00
duergner 41fd53634a Some errors concerning translation and css cleared 2003-08-16 17:30:20 +00:00