Your message dated Wed, 11 Jun 2025 15:33:12 -0700
with message-id <2439164.9fHWaBTJ5E@soren-desktop>
and subject line authldap.schema.gz: LDAP schema contains reference to 
non-existing mailhost attribute
has caused the Debian Bug report #659985,
regarding authldap.schema.gz: LDAP schema contains reference to non-existing 
mailhost attribute
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
659985: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659985
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: courier-authlib-ldap
Version: 0.63.0-4
Severity: normal
File: /usr/share/doc/courier-authlib-ldap/authldap.schema.gz

Dear Maintainer,

I tried to generate an authldap.ldif file from the provided authldap.schema
(since Bug#632179 is still open).

Apparently the authldap.schema file is incomplete in regard to
the "mailhost" attribute.

> # slaptest -f /tmp/schema_convert.conf -F /tmp/schema_convert
> 4f3bb688 /tmp/authldap.schema: line 91 objectclass: AttributeType not found: 
> "mailhost"
> slaptest: bad configuration directory!
> # 


Here's the config file used for slaptest:

> # cat /tmp/schema_convert.conf
> include /etc/ldap/schema/core.schema  
> include /etc/ldap/schema/cosine.schema
> include /etc/ldap/schema/nis.schema
> include /tmp/authldap.schema


I've found that the authldap.schema indeed contains the mailhost attribute
but it has been commented out. Neither the changelog nor my google fu helped
in finding the reason for this.

Maybe this was done to avoid collision with the "mailHost" attribute (note
the different capitalization!) from the misc.schema ?

If it is, then authldap.schema should declare its dependency on misc.schema
(it declares dependencies on nis and cosine already).

Personally I'd prefer not to include misc.schema and instead either
reactivate the attribute declaration in authldap.schema:

--- /tmp/authldap.schema        2012-02-15 14:20:39.000000000 +0100
+++ /tmp/authldap.schema2       2012-02-15 15:14:28.836775404 +0100
@@ -75,11 +75,11 @@
         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} )
-#
+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
 #

or removing mailhost from the attribute list of CourierMailAccount:

--- /tmp/authldap.schema        2012-02-15 14:20:39.000000000 +0100
+++ /tmp/authldap.schema3       2012-02-15 15:15:44.420775157 +0100
@@ -88,7 +88,7 @@
   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 ) )
+  MAY ( uidNumber $ gidNumber $ mailbox $ uid $ cn $ gecos $ description $ 
loginShell $ quota $ userPassword $ clearPassword $ defaultdelivery $ 
disableimap $ disablepop3 $ disablewebmail $ sharedgroup $ disableshared ) )
 
 objectclass ( 1.3.6.1.4.1.10018.1.2.2 NAME 'CourierMailAlias'
   DESC 'Mail aliasing/forwarding entry'


I don't use it but others probably will. see 
http://www.courier-mta.org/imap/README.proxy.html


cheers
-henrik

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages courier-authlib-ldap depends on:
ii  courier-authlib  0.63.0-4
ii  libc6            2.13-26
ii  libldap-2.4-2    2.4.28-1.1

courier-authlib-ldap recommends no packages.

courier-authlib-ldap suggests no packages.

-- no debconf information




--- End Message ---
--- Begin Message ---
I am going to close this bug report as there was no response to my previous 
message.  I assume it was fixed in a previous release.  Feel free to reopen it 
if it still exists.

-- 
Soren Stoutner
[email protected]

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply via email to