Displaying 20 results from an estimated 200 matches similar to: "attr_names in test67"
2005 Apr 12
1
test67 ldap_connection
Hello,
I've been trying to figure out what's wrong with authentication
against an ldap pass/user db with test67 as test62 was working fine.
[ The problem is the same as previously described in this list :
- FreeBSD-5.3
- dovecot-1.0-test67
- openldap-2.1.27
--> "ldap(dovetest,127.0.0.1): No password in reply"
--> "NO Temporary authentication failure."
or
--
2005 Mar 30
2
test65 killed by SIGSEV
Hi,
I had successfully set up dovecot-1.0-test62 + ldap pass/user db, but
now I'm encoutering a SIGSEV problem with a similar set up of a brand
new dovecot-1.0-test65 installation.
The auth process is killed by a SIGSEV as reported in the error log file :
dovecot: Mar 30 17:06:59 Error: child 28291 (auth) killed with signal 11
To be precise, the problem occurs in the
2005 Apr 04
0
ldap auth with test66
Hello,
The installation of 1.0-test66 (still on FreeBSD 5.3-RELEASE-p1 with
openldap-2.1.27) solved the SIGSEV problem I posted here on March 30
but I still cannot authenticate correctly with ldap.
logs report
"ldap(dovetest,127.0.0.1): No password in reply"
and my client gets a
"NO Temporary authentication failure."
Obviously the attr_names array of the
2005 Apr 18
1
password_verify in test67 with ldap
Hello Timo,
your patch introducing pass_attr_names and user_attr_names fixed the
problem of the 'shared' attr_names member of [passdb|userdb]_ldap_conn
as I answered in the relative thread.
Now I think there is a problem while comparing user-provided and
ldap-provided passwords causing a false 'password mismatch' situation,
while using PLAIN mechanism with LDAP authentication.
2003 Nov 04
0
PATCH: make local IP address available to auth modules
The attached patch makes the local IP address to which the client
connected available to the authentication modules; i.e., the local IP
address is available for substitution as %i for the mysql and pgsql
modules. We needed this feature to support thousands of our legacy
accounts which are authenticated by username/local_part (not the full
email address) and IP address (one per domain).
Timo,
2006 May 18
1
Introspection of validates_presence_of
Hello all.
I don''t know how to get all symbols passed to method
validates_presence_of in model. I''ve trying to use following solution:
class News < ActiveRecord::Base
validates_presence_of :title, :text
def validates_presence_of(*attr_names)
@@obligatory_fields = attr_names
ActiveRecord::Base.validates_presence_of(*attr_names)
end
def obligatory_fields
2005 Sep 20
1
auth protocol, buffers
Hello Timo,
I'm curious about 2 points (I'm using alpha2 but these are general
questions) :
Background :
. I connect to dovecot-1.0.alpha2 through thunderbird
. I use ldap pass/userdb and PLAIN mech
. I've only got one auth block in dovecot.conf (all pass/userdb/mech
except ldap/PLAIN are commented)
1) I notice that, for one thunderbird connection trial, imap-login
2005 Apr 08
2
1.0-test67
http://dovecot.org/test/
Hopefully better release than last one. Fixes several problems test66
had and also some older problems reported in this list.
It also contains a pretty large mbox code cleanup, fixing several
problems (especially related to X-IMAP/X-IMAPbase headers) and making it
a bit faster. Maybe I'll backport it to 1.0-stable too when it looks
like it's stable..
BTW. mbox
2012 Nov 08
1
validates_uniqueness_of(*attr_names) w scope not working in unit test
Rails 3.2.8
Very strange , it works in dv mode console , but not in a unit test
class User < ActiveRecord::Base
belongs_to :subdomain
validates_uniqueness_of :email, :scope => :subdomain_id
class UserTest < ActiveSupport::TestCase
def initialize_user
@booboo = FactoryGirl.create(:subdomain, name: "booboo")
@coocoo = FactoryGirl.create(:subdomain, name:
2008 Mar 18
0
Major issues with ActiveRecord callbacks in BackgroundRb r324
Hi there
I''ve been running BackgroundRb in production for a few months now. Recently
we added encryption onto some of our ActiveRecord fields by hooking in the
before_save and after_save callbacks, like:
class MyCallback
def initialize(attr_names)
@attr_names = attr_names
end
def before_save(model)
@attr_names.each do |attr_name|
next if
2006 Apr 12
0
Netmask validator
Sharing the wealth. I just finished working on a custom netmask
validator and thought others might benefit. Of course, comments and
suggestions are welcome.
def validates_netmask(*attr_names)
configuration = { :only_numbers => ''must only use numbers as octet values'',
:range => ''has one or more octet values that are > 255'',
2005 Jul 20
1
CR LF in stable
Hello,
It seems that mbox format mailboxes holding \r\n (CR + LF) character
sequences (instead of \n only) still cause assertion failures when
moving messages from one folder to another.
--
dovecot: Jul 19 17:14:52 Error: IMAP(dovetest): file istream-raw-mbox.c: line 38
3 (istream_raw_mbox_get_body_size): assertion failed: (rstream->body_offset != (
uoff_t)-1)
--
I seems to work in -test78
2005 Dec 16
4
Validation with Aggregation
ActiveRecord supports composed_of for value objects which is
fantastic but one thing that it doesn''t seem to support (or at least
I am unable to find any documentation for) validation of the value
objects.
For example, given the following:
class Message < ActiveRecord::Base
composed_of :sender, :class_name => ''EmailAddress''
composed_of :recipient,
2006 Jul 27
9
Introspecting validates_presence_of
Hello people,
I''d like to detect whether an attribute of a model has
vaildates_presence_of applied to it so I can automatically apply a
mandatory (*) to the field...it doesn''t look easy...any ideas?
Cheers,
--
Dan Webb
http://www.danwebb.net
2006 Jun 20
1
Possible to check if form field is required?
Hi list,
is it possible to check if form field will be required when form is
submitted (through validates_presence_of or some other validates_*
method)? I could do this manually but it doesn''t seems to me very DRY.
For example, I would like to be able to dynamically add asterisk with
some helper method if city is required here:
City*: <%= text_field
2006 Jan 26
21
pagination_links help
I want append custom query parameters to my pagination links, like
?page=1&foo=bar. I can''t quite figure out how to do this with the
pagination_links helper, although I believe the API says you should be
able to:
pagination_links(paginator, options={}, html_options={})
options are:
:params: any additional routing parameters for page URLs
Has anyone tried this?
thanks,
jeff
--
2006 Jun 13
6
Dead horse: validates_associated
Regarding validates_associated...
Let''s say I have:
article belongs_to author
But for whatever reason, I want an article to also be written
anonymously and therefore not require an author. Then I have:
Article:
belongs_to :author
validates_associated :author
But I DON''T have validates_presence_of. What I want to do is validate
that an author is valid --if it is
2017 Jul 04
0
how to make user iteration work (ldap)
Hi,
User iteration doesn't work, we're getting:
> auth: Error: Trying to iterate users, but userdbs don't support it
The way I understand it, I need to set iterate_attrs and iterate_filter
for iteration to work. I have set it, and yet it does't work with the
above failure.
Our config is against ldap (active directory) and generdoveadm user -u "*"
oalally works
2017 Jul 07
2
how to make user iteration work (with active directory ldap)
We received no replies to this email that we sent a few days ago. We're
not sure why. If we miss something that is obvious to everybody, kindly
point it out.
We ?ould like to get iteration working, to be able to mass-delete
specific emails from all mailboxes, in case of for example received
virusses...
Here is my question again:
Hi,
User iteration doesn't work, we're getting:
2006 Sep 04
2
"include" versus "extend" - what's the difference
Hi,
Just wondering when one would use "include" over "extend"? Both seem to
bring in methods to the class no?
The context is I''m just trying to understand why both are used with the
acts_as_audited plugin:
Full extract from plugin (used within here):
==================================================
# Copyright (c) 2006 Brandon Keepers
#
# Permission is hereby