Hello All,
I am new to OpenLDAP but have it up and running and have allowed users to
change their own password. I was about to start working on a Perl script
to grab the last password change date/time and email a user a few days
before it expires. I have done that before with Perl using Active
Directory as the LDAP server.
The problem is that when I use ldapsearch, I can see the user attributes
including the hashed password but I don't see where it stores the last time
a password was …
[View More]changed? In the event it matters, I am using bdb as the
database and everything else including logins is working fine.
Am I using the wrong tool? How can I get this information?
Thank you in advance.
[View Less]
Dear Colleagues,
I have been trying to investigate what is needed in OpenLDAP to have
Microsoft Outlook 2007 display a list of names in the addressbook when
first accessed in the same way that it does with ActiveDirectory/Exchange.
From what I have found out from Web searching, MS Outlook requires a
certain set of overlays, supportedCapabilities and supportedControls
from the LDAP server to show the addressbook this way. The
CommunigatePro LDAP server can emulate those.
Are there any …
[View More]success stories or recommendations or howtos how to
setup OpenLDAP to provide such service?
I am running openldap-server-2.4.33 on FreeBSD. I have tried various
combinations of sssvlv and valsort overlays to no avail.
Outlook does show contacts from the OpenLDAP addressbook when I
specifically search for them, so my general setup (schema etc) seems
to be correct.
Thank you very much in advance for any input.
--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
sip:sudakov@sibptus.tomsk.ru
[View Less]
Please test after applying <
http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=commitdiff;h=a2cf…
>
>
> --Quanah
>
>
> --
>
> Quanah Gibson-Mount
> Sr. Member of Technical Staff
> Zimbra, Inc
> A Division of VMware, Inc.
> --------------------
> Zimbra :: the leader in open source messaging and collaboration
>
Thanks Quanah and Howard for the speedy solution, the patch worked -- no
more crashes on subtrees. The help is much appreciated!
cheers,
Ven
Having done some more research, it appears that Active Directory also has some settings that could result in disconnected connections. I experimented with idle-timeout set to 30 seconds for the LDAP databases, but this seemed to exacerbate the frequency of the errors. The behaviour exhibits as 'dead' connections, and LDAP does not appear to attempt to re-establish these connections. Using the CentOS distro of OpenLDAP 2.4.23
Here are the slapd.conf settings:
database ldap
…
[View More]readonly on
suffix "dc=xyz,dc=local"
#noundeffilter yes
#use-temporary-conn yes
uri "ldap://IP1/ ldap://IP2/ ldap://3/ ldap://IPn/"
database ldap
readonly on
suffix "dc=abc,dc=adroot,dc=abc,dc=bc,dc=ca"
#noundeffilter yes
#use-temporary-conn yes
uri "ldap://IP11/ ldap://IP12/ ldap://13/ ldap://IP1n/"
I have some rewrite rules for bindDN, searchEntryDN, searchAttrDN, matchedDN, but I don't believe these settings are relevant to the issue at hand.
Essentially I want the connections to be re-established without generating errors.
Thanks
_____________________________________________
From: Bryce Powell
Sent: December 10, 2012 01:32 PM
To: openldap-technical(a)openldap.org
Subject: LDAP database timeout settings
Hi,
I have configured two LDAP backend databases, each pointing to a difference Active Directory domain (multiple domain controllers specified per domain). After a period of time after slapd starts, the ldap log file shows multiple entries like this for the various connections (conns=nnnn):
Dec 10 13:18:03 vmxxxldap01 slapd[7826]: conn=1004 op=27 SEARCH RESULT tag=101 err=1 nentries=0 text=000004DC: LdapErr: DSID-0C0906E8, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v1db1
Without going into too much detail regarding the configuration, I'm wondering if I need to specify LDAP database configuration settings for:
idle-timeout
network-timeout
man slapd-ldap:
idle-timeout <time>
This directive causes a cached connection to be dropped an recreated after it has been idle for the specified time.
network-timeout <time>
Sets the network timeout value after which poll(2)/select(2) following a connect(2) returns in case of no activity. The value is in seconds, and it can be specified as for idle-timeout.
I don't understand the explanation for network-timeout though, and am hoping someone can kindly explain it in more detail, and suggest a scenario for its appropriate usage.
Also, when is it appropriate to use the ldap.conf NETWORK_TIMEOUT setting?
man ldap.conf:
NETWORK_TIMEOUT <integer>
Specifies the timeout (in seconds) after which the poll(2)/select(2) following a connect(2) returns in case of no activity.
Could someone please suggest the best approach for my use case? Of course, I might also be completely off the mark here ...
Thanks
Bryce Powell
[View Less]
Hi,
What would be the best way to concatenate several attributes into one
(maybe with slapo-rwm and back-relay ?). I know LDAP is a data
container, and not a fancy string generator, but I see no other way
around this.
An example : my directory contain an inetOrgPerson (say John Doe) with 3
telephoneNumber attributes, say 101010, 202020 and 303030.
I access this directory with 2 clients :
the first client displays the data in the right fashion:
cn: John Doe
telephoneNumber:101010
…
[View More]telephoneNumber:202020
telephoneNumber:303030
But the second client only displays only one telephoneNumber attribute,
so it displays:
cn: John Doe
telephoneNumber:101010
Given the fact that I have no way to modify the client's source code,
how could I do to display all 3 phone numbers ? An idea would be to use
rwm with back-relay and do some server side string generation, in order
for the second client to retrieve :
cn: John Doe
telephoneNumber:101010/202020/303030
is there a way to do this ?
BT
[View Less]
Hi,
I have configured two LDAP backend databases, each pointing to a difference Active Directory domain (multiple domain controllers specified per domain). After a period of time after slapd starts, the ldap log file shows multiple entries like this for the various connections (conns=nnnn):
Dec 10 13:18:03 vmxxxldap01 slapd[7826]: conn=1004 op=27 SEARCH RESULT tag=101 err=1 nentries=0 text=000004DC: LdapErr: DSID-0C0906E8, comment: In order to perform this operation a successful bind must be …
[View More]completed on the connection., data 0, v1db1
Without going into too much detail regarding the configuration, I'm wondering if I need to specify LDAP database configuration settings for:
idle-timeout
network-timeout
man slapd-ldap:
idle-timeout <time>
This directive causes a cached connection to be dropped an recreated after it has been idle for the specified time.
network-timeout <time>
Sets the network timeout value after which poll(2)/select(2) following a connect(2) returns in case of no activity. The value is in seconds, and it can be specified as for idle-timeout.
I don't understand the explanation for network-timeout though, and am hoping someone can kindly explain it in more detail, and suggest a scenario for its appropriate usage.
Also, when is it appropriate to use the ldap.conf NETWORK_TIMEOUT setting?
man ldap.conf:
NETWORK_TIMEOUT <integer>
Specifies the timeout (in seconds) after which the poll(2)/select(2) following a connect(2) returns in case of no activity.
Could someone please suggest the best approach for my use case? Of course, I might also be completely off the mark here ...
Thanks
Bryce Powell
[View Less]
Hello World,
I am using OpenLDAP for quite some time now, a few months. I have set up a simple
directory following DNS, RFC2247, directory structure,
`dc=company,dc=com`.
I use the directory to store POSIX accounts. Now I want to extend the
directory to store application configuration, starting with Postfix
virtual domains and maps. I would also like to store Kerberos principals
in the future.
For now I have three companies I want to use OpenLDAP for. Each of this
companies have part of the …
[View More]above services in their premises and in some
datacenters. I would like to configure replication between the
datacenter and the premise.
Maybe more companies will be added to the mix in the future.
Do you think it would be safe to use an empty suffix "" and go with
RFC2247 structure downwards?
" "
|
|
+ - - - - - - - - + - - - - - - - - +
| |
dc=net dc=com
| |
dc=compX + - - - - - - + - - - - - - +
| |
dc=compA dc=compB
I think this way it would be easy to replicate `dc=compA,dc=com` from
the datacenter servers to the on-premise ones. Also this would keep
things simple (?). Each company would get an `ou` for people and one for
groups.
I would also want to add the fact that some directories will also be
used to store Samba ID maps but I guess this makes no difference on how
the directory in structured.
What do you people think about this approach? If some of you have some
information on the topic of DIT Design please share so I can learn more.
Thank you. Cheers and Goodwill,
v
[View Less]
Hey guys,
I wanted to share a blog I recently published. It shows how to build an OpenLDAP server (from git) on Ubuntu 12.04 LTS in Amazon Web Services and Eucalyptus using cloud-init. Hope you enjoy. Any feedback would be greatly appreciated.
http://blogs.mindspew-age.com/2012/12/08/openldap-sandbox-in-the-clouds/
_________________________
Harold Spencer, Jr. - Technical Support Engineer
Eucalyptus Systems
www.eucalyptus.com
+1 805 845-8400
IRC: #eucalyptus
#eucalyptus-…
[View More]devel
Follow us on Twitter
Like our Facebook Page
Keep up-to-date with us
_________________________
[View Less]
Hello,
I needed to store information how to reach people, e.g.:
* Skype
* Jabber
* AIM
* Facetime
* …
I wanted to know if there is a schema for it or people write there own schema?
I have read that there is an URI schema for this kind of services:
* http://en.wikipedia.org/wiki/URI_scheme
regards
--
Bas van der Vlies
mail: basv(a)sara.nl<mailto:basv@sara.nl>
SARA - Academic Computing Services , Amsterdam, The Netherlands