[turba] help.xml file.

Frederic Trudeau ftrudeau@cam.org
Mon, 27 Aug 2001 15:20:35 -0400



forget my last msg. 

I downloaded the latest CVS, and a copy of IMP help file (French) was 
in /horde/turba/locale/fr_FR. I'll modify it and send it to you guys soon.

-- 
Frederic Trudeau


[A]dvanced [S]upport [A]gent
Colocation/Customer Support Agent
CAM Internet -> http://www.cam.org
->


Surlignage Chuck Hagenbuch <chuck@horde.org>:

> Quoting Frederic Trudeau <ftrudeau@cam.org>:
> 
> > I noticed that help for Turba is not written yet. I wrote part of it in 
> > French, and put the file in /horde/turba/locale/fr_FR/help.xml, but it
> doenst
> > show up when I click on <Help> in Turba.
> 
> Can you send us the help file so that we have something to test with?
> 
> -chuck
> 
> --
> Charles Hagenbuch, <chuck@horde.org>
> Some fallen angels have their good reasons.
> 
> -- 
> Turba mailing list: http://horde.org/turba/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: turba-unsubscribe@lists.horde.org
> 
> 


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


>From tdavis@birddog.com Date: Tue,  4 Sep 2001 23:38:17 -0500
Return-Path: <tdavis@birddog.com>
Mailing-List: contact turba-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list turba@lists.horde.org
Received: (qmail 49293 invoked from network); 5 Sep 2001 04:39:09 -0000
Received: from hermes.birddog.com (63.125.164.131)
  by horde.org with SMTP; 5 Sep 2001 04:39:09 -0000
Received: from localhost (prometheus.birddog.com [10.2.0.4])
	by hermes.birddog.com (8.11.6/8.11.6) with ESMTP id f854dni02295
	for <turba@lists.horde.org>; Tue, 4 Sep 2001 23:39:49 -0500
Received: from 10.10.4.1 ( [10.10.4.1])
	as user td@imap.birddog.com by secure.birddog.com with HTTP;
	Tue,  4 Sep 2001 23:38:17 -0500
Message-ID: <999664697.3b95ac39a60db@secure.birddog.com>
Date: Tue,  4 Sep 2001 23:38:17 -0500
From: Terry Davis <tdavis@birddog.com>
To: turba@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Originating-IP: 10.10.4.1
X-Scanned-By: MIMEDefang 1.3 (www dot roaringpenguin dot com slash mimedefang)
Subject: attributes - help

Hello,
I see 3 different places where attribute names can come into play.
config/attributes.php
config/sources.php
templates/display/display.inc

Where do I put attributes I want to include in the display?  I don't 
necessarily want to be able to search by these attributes just display their 
contents should the entry get called.

For instance, I want:
$attributes['businessCategory'] = _("Department");
$attributes['postalAddress'] = _("Work Address");
$attributes['telephoneNumber'] = _("Work Phone");
$attributes['mobile'] = _("Mobile Phone");
$attributes['facsimileTelephoneNumber'] = _("Fax");

those added to the display.  What do I have to do to accomplish this?

Thank you for any help!

-- 
Terry Davis
Systems Administrator
BirdDog Solutions, Inc.
(402) 829-6059





-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



>From chuck@horde.org Date: Wed,  5 Sep 2001 11:03:38 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact turba-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list turba@lists.horde.org
Received: (qmail 70235 invoked from network); 5 Sep 2001 15:05:54 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.198.7)
  by horde.org with SMTP; 5 Sep 2001 15:05:54 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 11EB53D9F; Wed,  5 Sep 2001 11:03:39 -0400 (EDT)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@localhost by marina.horde.org with HTTP;
	Wed,  5 Sep 2001 11:03:38 -0400
Message-ID: <999702218.3b963ecae5af4@marina.horde.org>
Date: Wed,  5 Sep 2001 11:03:38 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: turba@lists.horde.org
References: <999664697.3b95ac39a60db@secure.birddog.com>
In-Reply-To: <999664697.3b95ac39a60db@secure.birddog.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [turba] attributes - help

Quoting Terry Davis <tdavis@birddog.com>:

