Commit Graph

1141 Commits

Author SHA1 Message Date
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
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
Roland Gruber f28f522507 fixed translation of list headers 2003-08-08 15:35:59 +00:00
Roland Gruber 6ca1c8a16c use domain objects for Samba 3 2003-08-07 12:22:46 +00:00
Roland Gruber 0c68a66676 fixed domain search 2003-08-07 12:00:30 +00:00
Roland Gruber 1d470041ee added unix workstations 2003-08-04 10:52:40 +00:00
Roland Gruber 7a37639134 show domains as list box in profile editor, minor changes 2003-08-03 19:52:05 +00:00
katagia 8edb4b18d6 added unix hosts option 4 accounts 2003-08-03 14:04:18 +00:00
Roland Gruber fd9b28d917 fixed checking of script path 2003-08-03 13:29:44 +00:00
katagia 2e40eab14b changed some text 2003-08-03 13:22:12 +00:00
Roland Gruber c686c97bfb removed ID-mapping 2003-08-03 11:46:35 +00:00
Roland Gruber 63bf69b609 translation update 2003-08-03 11:05:40 +00:00
Roland Gruber a50132e1e4 translation update 2003-08-01 07:44:56 +00:00
Roland Gruber f9db558a6e removed useless error messages 2003-07-30 21:23:48 +00:00
Roland Gruber 301baa028a translation update, minor fixes 2003-07-30 20:46:07 +00:00
Roland Gruber f29ba739eb translation update 2003-07-30 14:34:33 +00:00
Roland Gruber d9281081fa fixed access to functions.js and fpdf.php 2003-07-29 19:12:37 +00:00
Roland Gruber 1512734ac1 added search_domains() function 2003-07-26 12:37:31 +00:00
Roland Gruber fc071a1407 added domainlist 2003-07-26 11:11:25 +00:00
Roland Gruber 16635cfadd added domain and mapping suffix 2003-07-25 15:41:51 +00:00
Roland Gruber e401ce0e08 added suffix for domains and mappings 2003-07-25 14:12:07 +00:00
katagia 2aef3ac29d changed strings 2003-07-24 16:44:21 +00:00
Roland Gruber cefb02f3b1 fixed checking of domain SID 2003-07-24 15:37:17 +00:00
Roland Gruber 7eaa67208d updated setlanguage() 2003-07-22 19:33:52 +00:00
Roland Gruber bed6a48af7 removed smb_pwdcanchange/smb_mustchange from profiles 2003-07-20 18:01:01 +00:00
Roland Gruber 86bafd04f6 updates for configuration profiles and minor fixes 2003-07-15 14:28:41 +00:00
katagia e87a3e722c fixed problem with uid=0 or gid=0 2003-07-14 12:27:52 +00:00
Roland Gruber 9b6296920f updated .htaccess files
added config.cfg to .cvsignore
updated debian apache.conf to use .htaccess files
2003-07-14 10:55:50 +00:00
katagia 5060ba1e23 pwdmustchange wasn't read out 2003-07-13 12:31:12 +00:00
Roland Gruber 568080aae6 updated to new account class 2003-07-13 10:40:40 +00:00
katagia 29653b4ba3 changed unix_expire_(mon|day|year) into unix_expire 2003-07-11 14:42:28 +00:00
katagia d9cbf3639a Fixed pwdcanchange and pwdmustchange 2003-07-11 13:53:28 +00:00
katagia 01a0b4bea0 Fixed huge bug in create homedirs
Did't check if File/Path allready exists
2003-07-10 16:39:06 +00:00
katagia 2e4baad5c7 set pswmustchange to correct value (same as unix-expire-date)
Allowed % in Samba-Paths
2003-07-10 12:25:29 +00:00
katagia 7e59efcee8 Fixed massupload and made it more useable 2003-07-09 16:20:34 +00:00
Roland Gruber f292691548 updates for better translation 2003-07-08 08:54:34 +00:00
Roland Gruber cd08a7b923 updated to new configuration system 2003-07-06 10:24:41 +00:00
Roland Gruber baec410581 fixed search_username when using Samba 2.x and 3 in the same suffix 2003-07-06 10:03:21 +00:00
Roland Gruber 091cc18bb0 updates for better translation 2003-07-04 16:25:05 +00:00
Roland Gruber afc14bbd79 removed obsolete userentry.inc 2003-07-04 14:42:03 +00:00
katagia d21940d398 Fixed little bug in createhost 2003-07-04 14:28:55 +00:00
Roland Gruber 07f4b26790 sort entries from search_units() 2003-07-02 17:58:55 +00:00
Roland Gruber 9f9641160a fixed errors in CSS, synchronized style of user list with other lists 2003-07-01 19:49:57 +00:00
Roland Gruber a24b3913fb fixed bug in search_units, suffix is now search case-intensitive 2003-06-30 19:50:42 +00:00
katagia 3f6792329d first try to support samba 3.0 groupmapping 2003-06-30 12:06:44 +00:00
katagia 0475ac886f small ug. pwdallowlogin wasn't deleted 2003-06-28 13:48:15 +00:00
katagia fda0b3eb3d improved OU-Handling 2003-06-28 13:38:18 +00:00
katagia 30dbab3fa2 fixed quota-bug. Every quotas used same value
fixed quota-bug. Values were overwritten
fixed different OUs
2003-06-28 13:14:45 +00:00
Roland Gruber 4a7f81986e added fix for broken DNs 2003-06-28 09:30:21 +00:00
Roland Gruber dca3c98ee6 fixed search_units 2003-06-28 09:07:20 +00:00
Roland Gruber 733240f369 fixed search_units() if no OUs are in the suffix 2003-06-28 08:05:58 +00:00
katagia 421b74a436 fixed samba3-behavior 2003-06-27 09:35:51 +00:00
katagia aee3cd1735 added support for samba 3.0 schemas
added support for different ldap-suffixes
fixed small bug (primaryGroupID)
2003-06-26 16:26:06 +00:00
Roland Gruber 46fb09b878 several changes after code review 2003-06-24 15:50:38 +00:00
katagia 19ba486459 corrected encryption-problem with smbpasswords 2003-06-21 19:45:06 +00:00
katagia dddfd22211 improved masscretae.php performance,
fixed serveral errors
shadow-attributes are now optional.
2003-06-21 12:37:57 +00:00
Roland Gruber 9387613301 added domain SID to preferences 2003-06-19 19:01:00 +00:00
katagia 2be6020068 store passwords encrypted 2003-06-15 20:02:33 +00:00
katagia 27929526e9 Improved Error-Handling 2003-06-15 19:28:15 +00:00
Roland Gruber e4b5049df9 moved suffix search to ldap.inc
removed unneeded echo in profilecreate.php
2003-06-14 12:16:59 +00:00
katagia 98b4e65f3a Added function autoexpand user/group/hostnames 2003-06-09 14:17:23 +00:00
katagia a92782eb48 marked needed values with '*'
removed some debug-code
2003-06-08 19:54:05 +00:00
katagia 5e7328ca0c little quota-problem. Modify of quotas didn't work 2003-06-08 19:36:38 +00:00
katagia b584c21620 *** empty log message *** 2003-06-08 19:08:29 +00:00
Roland Gruber ad520a8995 prepare Samba 3 support 2003-06-08 18:58:01 +00:00
katagia 2c96c97c71 Made some comments in account.inc
fixed delete.php
added check if homedirs should be delted in delete.php
2003-06-08 12:12:42 +00:00
katagia 84114716db Help-Entries for account.php are now complete but helptext is
missing very often.
    Fixed smaller problem when no Additional groups were active
