Displaying 20 results from an estimated 385 matches for "ldap_version".
2017 Jun 02
3
Two domains - same user names filter
...: i cant set up the ldap query to choose
the correct maildir if the user names are equal.
Is it possible to use a user_filter which will choose the correct maildir
and user/domain from the email address?
My current ldap.conf for domain1:
hosts = ldap.domain1.com
base = ou=People,dc=domain1,dc=com
ldap_version = 3
user_attrs = uid=user
user_filter = (uid=%n)
pass_attrs = uid=user,userPassword=password
pass_filter = (uid=%n)
default_pass_scheme = MD5
and for domain2:
hosts = ldap.domain2.com
base = ou=People,dc=domain2,dc=com
ldap_version = 3
user_attrs = \
=mail=maildir:/home/vmail/%{ldap:department...
2014 Feb 25
2
2 users database on same LDAP with different mail location
...ldap
args = /etc/dovecot/dovecot-ldap-maildir.conf.ext
}
userdb {
driver = ldap
args = /etc/dovecot/dovecot-ldap-dbox.conf.ext
}
and then defined these 2 args files:
maildir:
hosts = localhost
dn = CN=ldapadmin,OU=administrators,DC=plutone,DC=local
dnpass = <password>
auth_bind = yes
ldap_version = 3
base = DC=plutone,DC=local
user_attrs = sAMAccountName=home=/var/vmail/%$
dbox:
hosts = localhost
dn = CN=ldapadmin,OU=administrators,DC=plutone,DC=local
dnpass = <password>
auth_bind = yes
ldap_version = 3
base = OU=dboxusers,OU=lowpriority,DC=plutone,DC=local
user_attrs = sAMAccountNa...
2017 Jun 02
1
Two domains - same user names filter
...ntent.
Unfortunately i cant do anything with this. :S
Is it possible to use a user_filter which will choose the correct maildir
> and user/domain from the email address?
>
> My current ldap.conf for domain1:
>
> hosts = ldap.domain1.com
> base = ou=People,dc=domain1,dc=com
> ldap_version = 3
> user_attrs = uid=user
> user_filter = (uid=%n)
> pass_attrs = uid=user,userPassword=password
> pass_filter = (uid=%n)
> default_pass_scheme = MD5
>
> and for domain2:
> hosts = ldap.domain2.com
> base = ou=People,dc=domain2,dc=com
> ldap_version = 3
> user_att...
2016 Nov 04
3
Dovecot 2 LDAP "unknown user"
...16, Peter Fraser wrote:
>>>
>>> #Custom Settings
>>>
>>>> hosts = 192.168.153.143
>>>> dn = user at domain.com
>>>> dnpass = password
>>>> auth_bind = yes
>>>> auth_bind_userdn = %u at domain.com
>>>> ldap_version = 3
>>>> base = dc=rpservices,dc=com
>>>> #user_filter = (&(objectclass=person)(mail=%u))
>>>> user_filter = (&(objectclass=person)(uid=%u))
>>>> pass_filter = (&(objectclass=person)(uid=%u))
>>>> user_attrs = homeDirectory=/ho...
2013 Dec 16
2
connection Dovecot to samba4
...sieve = /data/mail/%d/%n/sieverc
sieve_storage=/data/mail/%d/%n/sieve
sieve_max_redirects = 20
}
debug_log_path = /var/log/dovecot-debug.log
dict {
}
/etc/dovecot/dovecot-ldap-passdb.conf
hosts = localhost
auth_bind = yes
auth_bind_userdn = cn=%u,cn=Users,dc=domain,dc=local
ldap_version = 3
base = cn=Users,dc=domain,dc=local
pass_filter = (&(objectClass=person)(cn=%u)(mail=*))
/etc/dovecot/dovecot-ldap-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=500...
2014 Feb 25
1
2 users database on same LDAP with different mail location
...rgs = /etc/dovecot/dovecot-ldap-dbox.conf.ext
>> }
>>
>> and then defined these 2 args files:
>> maildir:
>>
>> hosts = localhost
>> dn = CN=ldapadmin,OU=administrators,DC=plutone,DC=local
>> dnpass = <password>
>> auth_bind = yes
>> ldap_version = 3
>> base = DC=plutone,DC=local
>> user_attrs = sAMAccountName=home=/var/vmail/%$
>>
>> dbox:
>>
>> hosts = localhost
>> dn = CN=ldapadmin,OU=administrators,DC=plutone,DC=local
>> dnpass = <password>
>> auth_bind = yes
>> ldap_vers...
2017 Feb 13
0
pop3 and dsync master-master replication issue causing duplicate delivery (resolved)
...an LDAP backend for userdb and passdb lookups and this is causing multiple replication users to be created. Here is the broken setup:
###############################################
userdb
###############################################
hosts = localhost
dn = 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 = (objectC...
2016 Nov 02
2
Dovecot 2 LDAP "unknown user"
I updated dovecot-ldap.conf.ext so that it now reads as below:
#Custom Settings
hosts = 192.168.153.143
dn = user at domain.com
dnpass = password
auth_bind = yes
auth_bind_userdn = %u at domain.com
ldap_version = 3
base = dc=rpservices,dc=com
#user_filter = (&(objectclass=person)(mail=%u))
user_filter = (&(objectclass=person)(uid=%u))
pass_filter = (&(objectclass=person)(uid=%u))
user_attrs = homeDirectory=/home/vmail/%u,uid=1002,gid=1002
When I tried to log in again using telnet 127.0.0.1 11...
2016 Nov 01
2
Dovecot 2 LDAP "unknown user"
...r/local/etc/certs/private/dovecot.pem
userdb {
args = /usr/local/etc/dovecot/dovecot-ldap.conf.ext
driver = ldap
}
protocol lda {
mail_plugins =
}
#Contents of dovecot-ldap.conf.ext
hosts = 192.168.153.143
dn = user at domain.com
dnpass = password
auth_bind = yes
auth_bind_userdn = domain\%u
ldap_version = 3
base = dc=domain,dc=com
pass_filter = (&(objectclass=person)(uid=%u))
user_attrs = homeDirectory=/home/vmail/%u,uid=1002,gid=1002
Amy help would be appreciated.
2007 Nov 26
4
dovecot imap hangs
...ing isn't supported by all LDAP libraries.
#uris =
# Distinguished Name - the username used to login to the LDAP server
#dn =
dn=cn=Manager,dc=cttechhosting,dc=net
dnpass=secret
# Password for LDAP server
#dnpass =
# Use SASL binding instead of the simple binding. Note that this changes
# ldap_version automatically to be 3 if it's lower. Also note that SASL binds
# and auth_bind=yes don't work together.
#sasl_bind = no
# SASL mechanism name to use.
#sasl_mech =
# SASL realm to use.
#sasl_realm =
# SASL authorization ID, ie. the dnpass is for this "master user", but the
# dn is...
2017 Jun 07
2
Dovecot LDAP using custom field to allow users to connect
...below :
/*# dovecot.conf*
/
/passdb {//
// driver = ldap//
// args = /etc/dovecot/dovecot-ldap.conf//
//}/
*# dovecot-ldap.conf*
/hosts = myurl:myport//
//dn = cn=myuser,dc=mydomain,dc=com//
//dnpass = ********//
//a//uth_bind = yes//
//auth_bind_userdn = uid=%u,ou=users,dc=mydomain,dc=com//
//ldap_version = 3//
//base = ou=Users,dc=mydomain,dc=com//
//scope = base//
//default_pass_scheme = SSHA512
/
Do you have an idead ?
Kind regards.
--
Michael
2016 Nov 06
0
Dovecot 2 LDAP "unknown user"
...ey = # hidden, use -P to show it
userdb {
args = /usr/local/etc/dovecot/dovecot-ldap-udb.conf.ext
driver = ldap
}
protocol lda {
mail_plugins =
}
dovecot-ldap-udb.conf.ext is a symlink to dovecot-ldap.conf.ext
and dovecot-ldap.conf.ext reads as follows
#Custom Settings
hosts = ip address
ldap_version = 3
scope = subtree
deref = never
base = cn=users,dc=domain,dc=com
dn = cn=administrator,cn=users,dc=domain,dc=com
dnpass = password
auth_bind = yes
auth_bind_userdn = %n
ldap_version = 3
scope = subtree
user_attrs = home=/home/vmail/%u,=uid=vmail,=gid=vmail
pass_attrs = uid=%n,userPassword=passwor...
2016 Nov 03
2
Dovecot 2 LDAP "unknown user"
...-----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wed, 2 Nov 2016, Peter Fraser wrote:
>
> #Custom Settings
>> hosts = 192.168.153.143
>> dn = user at domain.com
>> dnpass = password
>> auth_bind = yes
>> auth_bind_userdn = %u at domain.com
>> ldap_version = 3
>> base = dc=rpservices,dc=com
>> #user_filter = (&(objectclass=person)(mail=%u))
>> user_filter = (&(objectclass=person)(uid=%u))
>> pass_filter = (&(objectclass=person)(uid=%u))
>> user_attrs = homeDirectory=/home/vmail/%u,uid=1002,gid=1002
>>
&...
2007 Jan 11
1
Configuring Dovecot for use with Active Directory
...ect, but one thing at a time). Here's my dovecot-ldap.conf file:
hosts = 192.168.0.240
#uris =
dn = cn=<BINDUSER>,ou=IT,ou=Central Office,dc=<DOMAIN>,dc=local
dnpass = <>PASSWORD
#sasl_bind = no
#sasl_mech =
#sasl_realm =
#sasl_authz_id =
auth_bind = yes
#auth_bind_userdn =
ldap_version = 3
base = dc=<DOMAIN>, dc=local
deref = never
scope = subtree
#user_filter = (&(objectClass=posixAccount)(uid=%u))
#pass_attrs = uid=user,userPassword=password
#pass_attrs = uid=user,userPassword=password,homeDirectory=userdb_home,uidNumber=userdb_uid,gidNumber=userdb_gid
#pass_filter =...
2009 Apr 11
3
help with ldap config
...driver: ldap
args: /etc/dovecot/dovecot-ldap-userdb.conf
plugin:
quota: maildir
$ sudo grep -v '^ *\(#.*\)\?$' /etc/dovecot/dovecot-ldap.conf
uris = ldap://ldap
dn = cn=admin, dc=americasnet, dc=com
dnpass = xxxxx
auth_bind = yes
auth_bind_userdn = uid=%u,ou=%d,dc=americasnet,dc=com
ldap_version = 3
base = uid=%u,ou=%d,dc=americasnet,dc=com
user_filter = (&(objectClass=posixAccount)(uid=%u,ou=%d))
So I try to login with an LDAP user, say ricardo at domain.com. This is how it exists in the database. It's accessed as:
uid=ricardo at domain.com,ou=domain.com,dc=americasnet,dc=com
Th...
2009 Apr 17
2
Active Directory LDAP authentication fails after a time
...s = plain
passdb ldap {
args = /etc/dovecot-ldap.conf
}
passdb passwd-file {
args = /etc/dovecot/passdb
master = yes
}
userdb static {
args = uid=vmail gid=vmail home=/home/vmail/%u
}
user = root
}
dovecot-ldap.conf
hosts = admachine.domain.com
base = dc=domain,dc=com
ldap_version = 3
auth_bind = yes
auth_bind_userdn = DOMAIN\%u
Does anybody have any ideas about why this is happening, or maybe just an
idea about how to better troubleshoot it? If you need any more info, I'll
be happy to provide it. Can I tell dovecot to be a little more verbose with
it's log entri...
2018 Sep 29
3
Authenticate users using their firstname
...organizationalPerson
objectClass: inetOrgPerson
loginShell: /bin/bash
homeDirectory: /home/firstname
cn: firstname lastname
mail: firstname.lastname at domain.com<mailto:firstname.lastname at domain.com>
This is how I connect Dovecot with LDAP
hosts = ldapserver
ldap_version = 3
base = ou=People,dc=domain,dc=com
deref = never
scope = subtree
user_attrs =
user_filter = (&(objectclass=inetOrgPerson)(uid=%n)
pass_attrs = uid=user,userPassword=password
pass_filter = (&(objectclass=inetOrgPerson)(uid=%n))
default_pass_scheme = SSHA
W...
2015 Feb 23
4
"Temporary authentication failure" ? Cant connect with ldap user
...I'm just not able-brained for
linux useage.
Anyway, here are a few more informations about the system:
*Dovecot version 2.1.7*
Output of grep -v '^ *\(#.*\)\?$' dovecot-sql.conf:
*hosts = localhost*
*dn = cn=admin*
*dnpass = [password]*
*sasl_bind = no*
*tls = no*
*auth_bind = yes*
*ldap_version = 3*
*base = dc=[domainname],dc=de*
*user_attrs = uidNumber=uid,gidNumber=gid*
*user_filter = (&(objectClass=posixAccount)(uid=%u))*
*pass_attrs = uid=user,userPassword=password*
Output of dovecot -n:
*disable_plaintest_auth = no*
*mail_location = mbox:~/mail:INBOX=/var/mail/%u*
*[namespace c...
2013 Jun 28
3
Samba4 AD and mail auth
Hi list
Does anyone has experience in setting up dovecot or any other mail
system with user auth against a Samba4 AD ? If yes could I get some
advice on that Topic or even a link to a ressource where I can get some
Information. Googled a lot but didn't find something yet.
Thankx in advance.
--
Mit freundlichem Gru?
Carsten Laun-De Lellis
Hauptstrasse 13
D-67705 Trippstadt
Phone: +49
2013 Dec 09
2
Dovecot+LDAP lda problem
...an't achieve the same behaviour. Can
Dovecot be set up not to deliver the mail to the list mailbox if the
list has the attribute deliveryMode = nolocal?
This is my /etc/dovecot/conf.d/dovecot-ldap.conf.ext
hosts = xxx.xxx.xxx.xxx
auth_bind = yes
dn = cn=admin,dc=nth,dc=ch
dnpass = xxxxxxxxxx
ldap_version = 3
base = dc=nth,dc=ch
#deref = always
scope = subtree
user_attrs = mail=user
user_filter =
(|(&(objectclass=inetOrgPerson)(mail=%u))(|(mailAlternateAddress=%u)))
pass_attrs = uid=user
pass_filter =
(&(objectclass=inetOrgPerson)(|(mail=%u)(mailAlternateAddress=%u)))
default_pass_scheme =...