Commit Graph

80 Commits

Author SHA1 Message Date
Ralf Becker
30b3f407d2 2 more cases for r42550: only check for matching system users, if a new account get added, as existing accounts can be reported - depending on configuration - as system users too 2013-05-27 14:30:22 +00:00
Klaus Leithoff
8153a7ac98 read and evaluate auth systems password-last-changed information 2011-03-16 13:26:17 +00:00
Klaus Leithoff
4f0e104e27 more to the issue: fix to regard the password-last-changed information from the auth system - if provided, and thus be able to react on forced password changes triggered by auth system 2011-03-16 12:44:42 +00:00
Klaus Leithoff
a080404dab fix to regard the password-last-changed information from the auth system - if provided, and thus be able to react on forced password changes triggered from auth system. set password-last-changed info in authsystem on password change. when trying to force the user to change his password upon next login as admin from within egrouware, try to set the 0 value within the authsystem as well (in ldap rights are required for admin (or user) to set/alter the shadowlastchange attribute) 2011-03-16 11:00:16 +00:00
Klaus Leithoff
3843c0b59b Feature: to allow admins a) to set an allowed password age, to require all users to change their password regularily; b) force password change for a given user on the users next login; c) better control about the password strength required; Funded by Cricket 2010-09-22 09:48:27 +00:00
Ralf Becker
b40f14a95e new setup config denying (default) or allowing user names identical to system users (ldap only) 2010-03-16 16:33:28 +00:00
Ralf Becker
1a5245e101 "only use posix_getpwnam to check for existing system user, if it's available (otherwise no more accounts can be created)" 2010-03-08 21:08:16 +00:00
Klaus Leithoff
cbdd9507ad check for systemusers as well and deny creation, when such a user already exists 2009-12-16 14:10:15 +00:00
Ralf Becker
185f934852 Patch from jean-charles.passard@provectio.org to fix handling of account
prefixes
2009-02-16 08:22:22 +00:00
Ralf Becker
7ee3b19931 "bugfix: group-name (account_lid) could not be changed" 2007-05-04 14:18:47 +00:00
Ralf Becker
8d5370febe "fixed not working creation, rename and deletion of user- and group-dirs
--> it's done now via hooks from the vfs_home class for all types of vfs"
2007-04-29 12:07:43 +00:00
Miles Lott
d274143269 Updated to have all posts and gets go to the ui class. Bo class functions now take direct arguments and respond with true, false, or array of errors (for now). 2007-03-09 12:07:15 +00:00
Ralf Becker
fd45860980 ability to set an email-address for groups (with automatic forwards to member's email) 2006-10-11 21:58:58 +00:00
Ralf Becker
ff9f3ebcbd passing the info also to method hooks 2006-09-19 06:58:25 +00:00
Ralf Becker
e6e05e283c reversed password change ACL from changepassword to nopassword change, to allow eGW users created in LDAP to be full users, without the need to change/add something in the ACL table 2006-06-23 01:28:47 +00:00
Ralf Becker
c30d082ae6 changed editaccount hook to use the same values (with account_ prefix) as the addaccount hook 2006-06-09 00:05:14 +00:00
Ralf Becker
a3e859f85f quitent a debug message 2006-06-07 18:04:24 +00:00
Ralf Becker
6557128ec6 rewrite of the accounts classes:
- new cleaner AND documented interfaces
- old interfaces are still availible, but depricated
- LDAP backend stores now membership information in LDAP too, and does NO longer require the phpgwAccount schema
- LDAP backend deals now well with LDAP schema in which posixGroup is no structural object (eg. newer SuSE distros)
- password from users are done now binded as that user, so if you dont need/use our admin to manage accounts, you can give a root-dn which only allows to search&read accounts
2006-06-06 23:42:56 +00:00
Ralf Becker
b6b3db5ed4 first version / step to the new 1.4 addressbook:
- User accounts are an own addressbook now
- every user and group (can) have an own addressbook
- for groups the accessrights no longer depend on the creator
- new acl for adding into an addressbook
- all addressbooks can be displayed together (eg. accounts mixed with personal and group AB's)
- some useful new fields (photo, private cellphone, ...) and some obscure ones have been removed
- db update puts all contacts in the owners personal addressbook (further manual migration tools will follow), thought the UI already allows to mass-move them into a group-addressbook
- group addressbooks in SQL are created by making a group-grant for addressbook (like filemanger)
- Warning: all import/export/xmlrpc/syncml stuff and other apps accessing the addressbook is broken until the contacts class in the API gets fixed!
- it depends on further updates of etemplate, phpgwapi, admin!
==> it's pretty cool (specialy the foto's), but NOT ready for a production server !!!
2006-04-23 14:40:31 +00:00
Ralf Becker
703f049b09 function to create email addresses after a configurable policy 2006-04-16 12:31:00 +00:00
Ralf Becker
eb6d8504c1 fix for bug [ 1417178 ] Group membership after edit
--> negative indexes to arrays are treated different if represened as string or integer
2006-03-08 18:25:24 +00:00
Ralf Becker
e3c0783cee fix for bug [ 1345020 ] Need to un-escape form/html output...
--> happened with magic_quotes_gpc On
2006-03-08 16:53:16 +00:00
Cornelius Weiß
19d4484b7d fix: hook update_group wasn't processed 2006-01-04 19:19:11 +00:00
Ralf Becker
f6e4328f85 phpgw_(app_)sessions --> egw_(app_)sessions 2005-11-13 09:16:31 +00:00
Ralf Becker
c85d34c0fe changed the following table-names:
- phpgw_accounts --> egw_accounts
- phpgw_acl --> egw_acl
- phpgw_log(_msg) --> egw_log(_msg)
- phpgw_config --> egw_config
- phpgw_applications --> egw_applications
This requires code-changes in many apps. Quite often I was able to replace the db access, with calls to the appropreate classes.
2005-11-02 11:45:52 +00:00
Ralf Becker
aac9ec7d10 phpgw --> egw 2005-10-14 17:03:16 +00:00
Ralf Becker
2ebf6f517e fixed old problem: changes in your account (eg. adding an app) happen with the next page-view only 2005-07-22 09:22:04 +00:00
Ralf Becker
ee9cf93b63 removed hack necessary because of the wrong call of the contructor of the application class 2005-03-30 14:46:37 +00:00
Ralf Becker
2c62ea94b9 fix for bug [ 1011713 ] new user email address gone 2004-08-26 11:57:58 +00:00
Ralf Becker
cf32369b5d stoping account or group creation process, if there is an error and therefor no id (else the acl or preference class assumes to change the current user) 2004-07-12 22:06:13 +00:00
Ralf Becker
2d4a438533 fixed hook-values for add-user hook, new account id was not set, which gave an sql error in fudforum 2004-07-12 19:53:07 +00:00
Ralf Becker
1992c6982b added email-address to the accounts-data and implemented a better account-selection (like the one in the new account-popup) 2004-07-04 17:33:13 +00:00
Ralf Becker
889b6931f1 fixed call to accounts::save_repository not update for each user, but one time at the end 2004-06-23 13:19:38 +00:00
Pim Snel
e20c2e2815 completly fix #921476 (Creating new account failes) The system now alerts that a group already exists with the userloginid which was attemted to create 2004-04-21 21:40:13 +00:00
alpeb
24e12a61dd Fixes bug #869805. When updating a group's name, in table phpgw_accounts only the account_lid field got updated, now account_firstname gets updated too. 2004-03-30 04:23:23 +00:00
reinerj
80ea30c5b1 changes from phpgw to egw dev group 2004-01-26 23:26:19 +00:00
Lars Kneschke
d96c9afac2 use a prefix for user accounts
can be set in setup
2004-01-12 06:22:20 +00:00
Miles Lott
9b3cb16bba add missing ) 2003-12-20 19:23:49 +00:00
Miles Lott
5a1f288b96 intval, ereg_, and gettype updates 2003-12-20 18:51:51 +00:00
shrykedude
9fc3c9b55b var check to make sure groups array is set before examining it, to eliminate PHP warning 2003-11-06 23:08:10 +00:00
Ralf Becker
57066401f5 Implemented for FUDforum/Ilia: changed the hooks addaccount, changepassword & editaccout to be called independent if the user is enabled for the app or not 2003-10-07 17:06:53 +00:00
Lars Kneschke
39e3d2b965 don't call the deleteaccount hook twice anymore 2003-09-20 04:48:34 +00:00
Lars Kneschke
2f986a6667 fixed a problem with the primary group
fixed german translation
2003-09-19 20:43:04 +00:00
Lars Kneschke
9cf40e6797 can't delete class with members 2003-09-14 08:34:03 +00:00
Ralf Becker
9cb610ad6d - adding primary group automaticaly to the groups of the user
- adding the user-data as parameters to the hooks: adduser, edituser, changepassword (old global var still works)
2003-09-13 19:00:41 +00:00
Lars Kneschke
ac487777b7 added support for primary group 2003-09-13 17:14:30 +00:00
Lars Kneschke
437b960836 adding a primary group to the admin pages 2003-09-13 14:09:41 +00:00
Lars Kneschke
e3dde66e08 change needed for integration of emailadmin
ldap bugfixing
2003-08-31 22:09:12 +00:00
Ralf Becker
f76c6eedd7 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:16:30 +00:00
ceb
4f6fc8d85a update 2003-04-27 23:16:15 +00:00