2003-06-08 10:33:37 +00:00
katagia ce7665a2ba Started using help and write comments into file 2003-06-07 14:25:30 +00:00
Roland Gruber 43d99b53f4 fixed HTML errors 2003-06-05 19:53:23 +00:00
katagia 68943fb545 *** empty log message *** 2003-06-05 17:25:52 +00:00
katagia 5dfc8ebea7 *** empty log message *** 2003-06-05 17:07:06 +00:00
katagia 0b9f85c78f couldn't create userids==minuid 2003-06-05 17:04:33 +00:00
katagia 734045ac79 removed small bugs 2003-06-05 16:37:13 +00:00
katagia dca6d7def9 Quota did't work
Profile weren't saved
Started to make code HTML-compliant
2003-06-05 11:36:54 +00:00
Roland Gruber 7b6696e119 fixed missing conf/profiles/groups directory in debian package
commented out listGroupProfiles()
2003-06-04 16:52:37 +00:00
katagia 14b341db4c Fixed several smaller bugs with quotas, missing argument
Removed invalid value from samba.pru
Modify should work again
Masscreation should work also.
2003-06-03 14:01:39 +00:00
katagia 146304494f Removed small bug, Modify didn't work
Remvoed Session-Vars if not longer needed
2003-06-02 17:48:02 +00:00
Roland Gruber fc36ed2457 scriptpath -> scriptPath update 2003-06-01 12:25:23 +00:00
katagia 84d812e73d *** empty log message *** 2003-06-01 11:39:54 +00:00
katagia 5bc85f21a9 Modulised both files
separated input and output
removed unneeded variables
removed unneeded code
removed some smaller bugs
I'm sure to make several new bugs );
2003-06-01 10:02:44 +00:00
Roland Gruber bc35660a10 fixed saving of boolean values 2003-05-31 23:17:16 +00:00
katagia 73be238e43 Added PDF-Support
Removed small bug; modifiy didn't worked correct.
2003-05-31 10:52:15 +00:00
duergner 1e79c70b68 *** empty log message *** 2003-05-29 18:45:08 +00:00
Roland Gruber dd6a7b9623 added option for Samba 3.x 2003-05-28 15:37:48 +00:00
Roland Gruber 958882cce6 added support for deleting profiles 2003-05-25 10:51:10 +00:00
katagia ad1de8fe02 Very small bugfix. Could not unset userworkstations when modifying user. 2003-05-22 14:39:05 +00:00
katagia 5bbb4135e5 separated group and host modify/create 2003-05-21 11:10:28 +00:00
katagia 25120b6ad7 separated user modify and user add code 2003-05-20 21:12:15 +00:00
katagia a5a4350024 Small Bugfix.
Samba-Flag wasn'T filled with whitespaces to constant length
2003-05-18 09:45:56 +00:00
katagia 87cb401fe0 Hosts are wrking know and password-fields are making sens 2003-05-17 11:19:03 +00:00
katagia 52172c1b93 User wasn't added to group if group no user were in
group.
2003-05-17 09:56:24 +00:00
katagia e8b2822028 Removed Dummy to test function 2003-05-16 20:06:12 +00:00
katagia 8866f817bb Several smaller bugfixes.
Changed DN for users from cn=.... to uid=....
2003-05-16 20:00:45 +00:00
Roland Gruber 065ca2a0d7 fixed login with empty password 2003-05-16 16:32:09 +00:00
katagia 62d5586ddb Removed a lot of errors and made
homedirs and quotas hopefully working
2003-05-15 20:59:26 +00:00
Roland Gruber 49a05114f0 allow "-" in DNs 2003-05-15 19:11:37 +00:00
Roland Gruber 01219adb3e fixed path to lam.conf 2003-05-15 17:31:18 +00:00
Roland Gruber 5f7ac148f1 removed 0's from decrypted username+password 2003-05-14 21:17:05 +00:00
katagia dbba71339e Serveral smaller bugfixes. 2003-05-14 21:12:17 +00:00
Roland Gruber b643b14a8f changed echo commands to StatusMessage
fixed script settings
2003-05-14 13:45:52 +00:00
Roland Gruber 0e34df01c7 fixed messages if user suffix is invalid 2003-05-13 15:54:37 +00:00
katagia 180d40debd Added support 4 quotas and create homedir
fixed typo in delete.php
2003-05-13 10:54:53 +00:00
Roland Gruber fdd1695a19 added new settings: scriptPath + scriptServer
minor changes
2003-05-12 17:52:54 +00:00
Roland Gruber b43bc39e68 use existing messages.mo for translation 2003-05-10 11:17:28 +00:00
Roland Gruber f643f10ee0 added default language 2003-05-09 16:22:46 +00:00
duergner 80e8cdc479 error corrected 2003-05-07 18:21:19 +00:00
katagia d0d53a2c3e Added quota.layout and a part of quota-functions
added lamdaemon.pl
WARNING!!!!!
 Don't use lamdaemon.pl. It's net even alpha and
 should be extremly insecure.
