Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Howto: Creating a central outlook addressbook with OpenLDAP.
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
mariourk
l33t
l33t


Joined: 11 Jul 2003
Posts: 807
Location: Urk, Netherlands

PostPosted: Sat May 22, 2004 10:29 am    Post subject: Reply with quote

Did you also create a new, empty /var/lib/ldap directory?
Back to top
View user's profile Send private message
meulie
l33t
l33t


Joined: 17 Jun 2003
Posts: 845
Location: a Dutchman living in Norway

PostPosted: Sat May 22, 2004 11:31 am    Post subject: Reply with quote

I had not done that, figuring that the 'emerge openldap' command would do it's testing within the /var/tmp/portage/openldap-2.1.30 directory... 8)


But even when I did re-create that directory there was no difference. Still getting the same error message...
_________________
Greetz,
Evert Meulie
Back to top
View user's profile Send private message
mariourk
l33t
l33t


Joined: 11 Jul 2003
Posts: 807
Location: Urk, Netherlands

PostPosted: Sat May 22, 2004 11:50 am    Post subject: Reply with quote

How exactly did you emerge openldap?
Code:

emerge openldap -vp

you could try to emerge is with or without sasl support and see how it
works out.
Code:

USE="-sasl" emerge openldap
Back to top
View user's profile Send private message
toskala
Advocate
Advocate


Joined: 14 Dec 2002
Posts: 2080
Location: hamburg, germany

PostPosted: Fri May 28, 2004 8:48 am    Post subject: Reply with quote

golem wrote:
thx to mariourk for the how-to... got my ldap up and running, to find out that moz thunderbird doesnt really support it all that well as of yet :/

installed phpLDAPadmin on my system and hacked up the new_address_template.php to work with the settings described in the howto (a quick and dirty hack, but should work for yall)


thanks for your hack :_) it allows me to fill "position" in the outlook contacts now :)

but what is not yet clear to me is how i find out what the name of the attributes is when i want to complete the outlook contact capabilities.

for example, assistant, room no., and stuff what outlook offers.

any hints how i can find out how this will work?
_________________
adopt an unanswered post
erst denken, dann posten
Back to top
View user's profile Send private message
Dr_Stein
Guru
Guru


Joined: 21 Mar 2003
Posts: 303
Location: Mountain View, CA

PostPosted: Tue Jun 08, 2004 3:09 am    Post subject: "unwilling to perform?" Reply with quote

jimihendrix schema # ldapadd -D 'dc=jtllc,dc=com' -f jnichols.ldif -W
Enter LDAP Password:
adding new entry "cn=Jonathan Nichols,mail=jnichols@jtllc.com"
ldapadd: update failed: cn=Jonathan Nichols,mail=jnichols@jtllc.com
ldap_add: Server is unwilling to perform (53)
additional info: referral missing

jimihendrix schema #

=/

I still have the same problem someone else did - the "extension.schema" causing errors on startup. Commenting it out lets everything work.

The ONLY ONLY ONLY thing that I have to do now is to get the "streetAddress" attribute to show up - then both OS X Address Book and Mozilla/Thunderbird will be working GREAT with OpenLDAP.

Help? Anyone done this?
Mozilla looks for:
Jun 7 19:32:02 jimihendrix slapd[11767]: conn=476 op=1 SRCH attr=modifytimestamp xmozillausehtmlmail description notes custom4 custom3 custom2 custom1 birthyear homeurl workurl nscpaimscreenname countryname company o departmentnumber department orgunit ou title countryname zip postalcode region st locality l streetaddress postofficebox carphone cellphone mobile pagerphone pager facsimiletelephonenumber fax homephone telephonenumber xmozillasecondemail mail xmozillanickname displayname commonname cn surname sn givenname

