hi Ciao, Michael!‍
   thank you for the reply. i use the slapcat is for backup the BDB database. 
if the computer down, i can use the slapadd commond to put the backup file back 
to the server. but now i can not find the right way to use the slapcat commond 
to get the output file, which can use the slapadd commond add the records back 
directly. you know  'createTimestamp' etc attributes can not add into the 
server computer directly.‍
     so could you pls tell me how to use the slapcat commond to take the right 
output file. the output file can directly use the slapadd commond into the 
server.


thank you 
Eileen




------------------ 原始邮件 ------------------
发件人: "Michael Ströder";<[email protected]>;
发送时间: 2015年1月12日(星期一) 下午5:11
收件人: "Eileen(=^ω^=)"<[email protected]>; 
"openldap-technical"<[email protected]>; 

主题: Re: slapcat command



Eileen(=^ω^=) wrote:
>     I face a question. When I use "slapcat -l filename.ldif ", the output 
> file will include the createTimestamp、modifyTimestamp、entrycsn and entryUUID 
> etc. These attributes will cause the output file can not put back to the bdb 
> database.
> ‍   could you pls kindly tell me how can use this slapcat without  these 
> attibutes ?

LDIF output of slapcat is usually used for DB restore with slapadd.
It won't work with normal ldapadd because 'createTimestamp' etc. are
operational attributes maintained by the server.

Does that answer your question?
If not, then provide more information about what you did or want to do.

Ciao, Michael.

Reply via email to