[Samba] changing smbpasswd password rules

Jeff Kraeger jkraeger at trentontech.com
Wed Jun 2 14:37:25 GMT 2004


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 at 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 at redfile root]# pdbedit -P "min password length"
account policy value for min password length is 3

What else can I try?




More information about the samba mailing list