I have phpldapadmin but the "streetAddress" attribute isn't showing up in it, so I can't add it. I can't import the LDIF from there either because of the error noted above.
Help! :(
Back to top
View user's profile Send private message
Caltex
n00b
n00b


Joined: 11 Oct 2003
Posts: 5

PostPosted: Sat Jun 19, 2004 10:06 pm    Post subject: Problem, help! Reply with quote

Hi

i got up to the line
ldap -D "dc=gentoo, dc=org" -f directory.ldif -W
in your howto, and i get the error:

Code:
ldapadd -D "dc=flyingsparks, dc=homelinux, dc=net" -f directory.ldif -W
Enter LDAP Password:

adding new entry "dc=flyingsparks, dc=homelinux, dc=org "
ldapadd: update failed: dc=flyingsparks, dc=homelinux, dc=org
ldap_add: Server is unwilling to perform (53)
        additional info: referral missing



any ideas?
also, does it matter where you put directory.ldif and container.ldif? or do you create them anywhere, and ldifadd takes care of it?

Thanks
Back to top
View user's profile Send private message
Caltex
n00b
n00b


Joined: 11 Oct 2003
Posts: 5

PostPosted: Sat Jun 19, 2004 10:34 pm    Post subject: problem, help solved Reply with quote

ok, its working now.
One thing to note, ldapadd does not like trailing spaces on any of the lines. and when i copied it, for some reason it put a space after everything.
Back to top
View user's profile Send private message
jbro164
n00b
n00b


Joined: 16 May 2004
Posts: 3

PostPosted: Sat Jul 03, 2004 12:53 am    Post subject: Error Reply with quote

After:
Code:
ldapadd -D "dc=homeftp, dc=net" -f directory.ldif -W


I get This error - Any Ideas???

Code:
SASL/DIGEST-MD5 authentication started
ldap_sasl_interactive_bind_s: Internal (implementation specific) error (80)
        additional info: SASL(-13): user not found: no secret in database


Thanks
Back to top
View user's profile Send private message
radonsg
Apprentice
Apprentice


Joined: 26 Jun 2004
Posts: 257
Location: Singapore

PostPosted: Thu Jul 15, 2004 6:15 pm    Post subject: Reply with quote

for a domain name of test.example.com, what will the suffix & rootdn be like in the slapd.conf?
Code:
 "dc=test,dc=example,dc=com"


And for directory.ldif file, is the following code correct?
Code:

dn:     dc=test, dc=example, dc=com
objectClass:    top
objectClass:    dcObject
objectClass:    organization
dc:    test,  example
o:      Test Company


Thanks.
_________________
Athlon64 3000+ on a MSI Neo2 Platinum (nVidia nForce3)
1 Sata Hitachi (HGST) 7K250
1 Sata Samsung SpinPoint
2 x 512MB TwinMos DDR400 Dual Channel
Geforce 5200
Back to top
View user's profile Send private message
sushyad
n00b
n00b


Joined: 29 Jul 2003
Posts: 22

PostPosted: Fri Aug 27, 2004 10:25 pm    Post subject: Reply with quote

Here are the scripts I use to backup my address book into cvs if there is any change in the address book. The scripts take care of stripping the unnecessary stuff from the slapcat output.

Create a script; lets call it script1:
Code:
#!/bin/bash

cd /tmp

/usr/sbin/slapcat -f /etc/openldap/slapd.conf | \
sed -e 's/modif.*//' \
        -e 's/entry.*:.*//' \
        -e 's/creat.*:.*//' \
        -e 's/structuralObj.*//' \
        -e '/^$/d' \
        -e 's/^dn:/\ndn:/g' | \
sed     -e '1,1D' > $1


Create another script; lets call it script2:

Code:
#!/bin/bash

source /etc/profile
cd /tmp
cvs co backups &> /dev/null
if cmp /tmp/abook /tmp/backups/AddressBook.ldif &> /dev/null  # Suppress output.
then
        echo "Address book same as yesterday."
else
        cp /tmp/abook /tmp/backups/AddressBook.ldif
        cvs commit -m "Daily address book backup" backups
fi

rm -rf /tmp/backups

exit


And then setup a cron job in /etc/cron.daily folder:

Code:
#!/bin/sh

/etc/init.d/slapd stop
script1 /tmp/abook
/etc/init.d/slapd start
su - <username> -c '<path to the script>/script2'
Back to top
View user's profile Send private message
numerodix
l33t
l33t


Joined: 18 Jul 2002
Posts: 743
Location: nl.eu

PostPosted: Wed Sep 15, 2004 3:19 pm    Post subject: Reply with quote

riggagoogoo wrote:
would users of Outlook still be able to click on the 'Add user to address book' and have that add it straight in to the LDAP or would they need to inform the LDAP andmin and have him/her add it in??

Cheers

RiGGa


I'm wondering about this myself, could I use ldap "interactively" in evolution or kaddressbook or whatever to add/update entries? Or does it have to go through phpldapadmin?
_________________
undvd - ripping dvds should be as simple as unzip
Back to top
View user's profile Send private message
SnowDeath
n00b
n00b


Joined: 15 Jul 2003
Posts: 64
Location: Florida, USA

PostPosted: Tue Sep 21, 2004 3:34 pm    Post subject: Reply with quote

I just followed your instructions today and found one error. Where you say to:
Code:
#nano -w /etc/slapd.conf

It should be
Code:
#nano -w /etc/openldap/slapd.conf


Thanks for the guide!
Back to top
View user's profile Send private message
d0wn_under
Guru
Guru


Joined: 13 Mar 2003
Posts: 300
Location: Sheffield, England

PostPosted: Fri Oct 15, 2004 12:36 pm    Post subject: Reply with quote

When I try to add the first contact I am getting the following error:
Code:

adding new entry "cn=robin,ou=addressbook,dc=krynn,dc=int"
ldap_add: Naming violation (64)
        additional info: value of naming attribute 'cn' is not present in entry


my contact.ldif file is:

dn: cn=robin,ou=addressbook,dc=krynn,dc=int
ou: addressbook
o: My internal domain.
cn: Fred Blogs
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: officePerson
mail: fred@blogs.com
givenname: Fred
sn: Blogs
homePostalAddress: My house address
postalAddress: My work address
l: Towny
st: Statey
postalcode: E3 3EE
c: UK
pager: not available
telephoneNumber: 01111 2223333
homePhone: 01111 2223334
mobile: 01111 2223335
title: Mr
URL: http://www.glogs.com

and I am using the command:

ldapadd -D "dc=krynn, dc=int" -f contact.ldif -W

Any ideas?
Back to top
View user's profile Send private message
Lead
n00b
n00b


Joined: 13 Jan 2004
Posts: 6
Location: Amsterdam, The Netherlands

PostPosted: Mon Oct 18, 2004 10:48 pm    Post subject: Reply with quote

I had the same.. make the two 'cn' parts the same:
Code:
dn: cn=Fred Blog,ou=addressbook,dc=krynn,dc=int
ou: addressbook
o: My internal domain.
cn: Fred Blogs
....
Back to top
View user's profile Send private message
d0wn_under
Guru
Guru


Joined: 13 Mar 2003
Posts: 300
Location: Sheffield, England

PostPosted: Tue Oct 19, 2004 8:16 am    Post subject: Reply with quote

That fixed it, just got to wait till I get home to see if evolution can see it now
Back to top
View user's profile Send private message
Lead
n00b
n00b


Joined: 13 Jan 2004
Posts: 6
Location: Amsterdam, The Netherlands

PostPosted: Tue Oct 19, 2004 1:57 pm    Post subject: Reply with quote

Well thats where I am now too.. I can connect with thunderbird perfectly but no luck with evolution. All I get is the error message 'Error loading addressbook...'

In this case (from this topic) what should the Log in method, Login, Search base, etc be?

edit: never mind, it works now.. it was a typo in the DN :)
Back to top
View user's profile Send private message
rasto
n00b
n00b


Joined: 27 Nov 2002
Posts: 43
Location: NJ

PostPosted: Sat Nov 06, 2004 12:23 am    Post subject: Re: Error Reply with quote

