Guest User

Untitled

a guest
Jul 4th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. DAPSocketOpenError at /login/
  2. ('unable to open socket', [(datetime.datetime(2015, 12, 8, 14, 53, 5, 22728), <class 'ldap3.core.exceptions.LDAPSocketOpenError'>, LDAPSocketOpenError('socket connection error: [Errno 13] Permission denied',), ('172.20.48.12', 389)), (datetime.datetime(2015, 12, 8, 14, 53, 5, 23125), <class 'ldap3.core.exceptions.LDAPSocketOpenError'>, LDAPSocketOpenError('socket connection error: [Errno 13] Permission denied',), ('172.20.48.11', 389))])
  3.  
  4. Exception Location: /usr/local/lib/python3.3/site-packages/ldap3/strategy/base.py in open, line 136
  5.  
  6. Connection(server=Server(host='ldap.server.corp', port=389, use_ssl=False, get_info='NO_INFO'), user='COMPANY\user', password=u'value_password', auto_bind='NO_TLS', version=3, authentication='SIMPLE', client_strategy='SYNC', auto_referrals=True, check_names=True, read_only=False, lazy=False, raise_exceptions=False, fast_decoder=True)
  7.  
  8. getsebool -a | grep ldap # check SE booleans
  9.  
  10. authlogin_nsswitch_use_ldap --> off
  11. dhcpd_use_ldap --> off
  12. httpd_can_connect_ldap --> off
  13.  
  14. setsebool -P httpd_can_connect_ldap 1 #-P turns sets the boolean permanently (persist across reboots)
  15.  
  16. authlogin_nsswitch_use_ldap --> off
  17. dhcpd_use_ldap --> off
  18. httpd_can_connect_ldap --> on
Add Comment
Please, Sign In to add comment