> I see 3 different places where attribute names can come into play.
> config/attributes.php
> config/sources.php
> templates/display/display.inc
> 
> Where do I put attributes I want to include in the display?  I don't 
> necessarily want to be able to search by these attributes just display their 
> contents should the entry get called.
> 
> For instance, I want:
> $attributes['businessCategory'] = _("Department");
> $attributes['postalAddress'] = _("Work Address");
> $attributes['telephoneNumber'] = _("Work Phone");
> $attributes['mobile'] = _("Mobile Phone");
> $attributes['facsimileTelephoneNumber'] = _("Fax");
> 
> those added to the display.  What do I have to do to accomplish this?

You need them in all three places. You need them in attributes.php so that Turba
will know how to lable them; you need them in sources.php so that Turba will
know where to find that field in your backend. You need them in display.inc so
that they're displayed. ;)

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Some fallen angels have their good reasons.


>From chuck@horde.org Date: Wed,  5 Sep 2001 11:04:34 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact turba-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list turba@lists.horde.org
Received: (qmail 70445 invoked from network); 5 Sep 2001 15:06:54 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.198.7)
  by horde.org with SMTP; 5 Sep 2001 15:06:54 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 255F13D9F; Wed,  5 Sep 2001 11:04:34 -0400 (EDT)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@localhost by marina.horde.org with HTTP;
	Wed,  5 Sep 2001 11:04:33 -0400
Message-ID: <999702273.3b963f0204ce0@marina.horde.org>
Date: Wed,  5 Sep 2001 11:04:34 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: turba@lists.horde.org
References: <999664697.3b95ac39a60db@secure.birddog.com>
In-Reply-To: <999664697.3b95ac39a60db@secure.birddog.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [turba] attributes - help

Quoting Terry Davis <tdavis@birddog.com>:

> $attributes['businessCategory'] = _("Department");
> $attributes['postalAddress'] = _("Work Address");
> $attributes['telephoneNumber'] = _("Work Phone");
> $attributes['mobile'] = _("Mobile Phone");
> $attributes['facsimileTelephoneNumber'] = _("Fax");

Also, a bunch of these are duplicates of existing fields - it sounds like you
just need to map them correctly in config/sources.php.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Some fallen angels have their good reasons.


>From tdavis@birddog.com Date: Wed,  5 Sep 2001 10:22:19 -0500
Return-Path: <tdavis@birddog.com>
Mailing-List: contact turba-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list turba@lists.horde.org
Received: (qmail 72008 invoked from network); 5 Sep 2001 15:23:13 -0000
Received: from hermes.birddog.com (63.125.164.131)
  by horde.org with SMTP; 5 Sep 2001 15:23:13 -0000
Received: from localhost (prometheus.birddog.com [10.2.0.4])
	by hermes.birddog.com (8.11.6/8.11.6) with ESMTP id f85FNti08547
	for <turba@lists.horde.org>; Wed, 5 Sep 2001 10:23:55 -0500
Received: from 10.10.10.200 ( [10.10.10.200])
	as user td@imap.birddog.com by secure.birddog.com with HTTP;
	Wed,  5 Sep 2001 10:22:19 -0500
Message-ID: <999703339.3b96432bd9dbe@secure.birddog.com>
Date: Wed,  5 Sep 2001 10:22:19 -0500
From: Terry Davis <tdavis@birddog.com>
To: turba@lists.horde.org
References: <999664697.3b95ac39a60db@secure.birddog.com> <999702273.3b963f0204ce0@marina.horde.org>
In-Reply-To: <999702273.3b963f0204ce0@marina.horde.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Originating-IP: 10.10.10.200
X-Scanned-By: MIMEDefang 1.3 (www dot roaringpenguin dot com slash mimedefang)
Subject: Re: [turba] attributes - help

Here is my attributes.php:
$attributes['name'] = _("Name");
$attributes['alias'] = _("Alias");
$attributes['email'] = _("Email");
$attributes['title'] = _("Title");
$attributes['businessCategory'] = _("Department");
$attributes['postalAddress'] = _("Work Address");
$attributes['telephoneNumber'] = _("Work Phone");
$attributes['mobile'] = _("Mobile Phone");
$attributes['facsimileTelephoneNumber'] = _("Fax");

