Commit Graph

376 Commits

Author SHA1 Message Date
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
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
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
katagia 75431dfa07 added support for additional in group editor 2003-09-01 16:04:43 +00:00
katagia 02c85867c0 improved upload 2003-08-28 18:37:27 +00:00
katagia 8dc5bfcef2 fixed little error caused
errorreport
2003-08-25 20:25:09 +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
katagia 0eb23e99f5 optimized code (less ldap-requests) 2003-08-18 11:16:37 +00:00
katagia 5d11bfe9eb added Well-Known RIDs for users 2003-08-16 09:38:17 +00:00
katagia d2aa1b9440 little text changes 2003-08-14 18:42:59 +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
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
katagia 8edb4b18d6 added unix hosts option 4 accounts 2003-08-03 14:04:18 +00:00
katagia 2e40eab14b changed some text 2003-08-03 13:22:12 +00:00
katagia 2aef3ac29d changed strings 2003-07-24 16:44:21 +00:00
katagia e87a3e722c fixed problem with uid=0 or gid=0 2003-07-14 12:27:52 +00:00
katagia 5060ba1e23 pwdmustchange wasn't read out 2003-07-13 12:31:12 +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
katagia d21940d398 Fixed little bug in createhost 2003-07-04 14:28:55 +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
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
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
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
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
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
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
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
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
katagia 73be238e43 Added PDF-Support
Removed small bug; modifiy didn't worked correct.
2003-05-31 10:52:15 +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
katagia 62d5586ddb Removed a lot of errors and made
homedirs and quotas hopefully working
2003-05-15 20:59:26 +00:00
katagia dbba71339e Serveral smaller bugfixes. 2003-05-14 21:12:17 +00:00
katagia 180d40debd Added support 4 quotas and create homedir
fixed typo in delete.php
2003-05-13 10:54:53 +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
katagia 78eca235bc Added support 4 status.php 2003-05-03 19:15:23 +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
katagia bc2689980d Added index.html
Valid shells are now read from /etc/shells
2003-05-01 17:02:57 +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
katagia 7851076474 Added modify support 2003-04-23 15:47:00 +00:00