jbro164 wrote:
After:
Code:
ldapadd -D "dc=homeftp, dc=net" -f directory.ldif -W


I get This error - Any Ideas???

Code:
SASL/DIGEST-MD5 authentication started
ldap_sasl_interactive_bind_s: Internal (implementation specific) error (80)
        additional info: SASL(-13): user not found: no secret in database


Thanks


try to use ldapadd -D "dc=homeftp, dc=net" -x -f directory.ldif

-x tells it to use simple authentification

rasto
Back to top
View user's profile Send private message
DeadMonkey
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jul 2002
Posts: 80
Location: Sitting in a Chair

PostPosted: Tue Nov 16, 2004 5:59 pm    Post subject: Reply with quote

Excellent guide, and now I have a working OpenLDAP server to use as a common address book for Outlook 2000 / Outlook 2003 clients.

They only problem I'm having at this point: When I start a new e-mail and open up the LDAP address book it comes up blank. I have to use "find" and then enter in a search to find the user.

Is that by design or is there something I'm missing? I'd really like to pull up the LDAP address book and show all available entries instead of the ones I've had to manually search for.

Thanks for any help, and again great guide!
Back to top
View user's profile Send private message
wizard69
Apprentice
Apprentice


Joined: 22 Sep 2003
Posts: 178
Location: Berlin

PostPosted: Tue Nov 23, 2004 4:36 pm    Post subject: Reply with quote

Thx for the great guide after a few problems everythings up and running. But i am having the same problem as deadmonkey my address book in outlook come up blank I have to use "find" and then enter in a search to find the user. Is there a work around for this problem?
Back to top
View user's profile Send private message
bzImage
n00b
n00b


Joined: 14 Oct 2002
Posts: 35

PostPosted: Wed Jan 12, 2005 4:26 pm    Post subject: Re: Error Reply with quote

rasto wrote:
jbro164 wrote:
After:
Code:
ldapadd -D "dc=homeftp, dc=net" -f directory.ldif -W


I get This error - Any Ideas???

Code:
SASL/DIGEST-MD5 authentication started
ldap_sasl_interactive_bind_s: Internal (implementation specific) error (80)
        additional info: SASL(-13): user not found: no secret in database


Thanks


try to use ldapadd -D "dc=homeftp, dc=net" -x -f directory.ldif

-x tells it to use simple authentification

rasto


im getting:

Code:

ldapadd -D "dc=dummy,dc=com.mx" -x -f directory.ldif -W
Enter LDAP Password:
ldap_bind: Invalid credentials (49)


????
Back to top
View user's profile Send private message
d0wn_under
Guru
Guru


Joined: 13 Mar 2003
Posts: 300
Location: Sheffield, England

PostPosted: Wed Jan 12, 2005 4:56 pm    Post subject: Reply with quote

I do this to add things:

ldapadd -x -D "cn=Manager,dc=krynn,dc=int" -W -f file.ldif

I think that it is the cn=Manager you are missing
Back to top
View user's profile Send private message
tomga
n00b
n00b


Joined: 13 Jul 2002
Posts: 68

PostPosted: Fri Jan 14, 2005 4:16 pm    Post subject: Reply with quote

thx to golem for the modified new_user_template.php.
i just added more "outlook" fields to the template. these are all the fields to fill in with the given "schema" + the "extension schema".

this one is the german translation, i will post the english one later.
just copy this php to the "phpldapadmin/templates/creation/new_user_template.php" (you should backup the original "new_user_template.php" file before).
now you will see the new fields when you add a new "user account" with phpLDAPadmin.

Code:

<?php

require 'common.php';

// customize this to your needs
$default_container = "ou=Addresses";

// Common to all templates
$container = $_POST['container'];
$server_id = $_POST['server_id'];

// Unique to this template
$step = isset( $_POST['step'] ) ? $_POST['step'] : 1;

check_server_id( $server_id ) or pla_error( "Bad server_id: " . htmlspecialchars( $server_id ) );
have_auth_info( $server_id ) or pla_error( "Not enough information to login to server. Please check your configuration." );

?>

<script language="javascript">
<!--

/*
 * Populates the common name field based on the last
 * name concatenated with the first name, separated
 * by a blank
 */
function autoFillCommonName( form )
{
   var first_name;
   var last_name;
   var common_name;

        first_name = form.first_name.value;
        last_name = form.last_name.value;

   if( last_name == '' ) {
      return false;
   }

   common_name = first_name + ' ' + last_name;
   form.common_name.value = common_name;
}

-->
</script>

<center><h2>New Address Book Entry<br />
<small>(InetOrgPerson-Outlook modified)</small></h2>
</center>

