Full_Name: Quanah Gibson-Mount Version: 2.4.44+ITS8432 OS: Linux 3.13 URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (75.111.52.177) When slapadding a database rooted at "" on a replica, it outputs the following warning: zimbra@zre-ldap014:~$ time ./libexec/zmslapadd /home/build/ldap.bak.20160909144406 57d32561 slapadd: warning, missing attrs entryUUID,entryCSN from entry dn="" -######## 42.58% eta 01m39s elapsed 01m13s spd 292.8 k/s Interestingly enough, when slapadded to a master with cn=accesslog in play, it doesn't output anything: zimbra@zre-ldap008:~$ ./libexec/zmslapadd /home/build/ldap.bak.20160909144406 *#################### 100.00% eta none elapsed 02m45s spd 3.1 M/s Closing DB... I'd generally expect the warning to be consistently shown (or not). I don't think it's valid in the case of "".
quanah@openldap.org wrote: > Full_Name: Quanah Gibson-Mount > Version: 2.4.44+ITS8432 > OS: Linux 3.13 > URL: ftp://ftp.openldap.org/incoming/ > Submission from: (NULL) (75.111.52.177) > > > When slapadding a database rooted at "" on a replica, it outputs the following > warning: > > zimbra@zre-ldap014:~$ time ./libexec/zmslapadd > /home/build/ldap.bak.20160909144406 > 57d32561 slapadd: warning, missing attrs entryUUID,entryCSN from entry dn="" > -######## 42.58% eta 01m39s elapsed 01m13s spd 292.8 k/s > > > Interestingly enough, when slapadded to a master with cn=accesslog in play, it > doesn't output anything: > > zimbra@zre-ldap008:~$ ./libexec/zmslapadd /home/build/ldap.bak.20160909144406 > *#################### 100.00% eta none elapsed 02m45s spd 3.1 M/s > Closing DB... > > I'd generally expect the warning to be consistently shown (or not). I don't > think it's valid in the case of "". The warning is only printed in single-master replication configs. Closing this ITS. -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
--On Friday, September 09, 2016 11:32 PM +0100 Howard Chu <hyc@symas.com> wrote: >> I'd generally expect the warning to be consistently shown (or not). I >> don't think it's valid in the case of "". > > The warning is only printed in single-master replication configs. My point is the warning is invalid, and it was printed on the replica, nothing to do with a master... --Quanah -- Quanah Gibson-Mount
moved from Incoming to Software Bugs
Specific to using the null base, where these attributes won't exist.
Fixed in master 2939df1a1dead2a11d1878ccd246660cda2b41a6
head: • 2939df1a by Howard Chu at 2023-11-02T16:53:26+00:00 ITS#8498 slapadd: silence warning for NULL entry