[Samba] How to check the password complexity in samba

TAKAHASHI Motonobu monyo at monyo.com
Mon Sep 12 08:28:20 MDT 2011

From: Alex Domoradov <alex.hha at gmail.com>
Date: Mon, 12 Sep 2011 17:09:29 +0300

> Hi all, can someone give a working example for checking the password
> complexity in samba?


> 4. Add the following line to the smb.conf and restart samba
> check password script = /usr/bin/crackcheck -d /usr/share/cracklib/pw_dict
> But when I change user password from command line (smbldap-passwd) or via
> gui (srvtools), there is no warning. Even if I set 123 as password.
> Am I missing something?

Who changed users' password?
"check password script" affects only for normal user.

TAKAHASHI Motonobu <monyo at samba.gr.jp>

More information about the samba mailing list