Re: How to obtain Operations Attributes

2011-03-25 Thread Suneet Shah
Thanks Emmanuel, If combine it into the following I can get what appears to be complete list String attrIds[] = {"1.1","+","*"}; SearchControls searchCtls = new SearchControls(); searchCtls.setSearchScope(SearchControls.SUBTREE_SCOPE); searchCtls.se

Re: How to obtain Operations Attributes

2011-03-25 Thread Emmanuel Lécharny
On 3/25/11 11:44 PM, Suneet Shah wrote: Hello, thanks for providing the link below. According to the link it says that I need to specify the list of operational attributes in order to be able to obtain the values for them. Is there a way to programatically determine the list of attributes that

Re: How to obtain Operations Attributes

2011-03-25 Thread Suneet Shah
Hello, thanks for providing the link below. According to the link it says that I need to specify the list of operational attributes in order to be able to obtain the values for them. Is there a way to programatically determine the list of attributes that are available for an object so that dynami

Re: Multimaster ldap related questions

2011-03-25 Thread Jarbas Peixoto Júnior
2011/3/25 Cannady, Mike > > > > -Original Message- > > From: Buchan Milne [mailto:bgmi...@staff.telkomsa.net] > > Sent: Friday, March 25, 2011 6:17 AM > > To: Cannady, Mike > > Cc: openldap-technical@openldap.org > > Subject: Re: Multimaster ldap related questions > > > > > > - "Mike

RE: Multimaster ldap related questions

2011-03-25 Thread Cannady, Mike
> -Original Message- > From: Buchan Milne [mailto:bgmi...@staff.telkomsa.net] > Sent: Friday, March 25, 2011 6:17 AM > To: Cannady, Mike > Cc: openldap-technical@openldap.org > Subject: Re: Multimaster ldap related questions > > > - "Mike Cannady" wrote: > > > I have implemented a

Re: deleting values from multivalued attribute

2011-03-25 Thread Michael Ströder
Hugo Monteiro wrote: >> Otherwise, assuming you want to replace the oldmail@ value by the >> newmail@ value, the correct ldif would be : >> uid=user,ou=users,dc=example,dc=com >> changetype: modify >> delete: mailAlternateAddress >> mailAlternateAddress: oldm...@example.com >> - >> add: mailAlterna

Re: syncrepl and mass deletes

2011-03-25 Thread Quanah Gibson-Mount
--On Friday, March 25, 2011 10:49 AM +0100 LALOT Dominique wrote: Yes, but I believe this is not the same case. We are replicating differents datbases instead of subtree into a single database. In case you have two providers, whole refresh is not working. What can I do more to file a report?

Re: deleting values from multivalued attribute

2011-03-25 Thread Emmanuel Lecharny
On 3/25/11 5:27 PM, Hugo Monteiro wrote: I wonder if it's also possible to use the same approach but for value modification. In brief evaluation, my guess is no, since the ldif syntax doesn't provide any way to distinct between the value to be replaced and the one to replace with. I don't und

Re: deleting values from multivalued attribute

2011-03-25 Thread Hugo Monteiro
On 03/25/2011 04:00 PM, Emmanuel Lecharny wrote: On 3/25/11 4:44 PM, Hugo Monteiro wrote: On 03/25/2011 03:00 PM, Emmanuel Lecharny wrote: On 3/25/11 3:51 PM, Hugo Monteiro wrote: Hello list, is it possible to perform the deletion of only a certain number of values, from a multivalued attrib

Re: deleting values from multivalued attribute

2011-03-25 Thread Emmanuel Lecharny
On 3/25/11 4:44 PM, Hugo Monteiro wrote: On 03/25/2011 03:00 PM, Emmanuel Lecharny wrote: On 3/25/11 3:51 PM, Hugo Monteiro wrote: Hello list, is it possible to perform the deletion of only a certain number of values, from a multivalued attribute, without having to perform full deletion and

Re: deleting values from multivalued attribute

2011-03-25 Thread Hugo Monteiro
On 03/25/2011 03:00 PM, Emmanuel Lecharny wrote: On 3/25/11 3:51 PM, Hugo Monteiro wrote: Hello list, is it possible to perform the deletion of only a certain number of values, from a multivalued attribute, without having to perform full deletion and then adding the ones we'd like to keep? O

Re: deleting values from multivalued attribute

2011-03-25 Thread Benjamin Griese
Hello Hugo, my Apache Directory Studio shows me following operations: adding an entry: dn: cn=test,ou=Groups,dc=example,dc=com changetype: modify add: memberUid memberUid: test removing single entry of a multi-value attribute: dn: cn=test,ou=Groups,dc=example,dc=com changetype: modify delete:

Re: deleting values from multivalued attribute