<?php if( $step == 1 ) { ?>

<form action="creation_template.php" method="post" id="address_form" name="address_form">
<input type="hidden" name="step" value="2" />
<input type="hidden" name="server_id" value="<?php echo $server_id; ?>" />
<input type="hidden" name="template" value="<?php echo htmlspecialchars( $_POST['template'] ); ?>" />

<center>
<table class="confirm">
<tr class="spacer"><td colspan="2"></tr>
<tr>
   <td colspan="2">
      <table class="confirm">
   <tr>
      <td><img src="images/uid.png" /></td>
      <td class="heading">Vorname:</td>
      <td><input type="text" name="first_name" id="first_name" value="Vorname" onChange="autoFillCommonName(this.form)" /></td>
      <td></td>
      <td class="heading">Nachname:</td>
      <td><input type="text" name="last_name"id="last_name" value="Nachname" onChange="autoFillCommonName(this.form)" /></td>
   </tr>
   <tr>
      <td></td>
      <td class="heading">2. Vorname:</td>
      <td><input type="text" name="initials" id="initials" value="" /></td>
      <td></td>
      <td class="heading">Email:</td>
      <td><input type="text" name="mail" id="mail" value="" /></td>
   </tr>
   <tr>
      <td></td>
      <td class="heading">Common name:</td>
      <td><input type="text" name="common_name" id="common_name" value="" /></td>
      <td></td>
      <td></td>
      <td></td>
   </tr>
   </table>
   </td>
</tr>
<tr class="spacer"><td colspan="2"></tr>
<tr>
   <td colspan="2">Gesch&auml;ftlich</td>
</tr>
<tr>
   <td colspan="2">
      <table class="confirm">
   <tr>
      <td><img src="images/mail.png" /></td>
      <td class="heading">Firma:</td>
      <td><input type="text" name="organization" id="organization" value="" /></td>
      <td></td>
      <td class="heading">Position:</td>
      <td><input type="text" name="title" id="title" value="" /></td>
   </tr>
   <tr>
      <td></td>
      <td class="heading">Strasse:</td>
      <td rowspan="2"><textarea cols="20" rows="2" name="workstreet" id="workstreet"></textarea></td>
      <td></td>
           <td class="heading">Abteilung:</td>
           <td><input type="text" name="department" id="department" value="" /></td>
   </tr>
   <tr>
      <td></td>
      <td></td>
           <td></td>
           <td class="heading">B&uuml;ro:</td>
           <td><input type="text" name="physicaldeliveryofficename" id="physicaldeliveryofficename" value="" /></td>
   </tr>
   <tr>
      <td></td>
      <td class="heading">Ort:</td>
      <td><input type="text" name="city" id="city" value="" /></td>
      <td></td>
           <td class="heading">Rufnummer:</td>
           <td><input type="text" name="telephonenumber" id="telephonenumber" value="" /></td>
   </tr>
   <tr>
      <td></td>
      <td class="heading">Bundesland:</td>
      <td><input type="text" name="state" id="state" value="" /></td>
      <td></td>
           <td class="heading">Fax:</td>
           <td><input type="text" name="facsimiletelephonenumber" id="facsimiletelephonenumber" value="" /></td>
   </tr>
   <tr>
      <td></td>
      <td class="heading">Postleitzahl:</td>
      <td><input type="text" name="postal_code" id="postal_code" value="" /></td>
      <td></td>
           <td class="heading">Pager:</td>
           <td><input type="text" name="pager" id="pager" value="" /></td>
   </tr>
   <tr>
      <td></td>
      <td class="heading">Land/Region:</td>
      <td><input type="text" name="country" id="country" value="" /></td>
      <td></td>
           <td class="heading">IP-Telefon:</td>
           <td><input type="text" name="" id="" value="" readonly="readonly" style="background-color:lightgrey" /></td>
   </tr>
   <tr>
      <td></td>
      <td class="heading">Firmenwebsite:</td>
      <td colspan="4"><input type="text" name="url" id="url" value="" size="50" /></td>
   </tr>
      </table></td>
</tr>
<tr class="spacer"><td colspan="2"></tr>
<tr>
   <td colspan="2">Privat</td>
</tr>
<tr>
   <td colspan="2">
      <table class="confirm">
   <tr>
      <td><img src="images/mail.png" /></td>
      <td class="heading">Stra&szlig;e:</td>
      <td rowspan="2"><textarea cols="20" rows="2" name="homePostalAddress" id="homePostalAddress"></textarea></td>
      <td></td>
      <td class="heading">Rufnummer:</td>
      <td><input type="text" name="homePhone" id="homePhone" value="" /></td>
   </tr>
   <tr>
      <td></td>
      <td></td>
      <td></td>
      <td class="heading">Fax:</td>
      <td><input type="text" name="otherFacsimiletelephoneNumber" id="otherFacsimiletelephoneNumber" value="" /></td>
   </tr>
   <tr>
      <td></td>
      <td class="heading">Ort:</td>
      <td><input type="text" name="" id="" value="" readonly="readonly" style="background-color:lightgrey" /></td>
      <td></td>
      <td class="heading">Mobiltelefon:</td>
      <td><input type="text" name="mobile" id="mobile" value="" /></td>
   </tr>
   <tr>
      <td></td>
      <td class="heading">Bundesland:</td>
      <td><input type="text" name="" id="" value="" readonly="readonly" style="background-color:lightgrey" /></td>
      <td></td>
      <td class="heading">Postleitzahl:</td>
      <td><input type="text" name="" id="" value="" readonly="readonly" style="background-color:lightgrey" /></td>
   </tr>
   <tr>
      <td></td>
      <td class="heading">Land/Region:</td>
      <td><input type="text" name="" id="" value="" readonly="readonly" style="background-color:lightgrey" /></td>
      <td></td>
      <td></td>
      <td></td>
   </tr>   
   <tr>
      <td></td>
      <td class="heading">Website (privat):</td>
      <td colspan="4"><input type="text" name="" id="" value="" size="50" readonly="readonly" style="background-color:lightgrey" /></td>
   </tr>   
   </table>
</tr>
<tr class="spacer"><td colspan="2"></tr>
<tr>
   <td colspan="2">Andere</td>
</tr>
<tr>
   <td colspan="2">
      <table class="confirm">
   <tr>
      <td></td>
      <td class="heading" style="vertical-align:top;">Anmerkung:</td>
      <td><textarea cols="50" rows="5" name="comment" id="comment"></textarea></td>
      <td></td>
      <td></td>
      <td></td>
   </tr>
   </table>
   </td>
</tr>
<tr class="spacer"><td colspan="2"></tr>
<tr>
   <td colspan="2">Organisation</td>
</tr>
<tr>
   <td colspan="2">
      <table class="confirm">
   <tr>
      <td></td>
      <td class="heading">Manager:</td>
      <td><input type="text" name="Manager" id="Manager" value="" readonly="readonly" style="background-color:lightgrey" /></td>
      <td></td>
      <td class="heading">Reports:</td>
      <td><input type="text" name="Reports" id="Reports" value="" readonly="readonly" style="background-color:lightgrey" /></td>
   </tr>
   </table>
   </td>
</tr>
<tr class="spacer"><td colspan="2"></tr>
<tr>
   <td class="heading">Container:</td>
   <td><input type="text" name="container" size="60" value="<?php if( isset( $container ) )
            echo htmlspecialchars( $container );
              else
            echo htmlspecialchars( $default_container . ',' . $servers[$server_id]['base'] ); ?>" />
      <?php draw_chooser_link( 'address_form.container' ); ?></td>
   </td>
</tr>
<tr>
   <td colspan="2"><center><input type="submit" value="Fortfahren &gt;&gt;" /></td>
</tr>
</table>
</center>

<?php } elseif( $step == 2 ) {
   // Common
   $common_name = trim( $_POST['common_name'] );
   $first_name = trim( $_POST['first_name'] );
   $last_name = trim( $_POST['last_name'] );
   $initials = trim( $_POST['initials'] );
   $mail = trim( $_POST['mail'] );
   // Geschaeftlich
   $organization = trim( $_POST['organization'] );
   $title = trim( $_POST['title'] );
   $workstreet = trim( $_POST['workstreet'] );
   $department = trim( $_POST['department'] );
   $physicaldeliveryofficename = trim( $_POST['physicaldeliveryofficename'] );
   $city = trim( $_POST['city'] );
   $telephone_number = trim( $_POST['telephonenumber'] );
   $state = trim( $_POST['state'] );
   $facsimiletelephonenumber = trim( $_POST['facsimiletelephonenumber'] );
   $postal_code = trim( $_POST['postal_code'] );
   $pager = trim( $_POST['pager'] );
   $country = trim( $_POST['country'] );
   //$IPPhone = trim( $_POST['IPPhone'] );
   $url = trim( $_POST['url'] );
   //Privat
   $homePostalAddress = trim( $_POST['homePostalAddress'] );
   $homePhone = trim( $_POST['homePhone'] );
   $otherFacsimiletelephoneNumber = trim( $_POST['otherFacsimiletelephoneNumber'] );
   $mobile = trim( $_POST['mobile'] );
   //Andere
   $comment = trim( $_POST['comment'] );
   //Organisation
   $Manager = trim( $_POST['Manager'] );
   $Reports = trim( $_POST['Reports'] );

   /* Critical assertions */
   0 != strlen( $common_name ) or
      pla_error( "You cannot leave the Common Name blank. Please go back and try again." );

   ?>
   <center><h3>Confirm entry creation:</h3></center>

   <form action="create.php" method="post">
   <input type="hidden" name="server_id" value="<?php echo $server_id; ?>" />
   <input type="hidden" name="new_dn" value="<?php echo htmlspecialchars( 'cn=' . $common_name . ',' . $container ); ?>" />

   <!-- ObjectClasses  -->
   <?php $object_classes = rawurlencode( serialize( array( 'top', 'person', 'organizationalPerson', 'inetOrgPerson', 'officePerson' ) ) ); ?>

   <input type="hidden" name="object_classes" value="<?php echo $object_classes; ?>" />

   <!-- The array of attributes/values -->
   <!-- common -->
   <input type="hidden" name="attrs[]" value="cn" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($common_name);?>" />
   <input type="hidden" name="attrs[]" value="givenName" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($first_name);?>" />
   <input type="hidden" name="attrs[]" value="sn" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($last_name);?>" />
   <input type="hidden" name="attrs[]" value="initials" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($initials);?>" />
   <input type="hidden" name="attrs[]" value="mail" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($mail);?>" />
   <!-- Geschaeftlich -->
   <input type="hidden" name="attrs[]" value="o" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($organization);?>" />
   <input type="hidden" name="attrs[]" value="title" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($title);?>" />
   <input type="hidden" name="attrs[]" value="postalAddress" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($workstreet);?>" />
   <input type="hidden" name="attrs[]" value="ou" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($department);?>" />
   <input type="hidden" name="attrs[]" value="physicaldeliveryofficename" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($physicaldeliveryofficename);?>" />
   <input type="hidden" name="attrs[]" value="l" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($city);?>" />   
   <input type="hidden" name="attrs[]" value="telephoneNumber" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($telephone_number);?>" />
   <input type="hidden" name="attrs[]" value="st" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($state);?>" />   
   <input type="hidden" name="attrs[]" value="facsimiletelephonenumber" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($facsimiletelephonenumber);?>" />   
   <input type="hidden" name="attrs[]" value="postalCode" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($postal_code);?>" />
   <input type="hidden" name="attrs[]" value="pager" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($pager);?>" />   
   <input type="hidden" name="attrs[]" value="c" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($country);?>" />
   <!--<input type="hidden" name="attrs[]" value="IPPhone" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($IPPhone);?>" />-->
   <input type="hidden" name="attrs[]" value="URL" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($url);?>" />
   <!-- Privat -->
   <input type="hidden" name="attrs[]" value="homePostalAddress" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($homePostalAddress);?>" />   
   <input type="hidden" name="attrs[]" value="homePhone" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($homePhone);?>" />
   <input type="hidden" name="attrs[]" value="otherFacsimiletelephoneNumber" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($otherFacsimiletelephoneNumber);?>" />
   <input type="hidden" name="attrs[]" value="mobile" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($mobile);?>" />
   <!-- Andere -->
   <input type="hidden" name="attrs[]" value="comment" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($comment);?>" />   
   <!-- Organisation -->
   <input type="hidden" name="attrs[]" value="Manager" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($Manager);?>" />   
   <input type="hidden" name="attrs[]" value="Reports" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($Reports);?>" />
   <center>
   <table class="confirm">
   <tr class="even">
      <td class="heading">Common name:</td>
      <td><b><?php echo htmlspecialchars( $common_name ); ?></b></td>
   </tr>
   <tr class="odd">
      <td class="heading">Vorname:</td>
      <td><b><?php echo htmlspecialchars( $first_name ); ?></b></td>
   </tr>
   <tr class="even">
      <td class="heading">Nachname:</td>
      <td><b><?php echo htmlspecialchars( $last_name ); ?></b></td>
   </tr>
   <tr class="odd">
      <td class="heading">Firma:</td>
      <td><?php echo htmlspecialchars( $organization ); ?></td>
   </tr>
   <tr class="even">
      <td class="heading">Stadt:</td>
      <td><?php echo htmlspecialchars( $city ); ?></td>
   </tr>
   <tr class="odd">
      <td class="heading">Postleitzahl:</td>
      <td><?php echo htmlspecialchars( $postal_code ); ?></td>
   </tr>
   <tr class="even">
      <td class="heading">Stra&szlig;e:</td>
      <td><?php echo htmlspecialchars( $workstreet ); ?></td>
   </tr>
   <tr class="odd">
      <td class="heading">Telefon gesch&auml;tlich:</td>
      <td><?php echo htmlspecialchars( $telephone_number ); ?></td>
   </tr>
   <tr class="odd">
      <td class="heading">Container:</td>
      <td><?php echo htmlspecialchars( $container ); ?></td>
   </tr>
   </table>
   <br /><input type="submit" value="Adresse anlegen" />
   </center>
   </form>

<?php } ?>

