[turba] Re: Turba 1.2.2 and ldap
Jānis
je at ktf.rtu.lv
Mon Mar 21 10:07:35 PST 2005
This message is in MIME format.
---MOQ1111428455b391fd667202ed821352303f7839d441
Content-Type: text/plain; charset=ISO-8859-13
Content-Transfer-Encoding: 8bit
Citçju Craig White <craigwhite at azapple.com>:
> > I have
> > 1. Horde suite running using MySql ar address book backend;
> > 2. LDAP directory with common and personal address books (openldap 2.2.23)
> ----
> 2. doesn't make any sense - there are no 'common and personal address
> books' that I am aware of in openldap 2.2.23
Yes, openLDAP doesn't have such, but there is enough info around how to make it,
f.e. http://www.onlamp.com/pub/a/onlamp/2003/03/27/ldap_ab.html
see attachement for db structure.
> > In case of common addressbook, i can add and entry just a plain entry with
> name, if i try to add anything else, i get "There was an error adding this
> object."
> > and in horde log:
> > Mar 21 16:56:49 HORDE [error] [turba] Failed to add an object: [65] "Object
> > class violation" (attributes: [a:3:{s:2:"cn";s:12:"XXXX
> > YYYYY";s:4:"mail";s:11:"jkbjk at jk.lk";s:11:"objectclass";s:6:"person";}]).
> [on
> > line 41 of "/home/htdocs/morda/horde/turba/addobjectaction.php"]
> ----
> seems as though you would need a 'sn' attribute (surname - last name) as
> that is required by person objectclass
ok, but i am going to add new entries using Turba and in that case the input
form does not contain sn/gn fields, just name. Hereto, if i enter info in
any of the other fields, i get the same "error adding object"... I think, there
is something to do with horde/ldap field mappings in turba conf...
> > if i try to add an entry containing national chars, i am getting following
> > error:
> > RESULT tag=105 err=34 text=invalid DN
> ----
> hmmm...may be a problem with turba? Can you add these DN's via command
> line (ldapadd)
i made ldif file based on ISO8859-13 and slapcat can't add this as well (it
seems that only UTF8 is accepted) - just changed an ldif, which was accepted
previously
> > as for personal address book, i can go further than:
> > slapd[17402]: conn=7 fd=14 ACCEPT from IP=xx.xx.xx.xx:40640
> (IP=0.0.0.0:389)
> > slapd[17423]: conn=7 op=0 BIND dn="cn=XXXX,ou=People,dc=d,dc=v" method=128
> > slapd[17423]: conn=7 op=0 RESULT tag=97 err=49 text=
> ----
> isn't that an insufficient privileges error?
i don't think so (slapd.conf):
access to * by * write
> > May be there issomething wrong woth directory config of turba config,
> because
> > all address book users are registered in ou=People as posixusers
> ----
> you have to manage your own ldap DSA - I wouldn't have turba writing to
> my ou=People leaf since I keep the posix stuff there and all security
> would be out the window. I tend to think of the ou=People not as an
no, personal addressbooks are not under ou=People, but under
personal_addressbook:
dn: ou=janis,ou=personal_addressbook,dc=dv,dc=lv
ou: janis
objectClass: top
objectClass: organizationalUnit
structuralObjectClass: organizationalUnit
It should be noted that the only intended function of ldap at the moment is
storage of addrbooks for the use by Horde apps.
> > And one general question: how can i make LDAP use iso8859-13 instead of
> standard UTF8
> ----
> LDAP uses UTF8 - by design - should be to your benefit
ha, but i do not use UTF8 as it makes more problems than benefits. It is rarely
used alltogether at the moment.
Janis
***
---MOQ1111428455b391fd667202ed821352303f7839d441
Content-Disposition: attachment; filename="scrsh.png"
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
A non-text attachment was scrubbed...
Name: scrsh.png
Type: image/png
Size: 13660 bytes
Desc: not available
Url : http://lists.horde.org/archives/turba/attachments/20050321/0620121c/scrsh-0001.png
---MOQ1111428455b391fd667202ed821352303f7839d441--
More information about the turba
mailing list