Показать сообщение отдельно

  #2  
Старый 10.11.2020, 19:18
winten
Постоянный
Регистрация: 30.03.2017
Сообщений: 408
С нами: 4800741

Репутация: 98
По умолчанию

Python:





Код:
if
not
c2
.
bind
(
)
:
#print('Do not connect to ldap, incorrect credentials user')
aut
=
False
else
:
#print('You successful connect to ldap, correct credentials user')
aut
=
True


Python:





Код:
auth
=
False
if
not
c2
.
bind
(
)
else
True
 
Ответить с цитированием