Eileen(=^ω^=) wrote: > after that, i use slapadd command to add this person. will get the wrong message. so i think the attribute createtimestamp can not be added, it should be created by ldap server or system,not in the file. ^^^^^^^ > [root@tmsr-ldap0 ldap]# ldapadd -x -D "cn=manager,dc=xxx,dc=xxx" -W -f test.ldif > Enter LDAP Password: > adding new entry "cn=tiangexuanadd,ou=users,dc=tmsr,dc=org" > ldap_add: Constraint violation (19) > additional info: createtimestamp: no user modification allowed slapadd and ldapadd are different command-line tools for different purposes. Please consult the man pages of each of the tools. Ciao, Michael.
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature