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

Re: Partial replication of attributes



Now I corrected my slapd.conf:

attr!=posixAccount,loginShell,homeDirectory,uidNumber,gidNumber,gecos
	
still doesn't work :-(

replica log:

Jan 23 19:26:01 ldaptux1 slapd[17719]: conn=0 op=1 ADD dn="uid=fluerosu,ou=People,dc=int-evry,dc=fr"
Jan 23 19:26:01 ldaptux1 slapd[17719]: is_entry_objectclass("uid=fluerosu,ou=People,dc=int-evry,dc=fr", "2.5.17.0") no objectClass attribute
Jan 23 19:26:01 ldaptux1 slapd[17719]: No objectClass for entry (uid=fluerosu,ou=People,dc=int-evry,dc=fr)
Jan 23 19:26:01 ldaptux1 slapd[17719]: conn=0 op=1 RESULT tag=105 err=65 text=no objectClass attribute


But can I remove posixAccount objectclass without removing all its "must" attribute:
MUST ( cn $ uid $ uidNumber $ gidNumber $ homeDirectory )
Here I keep cn and uid .. this is just a guess .. ?? however these are included with other objectclass that I keep:


$ grep -i objectclass /tmp/fluerasu.ldif
objectClass: inetLocalMailRecipient
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: account
objectClass: posixAccount
objectClass: IntE-user
objectClass: labeledURIObject
objectClass: strongAuthenticationUser
objectClass: certificationAuthority
objectClass: top
objectClass: kerberosSecurityObject
objectClass: shadowAccount






Pierangelo Masarati wrote:
Ok, I anticipated (invented) the objectclass!=something ...

so now I have:

replica         host=ldaptux1.int-evry.fr:9000
                suffix="ou=people,dc=int-evry,dc=fr"
                attr!=posixAccount loginShell homeDirectory
uidNumbergidNumber gecos


The list should be comma (e.g. ",") separated.  Note that
you clashed two names ("uidNumbergidNumber") which is then
(silently) ignored as an attribute candidate to no replication.



And I get "No objectClass for entry..." ?:

Jan 23 18:01:26 ldaptux1 slapd[17234]: conn=0 op=1 ADD
dn="uid=fluerksu,ou=People,dc=int-evry,dc=fr"
Jan 23 18:01:26 ldaptux1 slapd[17234]:
is_entry_objectclass("uid=fluerksu,ou=People,dc=int-evry,dc=fr",
"2.5.17.0") no objectClass attribute
Jan 23 18:01:26 ldaptux1 slapd[17234]: No objectClass for entry
(uid=fluerksu,ou=People,dc=int-evry,dc=fr)
Jan 23 18:01:26 ldaptux1 slapd[17234]: conn=0 op=1 RESULT tag=105 err=65
text=no objectClass attribute


Thanks.