Re: new slapd.d configuration format and Invalid DN syntax (34)

2005-08-26 Thread Samuel Tran
> Samuel Tran wrote: >> On Fri, 2005-08-26 at 11:25 -0400, Samuel Tran wrote: >> > Hi all, >> > >> > I am testing OL 2.3.6 + BerkeleyDB 4.2.52 on Debian Sarge boxes. >> > >> > I am a little bit confused on the new slapd.d configuration format. >> > >> > >> > I have a slapd.conf file that is workin

Re: new slapd.d configuration format and Invalid DN syntax (34)

2005-08-26 Thread Howard Chu
Samuel Tran wrote: Samuel Tran wrote: On Fri, 2005-08-26 at 11:25 -0400, Samuel Tran wrote: Hi all, I am testing OL 2.3.6 + BerkeleyDB 4.2.52 on Debian Sarge boxes. I am a little bit confused on the new slapd.d configuration format. I have a slapd.conf file that is working with

Re: new slapd.d configuration format and Invalid DN syntax (34)

2005-08-26 Thread Howard Chu
Quanah Gibson-Mount wrote: --On Friday, August 26, 2005 4:07 PM -0400 Samuel Tran <[EMAIL PROTECTED]> wrote: The debugging output is actually the result of my ldapsearch: /usr/local/bin/ldapsearch -LLL -x -H ldap://localhost -b "dc=example,dc=com" Sorry about the confusion. Any hints? Is y

Re: new slapd.d configuration format and Invalid DN syntax (34)

2005-08-26 Thread Quanah Gibson-Mount
--On Friday, August 26, 2005 4:07 PM -0400 Samuel Tran <[EMAIL PROTECTED]> wrote: The debugging output is actually the result of my ldapsearch: /usr/local/bin/ldapsearch -LLL -x -H ldap://localhost -b "dc=example,dc=com" Sorry about the confusion. Any hints? Is your database configured t

Re: slapcat or ldapsearch could not return complete query result

2005-08-26 Thread Howard Chu
Note that ITS#3764 and #3703 are relevant here, both fixed in 2.2.27. You should really be running the latest release, 2.2.28 (or 2.3.6). With the fixes for these two ITS's it should be completely safe to run slapcat concurrently with slapd. Ran Li wrote: Hi Quanah, Thanks for following my i

Re: new slapd.d configuration format and Invalid DN syntax (34)

2005-08-26 Thread Howard Chu
Samuel Tran wrote: On Fri, 2005-08-26 at 11:25 -0400, Samuel Tran wrote: > Hi all, > > I am testing OL 2.3.6 + BerkeleyDB 4.2.52 on Debian Sarge boxes. > > I am a little bit confused on the new slapd.d configuration format. > > > I have a slapd.conf file that is working with my setup. I converte

RE: slapcat or ldapsearch could not return complete query result

2005-08-26 Thread Ran Li
Hi Quanah, Thanks for following my issue, I sincerely appreciate your effort, I appologize I did not pay attention to the -h option, after running that everything works fine, now I can get the output. I m not sure if the reason was I ran slapcat when slapd was running, but I will avoid this kind o

Re: new slapd.d configuration format and Invalid DN syntax (34)

2005-08-26 Thread Samuel Tran
On Fri, 2005-08-26 at 11:25 -0400, Samuel Tran wrote: > Hi all, > > I am testing OL 2.3.6 + BerkeleyDB 4.2.52 on Debian Sarge boxes. > > I am a little bit confused on the new slapd.d configuration format. > > I have a slapd.conf file that is working with my setup. I converted it > to the new sla

Re: how can I write to a slave?

2005-08-26 Thread Tomasz Chmielewski
Pierangelo Masarati schrieb: Tomasz Chmielewski wrote: Is it possible to set up OpenLDAP in a way: 1) a client connects to a slave, and wants to write something, 2) slave connects to the master, 3) slave writes the change on behalf of the client, and gets the changes back 4) client is notifi

Re: slapcat or ldapsearch could not return complete query result

2005-08-26 Thread Quanah Gibson-Mount
--On Friday, August 26, 2005 3:19 PM -0400 Ran Li <[EMAIL PROTECTED]> wrote: Hello List, when I ran slapcat (w/ or w/o slapd), it would not return the complete ldif file, and it just hung. If I do ldapsearch for one entry, in a few cases it will give the complete result but most of the time

slapcat or ldapsearch could not return complete query result

2005-08-26 Thread Ran Li
Hello List, when I ran slapcat (w/ or w/o slapd), it would not return the complete ldif file, and it just hung. If I do ldapsearch for one entry, in a few cases it will give the complete result but most of the time it won't, and it will hang up. slapd log or system log does not say anything. Ran d

Re: 34 Invalid DN syntax

2005-08-26 Thread Hallvard B Furuseth
Juan Carlos Sanchez Recio writes: > Buenas, That's one language I don't understand, but: > [EMAIL PROTECTED] openldap]# ldapsearch -x -b'' -s base '(objectclass=*)' > namingContexts ldapsearch can't tell the difference between -b and -b'', it receives both as one "-b" argument. So it takes "-s"

Re: 34 Invalid DN syntax

2005-08-26 Thread Aaron Richton
Cut and paste the Admin Guide example. You need a space after -b option. (If anybody can translate this, I'm sure it would be appreciated.) > [EMAIL PROTECTED] openldap]# ldapsearch -x -b'' -s base '(objectclass=*)' > namingContexts No. Use ldapsearch -x -b '' -s base '(objectclass=*)' namingCon

34 Invalid DN syntax

2005-08-26 Thread Juan Carlos Sanchez Recio
Buenas, acabo de instalar y configurar OpenLDAP 2.23.X, mirando el manual he probado esto: [EMAIL PROTECTED] openldap]# ldapsearch -x -b'' -s base '(objectclass=*)' namingContexts el resultat es això: # extended LDIF # # LDAPv3 # base <-s> with scope sub # filter: (objectclass=*) # requesting: b

new slapd.d configuration format and Invalid DN syntax (34)

2005-08-26 Thread Samuel Tran
Hi all, I am testing OL 2.3.6 + BerkeleyDB 4.2.52 on Debian Sarge boxes. I am a little bit confused on the new slapd.d configuration format. I have a slapd.conf file that is working with my setup. I converted it to the new slapd.d format using this command: /usr/local/libexec/slapd -f /etc/open

Multiple uses of same overlay

2005-08-26 Thread Hallvard B Furuseth
Can I use 2 "unique" overlays (with different base and attrs) in one database? over_db_config() warns that the freshly added overlay already is in the list, and a note at that warning in backover.c says: NOTE: if the overlay already exists, there is no way to merge the results of the conf

Re: how can I write to a slave?

2005-08-26 Thread Pierangelo Masarati
Tomasz Chmielewski wrote: Is it possible to set up OpenLDAP in a way: 1) a client connects to a slave, and wants to write something, 2) slave connects to the master, 3) slave writes the change on behalf of the client, and gets the changes back 4) client is notified, that the change was done

how can I write to a slave?

2005-08-26 Thread Tomasz Chmielewski
Is it possible to set up OpenLDAP in a way: 1) a client connects to a slave, and wants to write something, 2) slave connects to the master, 3) slave writes the change on behalf of the client, and gets the changes back 4) client is notified, that the change was done I have an application in ma