2011-03-25 Thread Emmanuel Lecharny
On 3/25/11 3:51 PM, Hugo Monteiro wrote: Hello list, is it possible to perform the deletion of only a certain number of values, from a multivalued attribute, without having to perform full deletion and then adding the ones we'd like to keep? Of course. http://download.oracle.com/docs/cd/E193

Re: 8 principal limitation in openldap

2011-03-25 Thread Marco Pizzoli
Hi, I could be corrected if I'm wrong, but this problem is not related to OpenLDAP. It's a nss_ldap problem. nss_ldap is a client library that's used by linux vendors to achieves seamless integration of users against *a* LDAP server. I had a similar problem with a complex configuration and bypasse

deleting values from multivalued attribute

2011-03-25 Thread Hugo Monteiro
Hello list, is it possible to perform the deletion of only a certain number of values, from a multivalued attribute, without having to perform full deletion and then adding the ones we'd like to keep? example, entry has: mail: u...@example.com mailAlternateAddress: first.l...@example.com ma

Re: 8 principal limitation in openldap

2011-03-25 Thread Howard Chu
Srivatsav M wrote: Hi, We are using OpenLDAP for authenticating users registered in a LDAP server (Open LDAP, Active Directory). After adding 8 principals (/etc/ldap.conf), none of the users registered in the /etc/ldap.conf file are able to login. nss_base_passwd OU=engg,DC=mycompany,DC=region,

8 principal limitation in openldap

2011-03-25 Thread Srivatsav M
Hi, We are using OpenLDAP for authenticating users registered in a LDAP server (Open LDAP, Active Directory). After adding 8 principals (/etc/ldap.conf), none of the users registered in the /etc/ldap.conf file are able to login. nss_base_passwd OU=engg,DC=mycompany,DC=region,DC=someplace,DC=myare

Re: audit or accesslog remote IP

2011-03-25 Thread Michael Ströder
Omer Faruk SEN wrote: > Is there a way to also log IP address of remote system at audit and/or > accesslog events. Not possible at the moment. Would be a nice feature request though. But in case of LDAPI the remote end point is a path name. Ciao, Michael.

audit or accesslog remote IP

2011-03-25 Thread Omer Faruk SEN
Hi, Is there a way to also log IP address of remote system at audit and/or accesslog events. Regards.

Re: Internal (implementation specific) error (80) and cannot allocate memory

2011-03-25 Thread Dieter Kluenter
Hendrik van der Ploeg writes: > Hello People, > > I'm importing a ldif file in a ldapserver which has 200 different > databases on it. The max is 256 by the way. > I import the ldif in every database only with a different DN per database > of course. > > I can import the ldif file in about 30 dat

Internal (implementation specific) error (80) and cannot allocate memory

2011-03-25 Thread Hendrik van der Ploeg
Hello People, I'm importing a ldif file in a ldapserver which has 200 different databases on it. The max is 256 by the way. I import the ldif in every database only with a different DN per database of course. I can import the ldif file in about 30 databases and then the server gives the error mes

Re: slapo-dds and data decoding error

2011-03-25 Thread Keutel, Jochen (mlists)
Hello, look at this request: ber_dump: buf=0x7fae6d002260 ptr=0x7fae6d002260 end=0x7fae6d0022b9 len=89 : 02 01 02 77 54 80 1a 31 2e 33 2e 36 2e 31 2e 34 ...wT..1.3.6.1.4 0010: 2e 31 2e 31 34 36 36 2e 31 30 31 2e 31 31 39 2e .1.1466.101.119. 0020: 31 81 36 30 34 04 2d 63

Re: slapo-dds and data decoding error

2011-03-25 Thread Michael Ströder
Added an OpenLDAP trace at the end. Ciao, Michael. Michael Ströder wrote: > For the fun of it I'm implementing a small Python script which sends a Refresh > Request (RFC 2589). But slapo-dds (OpenLDAP 2.4.24) returns a protocol error > due to a decoding error: > > Mar 24 20:48:38 nb2 slapd[8202]

Re: Multimaster ldap related questions

2011-03-25 Thread Buchan Milne
- "Mike Cannady" wrote: > I have implemented a multi-master two node ldap with openldap 2.4.22 > and Berkely DB 4.8.26 on Redhat enterprise 5.4 with several readonly > replicas off of the masters. > > I have a need to add several optional attributes to a schema and > probably should upgrade

Re: syncrepl and mass deletes

2011-03-25 Thread LALOT Dominique
Yes, but I believe this is not the same case. We are replicating differents datbases instead of subtree into a single database. In case you have two providers, whole refresh is not working. What can I do more to file a report? Thanks Dom 2011/3/24 Quanah Gibson-Mount > --On Thursday, March 2