Displaying 15 results from an estimated 15 matches for "departmentnumber".
2018 Nov 22
4
LDAP stored quota
Hello,
I'm trying to set up LDAP stored quota on Dovecot but it doesn't work and
doesn't get reported by the command doveadm quota get.
I'm using the field departmentNumber in my LDAP server to store the quota.
doveadm quota get -u test
Quota name Type Value
Limit
%
User quota STORAGE 0
-
0
User quota MESSAGE 0
-
0
log file associated with doveadm quota get command:
Nov 21 11:38:47 imap dovecot: auth: Debug: master in:
USER#0111#011test#011service=dov...
2018 Nov 22
0
LDAP stored quota
Hi
Do you try recalc and get ?
On 22.11.2018 08:56, Vincent Seynhaeve wrote:
>
> Hello,
>
> I'm trying to set up LDAP stored quota on Dovecot but it doesn't work
> and doesn't get reported by the command doveadm quota get.
>
> I'm using the field departmentNumber in my LDAP server to store the quota.
>
>
> doveadm quota get -u test
>
> Quota name Type??? Value
> Limit???????????????????????????????????????????????????????????????????????????????
> %
> User quota STORAGE???? 0????
> -????????????????????????????????????????????????...
2017 Jun 02
1
Two domains - same user names 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:departmentNumber)/%n/Maildir
> user_filter = (uid=%n)
> pass_attrs = uid=%n,userPassword=password
> pass_filter = (uid=%n)
> default_pass_scheme = MD5
>
| you have one LDAP conf per domain and two userdb's, right?
Nop, I have two ldap.conf files, one for domain1 and one for domain2 and
two use...
2018 Nov 22
0
LDAP stored quota
...directly...
Anyways, seems the problem was that the LDAP user_attrs is missing commas, and the mailRoutingAddress is used wrong, so the correct syntax would be:
user_attrs = \
mailRoutingAddress=user, \
=uid=vmail, \
=gid=mail, \
=home=/var/mail/%d/%n, \
=quota_rule=*:bytes=%{ldap:departmentNumber}
Aki
> On 22 November 2018 at 15:29 Vincent Seynhaeve <vlamsdoem at gmail.com> wrote:
>
>
> doveadm quota recalc -u test doesn't give anything.
> Bellow the ouput of the `doveconf -n` and `doveadm user test`
>
> doveconf -n
> # 2.2.10: /etc/dovecot/dovecot.con...
2017 Jun 02
3
Two domains - same user names filter
...ap_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:departmentNumber)/%n/Maildir
user_filter = (uid=%n)
pass_attrs = uid=%n,userPassword=password
pass_filter = (uid=%n)
default_pass_scheme = MD5
Thanks, Robert
2007 Mar 01
1
LDAP error
...w==
telephoneNumber: ext-PTI: 1540
mail: psaborano at telbit.pt
uid: psaborano
mailAlternateAddress: psaborano at mail.telbit.pt
mailAlternateAddress: psaborano at metropolis.telbit.pt
mailQuotaSize: 1048576
mailMessageStore: /var/qmail/maildirs/psaborano at telbit.pt
o: Telbit
mobile: 96 134 27 28
departmentNumber: PTIN:CARE GORA
dn: uid=spessoa,ou=users,ou=accounts,dc=telbit,dc=pt
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: qmailUser
mail: spessoa at telbit.pt
uid: spessoa
mailAlternateAddress: spessoa at mail.telbit.pt
mailAlternateAddress: spessoa at metropolis.telbit.pt...
2018 Dec 03
2
vacation script issue
...auth_bind = yes
> user_filter = (&(objectClass=posixAccount)(uid=%n))
> pass_filter = (&(objectClass=posixAccount)(uid=%n))
>
> user_attrs = \
> mailRoutingAddress=user, \
> =uid=vmail, \
> =gid=mail, \
> =home=/var/mail/%d/%n, \
> =quota_rule=*:bytes=%{ldap:departmentNumber}
>
>
> pass_attrs= mailRoutingAddress=user
>
> tls = yes
>
My vacation script:
require ["date","relational","vacation"];
> # rule:[Vacation]
> if allof (currentdate :zone "+0100" :value "ge" "iso8601"
> "...
2017 Jun 01
0
Two domains, same users
...ap_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:departmentNumber)/%n/Maildir
user_filter = (uid=%n)
pass_attrs = uid=%n,userPassword=password
pass_filter = (uid=%n)
default_pass_scheme = MD5
Thanks, Robert
2017 Jun 02
0
Two domains - same user names 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:departmentNumber)/%n/Maildir
> user_filter = (uid=%n)
> pass_attrs = uid=%n,userPassword=password
> pass_filter = (uid=%n)
> default_pass_scheme = MD5
you have one LDAP conf per domain and two userdb's, right?
Can you make use of ${domain} in one of the LDAP servers, is the domain
present in the...
2007 May 23
1
Samba PDC on a read-only (and not configurable) LDAP server
...Class: organizationalUnit
dn: uid=000114,ou=Studenti,ou=Account,o=unive.it
objectClass: top
objectClass: inetOrgPerson
objectClass: posixAccount
uid: 000114
gidNumber: 503
homeDirectory: /home/000114
uidNumber: 4800114
loginShell: /bin/bash
ou: 11
givenName: XXXXX XXXXXX
sn: XXXXX
cn: XXXXX XXXXXX
departmentNumber: F08
...
-------------------------------------------------------
as you can see, the password is not visible...
THANKS!!!
(and sorry for my horrible english)
--
Matteo Rosati
Web: http://wwwstud.dsi.unive.it/~mrosati
PGP: http://wwwstud.dsi.unive.it/~mrosati/pgp.html
GNU/Linux registered user...
2012 Dec 13
1
Migrate to samba 4 in ( relatively ) complex openLDAP environment
...dc
departmentNumber
description...
2018 Dec 04
0
vacation script issue
...r = (&(objectClass=posixAccount)(uid=%n))
>> pass_filter = (&(objectClass=posixAccount)(uid=%n))
>>
>> user_attrs = \
>> mailRoutingAddress=user, \
>> =uid=vmail, \
>> =gid=mail, \
>> =home=/var/mail/%d/%n, \
>> =quota_rule=*:bytes=%{ldap:departmentNumber}
>>
>>
>> pass_attrs= mailRoutingAddress=user
>>
>> tls = yes
>>
>
> My vacation script:
>
>
> require ["date","relational","vacation"];
>> # rule:[Vacation]
>> if allof (currentdate :zone "+0100"...
2017 Jun 02
2
Two domains - same user names filter
...ssword=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:departmentNumber)/%n/Maildir
> > user_filter = (uid=%n)
> > pass_attrs = uid=%n,userPassword=password
> > pass_filter = (uid=%n)
> > default_pass_scheme = MD5
>
> you have one LDAP conf per domain and two userdb's, right?
>
> Can you make use of ${domain} in one of the LDAP...
2004 Jan 14
0
Problem adding smb accounts on 3.0.1/ldap
...ldif
dn: uid=testuser, ou=users,dc=buildstore,dc=co,dc=uk
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
objectClass: organizationalPerson
objectClass: inetLocalMailRecipient
uid: testuser
cn: LDAP TestUser
sn: TestUser
givenname: LDAP
title: Admin
departmentNumber: IT
mobile: 0779-789-6552
postalAddress: Kingsthorne Park$Houstoun Industrial Est$Livingston
telephoneNumber: 01506-409-245
facsimileTelephoneNumber: 0870-870-9992
userpassword: {MD5}F5rUXGziy5fPECniEgRugQ==
labeleduri: http://intranet.liv.buildstore.co.uk/~testuser/
mail: testuser@buildstore.co.uk...
2005 Dec 06
4
BIG Samba howto for debian only.
Hi everybody,
I made a pretty complete howto for samba on debian servers.
This howto covers samba + ldap + cups + recycle bin + samba-vscan
+ phpldapadmin + ACL + Extended Attributes.
this howto is also based on the idealx howto
If you do this setup, you should be able to use the NT4 Usermanager,
setup Point en Print Printing. set rights from explorer etc.
other nice tools is ldapadmin (