Here is my sources.php:
    'map' => array(
        '__key' => 'dn',
        'name' => 'cn',
        'email' => 'mail',
        'alias' => 'givenname',
        'businessCategory' => 'businessCategory',
        'postalAddress' => 'postalAddress',
        'telephoneNumber' => 'telephoneNumber',
        'mobile' => 'mobile',
        'facsimileTelephoneNumber' => 'facsimileTelephoneNumber'

The results page is only showing Name, Email, and Alias.

What am I missing?
thank you!
-- 
Terry Davis
Systems Administrator
BirdDog Solutions, Inc.
(402) 829-6059


Quoting Chuck Hagenbuch <chuck@horde.org>:

> Quoting Terry Davis <tdavis@birddog.com>:
> 
> > $attributes['businessCategory'] = _("Department");
> > $attributes['postalAddress'] = _("Work Address");
> > $attributes['telephoneNumber'] = _("Work Phone");
> > $attributes['mobile'] = _("Mobile Phone");
> > $attributes['facsimileTelephoneNumber'] = _("Fax");
> 
> Also, a bunch of these are duplicates of existing fields - it sounds like
> you
> just need to map them correctly in config/sources.php.
> 
> -chuck
> 
> --
> Charles Hagenbuch, <chuck@horde.org>
> Some fallen angels have their good reasons.
> 
> -- 
> Turba mailing list: http://horde.org/turba/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: turba-unsubscribe@lists.horde.org
> 


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



>From chuck@horde.org Date: Wed,  5 Sep 2001 11:26:29 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact turba-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list turba@lists.horde.org
Received: (qmail 72483 invoked from network); 5 Sep 2001 15:28:34 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.198.7)
  by horde.org with SMTP; 5 Sep 2001 15:28:34 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 51C243D9F; Wed,  5 Sep 2001 11:26:29 -0400 (EDT)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@localhost by marina.horde.org with HTTP;
	Wed,  5 Sep 2001 11:26:29 -0400
Message-ID: <999703589.3b96442531a28@marina.horde.org>
Date: Wed,  5 Sep 2001 11:26:29 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: turba@lists.horde.org
References: <999664697.3b95ac39a60db@secure.birddog.com> <999702273.3b963f0204ce0@marina.horde.org> <999703339.3b96432bd9dbe@secure.birddog.com>
In-Reply-To: <999703339.3b96432bd9dbe@secure.birddog.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [turba] attributes - help

Have you added any of your new attributes to display.inc? And why are you
introducing a 'mobile' attribute, when there's already the 'cellPhone' one? If
you want it to be labeled 'Mobile Phone', instead, just change the label part,
and then in sources.php, change:

>         'mobile' => 'mobile',

to

'cellPhone' => 'mobile',

Similarly,

>         'facsimileTelephoneNumber' => 'facsimileTelephoneNumber'

to

'fax' => 'facsimileTelephoneNumber'

etc... That's what the map array is for.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Some fallen angels have their good reasons.


>From tdavis@birddog.com Date: Wed,  5 Sep 2001 10:30:54 -0500
Return-Path: <tdavis@birddog.com>
Mailing-List: contact turba-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list turba@lists.horde.org
Received: (qmail 72699 invoked from network); 5 Sep 2001 15:31:47 -0000
Received: from hermes.birddog.com (63.125.164.131)
  by horde.org with SMTP; 5 Sep 2001 15:31:47 -0000
Received: from localhost (prometheus.birddog.com [10.2.0.4])
	by hermes.birddog.com (8.11.6/8.11.6) with ESMTP id f85FWTi08784
	for <turba@lists.horde.org>; Wed, 5 Sep 2001 10:32:29 -0500
Received: from 10.10.10.200 ( [10.10.10.200])
	as user td@imap.birddog.com by secure.birddog.com with HTTP;
	Wed,  5 Sep 2001 10:30:54 -0500
Message-ID: <999703854.3b96452ee4b47@secure.birddog.com>
Date: Wed,  5 Sep 2001 10:30:54 -0500
From: Terry Davis <tdavis@birddog.com>
To: turba@lists.horde.org
References: <999664697.3b95ac39a60db@secure.birddog.com> <999702273.3b963f0204ce0@marina.horde.org> <999703339.3b96432bd9dbe@secure.birddog.com> <999703589.3b96442531a28@marina.horde.org>
In-Reply-To: <999703589.3b96442531a28@marina.horde.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Originating-IP: 10.10.10.200
X-Scanned-By: MIMEDefang 1.3 (www dot roaringpenguin dot com slash mimedefang)
Subject: Re: [turba] attributes - help

