[turba] Re: LDAP Group Creation

cpickert cpickert at myrgroup.us
Wed Jun 25 21:43:12 PDT 2003



I'm leaving for a fishing trip in Canada and was wondering if maybe before I
left, I could have someone who has a working OpenLDAP turba group/list
creation/addition work to post their turba/config/sources.php, as Chuck said it
works perfectly fine for him. I've just checked out the latest HEAD cvs and it
still won't work for me. Thanks in advance, if I can get them working before I
leave, my mail clients will be very happy people! =) Thanks Chuck and all,
Horde/IMP is quite amazing and it a wonderful fruit of all your labors.


-- Canada bound .. -- CP
My attrib map is first then my preceeding posts follow:

 'map' => array(
        '__key' => 'dn',
        '__owner' => 'owner',
        '__type' => 'turbaobjecttype',
        '__members' => 'turbaobjectmembers',
        'name' => 'cn',
        'surname' => 'sn',
        'email' => 'mail',
        'title' => 'title',
        'company' => 'o',
        'workAddress' => 'postaladdress',
        'city' => 'l',
        'state' => 'st',
        'zip' => 'postalcode',
        'country' => 'c',
        'workPhone' => 'telephonenumber',
        'fax' => 'facsimiletelephonenumber',
        'homePhone' => 'homephone',
        'cellPhone' => 'mobiletelephonenumber',
        'homeAddress' => 'homepostaladdress',
        'notes' => 'description'
    ),


-- Start old message
Here's the var_dump($target); --
object(pear_error)(8) { ["error_message_prefix"]=>  string(0) "" ["mode"]=>
int(1) ["level"]=>  int(1024) ["code"]=>  NULL ["message"]=>  string(27)
"Requested object not found." ["userinfo"]=>  NULL ["backtrace"]=>  NULL
["callback"]=>  NULL }

Obviously '... object not found' is the issue, at after examining browse.php, I
need an __owner attribute in the LDAP map, as it was the only thing that might
be 'not found'. So, I added the map as such: '__owner' => 'owner',  but with no
luck... Could you post a snipnet of the LDAP map in your working sources.php?

When I add a group in my SQL personal book, I get the following-
Fatal error: Call to undefined function: getvalue() in
/var/www/myrgroup.us/horde/turba/lib/Group.php on line 51

But, the group creation succeeds.. Just thought I'd through that in ;)
BTW: www.horde.org is down at the moment =(

Quoting Chuck Hagenbuch <chuck at horde.org>:

> Quoting cpickert <cpickert at myrgroup.us>:
>
> > Upon selecting a few records and attempting to add them to a 'New List'
> from
> > inside an LDAP shared directory, the following error pops up and the
> attempt
> > fails...
> >
> > Fatal error: Call to undefined function: isgroup() in
> > /var/www/myrgroup.us/horde/turba/browse.php on line 132
>
> Works fine (with LDAP, etc.) here. We'll need to know what the object that's
> supposed to have the isGroup method defined actually is - var_dump() it right
> above that line number.
>
> -chuck
>
> --
> Charles Hagenbuch, <chuck at horde.org>
> The alligators were there, too, in a bathtub inside the house.
>
> --
> Turba mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: turba-unsubscribe at lists.horde.org
>


More information about the turba mailing list