flask-ldapconn icon indicating copy to clipboard operation
flask-ldapconn copied to clipboard

Can set LDAP_SERVER

Open adriaand007 opened this issue 4 years ago • 0 comments

Hi I can seem to set the LDAP_SERVER Variable I get this error ldap3.core.exceptions.LDAPSocketOpenError: ('unable to open socket', [(LDAPSocketOpenError('socket connection error while opening: [Errno 111] Connection refused',), ('::1', 389, 0, 0)), (LDAPSocketOpenError('socket connection error while opening: [Errno 111] Connection refused',), ('127.0.0.1', 389))]) I have set this in bot the app.py and config.py LDAP_SERVER = 'mmcenvdc01.metmom.mmih.biz' I also tried app.config['LDAP_SERVER'] = 'mmcenvdc01.metmom.mmih.biz'

adriaand007 avatar Mar 30 '20 11:03 adriaand007