2003-05-07 16:53:03 +00:00
Roland Gruber a6dabef929 fixed maxlistentries setting 2003-05-07 14:29:44 +00:00
dechutes a1bbdeea27 tried to add a new config variable called maxlistentries 2003-05-06 23:52:00 +00:00
Roland Gruber 321d5e2426 added function to set language settings 2003-05-06 15:17:09 +00:00
Roland Gruber 266ba95456 fixed bug in path to lam.conf 2003-05-05 20:52:05 +00:00
duergner 0670f4a520 Some errors corrected and comments added. 2003-05-04 21:36:18 +00:00
duergner 4e6b9489b4 status.inc provides StatusMessage(MessageTyp.MessageHeadline,MessageText) 2003-05-04 09:00:14 +00:00
katagia 78eca235bc Added support 4 status.php 2003-05-03 19:15:23 +00:00
Roland Gruber 7c43b5d9d0 added smb_profilePath 2003-05-02 16:27:30 +00:00
katagia 589808de96 *** empty log message *** 2003-05-02 16:18:05 +00:00
katagia 801697f010 Code optimized and several smaller fixes 2003-05-02 15:32:44 +00:00
Roland Gruber 24509a0488 removed old functions 2003-05-02 11:49:40 +00:00
Roland Gruber 35db10e32f replace user and group when profile is saved
fixed saving of general_groupadd
2003-05-01 20:30:43 +00:00
katagia c52655a2ea Inserted deleted GPL-Licence 2003-05-01 17:28:48 +00:00
katagia bc2689980d Added index.html
Valid shells are now read from /etc/shells
2003-05-01 17:02:57 +00:00
Roland Gruber deea991c58 profile names must consist of letters, numbers, "-" or "_" 2003-05-01 12:00:18 +00:00
Roland Gruber 03d647f94b removed getLAMPath() function 2003-05-01 11:37:46 +00:00
Roland Gruber 73d7aea361 implemented host save/load 2003-04-30 16:50:48 +00:00
Roland Gruber ff35256a65 implemented load/save user profiles 2003-04-30 15:20:40 +00:00
Roland Gruber eccfa5278c added getLAMPath function 2003-04-28 18:08:06 +00:00
Roland Gruber b4842dc55f implemented get*Profiles functions 2003-04-28 18:06:18 +00:00
Roland Gruber 755c8b0637 removed deprecated functions 2003-04-27 16:29:53 +00:00
Roland Gruber fffead5b85 interface for profiles
no implementation yet
2003-04-26 20:01:49 +00:00
katagia ea9bbf788e Renamed print.php in print.html
print.html is now written in html-code

