From: <om...@es...> - 2006-12-31 18:07:32
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Oscar Manuel G=F3mez Senovilla escribi=F3: > Hi >=20 >=20 > - The ACL for users and groups. I find them too restrictive, and at > least the behaviour is different than the one for contacts in sql. From > this point of view, I think it's a bug. One related thing I can't find > documented is that _maybe_ putting the members allowed to write in a > "egwadmin" group could make it work, but I didn't test this yet. I have to say that this is all my fault. The acls are ok, and the problem is debian setup and my own fault. The acl to make it readable by * (the same that allows the admin to write everywhere) was before the addressbook acls, so putting if after solved the problem. There are also a couple of things that the nis2rfc307bis.php could do, or at least warn: 1) the correspondence between categories (category attribute vs phpgwcatid -IIRC-). Fortunately, a manual solution is not too difficult: first, find out the categories in the ldif file ("grep -i phpgwcontactcatid|sort -u", with optional "|cut -f 2" to show the numbers only), and lookup those values in the db ("select cat_id,cat_name from egw_categories where cat_appname=3D'addressbook' or cat_appname=3D'phpgwapi'"). Then, edit the ldif file and replace "phpgwContactCatId: XX" (beware capitalization, depending on the editor, or sed) by "category: <cat_name>", with the result of the select for the chosen cat_id. Repeat this for all categories. 2) Get rid of old schemas, with can be donde with "grep -v phpgw your.ldif > nophpgw.ldif". I think a ldif to be imported with slapadd should be ready this way. For some unknown (to me) reason, you can filter by category in the addressbook view, and this filter works ok, but some contacts don't have the specified category in the categories tab (it's sometimes empty), so I have had to browse them all, edit and (re)write. One more note: sometimes i get an error saying that the contact already exists (which of course true, since I'm editing), but in all cases I've been able to save it by just clicking "apply" again. With this, the messed installation is working again. I also have another problem with addressbook at my own installation, this one related to performance. The 32 Mb limit set in .htaccess gets exhausted very often ("Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2864900 bytes) in Unknown on line 0") and this can cause many problems, because if the data is tried to be saved, it can be overwritten or corrupt. I've found this limit when editing a task, so it's not related to addressbook. Anyway, the new addressbook is great. Regards and happy new year. - -- |----------------------------------------------------------------------| | http://counter.li.org info: Linux user: 92390 - Linux machine: 39301 | | Oscar Manuel G=F3mez Senovilla - omgsATescomposlinux.org = | | GPG Key at http://pgp.escomposlinux.org | |----------------------------------------------------------------------| -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFl/xeQpr3kykd/aQRApvAAJ9bDrn61Cr/Gb+vBKg+kF/SR8z8LQCeNWTm aK9pAEArgLZ+uUoLTTykbs4=3D =3D+BVZ -----END PGP SIGNATURE----- |