Displaying 7 results from an estimated 7 matches for "login_domain".
2010 Aug 17
1
Master Login using MySQL problem - %{login_domain}
...domain_name FROM users WHERE user_name =
'%n' AND domain_name = '%d' AND owns_domain='1'
password_query = SELECT user_name, domain_name, password FROM users
WHERE user_name = '%n' AND domain_name = '%d' AND owns_domain='1' AND
'%d'='%{login_domain}'
In this example - bill at plf.net is an ordinary user. tom at plf.net is a
domain owner. Tom wants to read bills email.
The login is: bill at plf.net*tom at plf.net
This results in tom at plf.net being classified as an unknown user.
Aug 17 08:38:30 auth: Debug: sql(tom at plf.net,127.0.0...
2013 Nov 21
1
Locking down master user to certain domains through passwd-file auth
...e same folder as the user? Alternatively, is
there a better way to go about this?
What I assumed would be the easy approach, where the domain from the
user's e-mail is fetched, doesn't seem to work as %d fetches the master
user's domain and, unless I'm doing something wrong, the login_domain
variable cannot be used as this is outside Dovecot-auth.
Any assistance with this would be appreciated.
--
Best regards,
Andrew Obertas
Technical Support Representative
Infinet Communications Group
2014 Sep 01
2
Escape comma in the LDAP passdb subquery configuration
Hi
I have to configure the LDAP passdb to execute a subquery defining
dinamically the new DN to use.
For example:
pass_attrs = @mail=mail=%{login_user},dc=%{login_domain},dc=example,dc=com,\
=proxy=y,\
=host=%{ldap:mailHost at mail}
In the previous example, the problem is the use of "," for DN
representation, which is also the separator for the attribute template
in the pass_attr parameter value.
I tried to escape it with '...
2010 May 31
1
master users with dovecot2 braek down to allowed domain
Hi,
i think ive asked it before
perhaps this feature can be included in dovecot2
couldnt get it run with dovecot 1.2.x
if i use the postfixadmin superuser,domainadmin,domainuser layout
so there are domainadmins defined in a sql table
it would be a nice feature to break it down to be master only at there
related domains via sql lookup
at recent i think there is only the chance to give master
2010 Aug 17
0
Tricky Master User Query - need MySQL help
...g someone a domain owner that allows that person to become
master of that domain. Here's the query for that.
password_query = SELECT user_name, domain_name, password FROM users
WHERE user_name = '%n' AND domain_name = '%d' AND owns_domain='1' AND
'%d'='%{login_domain}'
So - here's where we get tricky.
I have another table called "ownership" where I have 2 fields which is a
pairing of email addresses (login_id) and domains owned (owned_object).
Data might look like this:
joe at blow.com domain1.com
joe at blow.com domain2.com
Since joe at...
2011 Feb 09
2
critical feature from version 1 not migrated to version 2 = authentication configuration database per IP
not possible make operation with dovecot version 2.x as was possible in version 1.x:
requisites description:
connect to dovecot service on IP1 - dovecot must serve users that related to domain1 located in database1
connect to dovecot service on IP2 - dovecot must serve users that related to domain2 located in database2
login must be with username that form not as "user at domain" but
2010 Aug 15
3
Master User Features I'd like to see
Here's what I'd like. Limited master users, where someone can be a
master users for some domains but not others. I think I could do what I
want with the right kinds of variable passing that doesn't yet exist.
Let me see if I can explain clearly.
From the example in the wiki:
auth_master_user_separator = *
passdb {
driver = sql
args = /etc/dovecot/dovecot-sql-master.conf.ext