Need to call ldap in App Engine's Python environment

后端 未结 1 360
無奈伤痛
無奈伤痛 2021-01-24 10:33

I\'m trying to add an Ldap authentication backend to a Django project running over GAE. The project runs ok. The only problem really is Ldap is not supported by GAE. I mean:

相关标签:
1条回答
  • 2021-01-24 11:08

    App Engine doesn't let you open sockets directly. Unless the LDAP server you're planning to connect to has an internet-visible HTTP front-end, you need a Plan B. (E.g., you could periodically upload extract from LDAP to your App.)

    See http://code.google.com/appengine/docs/python/runtime.html#The_Sandbox

    0 讨论(0)
提交回复
热议问题