My schema calls it mobile, not cellphone.  
oh ok.  it just maps easy to remember words to actual attribute names?

And I didnt know I had to add them to display.inc.  Let me get this all squared
away. 

Thank you ,

-- 
Terry Davis
Systems Administrator
BirdDog Solutions, Inc.
(402) 829-6059


Quoting Chuck Hagenbuch <chuck@horde.org>:

> Have you added any of your new attributes to display.inc? And why are you
> introducing a 'mobile' attribute, when there's already the 'cellPhone' one?
> If
> you want it to be labeled 'Mobile Phone', instead, just change the label
> part,
> and then in sources.php, change:
> 
> >         'mobile' => 'mobile',
> 
> to
> 
> 'cellPhone' => 'mobile',
> 
> Similarly,
> 
> >         'facsimileTelephoneNumber' => 'facsimileTelephoneNumber'
> 
> to
> 
> 'fax' => 'facsimileTelephoneNumber'
> 
> etc... That's what the map array is for.
> 
> -chuck
> 
> --
> Charles Hagenbuch, <chuck@horde.org>
> Some fallen angels have their good reasons.
> 
> -- 
> Turba mailing list: http://horde.org/turba/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: turba-unsubscribe@lists.horde.org
> 


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



>From chuck@horde.org Date: Wed,  5 Sep 2001 11:44:22 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact turba-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list turba@lists.horde.org
Received: (qmail 75147 invoked from network); 5 Sep 2001 15:46:28 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.198.7)
  by horde.org with SMTP; 5 Sep 2001 15:46:28 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 088B83D9F; Wed,  5 Sep 2001 11:44:23 -0400 (EDT)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@localhost by marina.horde.org with HTTP;
	Wed,  5 Sep 2001 11:44:22 -0400
Message-ID: <999704662.3b964856dc6dd@marina.horde.org>
Date: Wed,  5 Sep 2001 11:44:22 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: turba@lists.horde.org
References: <999664697.3b95ac39a60db@secure.birddog.com> <999702273.3b963f0204ce0@marina.horde.org> <999703339.3b96432bd9dbe@secure.birddog.com> <999703589.3b96442531a28@marina.horde.org> <999703854.3b96452ee4b47@secure.birddog.com>
In-Reply-To: <999703854.3b96452ee4b47@secure.birddog.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [turba] attributes - help

Quoting Terry Davis <tdavis@birddog.com>:

> My schema calls it mobile, not cellphone.  
> oh ok.  it just maps easy to remember words to actual attribute names?

The whole point of the map array is that different backends are going to call
things - like mobile numbers - different things. You don't need to change _any_
code to compensate for this. You just change the map. You shouldn't be adding
_anything_ for attributes that already exist, just with a different name.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Some fallen angels have their good reasons.


>From tdavis@birddog.com Date: Wed,  5 Sep 2001 10:47:28 -0500
Return-Path: <tdavis@birddog.com>
Mailing-List: contact turba-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list turba@lists.horde.org
Received: (qmail 75372 invoked from network); 5 Sep 2001 15:48:20 -0000
Received: from hermes.birddog.com (63.125.164.131)
  by horde.org with SMTP; 5 Sep 2001 15:48:20 -0000
Received: from localhost (prometheus.birddog.com [10.2.0.4])
	by hermes.birddog.com (8.11.6/8.11.6) with ESMTP id f85Fn3i09178
	for <turba@lists.horde.org>; Wed, 5 Sep 2001 10:49:03 -0500
Received: from 10.10.10.200 ( [10.10.10.200])
	as user td@imap.birddog.com by secure.birddog.com with HTTP;
	Wed,  5 Sep 2001 10:47:28 -0500
