Commit Graph

45 Commits

Author SHA1 Message Date
Ralf Becker
741a12bef2 fixed typo, wrong parameter name 2010-09-10 08:24:19 +00:00
Ralf Becker
61d26df913 reworked auth classes, to allow them to use each other and a new auth class using a primary backend (ldap) and a fallback (sql) 2010-01-28 04:22:37 +00:00
Ralf Becker
5291d0ac39 Fixing the fix ;-)
shadowLastChange has to be an integer
2009-04-09 08:11:24 +00:00
Ralf Becker
7698d3ef65 Fixed not (always) updated last password change date 2009-04-09 06:41:41 +00:00
Ralf Becker
4f94d5837d use of global db object and new headers, made all methods of the auth class static 2008-03-15 17:27:36 +00:00
Ralf Becker
742f10831b not using gidNumber for autocreating accounts, as it means nothing on our system and it stops the group selected in setup from beeing used 2007-10-28 06:04:16 +00:00
Ralf Becker
23c2f997fc "- fixed problem reported by JOYDEEP on the user-list: disabled accounts can still login under the ldap account backend" 2007-06-20 07:40:59 +00:00
Ralf Becker
1697a56468 "- fixed handling of passwords with special chars
- made handling of empty passwords more obvious
- fixed primary group to use negative group-id"
2007-06-20 06:49:02 +00:00
Ralf Becker
d8d93ebd77 changed the authticate method to use common::ldapConnect() and not do it yourself, which fails as the ldap-version3 attribute no longer exists 2006-06-09 00:07:57 +00:00
Ralf Becker
98d8b30761 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:36 +00:00
Lars Kneschke
3abea0dbe6 fixed changing passwords using ldap 2005-12-02 12:49:50 +00:00
Ralf Becker
dafaf45680 fixed typo which caused the admin passwd to be changed, instead the one of the edited user 2005-11-13 06:09:10 +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
Miles Lott
137e472433 Use correct quoting when querying/setting account_id; minor formatting 2005-08-27 12:19:35 +00:00
dawnlinux
b305532907 Correct a variable name, it should be "$_account_id" not "$account_id" 2004-12-14 02:12:09 +00:00
Ralf Becker
508cff860c added configurable search-filter to auth_ldap 2004-08-21 12:18:07 +00:00
Ralf Becker
eed94133c3 fixed and extended auto_create_accounts: the following information from ldap are now automaticaly stored in the sql-account:
- name & firstname
- primary group (if a group with that numerical id exists in eGW, its added as primary group to the account and acl)
- numerical account-id (if availible, no new one gets created, but the one from ldap is used)
- email (as preference for the email-app)
2004-05-22 11:00:18 +00:00
reinerj
48f840d7de move from old projct to new one 2004-05-05 12:06:13 +00:00
Miles Lott
0d23f90fd4 ensure integer value sent to avoid badfilter 2004-01-26 03:24:40 +00:00
Miles Lott
77fd8f4882 Move password functions to auth class; Add support for new encryption types in setup
and implement password checking and creation for these new types
2004-01-18 21:12:53 +00:00
Lars Kneschke
05b73a96b0 enable check for casesensitive usernames 2004-01-16 07:44:38 +00:00
Lars Kneschke
b11297fc59 make password changing using ldap working again 2004-01-02 15:07:04 +00:00
Ralf Becker
c218e158b1 added a check agains ldap-insertion in the login-name 2003-10-02 21:01:37 +00:00
Ralf Becker
54bcb34236 fixed account-enabled check for account-storage != ldap 2003-09-24 12:21:38 +00:00
Lars Kneschke
2a4b75c483 ldap fixes 2003-09-21 19:02:12 +00:00
Lars Kneschke
bfb56ec1de ldap fixes 2003-09-14 14:35:36 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
ceb
ba80c900a7 update 2002-11-24 01:45:28 +00:00
Miles Lott
8dd5db4d01 Swap old/new update_lastlogin() 2001-09-03 03:56:12 +00:00
Miles Lott
07009748e5 using GLOBALS now 2001-08-30 19:39:13 +00:00
jengo
3c64f8fc3e Started adding in some eventlog reporting 2001-08-05 09:54:44 +00:00
Miles Lott
83db6d7fb0 Moved the one altered function into old file as new_*, remove _wip 2001-06-26 21:29:39 +00:00
jengo
cf9686e512 I broke a few things durring last commit, tring it again ... 2001-06-03 18:20:05 +00:00
jengo
37bd9763fa Added feature to drop the previous login into appsessions, this way developer can find out how long its been since they last logged in.
- Formating in sqlssl
- Fixed change_password() in sqlssl not being correct and based on older versions
2001-06-03 17:58:12 +00:00
jengo
a7c66aa628 Fixed appsessions not being updated durring a password change 2001-04-17 17:49:13 +00:00
jengo
50c4666ecc SF #413717 - Fixed undefined function update_lastlogin(), this problem was for more then just mail_auth 2001-04-10 07:58:19 +00:00
Miles Lott
e2afce4073 Fix account_id use in update_lastlogin to use get_account_id; formatting 2001-03-26 21:36:32 +00:00
Lars Kneschke
9ebb3bfaae make password changing working from user admin pages 2001-02-12 21:13:09 +00:00
skeeter
53f4716584 replaced quotes with single ticks where applicable 2001-02-11 20:03:35 +00:00
Lars Kneschke
6b787678ea useradmin pages rewrite started 2001-02-11 03:07:43 +00:00
skeeter
a33f2f4fa2 fix the update accounts lastloginfrom 2001-02-09 04:31:47 +00:00
Lars Kneschke
e4dda639c7 made ldap working again 2001-02-05 19:01:06 +00:00
seek3r
4e3e6c77cb fixed banners so that they are all uniform and complete 2001-01-16 13:52:32 +00:00
seek3r
fba1a92446 Put in new license details 2001-01-13 10:18:50 +00:00
seek3r
e97ef24062 switching to the new Object factory method 2001-01-11 09:52:33 +00:00