Displaying 20 results from an estimated 81 matches for "iterate_attrs".
2017 Feb 13
0
pop3 and dsync master-master replication issue causing duplicate delivery (resolved)
...= cn=dovecot,dc...
dnpass = PASSWORD
ldap_version = 3
base = ou=instances,dc...
deref = never
scope = subtree
user_attrs = \
=home=/mail/spool/hash-%0.2M{ldap:uid}/%{ldap:uid}, \
=mail=maildir:/mail/spool/hash-%0.2M{ldap:uid}/%{ldap:maildrop}
user_filter = (&(objectClass=mailUser)(uid=%n))
iterate_attrs = uid=user
iterate_filter = (objectClass=mailUser)
###############################################
passdsb
###############################################
hosts = localhost
dn = cn=dovecot,dc=dc...
dnpass = PASSWORD
ldap_version = 3
base = ou=instances,dc=dc...
deref = never
scope = subtree
pass...
2014 Jun 05
4
doveadm index - Bug or expected behaviour?
...user_filter = (& (cn=%n)(objectclass=nisMailAlias)(ContaAtiva=TRUE) )
user_attrs =
cn=rfc822mailmember,EmailQuota=quota_rule=*:storage=%$M,EmailQuotaSpecial=quota_rule=*:storage=%$M,eduPersonPrincipalName=eppn
iterate_filter =
(&(objectclass=nisMailAlias)(ContaAtiva=TRUE)(!(EmailQuota=0)))
iterate_attrs = rfc822mailmember=user
This is the error reported by doveadm index:
doveadm(root): Error: User listing returned failure
doveadm: Error: Failed to iterate through some users
If you put a tcpdump to monitor the search, you i'll see 3 packets. The
first is the LDAP searchRequest message, with...
2017 Jul 07
2
how to make user iteration work (with active directory ldap)
...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:
> 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 (see configs below) and yet dovecot
says "userdbs don't support it". What else do I need to do to enable it?
Our config is against samba Active Directory ldap and generally works
fine. Can anyone here take a quick look at the...
2013 Dec 16
2
connection Dovecot to samba4
...p-userdb.conf:
hosts = localhost
dn = cn=ldap,cn=Users,DC=domain,DC=local
dnpass = password
ldap_version = 3
base = cn=Users,DC=domain,DC=local
#user_attrs =
user_attrs=uid=5000,=gid=5000,=home=/data/mail/%d/%n,mail=/data/mail/%d/%u/Maildir
user_filter = (&(objectClass=person)(cn=%u)(mail=*))
iterate_attrs = cn=user
iterate_filter = (objectClass=person)
When I try to login with useraccountadministrator I get the following
error messages:
2013-12-16 11:28:29 auth: Info: ldap(ldap,127.0.0.1,<N3HjRaTtdAB/AAAB>):
unknown user
2013-12-16 11:28:29 auth: Error:
userdb(ldap,127.0.0.1,<N3HjRaTtd...
2018 Oct 25
1
Exclude userdb from iterate users
Hi,
I have a system with various userdbs defined, mostly all of them based
on ldap (and a few passwd-files).
I want one of my ldap userdbs not to be used in "doveadm user -A"
commands, that is to be excluded in iterate searchs. I have no
iterate_filter neither iterate_attrs configured in that userdb, but it
is still used.
Is it possible? How?
--
Angel L. Mateo Mart?nez
Secci?n de Telem?tica
?rea de Tecnolog?as de la Informaci?n
y las Comunicaciones Aplicadas (ATICA)
http://www.um.es/atica
Tfo: 868889150
Fax: 868888337
2010 Aug 31
1
doveadm expunge -A mailbox Trash savedbefore 30d iterate_query LDAP
...atus=enabled)(enabledService=mail)(enabledService=%Ls%Lc)(|(mail=%u)(mailAlternateAddress=%u)))
pass_filter =
(&(objectClass=qmailUser)(accountStatus=enabled)(enabledService=mail)(enabledService=%Ls%Lc)(|(mail=%u)(mailAlternateAddress=%u)))
# Attributes and filter to get a list of all users
iterate_attrs = mail=%u
iterate_filter = (objectClass=qmailUser)
Aug 31 10:03:35 cartman2 dovecot: auth: Debug: master in: LIST 1
Aug 31 10:03:35 cartman2 dovecot: auth: Fatal: net_connect_unix(auth-worker)
failed: Permission denied
Aug 31 10:03:35 cartman2 dovecot: auth: Debug: Loading modules from
directory...
2015 Jun 26
2
authenticate LDAP to email server
...gt; also just another question, can i set up mail groups on dovecot?
>
> cheers
>
> rob
>
Hi Rob,
all you need to do is figure out what the attribute in your LDAP tree
is, that holds the email address. Then configure uris, dn, dnpass,
[tls*], base, scope, user_attrs, user_filter, iterate_attrs and
iterate_filter in /etc/dovecot/dovecot-ldap.conf.ext and uncomment the
include line in /etc/dovecot/conf.d/10-auth.conf
http://wiki2.dovecot.org/AuthDatabase/LDAP/Userdb
Good luck
Daniel
2017 Sep 13
3
Problem w/ Dovecot authentication against AD
...no
debug_level = -1
auth_bind = yes
ldap_version = 3
base = DC=srv,dc=SLD,dc=net
deref = never
scope = subtree
user_attrs =? sAMAccountName=user
user_filter = (&(sAMAccountName=%n)(objectclass=person))
pass_attrs = sAMAccountName=user
pass_filter = (&(sAMAccountName=%n)(objectclass=person))
iterate_attrs = mail=user
iterate_filter = (objectclass=person)
default_pass_scheme = PLAIN
The problem might be caused by the referal-info sent by the AD, which I
can see both in the results dovecot gets (checked with tcpdump), as well
as in ldapsearch ... apart from the actual search result, I always get
thre...
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 fine. Can anyone here take a quick look, and tell me how
to make
> doveadm user -u &...
2012 Apr 12
1
Problems with master user
.../var/mail/cubeholding.com/%Lu, \
# =userdb_domain=cubeholding.com, \
# =userdb_mail=maildir:~/maildir/:INBOX=~/maildir/INBOX:LAYOUT=fs:INDEX=~/indexes/
pass_filter = (&(objectClass=posixAccount)(uid=%n)(mail=*@%d))
# Attributes and filter to get a list of all users
# iterate_attrs = uid=username
iterate_attrs = uid=user
iterate_filter = (&(objectClass=posixAccount)(mail=*@%d))
If I test with doveadm auth and doveadm user I receive this:
# doveadm auth -x service=imap andre at am.cx\*master at am.cx XXXXXX
passdb: andre at am.cx*master at am.cx auth succeeded
extra fie...
2015 Jun 25
2
authenticate LDAP to email server
hi all,
first things first my version and config -
# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-504.el6.x86_64 x86_64 CentOS release 6.6 (Final)
auth_mechanisms = plain login
mail_location = maildir:~/Maildir
mbox_write_locks = fcntl
passdb {
driver = pam
}
protocols = imap pop3
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode =
2016 Feb 12
2
Segmentation fault on doveadm search -A with a huge user base
Hi,
I'm using dovecot 2.2.9 with a director/backend setup. The user base is
about 4711 users currently.
If I start at one of the directors
doveadm search -A all savedbefore 5000d
it terminates with
doveadm(1rrissma): Error: doveadm server disconnected before handshake: EOF
doveadm(1rrissma): Error: 2001:638:913:f33::5:ff:24245: Command search failed for 1phaaman: EOF
2013 Apr 17
2
qmail-ldap LDA Delivery and sieve
...settings:
# LDAP
scope = subtree
user_attrs = uidNumber=11184,gidNumber=2110
user_filter = (&(objectClass=qmailUser)(uid=%u)(accountStatus=active))
pass_attrs=uid=user,userPassword=password,mailHost=host,=proxy_maybe=y
pass_filter = (&(objectClass=qmailUser)(uid=%u)(accountStatus=active))
iterate_attrs = uid=user
iterate_filter = (&(objectClass=qmailUser)(accountStatus=active))
# dovecot -n output:
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-5-xen-amd64 x86_64 Debian 6.0.7 ext4
default_client_limit = 8000
default_process_limit = 2048
disable_plaintext_auth = no
hostname = mail.mond...
2013 May 31
1
Configuration advice needed.
...)
(auaAliasEmail=%u))(|(auaStatut=etu)(auaStatut=etu-sortant)(auaStatut=perso)(auaStatut=perso-sortant)))
pass_attrs = uid=user,userPassword=password
pass_filter = (&(|(uid=%u) (mail=%u) (auaAliasEmail=%u))
(|(auaStatut=etu)(auaStatut=etu-sortant)(auaStatut=perso)
(auaStatut=perso-sortant)))
iterate_attrs = uid=user
iterate_filter =
(|(auaStatut=etu)(auaStatut=etu-sortant)(auaStatut=perso)(auaStatut=perso-sortant))
default_pass_scheme = MD5-CRYPT
2015 Feb 27
2
Dovecot & LDAP Take #2: Authentication failed and logging
This is the user DN:
> cn=Klara Fall,ou=People,dc=[domainname],dc=de
According to your Dovecot configuration
> auth_bind_userdn = cn=%u,ou=People,dc=**[domainname]**,dc=de
if you login with "klarafall" it will be expanded into
cn=klarafall,ou=People,dc=[domainname],dc=de
which is not the correct DN for Mrs Klara.
So if you login with "Klara Fall" it should work,
2015 Jun 26
2
authenticate LDAP to email server
...up mail groups on dovecot?
>>
>> cheers
>>
>> rob
>>
> Hi Rob,
>
> all you need to do is figure out what the attribute in your LDAP tree
> is, that holds the email address. Then configure uris, dn, dnpass,
> [tls*], base, scope, user_attrs, user_filter, iterate_attrs and
> iterate_filter in /etc/dovecot/dovecot-ldap.conf.ext and uncomment the
> include line in /etc/dovecot/conf.d/10-auth.conf
>
> http://wiki2.dovecot.org/AuthDatabase/LDAP/Userdb
>
> Good luck
> Daniel
>
--
Daniel Tr?der
Open Source Software Engineer
Univention GmbH...
2014 Feb 27
2
Dovecot2 vs. AD, "Inactivity during authentication"
...]
dnpass = [suppressed]
pass_attrs = sAMAccountName=user
user_attrs = \
=home=/var/mail/on2it/%{ldap:sAMAccountName}, \
=mail=maildir:/var/mail/on2it/%{ldap:sAMAccountName}
user_filter = (&(ObjectClass=person)(sAMAccountName=%u))
pass_filter = (&(ObjectClass=person)(sAMAccountName=%u))
iterate_attrs = sAMAccountName=user
iterate_filter = (objectClass=person)
$ ls -l /usr/local/etc/dovecot/on2it-ldap-users-userdb.cfg
lrwxr-xr-x 1 root wheel 20 Feb 27 12:07 /usr/local/etc/dovecot/on2it-ldap-users-userdb.cfg -> on2it-ldap-users.cfg
-------------- next part --------------
A non-text attach...
2016 Nov 20
2
LDAP auth problems "unknown user"
...ver
user_attrs = postfixDeliveryAddress=user
user_filter =
(&(postfixDeliveryEnabled=TRUE)(objectClass=postfixMailPerson))
pass_attrs = postfixDeliveryAddress=user,userPassword=password
pass_filter =
(&(postfixDeliveryEnabled=TRUE)(objectClass=postfixMailPerson)(postfixD
eliveryAddress=%u))
iterate_attrs = uid=user
iterate_filter = (objectClass=postfixMailPerson)
# ldapsearch -H ldap://localhost:389 -x -D 'cn=admin,dc=maliuta,dc=org' -W -b "ou=mail,dc=maliuta,dc=org" -s sub -LLL -ZZ '(&(postfixDeliveryEnabled=TRUE)(objectClass=postfixMailPerson)(postfixDeliveryAddress=n...
2019 May 08
2
Dovecot not surviving OpenLDAP restart
Hi!
Running Dovecot 2.2.36 and authenticating against
an OpenLDAP 2.4.45 server.
Now since some update of dovecot it will not be able to authenticate
your logins after a restart of the LDAP service is restarted
without a reboot of the dovecot server.
Anything new here that I should be aware of?
Best Regards
Dag
2015 Jun 26
0
authenticate LDAP to email server
...gt; also just another question, can i set up mail groups on dovecot?
>
> cheers
>
> rob
>
Hi Rob,
all you need to do is figure out what the attribute in your LDAP tree
is, that holds the email address. Then configure uris, dn, dnpass,
[tls*], base, scope, user_attrs, user_filter, iterate_attrs and
iterate_filter in /etc/dovecot/dovecot-ldap.conf.ext and uncomment the
include line in /etc/dovecot/conf.d/10-auth.conf
http://wiki2.dovecot.org/AuthDatabase/LDAP/Userdb
Good luck
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: a...