Message-ID: <999704848.3b96491017409@secure.birddog.com>
Date: Wed,  5 Sep 2001 10:47:28 -0500
From: Terry Davis <tdavis@birddog.com>
To: turba@lists.horde.org
References: <999664697.3b95ac39a60db@secure.birddog.com> <999702273.3b963f0204ce0@marina.horde.org> <999703339.3b96432bd9dbe@secure.birddog.com> <999703589.3b96442531a28@marina.horde.org> <999703854.3b96452ee4b47@secure.birddog.com> <999704662.3b964856dc6dd@marina.horde.org>
In-Reply-To: <999704662.3b964856dc6dd@marina.horde.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Originating-IP: 10.10.10.200
X-Scanned-By: MIMEDefang 1.3 (www dot roaringpenguin dot com slash mimedefang)
Subject: Re: [turba] attributes - help

ok I understand now.  :)
Thank you chuck.

-- 
Terry Davis
Systems Administrator
BirdDog Solutions, Inc.
(402) 829-6059


Quoting Chuck Hagenbuch <chuck@horde.org>:

> Quoting Terry Davis <tdavis@birddog.com>:
> 
> > My schema calls it mobile, not cellphone.  
> > oh ok.  it just maps easy to remember words to actual attribute names?
> 
> The whole point of the map array is that different backends are going to
> call
> things - like mobile numbers - different things. You don't need to change
> _any_
> code to compensate for this. You just change the map. You shouldn't be
> adding
> _anything_ for attributes that already exist, just with a different name.
> 
> -chuck
> 
> --
> Charles Hagenbuch, <chuck@horde.org>
> Some fallen angels have their good reasons.
> 
> -- 
> Turba mailing list: http://horde.org/turba/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: turba-unsubscribe@lists.horde.org
> 


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



>From tdavis@birddog.com Date: Wed,  5 Sep 2001 11:20:42 -0500
Return-Path: <tdavis@birddog.com>
Mailing-List: contact turba-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list turba@lists.horde.org
Received: (qmail 78361 invoked from network); 5 Sep 2001 16:21:35 -0000
Received: from hermes.birddog.com (63.125.164.131)
  by horde.org with SMTP; 5 Sep 2001 16:21:35 -0000
Received: from localhost (prometheus.birddog.com [10.2.0.4])
	by hermes.birddog.com (8.11.6/8.11.6) with ESMTP id f85GMIi09980
	for <turba@lists.horde.org>; Wed, 5 Sep 2001 11:22:18 -0500
Received: from 10.10.10.200 ( [10.10.10.200])
	as user td@imap.birddog.com by secure.birddog.com with HTTP;
	Wed,  5 Sep 2001 11:20:42 -0500
Message-ID: <999706842.3b9650daefd76@secure.birddog.com>
Date: Wed,  5 Sep 2001 11:20:42 -0500
From: Terry Davis <tdavis@birddog.com>
To: turba@lists.horde.org
References: <999664697.3b95ac39a60db@secure.birddog.com> <999702273.3b963f0204ce0@marina.horde.org> <999703339.3b96432bd9dbe@secure.birddog.com> <999703589.3b96442531a28@marina.horde.org> <999703854.3b96452ee4b47@secure.birddog.com> <999704662.3b964856dc6dd@marina.horde.org>
In-Reply-To: <999704662.3b964856dc6dd@marina.horde.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Originating-IP: 10.10.10.200
X-Scanned-By: MIMEDefang 1.3 (www dot roaringpenguin dot com slash mimedefang)
Subject: Re: [turba] attributes - help

Things are falling together.  It makes perfect sense and is a great way of doing
things.  However, I am not able to get a few attributes to work.  I see the
spaces for them on the page but the values are not being put into the fields. 
workPhone,workAddress,and fax are not showing up.  

Here is my sources.php:
$cfgSources = array();
 
$cfgSources['netcenter'] = array(
    'title' => 'BirdDog Address Book',
    'type' => 'ldap',
    'params' => array(
        'server' => 'ldap.birddog.com',
        'port' => 389,
        'root' => 'ou=People,dc=birddog,dc=com',
        'dn' => array('cn'),
        'objectclass' => 'person',
#       'objectclass' => 'organizationalPerson',
#       'objectclass' => 'inetOrgPerson',
#       'objectclass' => 'inetLocalMailRecipient',
        'filter' => ''
    ),
    'map' => array(
        '__key' => 'dn',
        'name' => 'cn',
        'email' => 'mail',
        'alias' => 'givenname',
        'title' => 'title',
        'department' => 'ou',
        'workPhone' => 'telephoneNumber',
        'pager' => 'pager',
        'cellPhone' => 'mobile',
        'fax' => 'facsimileTelephoneNumber',
        'workAddress' => 'postalAddress'
    ),
    'public' => true,
    'readonly' => true
);


