Re: Back-Shell and binary attribute

2012-01-31 Thread llg
Hi, in fact, problem is worse : backend (perl and/or shell) receives truncated binary field. Any ideas ? Thks llg Le 20/01/2012 12:44, llg a écrit : Hi, I'm trying to develop a back_shell to intercept modifications and I got difficulties with binary attributes on modify operations

DEL don't get synced

2012-01-31 Thread Marc Patermann
Hi, under some circumstances DEL don't get replicated to the consumers (SyncRepl). I think this has to do with other changes at the some moment. I attached two logs excepts in sync.log. In the first except there is only a DEL Jan 31 09:16:01 ldapserver slapd[10641]: conn=79138 op=2 DEL

DEL don't get synced

2012-01-31 Thread Marc Patermann
Hi, under some circumstances DEL don't get replicated to the consumers (SyncRepl). I think this has to do with other changes at the some moment. I attached two logs excepts in sync.log. In the first except there is only a DEL Jan 31 09:16:01 ldapserver slapd[10641]: conn=79138 op=2 DEL

Re: DEL don't get synced

2012-01-31 Thread Howard Chu
Marc Patermann wrote: Hi, under some circumstances DEL don't get replicated to the consumers (SyncRepl). I think this has to do with other changes at the some moment. Already known, ITS#7052. -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun

Re: smbk5pwd overlay assert/crash

2012-01-31 Thread Tiziano Müller
Hi Fumiya   Sorry for the late reply. Finally managed to test the patch with 2.4.26 and it works perfectly. Thanks a lot!   Best regards, Tiziano SATOH Fumiyasu fumi...@osstech.jp hat am 27. Januar 2012 um 18:19 geschrieben: Hi! At Fri, 27 Jan 2012 13:32:32 +0100 (CET), Tiziano Müller

Re: DEL don't get synced

2012-01-31 Thread Marc Patermann
Hi, Howard Chu schrieb (31.01.2012 12:08 Uhr): Marc Patermann wrote: under some circumstances DEL don't get replicated to the consumers (SyncRepl). I think this has to do with other changes at the some moment. Already known, ITS#7052. Thanks. So this is fixed in 2.6.27 (and later). The

Re: DEL don't get synced

2012-01-31 Thread Howard Chu
Marc Patermann wrote: Hi, Howard Chu schrieb (31.01.2012 12:08 Uhr): Marc Patermann wrote: under some circumstances DEL don't get replicated to the consumers (SyncRepl). I think this has to do with other changes at the some moment. Already known, ITS#7052. Thanks. So this is fixed in

Global modifications

2012-01-31 Thread Nick Milas
Hello, Is there a way to apply changes to all entries using ldapmodify or a similar tool? I would like to add automatically to all our entries with a mail attribute, a new acceptedEmail attribute with the same values as the existing mail attribute. The acceptedEmail attribute would be

Re: Global modifications

2012-01-31 Thread llg
Hi, I think the simplest and reliable way is to : * stop service * full slapcat * modify ldif with your favourite editor * backup DB_CONFIG file * delete ldap directory * slapadd new ldif * restore DB_CONFIG file * set owner and group to ldap directory * restart service Llg Le

Re: slapcat and slapadd

2012-01-31 Thread NetNinja
I don't use the slapadd command, I use ldapadd or ldapmodify. Try the ldap commands. example; ldapmodify -D cn=manger,dc=SPSC,dc=TUGRAZ,dc=AT -W -f ldapFullCat.ldif There are also some commands you can add inside of the ldif file as well. These commands are add, replace and delete. Check the man

Re: DEL don't get synced

2012-01-31 Thread Marc Patermann
Howard, Howard Chu schrieb (31.01.2012 14:22 Uhr): Marc Patermann wrote: Howard Chu schrieb (31.01.2012 12:08 Uhr): Marc Patermann wrote: under some circumstances DEL don't get replicated to the consumers (SyncRepl). I think this has to do with other changes at the some moment. Already

OpenLDAP/AD 2 way password sync.

2012-01-31 Thread Darouichi, Aziz
Hi, Please forgive me if this topic was raised in the past. We have an SSO portal and all our applications have been moved to SSO. Authentication is done via an Openldap 2.4.23 Database. Also we run Microsoft Active Directory services on 2003 Domain. We are looking for a two way password

Re: DEL don't get synced

2012-01-31 Thread Marc Patermann
Howard, Howard Chu schrieb (31.01.2012 14:22 Uhr): Marc Patermann wrote: Howard Chu schrieb (31.01.2012 12:08 Uhr): Marc Patermann wrote: under some circumstances DEL don't get replicated to the consumers (SyncRepl). I think this has to do with other changes at the some moment. Already

Re: Global modifications

2012-01-31 Thread Nick Milas
On 31/1/2012 4:30 μμ, Charles T. Brooks wrote: You could always make an LDIF with your preferred awk ldapsearch -x -LLL -Dcn=manager,dc=example,dc=com -W 'mail=*' mail|gawk '/^dn/{printf %s\nchangetype: modify\nadd: acceptedEmail\n, $0};/^mail/{printf acceptedEmail: %s\n\n, $2}' and pipe it

Re: DEL don't get synced

2012-01-31 Thread Nick Milas
On 31/1/2012 6:35 μμ, Marc Patermann wrote: an additional fix will be in 2.4.29 Is there an anticipated (even approximate) release date for 2.4.29? Thanks, Nick

Re: DEL don't get synced

2012-01-31 Thread Quanah Gibson-Mount
--On Tuesday, January 31, 2012 9:58 PM +0200 Nick Milas n...@eurobjects.com wrote: On 31/1/2012 6:35 μμ, Marc Patermann wrote: an additional fix will be in 2.4.29 Is there an anticipated (even approximate) release date for 2.4.29? We never announce release dates. However, if you were

Re: making a full replica: slapd -c rid=xxx doesn't seem to work

2012-01-31 Thread Jephte CLAIN
On 27/01/2012 17:33, Jephte CLAIN wrote: hello, I'm new on this list. I use OpenLDAP 2.4.23 on debian squeeze Hello, Following the advice from Michael Ströder, I tried with OpenLDAP 2.4.28 By the way, I ported the openldap-2.4.28 package from wheezy to squeeze, and made source and binary

Re: making a full replica: slapd -c rid=xxx doesn't seem to work

2012-01-31 Thread Jephte CLAIN
On 01/02/2012 08:47, Jephte CLAIN wrote: On 27/01/2012 17:33, Jephte CLAIN wrote: This is not working as documented, isn't it? For now, I will seed the consumer with an export of the two objects cn=config and olcDatabase={0}config,cn=config from the master. even though they are not updated, it