[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: SyncRepl - no write access



Pierangelo Masarati wrote:

Turbo Fredriksson wrote:

"Pierangelo" == Pierangelo Masarati <ando@sys-net.it> writes:


Pierangelo> attrs="* structuralObjectClass entryCSN OpenLDAPACI"

   Turbo> Well, putting that (exactly!) in my syncrepl statement, didn't
   Turbo> replicate ANY (almost) attributes to be replicated.

   Pierangelo> That was just a hint, totally untested :)

Well, looking through the code I see that if I remove the 'attrs' option
all togheter, it does:

               tmp[ n++ ] = ch_strdup( "*" );
               tmp[ n++ ] = ch_strdup( "+" );

So, in theory I should be able to put 'attrs="* +"'. That don't work
(bug!?)... Never mind. For me it works just fine to remove the option
all together (as recomend to me earlier).

Thanx for the help everyone, now everything seems to work. Time will
tell if it's more stable then slurpd :)


I definitely suspect a bug; in fact, I changed test017's slapd.2.conf in HEAD, setting attrs="*,OpenLDAPAci" and the search logged as

Well, the man page isn't very explicit here, it says just "attrs=<attr list>" while the code only accepts comma as a list delimiter. I.e., it does not parse quoted whitespace separated lists.

--
 -- Howard Chu
 Chief Architect, Symas Corp.       Director, Highland Sun
 http://www.symas.com               http://highlandsun.com/hyc
 Symas: Premier OpenSource Development and Support