And here is my attributes.php:

$attributes['name'] = _("Name");
$attributes['alias'] = _("Alias");
$attributes['email'] = _("Email");
$attributes['title'] = _("Title");
$attributes['company'] = _("Company");
$attributes['homeAddress'] = _("Home Address");
$attributes['workAddress'] = _("Work Address");
$attributes['homePhone'] = _("Home Phone");
$attributes['workPhone'] = _("Work Phone");
$attributes['pager'] = _("Pager");
$attributes['cellPhone'] = _("Cell Phone");
$attributes['fax'] = _("Fax");
$attributes['notes'] = _("Notes");

All of them work but the 3 I mentioned above.  I can use another program and get
the values fine, so I know its not an acl problem or anything along the
permissions line.

Thank you for any insight.

-- 
Terry Davis
Systems Administrator
BirdDog Solutions, Inc.
(402) 829-6059


Quoting Chuck Hagenbuch <chuck@horde.org>:

> Quoting Terry Davis <tdavis@birddog.com>:
> 
> > My schema calls it mobile, not cellphone.  
> > oh ok.  it just maps easy to remember words to actual attribute names?
> 
> The whole point of the map array is that different backends are going to
> call
> things - like mobile numbers - different things. You don't need to change
> _any_
> code to compensate for this. You just change the map. You shouldn't be
> adding
> _anything_ for attributes that already exist, just with a different name.
> 
> -chuck
> 
> --
> Charles Hagenbuch, <chuck@horde.org>
> Some fallen angels have their good reasons.
> 
> -- 
> Turba mailing list: http://horde.org/turba/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: turba-unsubscribe@lists.horde.org
> 


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



>From chuck@horde.org Date: Wed,  5 Sep 2001 13:19:27 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact turba-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list turba@lists.horde.org
Received: (qmail 83911 invoked from network); 5 Sep 2001 17:21:33 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.198.7)
  by horde.org with SMTP; 5 Sep 2001 17:21:33 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 1E1F23DB7; Wed,  5 Sep 2001 13:19:28 -0400 (EDT)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@localhost by marina.horde.org with HTTP;
	Wed,  5 Sep 2001 13:19:27 -0400
Message-ID: <999710367.3b965e9fee9a7@marina.horde.org>
Date: Wed,  5 Sep 2001 13:19:27 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: turba@lists.horde.org
References: <999664697.3b95ac39a60db@secure.birddog.com> <999702273.3b963f0204ce0@marina.horde.org> <999703339.3b96432bd9dbe@secure.birddog.com> <999703589.3b96442531a28@marina.horde.org> <999703854.3b96452ee4b47@secure.birddog.com> <999704662.3b964856dc6dd@marina.horde.org> <999706842.3b9650daefd76@secure.birddog.com>
In-Reply-To: <999706842.3b9650daefd76@secure.birddog.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [turba] attributes - help

Quoting Terry Davis <tdavis@birddog.com>:

> Things are falling together.  It makes perfect sense and is a great way of doing
> things.  However, I am not able to get a few attributes to work.  I see the
> spaces for them on the page but the values are not being put into the fields. 
> workPhone,workAddress,and fax are not showing up.  

Have you checked your ldap server logs to see what query it's being sent, and
tested that from another client?

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Some fallen angels have their good reasons.


>From tdavis@birddog.com Date: Wed,  5 Sep 2001 13:01:15 -0500
Return-Path: <tdavis@birddog.com>
Mailing-List: contact turba-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list turba@lists.horde.org
Received: (qmail 96600 invoked from network); 5 Sep 2001 18:02:07 -0000
Received: from hermes.birddog.com (63.125.164.131)
  by horde.org with SMTP; 5 Sep 2001 18:02:07 -0000
Received: from localhost (prometheus.birddog.com [10.2.0.4])
	by hermes.birddog.com (8.11.6/8.11.6) with ESMTP id f85I2pF01290
	for <turba@lists.horde.org>; Wed, 5 Sep 2001 13:02:51 -0500
