Displaying 2 results from an estimated 2 matches for "asecurepassword".
Did you mean:
securepassword
2006 Apr 04
3
model validates twice in tests, produces duplicate errors
...the web browser, only one error message is displayed.
Anyone know what the cause of this could be?
The Model:
validates_length_of :zip_code, :is => 5, :allow_nil => true
The Unit Test:
def test_create_user_with_invalid_zip_code
@u = User.new(
:password => ''asecurepassword'',
:password_confirmation => ''asecurepassword'',
:display_name => ''invalid zip'',
:email => ''invalid...@myapp.com'',
:zip_code => ''265''
)
@u.new_password = true
assert !...@u...
2013 Feb 22
6
Samba 4 and freeradius
...eter)"
Also, ldap module of freeradius is configured as follows (ldap part in sites-enabled/default and inner-tunnel is configured also.)
/usr/local/freeradius/etc/raddb/modules/ldap
=============================
ldap {
server = "file.sambadom.org"
password = "asecurepassword"
identity = "cn=ldapuser,cn=users,dc=samba4,dc=yauoi,dc=org"
basedn = "ou=accounting,dc=sambadom,dc=org"
filter = "(sAMAccountName=%{%{Stripped-User-Name}:-%{User-Name}})"
ldap_connections_number = 5
max_uses = 0
tim...