bin/cubicweb-ctl
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 04 Jan 2016 10:36:57 +0100
changeset 11045 615163b17558
parent 0 b97547f5f1fa
child 12253 9165f4b7426b
permissions -rwxr-xr-x
[ldapfeed] extid and cwuri aren't the same thing Historically, we used a ldap://... URI as cwuri attribute, not just the dn. The extid field, OTOH, was always the dn. So when initializing our dict of known entities from an ldap source, look at existing extids, not cwuris, to avoid importing already-existing users (and violated unicity constraints).

#!/usr/bin/env python
from cubicweb.cwctl import run
import sys
run(sys.argv[1:])