Skip to content

sfonteneau/haveibeenpwnd_samba

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Use check password script

Block password change if it appears in haveibeenpwnd

install haveibeenpwnd with command : pip3 install haveibeenpwnd

Add script in /scripts

Add in smb.conf :

check password script = python3 /scripts/check_password_hibpwnd.py

Enable complexity :

samba-tool domain passwordsettings set --complexity=on

Restart Samba

Test

python3 /scripts/check_password_hibpwnd.py

Enter test password

Audit Existing Password

List user hashes then test them with haveibeenpwnd

Test

apt-get install python3-pycryptodome

python3 /scripts/audit_password.py

About

Use haveibeenpwnd with samba

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages