تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
6690 أدوات العرض

I'm having troubles using the AD server for the LDAP modules in a Windows 2008 install for OpenERP 7.0 allinone.

I've configured the LDAP module settings but am not getting an error message whatsoever when trying to authenticate against the AD server - no timeouts, errors - nothing.

I stumbled across a need to install the python-ldap. How can I do this when I don't know where Python is installed on the server?

Everything else is working like a dream except for this LDAP integration which would then solve all of my needs.

Help would be very much appreaciated.

الصورة الرمزية
إهمال
أفضل إجابة

The PyPi index has an msi installer.

If it still doesnt work with AD's standrad port, you may wnat to try using port 3268. This is the setup that worked for me.

You might also like to now that there are community modules to keep OpenERP's users and Groups in sync with the LDAP directory.

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

This is now fixed.

I changed to LDAP Base to include OC=DC-NAME and also added an AD account username and password to allow OpenERP to connect to the AD.

I had assumed that like most other software that supports LDAP, OpenERP uses the login details provided by the end user to connect to the LDAP (AD) but it doesn't. It will use either the provided LDAP binddn and password or assume that the LDAP allows anonymous inspections. I don't think was clear enough in the doco upon revision, but it's still my mistake.

I hope this helps someone else.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أبريل 25
5
0
مارس 25
1137
1
يناير 25
1544
1
يونيو 22
8064
0
يناير 21
2478