[packages/courier-authlib] - copy authldap.schema to separate source, will be removed in future version
qboosh
qboosh at pld-linux.org
Tue Jul 14 19:26:09 CEST 2026
commit 198600da599ed873ab7efde42e7d9c87eb1750bd
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Jul 14 19:24:33 2026 +0200
- copy authldap.schema to separate source, will be removed in future version
courier-authldap.schema | 102 ++++++++++++++++++++++++++++++++++++++++++++++++
courier-authlib.spec | 7 ++--
2 files changed, 106 insertions(+), 3 deletions(-)
---
diff --git a/courier-authlib.spec b/courier-authlib.spec
index 0db19b9..d98a3db 100644
--- a/courier-authlib.spec
+++ b/courier-authlib.spec
@@ -1,6 +1,6 @@
#
# Conditional build:
-%bcond_without ldap # do not include LDAP support
+%bcond_without ldap # LDAP support
Summary: Courier authentication library
Summary(pl.UTF-8): Biblioteka uwierzytelniania Couriera
@@ -12,6 +12,7 @@ Group: Networking/Daemons
Source0: https://downloads.sourceforge.net/courier/%{name}-%{version}.tar.bz2
# Source0-md5: adca23d21c1cf21f0c5ea9b803949120
Source1: %{name}.init
+Source2: courier-authldap.schema
Patch0: %{name}-md5sum-passwords.patch
Patch1: %{name}-authdaemonrc.patch
Patch2: %{name}-nostatic.patch
@@ -293,7 +294,7 @@ rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sysconfdir}/authlib/userdb,%{schemadir},%{_bindir}}
install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/courier-authlib
-cp -p authldap.schema $RPM_BUILD_ROOT%{schemadir}/courier.schema
+cp -p %{SOURCE2} $RPM_BUILD_ROOT%{schemadir}/courier-authldap.schema
install -p libs/makedat/makedat $RPM_BUILD_ROOT%{_bindir}/makedat
# make config files
@@ -681,5 +682,5 @@ fi
%if %{with ldap}
%files -n openldap-schema-courier
%defattr(644,root,root,755)
-%{schemadir}/courier.schema
+%{schemadir}/courier-authldap.schema
%endif
diff --git a/courier-authldap.schema b/courier-authldap.schema
new file mode 100644
index 0000000..72a7494
--- /dev/null
+++ b/courier-authldap.schema
@@ -0,0 +1,102 @@
+#
+# OID prefix: 1.3.6.1.4.1.10018
+#
+# Attributes: 1.3.6.1.4.1.10018.1.1
+#
+# Depends on: nis.schema, which depends on cosine.schema
+
+attributetype ( 1.3.6.1.4.1.10018.1.1.1 NAME 'mailbox'
+ DESC 'The absolute path to the mailbox for a mail account in a non-default location'
+ EQUALITY caseExactIA5Match
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
+
+attributetype ( 1.3.6.1.4.1.10018.1.1.2 NAME 'quota'
+ DESC 'A string that represents the quota on a mailbox'
+ EQUALITY caseExactIA5Match
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
+
+attributetype ( 1.3.6.1.4.1.10018.1.1.3 NAME 'clearPassword'
+ DESC 'A separate text that stores the mail account password in clear text'
+ EQUALITY caseExactIA5Match
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} )
+
+attributetype ( 1.3.6.1.4.1.10018.1.1.4 NAME 'maildrop'
+ DESC 'RFC822 Mailbox - mail alias'
+ EQUALITY caseIgnoreIA5Match
+ SUBSTR caseIgnoreIA5SubstringsMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
+
+attributetype ( 1.3.6.1.4.1.10018.1.1.5 NAME 'mailsource'
+ DESC 'Message source'
+ EQUALITY caseIgnoreIA5Match
+ SUBSTR caseIgnoreIA5SubstringsMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
+
+attributetype ( 1.3.6.1.4.1.10018.1.1.6 NAME 'virtualdomain'
+ DESC 'A mail domain that is mapped to a single mail account'
+ EQUALITY caseIgnoreIA5Match
+ SUBSTR caseIgnoreIA5SubstringsMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
+
+attributetype ( 1.3.6.1.4.1.10018.1.1.7 NAME 'virtualdomainuser'
+ DESC 'Mailbox that receives mail for a mail domain'
+ EQUALITY caseIgnoreIA5Match
+ SUBSTR caseIgnoreIA5SubstringsMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
+
+attributetype ( 1.3.6.1.4.1.10018.1.1.8 NAME 'defaultdelivery'
+ DESC 'Default mail delivery instructions'
+ EQUALITY caseExactIA5Match
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
+
+attributetype ( 1.3.6.1.4.1.10018.1.1.9 NAME 'disableimap'
+ DESC 'Set this attribute to 1 to disable IMAP access'
+ EQUALITY caseExactIA5Match
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
+
+attributetype ( 1.3.6.1.4.1.10018.1.1.10 NAME 'disablepop3'
+ DESC 'Set this attribute to 1 to disable POP3 access'
+ EQUALITY caseExactIA5Match
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
+
+attributetype ( 1.3.6.1.4.1.10018.1.1.11 NAME 'disablewebmail'
+ DESC 'Set this attribute to 1 to disable IMAP access'
+ EQUALITY caseExactIA5Match
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
+
+attributetype ( 1.3.6.1.4.1.10018.1.1.12 NAME 'sharedgroup'
+ DESC 'Virtual shared group'
+ EQUALITY caseExactIA5Match
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
+
+attributetype ( 1.3.6.1.4.1.10018.1.1.13 NAME 'disableshared'
+ DESC 'Set this attribute to 1 to disable shared mailbox usage'
+ EQUALITY caseExactIA5Match
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
+
+#attributetype ( 1.3.6.1.4.1.10018.1.1.14 NAME 'mailhost'
+# DESC 'Host to which incoming POP/IMAP connections should be proxied'
+# EQUALITY caseIgnoreIA5Match
+# SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
+#
+#
+# Objects: 1.3.6.1.4.1.10018.1.2
+#
+
+objectclass ( 1.3.6.1.4.1.10018.1.2.1 NAME 'CourierMailAccount'
+ DESC 'Mail account object as used by the Courier mail server'
+ SUP top AUXILIARY
+ MUST ( mail $ homeDirectory )
+ MAY ( uidNumber $ gidNumber $ mailbox $ uid $ cn $ gecos $ description $ loginShell $ quota $ userPassword $ clearPassword $ defaultdelivery $ disableimap $ disablepop3 $ disablewebmail $ sharedgroup $ disableshared $ mailhost ) )
+
+objectclass ( 1.3.6.1.4.1.10018.1.2.2 NAME 'CourierMailAlias'
+ DESC 'Mail aliasing/forwarding entry'
+ SUP top AUXILIARY
+ MUST ( mail $ maildrop )
+ MAY ( mailsource $ description ) )
+
+objectclass ( 1.3.6.1.4.1.10018.1.2.3 NAME 'CourierDomainAlias'
+ DESC 'Domain mail aliasing/forwarding entry'
+ SUP top AUXILIARY
+ MUST ( virtualdomain $ virtualdomainuser )
+ MAY ( mailsource $ description ) )
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/courier-authlib.git/commitdiff/198600da599ed873ab7efde42e7d9c87eb1750bd
More information about the pld-cvs-commit
mailing list