Where does smbpasswd get its password rules from? I need to change them! I need to allow for passwords as short as 3 characters. I've changed my unix rules to allow users using passwd to change their password correctly but samba will not. I'm using encrypted passwords so min password length = 3 doesn't do anything, right? I keep getting RAP86 errors and the log says password too short account policy min password len = 5 How do I change this to 3 - do I need to recompile? If so what file needs to change? Thanks, Jeff Kraeger
On Tue, 01 Jun 2004 11:02:51 -0400 Jeff Kraeger <jkraeger@trentontech.com> wrote:> Where does smbpasswd get its password rules from?pdbedit is what you need.
I came across the pdbedit command yesterday and thought I had it but it still doesn't work. Here is what I get: Running Redhat Enterprise Server 3 Samba Version 3.0.2-6.3E Result from pdbedit: [root@redfile samba]# pdbedit -P "min password length" -C 3 account policy value for min password length was 5 account policy value for min password length is now 3 But still get error in my samba log: [2004/06/02 09:46:39, 1] smbd/chgpasswd.c:change_oem_password(934) Password Change: user clifford, New password is shorter than minimum password length = 5 And pdbedit still says 3 (where's the 5 coming from?): [root@redfile root]# pdbedit -P "min password length" account policy value for min password length is 3 What else can I try?