View previous topic :: View next topic |
Author |
Message |
danomac l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/150252826944596be5c5716.gif)
Joined: 06 Nov 2004 Posts: 881 Location: Vancouver, BC
|
Posted: Mon Dec 19, 2005 10:27 pm Post subject: Samba min password length? |
|
|
I need to set the minimum password length to 4, and I've done this with pdbedit, but windows still complains that the password is too short. I know the policy is OK, as windows says you need to enter a password 4 characters or longer (which it is.)
So, I'm pretty sure it's the unix password length that's the problem. I've set "min passwd length" in the global section of smb.conf and it warns me it is deprecated (it does work though.)
What I can't find is the non-deprecated way to do this in the docs. Anyone have any ideas? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
slam_head Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/12041246593e397dd37c54c.gif)
Joined: 06 Jan 2003 Posts: 449 Location: New York City
|
Posted: Mon Dec 19, 2005 10:30 pm Post subject: |
|
|
I would have a look at the log files. I forget but I think you might need to alter a registry entry to allow for short passwords. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
danomac l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/150252826944596be5c5716.gif)
Joined: 06 Nov 2004 Posts: 881 Location: Vancouver, BC
|
Posted: Tue Dec 20, 2005 12:53 am Post subject: |
|
|
I did look at the logs, and it said the password length was 5. It's a problem with unix password length enforcement. The logs don't say how to fix it unfortuately.
Adding the 'min passwd length' to smb.conf fixes it but it complains about being deprecated, and I can't find any docs that say how to do this without using the deprecated config var above.
As I said, it does work now with using the deprecated variable, but I can't find the solution to set this properly. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|