mirror of
https://github.com/samba-team/samba.git
synced 2025-07-16 20:59:12 +03:00
s4-python: Fix formatting, use standard convention to call instance methods.
This commit is contained in:
@ -72,7 +72,7 @@ class cmd_pwsettings(Command):
|
||||
samdb = SamDB(url=H, session_info=system_session(),
|
||||
credentials=creds, lp=lp)
|
||||
|
||||
domain_dn = SamDB.domain_dn(samdb)
|
||||
domain_dn = samdb.domain_dn()
|
||||
res = samdb.search(domain_dn, scope=ldb.SCOPE_BASE,
|
||||
attrs=["pwdProperties", "pwdHistoryLength", "minPwdLength",
|
||||
"minPwdAge", "maxPwdAge"])
|
||||
|
Reference in New Issue
Block a user