|
@@ -9,6 +9,11 @@ from django.conf import settings
|
|
from coin.members.models import Member, LdapUser
|
|
from coin.members.models import Member, LdapUser
|
|
|
|
|
|
|
|
|
|
|
|
+# TODO: currently, we may completely mess up UIDs (attribute "uidNumber"
|
|
|
|
+# in LDAP), because we delete then recreate users, thus potentially
|
|
|
|
+# re-attributing a new uid. If the users are used as Unix users on a
|
|
|
|
+# system, then it's probably not a good idea to change the uid.
|
|
|
|
+
|
|
class Command(BaseCommand):
|
|
class Command(BaseCommand):
|
|
args = '[login1 login2 ...]'
|
|
args = '[login1 login2 ...]'
|
|
help = """Regenerate user objects in the LDAP backend. This is useful if you
|
|
help = """Regenerate user objects in the LDAP backend. This is useful if you
|