Commit Graph

334 Commits

Author SHA1 Message Date
Roland Gruber f3db3ffdcd allow to read min/maxPwdAge for Samba domains 2008-12-09 18:52:39 +00:00
Roland Gruber f1bd23b1e5 escape DNs 2008-09-04 17:43:53 +00:00
Roland Gruber b7c17b5801 added escapeDN() 2008-09-04 17:21:29 +00:00
Roland Gruber 052c6bf39d code cleanup 2008-02-25 20:54:11 +00:00
Roland Gruber cc7c8f8b82 allow @ in user names 2008-01-29 18:22:36 +00:00
Roland Gruber ed37d9f7cf performance enhancement 2007-11-15 11:02:57 +00:00
Roland Gruber e62ebcd65b removed check_ip() 2007-11-13 10:47:08 +00:00
Roland Gruber f074634070 added function to create random passwords 2007-11-05 18:16:29 +00:00
Roland Gruber 4cbc52cc22 changed to public/private 2007-10-13 17:28:37 +00:00
Roland Gruber 873f600ae8 changed regex for logon script 2007-09-24 19:22:04 +00:00
Roland Gruber f1dda8d924 use ->server() 2007-07-08 10:51:01 +00:00
Roland Gruber ba02c8a176 added another date check 2007-07-02 18:23:13 +00:00
Roland Gruber d22422bff2 MHash no longer needed 2007-06-24 11:16:14 +00:00
Roland Gruber 75113800c7 added check for business category 2007-06-11 18:17:30 +00:00
Roland Gruber a80990c0c5 fixed check_ip 2007-05-26 11:39:17 +00:00
Roland Gruber 1da2323f04 added check_ip 2007-03-24 14:04:59 +00:00
Roland Gruber b3a2f33377 allow more characters in NIS aliases 2007-03-05 16:42:58 +00:00
Roland Gruber b955a3d04d do not depend on $_SESSION['ldap'] for password hashing 2006-11-11 10:15:38 +00:00
Roland Gruber 1ccfbbde8d allow / at the end of homedir 2006-09-21 16:27:52 +00:00
Roland Gruber 48cbd62917 moved in_array_ignore_case to account.inc 2006-07-17 17:45:14 +00:00
Roland Gruber 5c96801e81 allow letters in telephone number 2006-06-29 11:24:55 +00:00
Roland Gruber 2a6767a59b fixed host restrictions 2006-05-05 10:28:23 +00:00
Roland Gruber 856f2ebcd8 allow \"@\" in passwords (1477878) 2006-04-28 08:44:26 +00:00
Roland Gruber f392ec1d6c allow caret in passwords 2006-04-10 14:19:22 +00:00
Roland Gruber dc3f060057 fixed regex for passwords 2006-04-09 10:10:35 +00:00
Roland Gruber 1ce2b98103 Copyright updates 2006-03-03 17:30:35 +00:00
Roland Gruber 6892cd13d7 allow $ in logon script 2006-02-23 08:49:42 +00:00
Roland Gruber 55a49a6e51 allow $ at the end of \"cn\" (needed for hosts) 2006-02-23 08:37:37 +00:00
Roland Gruber a691ea4b4d less restrictive date check 2006-02-12 11:03:20 +00:00
Roland Gruber 25c792cf23 fixed email regex (patch 1403922) 2006-01-14 09:56:17 +00:00
Roland Gruber fdfc9f8dca merge with 0_6_dev branch 2006-01-01 16:30:05 +00:00
Roland Gruber 0be3028c30 less restrictive input checks 2005-12-10 09:47:09 +00:00
Roland Gruber 659437af53 less restrictive input checks 2005-12-10 09:42:55 +00:00
Roland Gruber 7458053b5e allow numbers in first/last name 2005-11-10 16:16:20 +00:00
Roland Gruber 1135c5d709 allow "$" as last character in common name (needed for old hosts) 2005-10-26 09:23:44 +00:00
Roland Gruber d217dd78b3 changed regex for mailLocalAddress 2005-09-20 14:40:11 +00:00
Roland Gruber 9c71e24ac1 added PHPDoc comments 2005-08-12 13:18:05 +00:00
Roland Gruber f5ad2e6566 allow \"@\" in cn attribute 2005-07-26 09:54:35 +00:00
Roland Gruber 7de3e699bb PHPDoc updates 2005-07-21 10:33:02 +00:00
Roland Gruber 00bc52f6e6 allow $ in UNC paths (for $user/$group) 2005-07-11 19:01:06 +00:00
Roland Gruber e490ec98fb added regex for DNs 2005-07-02 12:03:49 +00:00
Roland Gruber 697893fbc0 made inetOrgPerson independent from posixAccount 2005-06-19 09:38:44 +00:00
Roland Gruber 7546f7efd2 fixed regex for Unix workstations 2005-06-06 19:24:23 +00:00
Roland Gruber 52fd5c9ccd added regex for country names 2005-04-07 13:10:15 +00:00
Roland Gruber 1e53b1bb16 fixed several PHP notices 2005-02-22 20:20:47 +00:00
Roland Gruber 92184d841e allow % in Samba profile/home path 2005-01-24 20:57:38 +00:00
Roland Gruber e6beeaa933 added \"$\" to home directory regex 2005-01-22 10:57:48 +00:00
Roland Gruber 520d97be03 added nis_recipient 2005-01-04 20:14:48 +00:00
Roland Gruber 8f9507dc2a added nis_alias for nisMailAlias module 2004-12-31 13:50:30 +00:00
Roland Gruber e7f79fbb43 added DNS names as regex 2004-12-29 08:49:09 +00:00
Roland Gruber 7a0b0c6da6 added "*.exe" to Samba logon script regex 2004-12-17 16:52:11 +00:00
Roland Gruber 36194a18a1 Samba passwords are now calculated with PHP include file 2004-12-07 20:30:29 +00:00
Roland Gruber d3de89ecbe added Samba logon hours 2004-11-28 19:44:46 +00:00
Roland Gruber 2c79564a0d fixed regex for date 2004-11-19 14:25:30 +00:00
Roland Gruber a1fcb011bf added regex for date 2004-11-08 19:25:50 +00:00
Roland Gruber f054eaf8b7 added MAC address 2004-11-01 11:50:42 +00:00
katagia f4e4f2b3df Added "Umlaut" handling for attributes which don''t allow them.
Added $this->attribute to ldap class. This variable contains a list
of all attributes and their syntax
2004-10-24 17:23:23 +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
katagia 3216280f16 fixed smaller bus.
I hope password handling is now ok
2004-10-12 13:34:00 +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
katagia c5606519d1 fixed little bugs, mostly typos 2004-10-10 11:21:54 +00:00
katagia c58e2ba0ea fixed ne regexpr 2004-09-28 16:44:33 +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
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 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 2ed32f3ca0 moved Samba 3 domain object to account.inc 2004-09-19 08:35:01 +00:00
Roland Gruber 275c3d4d5f moved password functions to account.inc 2004-09-16 17:25:42 +00:00
Roland Gruber c986660195 moved password hash type setting to modules 2004-08-03 18:49:19 +00:00
Roland Gruber 45e1686157 added functions to generate LM/NT password hashes 2004-06-22 13:05:19 +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
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
katagia 8a01905ad5 initial support for pseudo html. 2004-01-18 12:52:52 +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
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 794548226e fixed problems with PrimaryGroupSID.
SId sin't calculatd anymore.
It's loaded from the group.
2003-12-06 14:22:54 +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 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
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 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 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 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 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
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
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 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
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
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
katagia bba0d4b01b added support for different encryption types 2003-10-05 10:38:31 +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
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 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
katagia f12bb6ca98 no options in lamdaemon.pl anymore 2003-09-20 13:59:13 +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
katagia 1011546425 upload should be work again.
There's still a small bug in autogernerating usernames
2003-09-20 07:59:19 +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