开发者

django user to be populated in LDAP

I would like when a user creates an account in Django, that the user information : - Username - Password - Email - First and Last Name - Mobile

Gets also populated in my LDAP server. Also when the user get deactivated, this gets reflected in LDAP. Authentication will still be done in Django. 开发者_StackOverflowI need the user information as i have another application which is getting the user info from LDAP. I need both to be have the same user universe. Are there any snippet that does that already ?

I saw many code to authenticate thourgh LDAP, but what i really need is to populate the LDAP directory with my Django user on the fly

Thanks for your help


Check out this snippet, it should do exactly what you're after (a bit old though, so YMMV with newer django)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