Re: ldap

2010-03-30 Thread Patrick Mburu
Hi all, Thanks for your help, i created another domain and from my slapcat output i get this dn: dc=mycompnay,dc=com objectClass: dcObject objectClass: organization o: mycompany dc: mycompany structuralObjectClass: organization entryUUID: e235aa56-cd4a-102e-9e99- 4f8ab88a5141 creatorsName:

Re: Configuring OpenLDAP on Ubuntu 9.10.Need help!

2010-03-30 Thread Shamika Joshi
Thank you Benjamin for your prompt response, I ve gone through this article you suggested too however the problem here is for entering any command like ldapadd it prompts for entering LDAP password but since dpkg-reconfigure slapd has not asked me to configure any password yet I have no clue what

Re: Configuring OpenLDAP on Ubuntu 9.10.Need help!

2010-03-30 Thread Benjamin Griese
Hi again, try to set a baseDN or if you're searching locally try the expression with an -x when searching your ldaptree, in your case: ldapsearch -x -b dc=example,dc=org or ldapsearch -b dc=example,dc=org but probably you havn't set any users to bind to or acls to restrict access, please read

Re: Not getting password expiry warnings on login

2010-03-30 Thread Buchan Milne
On Tuesday, 30 March 2010 00:09:42 Chris Jacobs wrote: STRANGE. I'd just decided to 'heck with this' and work out some process that will send emails - removing the 'need' for this feature. So I modified the policy to 184 days (max value for any 6 months), set the password warning to 1

Re: Re-engaging the Samba4 LDAP backend

2010-03-30 Thread Howard Chu
Andrew Bartlett wrote: I'm trying to pick up the ball again on the OpenLDAP and Fedora DS backends, and hopefully to bring them back up to speed as a working and respectable solution. - A way to invoke slpad -Ttest -fconfig file -Fconfig dir without issuing errors because of the missing

Re: Configuring OpenLDAP on Ubuntu 9.10.Need help!

2010-03-30 Thread Matt Kassawara
Starting with Ubuntu Karmic (9.10), the slapd package changed from creating a typical LDAP administrator account (i.e., username and password) to using LDAPI and SASL EXTERNAL which automatically provides LDAP administrator access via the system root account. As root, run your LDAP utilities

Partial replication

2010-03-30 Thread Joe Friedeggs
Is it possible to replicate, on a slave, two branches of the DIT (only)?  I have several instances of LDAP running on servers throughout the world.  Connection to some of these from our support location is not dependable.  I want to do something similar to this: Main LDAP (here, master):

Re: ldap_ssl_client_init equivalent?

2010-03-30 Thread masarati
Hi, is there a ldap_ssl_client_init function in the openldap C API? I couldn't find any in the openldap header files. Because there isn't. What is the equivalent of the following ldapsearch query in C using the API, on Linux? ldapsearch -x -H 'ldaps://activedirectory.abc.com/636' -b

RE: Not getting password expiry warnings on login

2010-03-30 Thread Chris Jacobs
I haven't had any success adding pwdChangedTime to accounts - and it seems you've assisted others with that issue - with the result being ya can't do that. http://www.openldap.org/lists/openldap-software/200706/msg00298.html So, how do I add pwdChangedTime to accounts? I'm being advised here

Re: ldap_ssl_client_init equivalent?

2010-03-30 Thread Howard Chu
phi...@free.fr wrote: Hi, is there a ldap_ssl_client_init function in the openldap C API? I couldn't find any in the openldap header files. No, nor is one needed. A single ldap_initialize() API does everything needed for all LDAP session types. Requiring a separate API for each connection

Re: Partial replication

2010-03-30 Thread Zdenek Styblik
On 03/30/10 18:36, Joe Friedeggs wrote: Is it possible to replicate, on a slave, two branches of the DIT (only)? I have several instances of LDAP running on servers throughout the world. Connection to some of these from our support location is not dependable. I want to do something

RE: Partial replication

2010-03-30 Thread Joe Friedeggs
On 03/30/10 18:36, Joe Friedeggs wrote: Is it possible to replicate, on a slave, two branches of the DIT (only)? I have several instances of LDAP running on servers throughout the world. Connection to some of these from our support location is not dependable. I want to do something

Re: Configuring OpenLDAP on Ubuntu 9.10 [using slapd.conf??]

2010-03-30 Thread Shamika Joshi
Thank you guys for your help! I'll try my way through it. One more question here, i have a old working slapd.conf file from a RHEL server, if I want to same slapd.conf file provide its path in /etc/default/slapd as SLAPD_CONF=/etc/ldap/slapd.conf should that work? Or should I need to make more