</body>
</html>
Back to top
View user's profile Send private message
tomga
n00b
n00b


Joined: 13 Jul 2002
Posts: 68

PostPosted: Fri Jan 14, 2005 5:36 pm    Post subject: Reply with quote

and for the english speaking people ;-)

Code:

<?php

require 'common.php';

// customize this to your needs
$default_container = "ou=Addresses";

// Common to all templates
$container = $_POST['container'];
$server_id = $_POST['server_id'];

// Unique to this template
$step = isset( $_POST['step'] ) ? $_POST['step'] : 1;

check_server_id( $server_id ) or pla_error( "Bad server_id: " . htmlspecialchars( $server_id ) );
have_auth_info( $server_id ) or pla_error( "Not enough information to login to server. Please check your configuration." );

?>

<script language="javascript">
<!--

/*
 * Populates the common name field based on the last
 * name concatenated with the first name, separated
 * by a blank
 */
function autoFillCommonName( form )
{
   var first_name;
   var last_name;
   var common_name;

        first_name = form.first_name.value;
        last_name = form.last_name.value;

   if( last_name == '' ) {
      return false;
   }

   common_name = first_name + ' ' + last_name;
   form.common_name.value = common_name;
}

-->
</script>

<center><h2>New Address Book Entry<br />
<small>(InetOrgPerson-Outlook modified)</small></h2>
</center>

