Lines Matching defs:entryTtl
508 time_t entryTtl = 0;
515 /* bv_entryTtl stores the string representation of the entryTtl
519 * entryTtl stores the integer representation of the entryTtl;
521 * if no modifications of the entryTtl occurred, as an entryTtl
531 /* the value of the entryTtl is saved for later checks */
541 entryTtl = (time_t)ttl;
615 entryTtl = -1;
620 entryTtl = -1;
636 rs->sr_text = "attribute 'entryTtl' cannot have multiple values";
660 entryTtl = ttl;
675 rs->sr_text = "modify/increment: entryTtl: no such attribute";
680 entryTtl++;
681 if ( entryTtl > DDS_RF2589_MAX_TTL ) {
685 } else if ( entryTtl <= 0 || entryTtl > di->di_max_ttl ) {
704 bv_entryTtl.bv_len = snprintf( textbuf, sizeof( textbuf ), "%ld", entryTtl );
728 * entryTtl must be provided; add
732 * entryTtl must be removed; remove
744 /* need to delete entryTtl to have a consistent entry */
745 if ( entryTtl != -1 ) {
746 rs->sr_text = "objectClass modification from dynamicObject to static entry requires entryTtl deletion";
752 /* need to add entryTtl to have a consistent entry */
753 if ( entryTtl <= 0 ) {
754 rs->sr_text = "objectClass modification from static entry to dynamicObject requires entryTtl addition";
786 if ( rs->sr_err == LDAP_SUCCESS && entryTtl != 0 ) {
799 if ( entryTtl == -1 ) {
809 * with entryTtl */
810 expire = slap_get_time() + entryTtl;
888 /* entryTtl update for client */
908 /* User already has access to entryTtl, skip ACL checks on
1170 /* we require manage privileges on the entryTtl,
1965 "computed as now + entryTtl' "