1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-21 18:50:38 +03:00

util module loglevel changed

This commit is contained in:
Игорь Чудов 2019-12-10 18:57:53 +04:00
parent 1f0714fc58
commit 37d0c89156
Signed by untrusted user: nir
GPG Key ID: 0F3883600CAE7AAC

View File

@ -89,7 +89,7 @@ def check_krb_ticket():
except:
logging.error('Kerberos ticket check unsuccessful')
return False
logging.info('Ticket check succeed')
logging.debug('Ticket check succeed')
return True
def get_domain_name(lp, creds, dc):
@ -129,7 +129,7 @@ def get_sid(domain, username):
sid = 'local-{}'.format(username)
logging.warning('Error getting SID using wbinfo, will use cached SID: {}'.format(sid))
logging.info('Working with SID: {}'.format(sid))
logging.debug('Working with SID: {}'.format(sid))
cached_sids.store(domain_username, sid)