<?php if( $step == 1 ) { ?>

<form action="creation_template.php" method="post" id="address_form" name="address_form">
<input type="hidden" name="step" value="2" />
<input type="hidden" name="server_id" value="<?php echo $server_id; ?>" />
<input type="hidden" name="template" value="<?php echo htmlspecialchars( $_POST['template'] ); ?>" />

<center>
<table class="confirm">
<tr class="spacer"><td colspan="2"></tr>
<tr>
   <td colspan="2">
      <table class="confirm">
   <tr>
      <td><img src="images/uid.png" /></td>
      <td class="heading">First Name:</td>
      <td><input type="text" name="first_name" id="first_name" value="Vorname" onChange="autoFillCommonName(this.form)" /></td>
      <td></td>
      <td class="heading">Last Name:</td>
      <td><input type="text" name="last_name"id="last_name" value="Nachname" onChange="autoFillCommonName(this.form)" /></td>
   </tr>
   <tr>
      <td></td>
      <td class="heading">Middle Name:</td>
      <td><input type="text" name="initials" id="initials" value="" /></td>
      <td></td>
      <td class="heading">Email Address:</td>
      <td><input type="text" name="mail" id="mail" value="" /></td>
   </tr>
   <tr>
      <td></td>
      <td class="heading">Common name:</td>
      <td><input type="text" name="common_name" id="common_name" value="" /></td>
      <td></td>
      <td></td>
      <td></td>
   </tr>
   </table>
   </td>
</tr>
<tr class="spacer"><td colspan="2"></tr>
<tr>
   <td colspan="2">Business</td>
</tr>
<tr>
   <td colspan="2">
      <table class="confirm">
   <tr>
      <td><img src="images/mail.png" /></td>
      <td class="heading">Company Name:</td>
      <td><input type="text" name="organization" id="organization" value="" /></td>
      <td></td>
      <td class="heading">Job Title:</td>
      <td><input type="text" name="title" id="title" value="" /></td>
   </tr>
   <tr>
      <td></td>
      <td class="heading">Street Address::</td>
      <td rowspan="2"><textarea cols="20" rows="2" name="workstreet" id="workstreet"></textarea></td>
      <td></td>
           <td class="heading">Department:</td>
           <td><input type="text" name="department" id="department" value="" /></td>
   </tr>
   <tr>
      <td></td>
      <td></td>
           <td></td>
           <td class="heading">Office:</td>
           <td><input type="text" name="physicaldeliveryofficename" id="physicaldeliveryofficename" value="" /></td>
   </tr>
   <tr>
      <td></td>
      <td class="heading">City:</td>
      <td><input type="text" name="city" id="city" value="" /></td>
      <td></td>
           <td class="heading">Phone:</td>
           <td><input type="text" name="telephonenumber" id="telephonenumber" value="" /></td>
   </tr>
   <tr>
      <td></td>
      <td class="heading">State/Province:</td>
      <td><input type="text" name="state" id="state" value="" /></td>
      <td></td>
           <td class="heading">Fax:</td>
           <td><input type="text" name="facsimiletelephonenumber" id="facsimiletelephonenumber" value="" /></td>
   </tr>
   <tr>
      <td></td>
      <td class="heading">Zip Code:</td>
      <td><input type="text" name="postal_code" id="postal_code" value="" /></td>
      <td></td>
           <td class="heading">Pager:</td>
           <td><input type="text" name="pager" id="pager" value="" /></td>
   </tr>
   <tr>
      <td></td>
      <td class="heading">Country/Region:</td>
      <td><input type="text" name="country" id="country" value="" /></td>
      <td></td>
           <td class="heading">IP Phone:</td>
           <td><input type="text" name="" id="" value="" readonly="readonly" style="background-color:lightgrey" /></td>
   </tr>
   <tr>
      <td></td>
      <td class="heading">Web Page:</td>
      <td colspan="4"><input type="text" name="url" id="url" value="" size="50" /></td>
   </tr>
      </table></td>
</tr>
<tr class="spacer"><td colspan="2"></tr>
<tr>
   <td colspan="2">Home</td>
</tr>
<tr>
   <td colspan="2">
      <table class="confirm">
   <tr>
      <td><img src="images/mail.png" /></td>
      <td class="heading">Street Address:</td>
      <td rowspan="2"><textarea cols="20" rows="2" name="homePostalAddress" id="homePostalAddress"></textarea></td>
      <td></td>
      <td class="heading">Phone:</td>
      <td><input type="text" name="homePhone" id="homePhone" value="" /></td>
   </tr>
   <tr>
      <td></td>
      <td></td>
      <td></td>
      <td class="heading">Fax:</td>
      <td><input type="text" name="otherFacsimiletelephoneNumber" id="otherFacsimiletelephoneNumber" value="" /></td>
   </tr>
   <tr>
      <td></td>
      <td class="heading">City:</td>
      <td><input type="text" name="" id="" value="" readonly="readonly" style="background-color:lightgrey" /></td>
      <td></td>
      <td class="heading">Mobile:</td>
      <td><input type="text" name="mobile" id="mobile" value="" /></td>
   </tr>
   <tr>
      <td></td>
      <td class="heading">State/Province:</td>
      <td><input type="text" name="" id="" value="" readonly="readonly" style="background-color:lightgrey" /></td>
      <td></td>
      <td class="heading">Zip Code:</td>
      <td><input type="text" name="" id="" value="" readonly="readonly" style="background-color:lightgrey" /></td>
   </tr>
   <tr>
      <td></td>
      <td class="heading">Country/Region:</td>
      <td><input type="text" name="" id="" value="" readonly="readonly" style="background-color:lightgrey" /></td>
      <td></td>
      <td></td>
      <td></td>
   </tr>   
   <tr>
      <td></td>
      <td class="heading">Web Page (home):</td>
      <td colspan="4"><input type="text" name="" id="" value="" size="50" readonly="readonly" style="background-color:lightgrey" /></td>
   </tr>   
   </table>
</tr>
<tr class="spacer"><td colspan="2"></tr>
<tr>
   <td colspan="2">Other</td>
</tr>
<tr>
   <td colspan="2">
      <table class="confirm">
   <tr>
      <td></td>
      <td class="heading" style="vertical-align:top;">Notes:</td>
      <td><textarea cols="50" rows="5" name="comment" id="comment"></textarea></td>
      <td></td>
      <td></td>
      <td></td>
   </tr>
   </table>
   </td>
</tr>
<tr class="spacer"><td colspan="2"></tr>
<tr>
   <td colspan="2">Organisation</td>
</tr>
<tr>
   <td colspan="2">
      <table class="confirm">
   <tr>
      <td></td>
      <td class="heading">Manager:</td>
      <td><input type="text" name="Manager" id="Manager" value="" readonly="readonly" style="background-color:lightgrey" /></td>
      <td></td>
      <td class="heading">Reports:</td>
      <td><input type="text" name="Reports" id="Reports" value="" readonly="readonly" style="background-color:lightgrey" /></td>
   </tr>
   </table>
   </td>
</tr>
<tr class="spacer"><td colspan="2"></tr>
<tr>
   <td class="heading">Container:</td>
   <td><input type="text" name="container" size="60" value="<?php if( isset( $container ) )
            echo htmlspecialchars( $container );
              else
            echo htmlspecialchars( $default_container . ',' . $servers[$server_id]['base'] ); ?>" />
      <?php draw_chooser_link( 'address_form.container' ); ?></td>
   </td>
</tr>
<tr>
   <td colspan="2"><center><input type="submit" value="Proceed &gt;&gt;" /></td>
</tr>
</table>
</center>

<?php } elseif( $step == 2 ) {
   // Common
   $common_name = trim( $_POST['common_name'] );
   $first_name = trim( $_POST['first_name'] );
   $last_name = trim( $_POST['last_name'] );
   $initials = trim( $_POST['initials'] );
   $mail = trim( $_POST['mail'] );
   // Geschaeftlich
   $organization = trim( $_POST['organization'] );
   $title = trim( $_POST['title'] );
   $workstreet = trim( $_POST['workstreet'] );
   $department = trim( $_POST['department'] );
   $physicaldeliveryofficename = trim( $_POST['physicaldeliveryofficename'] );
   $city = trim( $_POST['city'] );
   $telephone_number = trim( $_POST['telephonenumber'] );
   $state = trim( $_POST['state'] );
   $facsimiletelephonenumber = trim( $_POST['facsimiletelephonenumber'] );
   $postal_code = trim( $_POST['postal_code'] );
   $pager = trim( $_POST['pager'] );
   $country = trim( $_POST['country'] );
   //$IPPhone = trim( $_POST['IPPhone'] );
   $url = trim( $_POST['url'] );
   //Privat
   $homePostalAddress = trim( $_POST['homePostalAddress'] );
   $homePhone = trim( $_POST['homePhone'] );
   $otherFacsimiletelephoneNumber = trim( $_POST['otherFacsimiletelephoneNumber'] );
   $mobile = trim( $_POST['mobile'] );
   //Andere
   $comment = trim( $_POST['comment'] );
   //Organisation
   $Manager = trim( $_POST['Manager'] );
   $Reports = trim( $_POST['Reports'] );

   /* Critical assertions */
   0 != strlen( $common_name ) or
      pla_error( "You cannot leave the Common Name blank. Please go back and try again." );

   ?>
   <center><h3>Confirm entry creation:</h3></center>

   <form action="create.php" method="post">
   <input type="hidden" name="server_id" value="<?php echo $server_id; ?>" />
   <input type="hidden" name="new_dn" value="<?php echo htmlspecialchars( 'cn=' . $common_name . ',' . $container ); ?>" />

   <!-- ObjectClasses  -->
   <?php $object_classes = rawurlencode( serialize( array( 'top', 'person', 'organizationalPerson', 'inetOrgPerson', 'officePerson' ) ) ); ?>

   <input type="hidden" name="object_classes" value="<?php echo $object_classes; ?>" />

   <!-- The array of attributes/values -->
   <!-- common -->
   <input type="hidden" name="attrs[]" value="cn" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($common_name);?>" />
   <input type="hidden" name="attrs[]" value="givenName" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($first_name);?>" />
   <input type="hidden" name="attrs[]" value="sn" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($last_name);?>" />
   <input type="hidden" name="attrs[]" value="initials" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($initials);?>" />
   <input type="hidden" name="attrs[]" value="mail" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($mail);?>" />
   <!-- Geschaeftlich -->
   <input type="hidden" name="attrs[]" value="o" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($organization);?>" />
   <input type="hidden" name="attrs[]" value="title" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($title);?>" />
   <input type="hidden" name="attrs[]" value="postalAddress" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($workstreet);?>" />
   <input type="hidden" name="attrs[]" value="ou" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($department);?>" />
   <input type="hidden" name="attrs[]" value="physicaldeliveryofficename" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($physicaldeliveryofficename);?>" />
   <input type="hidden" name="attrs[]" value="l" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($city);?>" />   
   <input type="hidden" name="attrs[]" value="telephoneNumber" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($telephone_number);?>" />
   <input type="hidden" name="attrs[]" value="st" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($state);?>" />   
   <input type="hidden" name="attrs[]" value="facsimiletelephonenumber" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($facsimiletelephonenumber);?>" />   
   <input type="hidden" name="attrs[]" value="postalCode" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($postal_code);?>" />
   <input type="hidden" name="attrs[]" value="pager" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($pager);?>" />   
   <input type="hidden" name="attrs[]" value="c" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($country);?>" />
   <!--<input type="hidden" name="attrs[]" value="IPPhone" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($IPPhone);?>" />-->
   <input type="hidden" name="attrs[]" value="URL" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($url);?>" />
   <!-- Privat -->
   <input type="hidden" name="attrs[]" value="homePostalAddress" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($homePostalAddress);?>" />   
   <input type="hidden" name="attrs[]" value="homePhone" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($homePhone);?>" />
   <input type="hidden" name="attrs[]" value="otherFacsimiletelephoneNumber" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($otherFacsimiletelephoneNumber);?>" />
   <input type="hidden" name="attrs[]" value="mobile" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($mobile);?>" />
   <!-- Andere -->
   <input type="hidden" name="attrs[]" value="comment" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($comment);?>" />   
   <!-- Organisation -->
   <input type="hidden" name="attrs[]" value="Manager" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($Manager);?>" />   
   <input type="hidden" name="attrs[]" value="Reports" />
   <input type="hidden" name="vals[]" value="<?php echo htmlspecialchars($Reports);?>" />
   <center>
   <table class="confirm">
   <tr class="even">
      <td class="heading">Common name:</td>
      <td><b><?php echo htmlspecialchars( $common_name ); ?></b></td>
   </tr>
   <tr class="odd">
      <td class="heading">Vorname:</td>
      <td><b><?php echo htmlspecialchars( $first_name ); ?></b></td>
   </tr>
   <tr class="even">
      <td class="heading">Nachname:</td>
      <td><b><?php echo htmlspecialchars( $last_name ); ?></b></td>
   </tr>
   <tr class="odd">
      <td class="heading">Firma:</td>
      <td><?php echo htmlspecialchars( $organization ); ?></td>
   </tr>
   <tr class="even">
      <td class="heading">Stadt:</td>
      <td><?php echo htmlspecialchars( $city ); ?></td>
   </tr>
   <tr class="odd">
      <td class="heading">Postleitzahl:</td>
      <td><?php echo htmlspecialchars( $postal_code ); ?></td>
   </tr>
   <tr class="even">
      <td class="heading">Stra&szlig;e:</td>
      <td><?php echo htmlspecialchars( $workstreet ); ?></td>
   </tr>
   <tr class="odd">
      <td class="heading">Telefon gesch&auml;tlich:</td>
      <td><?php echo htmlspecialchars( $telephone_number ); ?></td>
   </tr>
   <tr class="odd">
      <td class="heading">Container:</td>
      <td><?php echo htmlspecialchars( $container ); ?></td>
   </tr>
   </table>
   <br /><input type="submit" value="create address" />
   </center>
   </form>

<?php } ?>

</body>
</html>
Back to top
View user's profile Send private message
tomga
n00b
n00b


Joined: 13 Jul 2002
Posts: 68

PostPosted: Fri Jan 14, 2005 5:38 pm    Post subject: Reply with quote

.... and i should mention this site

http://www.openldap.org/faq/data/cache/294.html
Back to top
View user's profile Send private message
drakkan
Apprentice
Apprentice


Joined: 21 Jun 2004
Posts: 232

PostPosted: Tue May 17, 2005 11:50 am    Post subject: Reply with quote

DeadMonkey wrote:
Excellent guide, and now I have a working OpenLDAP server to use as a common address book for Outlook 2000 / Outlook 2003 clients.

They only problem I'm having at this point: When I start a new e-mail and open up the LDAP address book it comes up blank. I have to use "find" and then enter in a search to find the user.

Is that by design or is there something I'm missing? I'd really like to pull up the LDAP address book and show all available entries instead of the ones I've had to manually search for.

Thanks for any help, and again great guide!


I have the same, there is a solution?

thanks for the great howto
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum