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  
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: Wed May 18, 2005 7:29 am    Post subject: Reply with quote

It's a common problem. I don't know why but that's just the way it works.
There is a dirty workaround, just search for * or @ or a blank screen. It will give
you all the names. Downside is that you loose them as soon you close outlook.
So every time you start outlook you have to do that again.

There is however a much better method. Configure outlook to look into you
LDAP-addressbook first. Now, instead of opening the addressbook and selecting
the names you want, just type is the first name(s) is the addressbar. Multiple names
can be seperated by a ;
As soon you click on 'send' or 'check names' outlook will rip the names from your
LDAP-addressbook :D In case there are multiple hits, outlook will present a small
list with the possabilities.

Hope that helps. :wink:
_________________
If there is one thing to learn from history, it's that we usualy don't learn anything from it, at all.
Back to top
View user's profile Send private message
drakkan
Apprentice
Apprentice


Joined: 21 Jun 2004
Posts: 232

PostPosted: Wed May 18, 2005 9:53 am    Post subject: Reply with quote

another little help please,

phpldapadmin works fine, but there is a way to add contacts to ldap directly from outlook?

thanks drakkan
Back to top
View user's profile Send private message
mariourk
l33t
l33t


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

PostPosted: Wed May 18, 2005 3:49 pm    Post subject: Reply with quote

Short answer, nope! :wink:
_________________
If there is one thing to learn from history, it's that we usualy don't learn anything from it, at all.
Back to top
View user's profile Send private message
mattmm
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2004
Posts: 79

PostPosted: Wed Jun 01, 2005 3:47 pm    Post subject: Reply with quote

what would you add to require the outlook client to login in before accessing the ldap listing? Currently this is just setup to login anonymously granting access to anyone.
Back to top
View user's profile Send private message
vgster
n00b
n00b


Joined: 02 Oct 2004
Posts: 11

PostPosted: Wed Jun 08, 2005 1:32 pm    Post subject: Error on ldapadd Reply with quote

When doing the ldapadd -D "dc=gentoo,dc=org" -f directory.ldif -W I get the following error

Enter LDAP Password:
adding new entry "dc=gentoo,dc=org"
ldapadd: update failed: dc=gentoo,dc=org
ldap_add: Invalid syntax (21)
additional info: objectClass: value #0 invalid per syntax

Do I need to remove something?

Regards

Lee
Back to top
View user's profile Send private message
mariourk
l33t
l33t


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

PostPosted: Wed Jun 29, 2005 12:38 pm    Post subject: Reply with quote

mattmm wrote:
what would you add to require the outlook client to login in before accessing the ldap listing? Currently this is just setup to login anonymously granting access to anyone.

I have no Idea. I had enough trouble to get it working this way. Maybe you can figure it out for us? :D

vgster wrote:

When doing the ldapadd -D "dc=gentoo,dc=org" -f directory.ldif -W I get the following error

Enter LDAP Password:
adding new entry "dc=gentoo,dc=org"
ldapadd: update failed: dc=gentoo,dc=org
ldap_add: Invalid syntax (21)
additional info: objectClass: value #0 invalid per syntax

Do I need to remove something?

Regards

Lee

Try this:
Code:

ldapadd -D "dc=gentoo, dc=org" -f directory.ldif -W

note the space between dc=gentoo, and dc=org
You also have to set this right is your ldif file.
_________________
If there is one thing to learn from history, it's that we usualy don't learn anything from it, at all.
Back to top
View user's profile Send private message
derheld42
Tux's lil' helper
Tux's lil' helper


Joined: 31 Mar 2003
Posts: 97
Location: Washington, US

PostPosted: Sat Nov 11, 2006 11:45 pm    Post subject: Reply with quote

Thanx so much for the tutorial!

I was able to get authentication working by adding this to slapd.conf
Code:

# http://yolinux.com/TUTORIALS/LinuxTutorialLDAP-BindPW.html
# adding user passwords
defaultaccess   none
access to attr=userPassword                 
       by dn="cn=Manager,dc=blar,dc=net" write   
       by self write                         
       by * auth
#access to dn=".*,ou=1963,o=delta"
#       by dn="cn=Admin1963,o=delta" write
#       by self write
#       by users read
#       by * auth
#access to dn=".*,ou=people,dc=blar,dc=net"
#       by users write
#       by self write
#       by * auth
access to *
       by dn="cn=Manager,dc=blar,dc=net"  write 
       by users write
       by self write
       by * auth


However, I can't get evolution 2.8.1.1 to use a password with ldap, so I'm trying to decide if I really want a password on my home network.

EDIT: I got evolution 2.8.1.1 to work after I added the use variable ldap to the evolution-data-server build. duh! I stumbled on this by accident, I guess I wish there was some sort of automatic dependency from evolution's ldap use variable to the evolution-data-server's ldap use variable. NOTE: I don't have make.conf's global ldap use variable set.
Back to top
View user's profile Send private message
fank
l33t
l33t


Joined: 16 Oct 2004
Posts: 794
Location: Minsk, Belarus

PostPosted: Thu Feb 01, 2007 10:58 am    Post subject: Reply with quote

tecknojunky wrote:
...and...

Quote:
# /etc/init.d/slapd restart
* Stopping ldap-server... [ ok ]
* Starting ldap-server...
/etc/openldap/schema/extension.schema: line 37: AttributeType not found: [ !! ]


I'll try to find the attribute by figuring what is actualy called in slapd and run it from the prompt so it will display it (i hope).

RESULT:
Quote:
# /usr/lib/openldap/slapd
/etc/openldap/schema/extension.schema: line 37: AttributeType not found: "rdn"


... and if I remove it, the next attribute cause slapd to complain, and so on.


got the same error
I checked twice syntax and found at begin of extension.schema some strange symbols (I can see them only in less). I think this is bacause of copy-pasting this conf.
then I deleted first line and retyped it by hand

Now it working for me!!!

I hope this help to you

sorry for bad English :oops:
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
Page 4 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