Displaying 20 results from an estimated 10000 matches similar to: "ldap uid with static gid problem"
2006 Jan 12
2
dovecot-ldap.conf for usernames/homes/UID/GID
hi there,
I?m getting such a headache today, I?ve added myself to three mailing lists
trying to figure this out, okay here it goes.
I?ve got a Fedora Core 4 box running dovecot imap, squirrel mail, postfix,
samba/winbind.
I?m running winbind to authenticate against Active Directory, I?ve edited my
?/etc/pam.d/dovecot? pam module so to let my users login with there Active
directory password, but
2007 Dec 31
2
Building path to maildir
Hello everyone
Happy new year .
This is the first time I address to the list
I have the following situation and I need help from all you people
I have dovecot 0.9-11 and i want to migrate to a superior version
like dovecot 1.0 looking forward to implement quotas in my system ,
and use the function deliver with postfix.
My Scenario is as follow
Dovecot + LDAP (ADS) + postfix
My actual
2004 Dec 12
2
Problem with LDAP and Dovecot
I am trying to set up Dovecot so that it uses LDAP, but I keep getting
this error message in /var/log/syslog:
Dec 12 03:38:17 mydomain dovecot-auth: LDAP: ldap_search() failed (filter
user_filter = (mail=user at mydomain.tld)): Bad search filter
Relevant configuration files:
/etc/dovecot-ldap.conf:
hosts = localhost
dn = cn=dovecot,ou=sysAccounts,dc=mydomain,dc=tld
dnpass = password
2004 Dec 29
3
why dovecot try to access the uses's home?
hi,
after i try to use dovecot with ldap i configure dovecot as:
------------------------
first_valid_uid = 499
last_valid_uid = 499
first_valid_gid = 499
last_valid_gid = 499
default_mail_env = maildir:/home/mail/%d/%n
auth_userdb = static uid=499 gid=499 home=/home/users/%d/%n
auth_passdb = ldap /etc/dovecot-ldap.conf
------------------------
but after this i've got the error in imap.log:
2020 Aug 31
2
using %d as a variable in the ldap search base
Hi,
I'm trying to configure dovecot to use LDAP authentication directly,
and I'm having a bit of trouble. I have a somewhat unusual setup, in
that I have an LDAP directory that has 3 OUs each of which have their
own set of users, some of which overlap. As I was trying to figure
things out, I was setting the search base in my
/etc/dovecot/dovecot-ldap.conf.ext file which is referenced
2008 Apr 12
3
Mixing LDAP and static
I want to read quota size from LDAP, but I have a static value for home.
How can I mix these?
Right now, I have this LDAP configuration:
user_attrs =
uid=home=/var/mail/vhosts/%d/%n,gosaMailQuota=quota_rule=*:bytes=%$M
which works fine, but looks up the uid attribute needlessly, and is not
scalable: I have to pick a different, always-existing LDAP attribute for
each static extra field
2007 Oct 25
1
Static home while using LDAP
Hello all,
I've been googling for a workaround for this for nearly a week to no
avail and I hope someone in the list can shed some light on it.
I have downloaded and compiled dovecot 1.0.5 and applied the
quota-warning to it. I have configured everything and it's working
wonderfully, even the lda with the sieve plugin. This is my current
relevant configuration:
userdb static{
args =
2015 Jan 30
1
LDAP: "unused" & "uid missing"
Does someone know what this means? It looks to me like it got the UID,
yet it complains ... ? Also, why does it complain about attributes being
unused, yet I use prefetch, so they will be used?!
Log:
[...]
dovecot: auth: Debug:
ldap(test at mydomain.tld,192.168.10.233,<Rl2CF+UNhgDAqArp>): result:
mailStorageDirectory=/var/vmail mailUidNumber=2110 mailGidNumber=2110
2006 Apr 08
3
LDAP authentication via PAM
I've configured dovecot to authenticate against a Fedora Directory
Server. The mail server on which dovecot is installed has the
nss_ldap and pam_ldap packages installed, and /etc/dovecot.conf has the
following two lines:
auth_userdb = ldap /etc/dovecot-ldap.conf
auth_passdb = pam
In other words, I want dovecot to use LDAP to access the user database,
but PAM for authentication. This part is
2020 Sep 01
2
using %d as a variable in the ldap search base
I'm trying to use auth bind to avoid having a plain text password in a
config file. With %u instead of %n, the @domain part of the login
ends up in the uid field of the search filter. As I said, my OUs have
overlapping users, so I have configured things such that the users are
logging in with user at domain, and need to get the domain component
into the search base as you cannot filter on
2011 Sep 09
1
userdb static & Quota from LDAP?
Hi all,
I just configured Dovecot 2.0.14 for "virtual" (i.e. non-system-) users:
passdb {
driver = ldap
args = /etc/dovecot/conf.d/ldap-passdb.ext
}
userdb {
driver = static
args = uid=vmail gid=vmail home=/var/maildir/%u
}
Works fine so far - thanks for this great piece of software, Timo!!!
Now I'd like to add per-user quotas that will also be stored in the
LDAP
2010 Aug 27
2
LDAP & static userdb
hi..
im just testing 2.0 before upgrading to v1.2 :)
in auth-ldap.conf.ext i found
# If you don't have any user-specific settings, you can avoid the userdb LDAP
# lookup by using userdb static instead of userdb ldap, for example:
# <doc/wiki/UserDatabase.Static.txt>
#userdb {
#driver = static
#args = uid=vmail gid=vmail home=/var/vmail/%u
#}
On 1.2 im using LDAP lookup and
2007 Nov 21
2
uniq -c
Is there an R analog of the Unix command uniq -c:
http://en.wikipedia.org/wiki/Uniq
Given an array x, uniq -c replaces each contiguous subsequence of
identical numbers with a tuple (count, number). E.g.
$ cat > usample
10
10
9
8
8
7
7
7
6
3
1
1
1
0
$ uniq -c usample
2 10
1 9
2 8
3 7
1 6
1 3
3 1
1 0
Cheers,
Alexy
2007 Mar 01
2
user_global_uid - tricky to set
Hola!
Dovecot should serve virtual mail users. So I've set user_global_uid
and user_global_gid in dovecot_ldap.conf to vmail/vmail. Also I've
commented auth the user_attrs field. Still Dovecot tries to switch to
the uid that is defined in the LDAP entry.
It took me some time to figure out, that the only way to prevent this
is to set
user_attrs = foo=uid,bar=gid
or something like this,
2009 May 12
2
user_attrs seems not to set 'mail'.
Hi, I am using Dovecot 1.1.13 (from a Debian package). I was having
problems using
user_attrs to set 'mail' and 'home'. Initially I tried:
user_attrs =
uid=mail=maildir:/var/mail/virtual/users/%$/Maildir/,uid=home=/var/mail/virtual/users/%$/
This appeared to set 'home' but not 'mail'. In the debug lot I see:
May 12 15:24:40 alpha dovecot: auth(default):
2006 Feb 07
1
habtm :uniq causing duplicate inserts? How to update Rails?
Hello *Gem* experts,
Sorry for asking multiple questions in one post but they are both related to one problem.
So far I have the following code:
class Member < ActiveRecord::Base
has_and_belongs_to_many :blogs, :uniq=>true
.....
end
class Blog < ActiveRecord::Base
has_and_belongs_to_many :members, :uniq=>true
...
end
The issue is that
2014 Jul 19
1
patch about mingwbuild 4.9.1
recently I used gcc 4.9.1 (http://sourceforge.net/projects/mingw-w64/files/Toolchains targetting Win64/Personal Builds/mingw-builds/)on windows to build R,but failed when link R.dll ,it report linker status 5.
after some digging, I found when use gcc 4.9.1 64 bit on windows there are lots of .refptr.*(* is r function name) in R.def, which lead build fail.so I add a simple path to
2007 Mar 02
2
Using auth_bind_userdn causes uid to be improper case
I'm having a problem with dovecot-1.0-1.1.rc15.fc6 + LDAP +
auth_bind_userdb.
I have the following /etc/dovecot.conf:
mail_location = maildir:/var/spool/mail/%u/
protocols = imap pop3
mail_log_prefix = "%Us(%u):%i:%h "
first_valid_uid = 5001
first_valid_gid = 5001
protocol imap {
}
protocol pop3 {
}
protocol lda {
postmaster_address = postmaster at example.com
}
auth_verbose =
2010 Feb 02
1
ggplot/time series with indicators question
Hello, I am trying to plot time-series data with certain weeks highlighted using symbols.
require(ggplot2)
#plotting time series data
timescale <- seq(as.Date("01/01/09","%m/%d/%y"), length.out=12, by=7)
data.all <- data.frame(
id = c(rep('111',12),rep('222',12),rep('333',12)),
week=c(timescale,timescale,timescale),
2006 Dec 05
4
has_many with :uniq not working for me
Hi all,
I have a relationship (no really!)
class RiskMatrix < ActiveRecord::Base
has_many :severities, :order => :position, :uniq => true
end
class RiskFactor < ActiveRecord::Base
belongs_to :risk_matrix
validates_presence_of :descriptor, :example
validates_uniqueness_of :descriptor, :example, :scope=> :risk_matrix_id
end
class Severity < RiskFactor