added template for delete
2003-04-25 11:07:28 +00:00
katagia d1b99b4713 expire-month wasn't read from existing user 2003-04-24 16:19:52 +00:00
katagia abc549771f Addes support for NT and Lanmanager Passwords
via external perl-skript. Direct usage in php
is difficult due to licence problems.
2003-04-24 11:59:26 +00:00
dechutes 3c67b65791 moved userlist.php and userentry.inc 2003-04-23 21:44:11 +00:00
dechutes 8cced8e13c moved userentry.php to userentry.inc 2003-04-23 21:43:11 +00:00
katagia d4932ddb5f removed exmaple-files not related to lam 2003-04-23 20:38:58 +00:00
Roland Gruber 53fd170bfb files were moved 2003-04-23 19:13:55 +00:00
katagia 7851076474 Added modify support 2003-04-23 15:47:00 +00:00
Roland Gruber 3dcc3ecdec fixed onDblClick event 2003-04-22 20:54:42 +00:00
Roland Gruber c7a97314df lists are now sorted correctly at first view 2003-04-22 17:01:19 +00:00
Roland Gruber 0506e97446 listhosts.php: corrected sort links
listgroups.php: added sorting support
2003-04-22 16:53:11 +00:00
Roland Gruber 5a3bd1c945 table can be sorted
replaced buttons with links
2003-04-22 16:31:40 +00:00
Roland Gruber a730567c22 listgroups.php: group members can be edited
ldap.php: added function to get DNs for user names
2003-04-21 15:45:40 +00:00
Roland Gruber cbd96fadc9 minor changes 2003-04-21 15:43:53 +00:00
Roland Gruber c61f45bf3e removed shell list and default shell
merged host+port+ssl to serverURL
2003-04-18 15:50:01 +00:00
Roland Gruber cc06a1d7eb DN is now passed properly 2003-04-18 15:40:59 +00:00
Roland Gruber d8a980c2af fixed bug that prevented row selecting with checkbox 2003-04-13 15:42:50 +00:00
Roland Gruber 9261c21894 added support for selecting rows in host list
fixed some syntax errors in HTML
2003-04-13 15:31:35 +00:00
Roland Gruber e5dfbccd06 added support for editing with doubleclick 2003-04-13 13:51:45 +00:00
Roland Gruber 4ceb87ca9e added support for mouseOver effects and row checking 2003-04-12 15:38:57 +00:00
dechutes 4c161d8921 removed include file userentry.php
(not used any longer)
2003-04-09 17:10:28 +00:00
dechutes 7fead3d337 java code to fontify colomns (from phpMyAdmin) 2003-04-09 17:08:38 +00:00
dechutes d4a879a987 added session support
...
2003-04-09 17:04:02 +00:00
Roland Gruber e0d693ed2f changed color of group/host lists 2003-04-05 10:49:03 +00:00
Roland Gruber eb33604b2f fixed error messages if no entries were found 2003-04-03 13:37:53 +00:00
dechutes 84edb939c7 checkboxes added 2003-04-02 21:42:51 +00:00
Roland Gruber 0a27b5f9d1 implemented individual columns in group/host list
fixed bug in ldap.php which did not save the attribute arrays
2003-04-02 17:16:21 +00:00
Roland Gruber ee2e6f4a00 added radiobuttons and buttons to edit/create/delete groups/hosts 2003-04-01 16:42:20 +00:00
Roland Gruber 9a2a7e5db6 added arrays with known LDAP attributes 2003-04-01 14:17:32 +00:00
Roland Gruber 28444b9c7e implemented username/password encryption 2003-03-28 15:45:42 +00:00
Roland Gruber 778f8572b9 removed disturbing space at end of file 2003-03-28 15:45:05 +00:00
Roland Gruber 746df60e45 added session_save_path()
print warning message if no objects were found
2003-03-23 18:39:43 +00:00
Roland Gruber ccc227e156 fixed errors if group has no members 2003-03-21 20:05:15 +00:00
Roland Gruber c12e0b0713 removed getGroups, this is now done by listgroups.php 2003-03-21 10:12:18 +00:00
Roland Gruber 20324163e9 listhosts: free search result
listgroups: initial checkin
2003-03-21 10:07:49 +00:00
Roland Gruber b1649d1ec5 hosts are now correctly listed 2003-03-21 08:47:06 +00:00
Roland Gruber c6084b511d removed getMachines(), this is now done by listhosts.php 2003-03-20 18:19:40 +00:00
Roland Gruber 5ddc454ff3 added host list 2003-03-20 18:08:05 +00:00
Roland Gruber 1ee795d686 removed unused server variable from __sleep() 2003-03-20 18:07:06 +00:00
dechutes eef73e5ce8 replaced getUser function with getEntry function 2003-03-19 22:46:46 +00:00
Roland Gruber b1058da8a5 ldap is now correctly (de)serialized
username and password are not encrypted at the moment
2003-03-19 18:39:09 +00:00
dechutes 9ed16cbed6 -initial checkin
-contains user attributes
2003-03-17 23:26:23 +00:00
dechutes ffd68b369c -added function to read user attributes from given user dn 2003-03-17 23:25:17 +00:00
dechutes 1f5a75333e -userlist fixed
-4 attributes displayed
2003-03-17 23:24:35 +00:00
Roland Gruber 5f1d8483b5 always use LDAP v3 protocol 2003-03-16 10:58:54 +00:00
Roland Gruber 60c2e7db96 connection errors are handled by login.php 2003-03-16 10:32:45 +00:00
Roland Gruber 5f662c7d6f fixed nasty bug that always set the username to "" 2003-03-16 10:25:30 +00:00
Roland Gruber 6498ab9e2b free search results and return server handle on connect() 2003-03-16 00:26:19 +00:00
Roland Gruber ef13f1f067 connect() returns server handle 2003-03-15 11:24:14 +00:00
Roland Gruber c0227e9aa2 added function which returns the LDAP connection handle 2003-03-14 15:26:53 +00:00
dechutes acf13732c5 initial checkin 2003-03-09 13:18:14 +00:00
Roland Gruber 77b145572d added some comments + minor changes 2003-03-08 10:10:19 +00:00
Roland Gruber 6a47977c54 implemented all functions 2003-03-06 14:37:05 +00:00
Roland Gruber 17e8722a81 ldap.php: initial release, just interface, no implementation
config/*: minor changes
2003-03-05 16:05:23 +00:00
katagia 99b215b1e9 .htaccess files permit direct connections to these folders 2003-02-12 09:26:37 +00:00
katagia 8b34f081b2 Some examples 2003-02-12 09:24:48 +00:00