flask-ldapconn
flask-ldapconn copied to clipboard
Can set LDAP_SERVER
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'