Received: from 10.10.10.200 ( [10.10.10.200])
	as user td@imap.birddog.com by secure.birddog.com with HTTP;
	Wed,  5 Sep 2001 13:01:14 -0500
Message-ID: <999712874.3b96686b010c6@secure.birddog.com>
Date: Wed,  5 Sep 2001 13:01:15 -0500
From: Terry Davis <tdavis@birddog.com>
To: turba@lists.horde.org
References: <999664697.3b95ac39a60db@secure.birddog.com> <999702273.3b963f0204ce0@marina.horde.org> <999703339.3b96432bd9dbe@secure.birddog.com> <999703589.3b96442531a28@marina.horde.org> <999703854.3b96452ee4b47@secure.birddog.com> <999704662.3b964856dc6dd@marina.horde.org> <999706842.3b9650daefd76@secure.birddog.com> <999710367.3b965e9fee9a7@marina.horde.org>
In-Reply-To: <999710367.3b965e9fee9a7@marina.horde.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Originating-IP: 10.10.10.200
X-Scanned-By: MIMEDefang 1.3 (www dot roaringpenguin dot com slash mimedefang)
Subject: Re: [turba] attributes - help

I just tried with netscape and was able to see all of the fields fine.  Very
weird. I didn't see any errors in the ldap logs either.

Thanks again,
-- 
Terry Davis
Systems Administrator
BirdDog Solutions, Inc.
(402) 829-6059


Quoting Chuck Hagenbuch <chuck@horde.org>:

> Quoting Terry Davis <tdavis@birddog.com>:
> 
> > Things are falling together.  It makes perfect sense and is a great way of
> doing
> > things.  However, I am not able to get a few attributes to work.  I see
> the
> > spaces for them on the page but the values are not being put into the
> fields. 
> > workPhone,workAddress,and fax are not showing up.  
> 
> Have you checked your ldap server logs to see what query it's being sent,
> and
> tested that from another client?
> 
> -chuck
> 
> --
> Charles Hagenbuch, <chuck@horde.org>
> Some fallen angels have their good reasons.
> 
> -- 
> Turba mailing list: http://horde.org/turba/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: turba-unsubscribe@lists.horde.org
> 


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



>From tdavis@birddog.com Date: Wed,  5 Sep 2001 16:27:24 -0500
Return-Path: <tdavis@birddog.com>
Mailing-List: contact turba-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list turba@lists.horde.org
Received: (qmail 7147 invoked from network); 5 Sep 2001 21:28:17 -0000
Received: from hermes.birddog.com (63.125.164.131)
  by horde.org with SMTP; 5 Sep 2001 21:28:17 -0000
Received: from localhost (prometheus.birddog.com [10.2.0.4])
	by hermes.birddog.com (8.11.6/8.11.6) with ESMTP id f85LT1F06107
	for <turba@lists.horde.org>; Wed, 5 Sep 2001 16:29:01 -0500
Received: from 10.10.10.200 ( [10.10.10.200])
	as user td@imap.birddog.com by secure.birddog.com with HTTP;
	Wed,  5 Sep 2001 16:27:24 -0500
Message-ID: <999725244.3b9698bc4e428@secure.birddog.com>
Date: Wed,  5 Sep 2001 16:27:24 -0500
From: Terry Davis <tdavis@birddog.com>
To: turba@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Originating-IP: 10.10.10.200
X-Scanned-By: MIMEDefang 1.3 (www dot roaringpenguin dot com slash mimedefang)
Subject: ldap - personal address books 

Hello,
I want to privide each user with their own ldap-based addressbook.  This is not hard at 
all I just need to tie horde auth into the ldap config somehow.  Also, what does the 
public switch do for sources?  For example: (notice $USERNAME)

$cfgSources['tdavis-abook'] = array(
    'title' => 'Terry Davis Address Book',
    'type' => 'ldap',
    'params' => array(
        'server' => 'ldap.birddog.com',
        'port' => 389,
        'root' => 'ou=$USERNAME,ou=AddressBooks,dc=birddog,dc=com',
        'dn' => array('cn'),
        'objectclass' => 'person',
        'objectclass' => 'organizationalPerson',
        'objectclass' => 'inetOrgPerson',
        'objectclass' => 'inetLocalMailRecipient',
        'objectclass' => 'account',
        'objectclass' => 'top',
        'filter' => ''
    ),
    'map' => array(
        '__key' => 'dn',
        'name' => 'cn',
        'email' => 'mail',
        'alias' => 'givenname',
        'title' => 'title',
        'department' => 'ou',
        'workPhone' => 'telephoneNumber',
        'pager' => 'pager',
        'cellPhone' => 'mobile',
        'fax' => 'facsimileTelephoneNumber',
        'workAddress' => 'postalAddress'
    ),
    'public' => false,
    'readonly' => false
);

