Commit Graph

433 Commits

Author SHA1 Message Date
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
katagia ec277c457e lamdaemon.pl should work now again. 2003-11-06 14:53:00 +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
katagia d3e20ac7b9 added support for custom text in pdf-files
added support for german pdf-files
2003-11-04 13:56:29 +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
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 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
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
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
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
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 708dc678c7 added many comments and
fixed mayn errors
2003-10-19 17:04:49 +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 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
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 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 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 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 bba0d4b01b added support for different encryption types 2003-10-05 10:38:31 +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 7a20393b5e chmod config files to 0600 2003-10-01 15:01:29 +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 2bc70df334 fixed buggy config saving 2003-09-30 18:42:14 +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 6551b9519c PDFs should work now with Internet Explorer and Konqueror 2003-09-28 16:38:54 +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
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
katagia 5aafd379fa fixed undefinded password if user was created
removed stuff from default profile
2003-09-25 14:14:59 +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 e99f635bfe changed loading/saving of conf files 2003-09-21 20:10:52 +00:00
Roland Gruber 15da8f76f0 search_username now returns Unix-only accounts, too 2003-09-21 19:32:15 +00:00
Roland Gruber 76888028de load correct domain even if Samba version differs 2003-09-21 14:59:28 +00:00
Roland Gruber 8675e6a9cb added group profiles 2003-09-20 17:02:21 +00:00
katagia f12bb6ca98 no options in lamdaemon.pl anymore 2003-09-20 13:59:13 +00:00
katagia 3794485199 LDAP isn't needed in lamdaemon.pl anymore because we authenicate
via ssh now
sudo will make sure only valid users are able to run lamdaemon.pl
2003-09-20 13:01:09 +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 a2ba576f8d renamed suffix vars 2003-09-19 19:49:45 +00:00
Roland Gruber fcb6f1473b renamed cache_timeout to cachetimeout for config update 2003-09-19 19:29:02 +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
katagia c3cc37e3ee Forgot to add utf_encode to gecos
field to allow non-ascci chars
2003-09-17 17:04:43 +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 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 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
katagia e179967151 smaler link fixes 2003-09-12 13:00:44 +00:00
katagia fa1adc143a improved design 2003-09-12 11:56:50 +00:00
katagia fd6f511e7a fixed smaller bugs realted to new design f groupedit.php 2003-09-12 07:16:23 +00:00
katagia a8f2a82e53 First try to separate account.php 2003-09-11 16:55:57 +00:00
duergner d22a73ca35 some little 'errors' corrected 2003-09-10 19:18:44 +00:00
duergner fb1c13d2cc *** empty log message *** 2003-09-10 19:14:32 +00:00
duergner 1861520804 *** empty log message *** 2003-09-10 19:13:22 +00:00
duergner ccd628da9c *** empty log message *** 2003-09-10 19:10:13 +00:00
duergner bcc21ddb63 Design altered 2003-09-10 17:49:46 +00:00
katagia 75431dfa07 added support for additional in group editor 2003-09-01 16:04:43 +00:00
katagia a6c6ccf124 fixed readme
modified pdf.inc
  corrected unix expiredate & shell
2003-08-29 11:21:02 +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
duergner 0d91469a18 another silly bug fixed 2003-08-26 20:48:20 +00:00
duergner 69c265fff9 silly bug fixed 2003-08-26 20:39:20 +00:00
duergner cdea733854 problem with printLogo.jpg path fixed 2003-08-26 20:29:47 +00:00
duergner 42968db7ff support for empty password strings added 2003-08-26 20:03:25 +00:00
duergner 4894ba7200 path to printLogo.jpg changed 2003-08-26 19:41:37 +00:00
duergner 3ca0f410b2 Copyright altered to Michael Dürgner 2003-08-26 18:58:40 +00:00
katagia 8dc5bfcef2 fixed little error caused
errorreport
2003-08-25 20:25:09 +00:00
Roland Gruber 8aa005bbf2 config file is case insensitive now 2003-08-23 09:21:54 +00:00
duergner c45e900c66 Support for quotas added; some output things altered 2003-08-21 15:27:42 +00:00
duergner a19ed4fe86 Bug with $account->unix_password fixed and $account->smb_password fixed 2003-08-20 19:50:40 +00:00
duergner 3662499d99 createUserPDF() implemented. Some little redesign has stille to be done. 2003-08-20 16:09:41 +00:00
katagia 3ae8f60f1a fixed typo 2003-08-19 17:22:44 +00:00
katagia bd5235397d personal settings are now checked
some typos
set samba pwdmustchange to 2030 if upload is used
2003-08-19 17:19:41 +00:00
katagia 1f6de0dace *** empty log message *** 2003-08-19 10:38:39 +00:00
katagia 5f12e59872 *** empty log message *** 2003-08-19 10:24:22 +00:00
katagia 7addca67c3 fixed language and some code 2003-08-18 18:46:33 +00:00
katagia cfac9722df optimized ldap-code 2003-08-18 17:41:34 +00:00
Roland Gruber bb0000cafb added get_cacheTimeoutSec() 2003-08-18 16:38: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
duergner 41fd53634a Some errors concerning translation and css cleared 2003-08-16 17:30:20 +00:00
Roland Gruber dff993dcea try to start TLS, fall back to standard connection if it failed 2003-08-16 16:54:11 +00:00
Roland Gruber c86ba0d1d4 disable tls, needs more research 2003-08-16 10:07:13 +00:00
Roland Gruber 92a42b421b do not show tls warnings 2003-08-16 09:44:10 +00:00
katagia 5d11bfe9eb added Well-Known RIDs for users 2003-08-16 09:38:17 +00:00
Roland Gruber 332f9d57d7 start TLS if possible 2003-08-16 08:30:05 +00:00
katagia d2aa1b9440 little text changes 2003-08-14 18:42:59 +00:00
Roland Gruber bbc72b4e94 improved predefined attributes, small translation update 2003-08-14 16:23:43 +00:00
katagia da5a82dc03 added some help, removed typos. 2003-08-14 14:40:01 +00:00
katagia 98286f64da fixed small bug with smbHome
Allowed Umlaute as Username, Sharename, ...
Improved help
2003-08-14 12:49:11 +00:00
katagia 78eb6b0d4b changed RIDs 4 groups 2003-08-13 17:15:52 +00:00
Roland Gruber a052e6af9b removed domain SID from configuration 2003-08-13 12:42:33 +00:00
katagia 3d2241b4e8 Fixed serveral things in lamdaemon.
objectClasses are now checked
Removed small bug when DN has to be changed
2003-08-12 19:45:24 +00:00
katagia 22c6022186 Modified lamdaemon.pl
Don't run ssh as wwwrun anymore.
Is was unsecure because apache needed
an authorized key to log in without password.
ssh-connection is now done as
user logged in as admin.
2003-08-11 21:09:17 +00:00
katagia f3f5a170cd Added Readme-File
Host-Attribute should worl now
2003-08-11 12:40:06 +00:00
katagia 361bf2e36d Added correct headers
Removed unneeded options for hosts
Hosts weren't useable because password was set wrong. Fixed
2003-08-10 19:46:21 +00:00
Roland Gruber 55cbfebe12 removed session_(un)register(...), minor bug fixes 2003-08-09 10:56:46 +00:00