Commit Graph

240 Commits

Author SHA1 Message Date
Miles Lott
97d808fb74 Move ldap connect to shared class, cutting down somewhat on ldap connects
per page load - more to come
2001-09-06 00:17:23 +00:00
skeeter
56ef840422 Fix for grab_owner_name() in comon. now calls account storage specific functions. 2001-09-05 22:46:47 +00:00
skeeter
dba3fc60f0 Changed around get_type() to grab the user account first, then the group accout. 2001-09-05 13:43:27 +00:00
skeeter
dcbcdd88ce Made a few changes to the accounts LDAP storage processing. 2001-09-04 03:12:23 +00:00
skeeter
81dfa789c0 Small changes. Added the caching back into id2name and did a little more checking for use of caching. 2001-09-03 09:47:47 +00:00
Miles Lott
e3c937326d Fix (?) gettype and name2id/id2name - group/user confusion still possible... 2001-09-03 03:21:50 +00:00
Miles Lott
35781b842a MAJOR: changing to new ldap accounts class, _old is the old file 2001-09-03 02:17:10 +00:00
skeeter
09f6cdab74 Changed get_list() to use query_limit() instead of limit(). 2001-09-02 07:19:46 +00:00
skeeter
d2a5441ed8 Now using GLOBALS. 2001-09-01 23:42:16 +00:00
Miles Lott
45f2ca1616 Adjust auto_add() - sql now uses a default group config in setup, or does
not configure a group at all - old behavior was to add them to account_id 1.
Some more register_globals tweaks.
2001-08-31 22:50:30 +00:00
skeeter
6da089837d Various optimizations to the API. This also does a little internal caching of some of the account data, but, only for a single page session. 2001-08-15 02:14:18 +00:00
skeeter
076bb37660 Simple caching of name2id and id2name values. 2001-08-11 14:45:56 +00:00
Miles Lott
1fe026c4c0 Rolling back file_space addition 2001-07-27 10:04:54 +00:00
zone
e6203dda83 Added file space option, file_space column to phpgw_accounts 2001-07-01 22:30:07 +00:00
Miles Lott
880bf3a86b Undo last change 2001-06-27 01:31:32 +00:00
Miles Lott
f9eaea8572 Add 'backup' to denied group/user list 2001-06-27 01:24:37 +00:00
Miles Lott
829250b0c0 Just some formatting cleanup, but preping to mod ldap to be all ldap 2001-06-26 09:51:16 +00:00
Miles Lott
201db9cb5e Add back nscd 2001-05-26 21:21:25 +00:00
Ralf Becker
2065718e34 some changes to make the import work 2001-05-26 21:16:25 +00:00
Miles Lott
ba5927b013 Add additional users to exclusion list 2001-05-26 18:27:14 +00:00
Miles Lott
44ca179808 Add nscd to the ldap exclusion list 2001-05-25 20:27:56 +00:00
Miles Lott
8060a2efee change create to use account_XXX, made newgroup use newer create 2001-05-10 09:34:47 +00:00
skeeter
c347caccde Missing the accounts_expire field being saved to the db. 2001-05-09 03:07:20 +00:00
Miles Lott
f6b3e189cf Update for create using array 2001-05-06 13:07:57 +00:00
jengo
d3af581109 Updated to accept a single array for the account values 2001-05-06 11:32:03 +00:00
Miles Lott
a25ff130b7 Add return for expire 2001-05-02 09:46:10 +00:00
Miles Lott
4d93655896 Take out group objectclassing since we are not yet storing groups in ldap 2001-04-15 21:40:26 +00:00
Miles Lott
1e45789497 Add inetOrgPerson to objectclass for new accounts 2001-04-05 21:50:12 +00:00
Miles Lott
06957d529b Modify save and create to check for attrs, and added some users to the exclusion list. 2001-04-05 18:55:44 +00:00
Miles Lott
443b54d641 Do not set homedir/shell for groups 2001-04-02 17:52:11 +00:00
skeeter
278bd972c1 Delete now locks the accounts table. 2001-03-30 04:21:10 +00:00
Miles Lott
50be1bbeb5 get_list() did not know about ldap_context, oops 2001-03-29 08:49:09 +00:00
Miles Lott
fef9d740a9 Add min/max account_id to admin config.inc.php, and ldap accounts is using it 2001-03-29 07:26:28 +00:00
Miles Lott
c7b682d525 Add homedirectory and loginshell to ldap 2001-03-29 03:40:14 +00:00
Miles Lott
501f75b630 Add optional use of $offset to limit the list 2001-03-26 20:44:49 +00:00
skeeter
4f6f05629c added saving of data to phpgw_accounts table when saving records to LDAP 2001-03-24 04:01:04 +00:00
skeeter
f22e071fbd minor touches for cosmetics 2001-03-24 02:33:44 +00:00
skeeter
0d28ccd10b Fixes for delete() in ldap. 2001-03-23 03:10:57 +00:00
Miles Lott
3604032b53 Add unset(password) before modify if the account existed in ldap already 2001-03-22 08:02:27 +00:00
skeeter
9fcb041eb4 mistype the name of the new function get_account_id() 2001-03-19 23:09:47 +00:00
skeeter
b9da94fd2e New function get_account_id(). This will take either an account_id # as either an integer or a string and return a true intval(account_id) or take a string of a users lid and return the account_id as an integer 2001-03-19 20:25:04 +00:00
skeeter
dd2ff0d4b4 fixes to the exists function. This will now accept either an account_lid or an account_id. The preferred method is the account_lid. 2001-03-18 14:08:39 +00:00
jengo
4f6e553e15 Cleaned up exists(), it was looking for account_id which is shouldn't do 2001-03-18 13:35:53 +00:00
Miles Lott
15fcaf6bbb Enhance exists() to not error due to empty $account_id 2001-03-18 03:34:56 +00:00
Miles Lott
7791256228 Modify create to modify an account if already in ldap, else add it 2001-03-14 18:54:30 +00:00
Miles Lott
9aefe9a58b Make the delete function delete from ldap as well 2001-03-14 16:50:17 +00:00
skeeter
130a36248a stronger type casting 2001-03-14 03:00:13 +00:00
Miles Lott
d3e54884f1 Make random uidnumber not create invalid uid ( <65536 ) 2001-03-10 14:59:28 +00:00
Miles Lott
f7533ca3d0 Added create function - still needs work 2001-03-10 12:27:22 +00:00
Miles Lott
25f3b8f34c Oops, move the phpgw_info above the class spec 2001-03-01 16:41:38 +00:00
Miles Lott
6b154b447e Move global_denied_users list into accounts class, sql is an empty array 2001-03-01 16:20:48 +00:00
Miles Lott
a311f8bad1 Make get_list return allValues[0]["???][0] instead of using non incrementing $i 2001-03-01 15:32:52 +00:00
Miles Lott
ebace1a65f Change insert into preferences to correct (new) table name 2001-03-01 03:01:06 +00:00
skeeter
99883c4bb0 improper default prefs 2001-02-22 05:35:53 +00:00
skeeter
26b4025092 guarantees returned id is int value 2001-02-18 23:26:53 +00:00
Lars Kneschke
ad3eecef15 updated my graphics class 2001-02-14 19:27:37 +00:00
jengo
f3e93891a9 Changed the preferences table to use the phpgw_ prefix 2001-02-13 19:30:18 +00:00
Miles Lott
5945a456e7 Formatting 2001-02-13 15:19:19 +00:00
Lars Kneschke
98213efd4e get_list() is working now 2001-02-13 14:31:35 +00:00
Lars Kneschke
9ebb3bfaae make password changing working from user admin pages 2001-02-12 21:13:09 +00:00
Lars Kneschke
6b787678ea useradmin pages rewrite started 2001-02-11 03:07:43 +00:00
skeeter
2d96794df0 fixes for read_repository() 2001-02-10 03:58:12 +00:00
jengo
015a627b1e Renamed the config table to phpgw_config 2001-02-08 19:34:14 +00:00
skeeter
18e2eaa767 minor fixes for memberships() 2001-02-08 03:25:22 +00:00
jengo
5f0c2433db Returned cvs to how it was last night (with including the class.accounts.inc.php) file first 2001-02-06 20:13:06 +00:00
jengo
16cad5e0b4 Forgot to include the contructor 2001-02-06 13:24:33 +00:00
jengo
e219167262 Updated LDAP to the new class name 2001-02-06 13:21:07 +00:00
Lars Kneschke
2d4dedfbd5 new classes support 2001-02-06 12:36:02 +00:00
Lars Kneschke
f4c9533c37 the new accounts class 2001-02-05 22:31:18 +00:00
Lars Kneschke
a09fb881a4 working on the new accounts class 2001-02-05 21:56:23 +00:00
Lars Kneschke
2dbca7efea building the new class 2001-02-05 21:26:40 +00:00
Lars Kneschke
f4fa3e15b3 move to seek3r definition 2001-02-05 21:05:24 +00:00
Lars Kneschke
f4faad636b put all funtions from _sql into _ldap to make it working again
there are still other prob, but at least this class should wotk now
2001-02-05 18:38:43 +00:00
skeeter
94b6d81a37 minor fixes for reading group info 2001-02-04 20:29:18 +00:00
Lars Kneschke
8a3da8d252 make ldap working again 2001-02-04 11:17:58 +00:00
Lars Kneschke
d902c27d85 some changes for ldap support 2001-02-04 10:26:15 +00:00
Lars Kneschke
33a24db25b first modifications to make ldap working again 2001-02-03 22:51:20 +00:00
Lars Kneschke
1af442eb97 changed function names, to match the sql ones 2001-02-03 21:14:23 +00:00
skeeter
b1cf1322a6 preps for editgroup/newgroup and calendar 2001-01-31 05:51:52 +00:00
seek3r
52796590bf trying to get code ready for admin pages 2001-01-30 10:46:09 +00:00
seek3r
3509042d9b moved code so that group memberships are based on ACL entries 2001-01-30 10:11:34 +00:00
skeeter
50cf9c05ae now handles the multi args in CreateObject() 2001-01-30 02:09:32 +00:00
Miles Lott
4ace69d421 Rename phpgw_fillarray to fill_user_array to match sql. 2001-01-28 13:31:44 +00:00
Miles Lott
6938a42803 Addin username/groupname conversion functions from sql. 2001-01-28 13:29:14 +00:00
skeeter
9c554ba6d9 cosmetic fixes 2001-01-23 12:01:55 +00:00
skeeter
abf8c3bcd9 implementation of applications class 2001-01-21 01:26:23 +00:00
skeeter
47a938e92a small performance fixes 2001-01-19 13:16:00 +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