Also where can I specify the bind credentials for ldap?

-- 
Terry Davis
Systems Administrator
BirdDog Solutions, Inc.
(402) 829-6059





-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



>From tdavis@birddog.com Date: Wed,  5 Sep 2001 16:33:57 -0500
Return-Path: <tdavis@birddog.com>
Mailing-List: contact turba-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list turba@lists.horde.org
Received: (qmail 7397 invoked from network); 5 Sep 2001 21:34:52 -0000
Received: from hermes.birddog.com (63.125.164.131)
  by horde.org with SMTP; 5 Sep 2001 21:34:52 -0000
Received: from localhost (prometheus.birddog.com [10.2.0.4])
	by hermes.birddog.com (8.11.6/8.11.6) with ESMTP id f85LZZF06239
	for <turba@lists.horde.org>; Wed, 5 Sep 2001 16:35:35 -0500
Received: from 10.10.10.200 ( [10.10.10.200])
	as user td@imap.birddog.com by secure.birddog.com with HTTP;
	Wed,  5 Sep 2001 16:33:57 -0500
Message-ID: <999725637.3b969a45e4026@secure.birddog.com>
Date: Wed,  5 Sep 2001 16:33:57 -0500
From: Terry Davis <tdavis@birddog.com>
To: turba@lists.horde.org
References: <999725244.3b9698bc4e428@secure.birddog.com>
In-Reply-To: <999725244.3b9698bc4e428@secure.birddog.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Originating-IP: 10.10.10.200
X-Scanned-By: MIMEDefang 1.3 (www dot roaringpenguin dot com slash mimedefang)
Subject: Re: [turba] ldap - personal address books 

Ok, I found where i can specify the bind_dn and bind_password (in the driver).
Is there an environment variable that contains the username and another that 
contains the passwd so that I can fulfill these parameters?

-- 
Terry Davis
Systems Administrator
BirdDog Solutions, Inc.
(402) 829-6059


Quoting Terry Davis <tdavis@birddog.com>:

> Hello,
> I want to privide each user with their own ldap-based addressbook.  This is
> not hard at 
> all I just need to tie horde auth into the ldap config somehow.  Also, what
> does the 
> public switch do for sources?  For example: (notice $USERNAME)
> 
> $cfgSources['tdavis-abook'] = array(
>     'title' => 'Terry Davis Address Book',
>     'type' => 'ldap',
>     'params' => array(
>         'server' => 'ldap.birddog.com',
>         'port' => 389,
>         'root' => 'ou=$USERNAME,ou=AddressBooks,dc=birddog,dc=com',
>         'dn' => array('cn'),
>         'objectclass' => 'person',
>         'objectclass' => 'organizationalPerson',
>         'objectclass' => 'inetOrgPerson',
>         'objectclass' => 'inetLocalMailRecipient',
>         'objectclass' => 'account',
>         'objectclass' => 'top',
>         'filter' => ''
>     ),
>     'map' => array(
>         '__key' => 'dn',
>         'name' => 'cn',
>         'email' => 'mail',
>         'alias' => 'givenname',
>         'title' => 'title',
>         'department' => 'ou',
>         'workPhone' => 'telephoneNumber',
>         'pager' => 'pager',
>         'cellPhone' => 'mobile',
>         'fax' => 'facsimileTelephoneNumber',
>         'workAddress' => 'postalAddress'
>     ),
>     'public' => false,
>     'readonly' => false
> );
> 
> Also where can I specify the bind credentials for ldap?
> 
> -- 
> Terry Davis
> Systems Administrator
> BirdDog Solutions, Inc.
> (402) 829-6059
> 
> 
> 
> 
> 
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
> 
> 
> -- 
> Turba mailing list: http://horde.org/turba/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: turba-unsubscribe@lists.horde.org
> 


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/