[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem with sendmail 8.12.3-5 and ldap



Hi all.

I am using ldap as user database on my system (openldap + nss-ldap +
pam-ldap).
After upgrading sendmail from 8.12.3-4 to -5 sendmail ignores all
accounts coming from ldap (but ldap accounts are present in the system,
so I can log in etc).
Accounts from the system database (/etc/passwd) still work fine as the
following transcript shows:

220 fs.math.uni-sb.de ESMTP Sendmail 8.12.3/8.12.3/Debian-5; Mon, 10 Mar
2003 10
:42:11 +0100; (No UCE/UBE) logging access from:
fs.math.uni-sb.de(OK)-root@fs.ma
th.uni-sb.de [134.96.99.112]
ehlo localhost
250-fs.math.uni-sb.de Hello root@fs.math.uni-sb.de [134.96.99.112],
pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5 PLAIN LOGIN
250-DELIVERBY
250 HELP
mail from: cb@fs.math.uni-sb.de
250 2.1.0 cb@fs.math.uni-sb.de... Sender ok
rcpt to: cb@fs.math.uni-sb.de
550 5.1.1 cb@fs.math.uni-sb.de... User unknown
rcpt to: root@math.uni-sb.de
250 2.1.5 root@math.uni-sb.de... Recipient ok

Here cb is an ldap account.

In my opinion there should not be any difference visible to sendmail
between ldap and local accounts through the name switch.
I am not using any ldap features of sendmail (as ldap maps or ldap
routing) and I did not change anything about any configuration files.

Thanks in advance

  Christoph

If needed, here is my sendmail.mc


divert(0)dnl
#
#   Copyright (c) 1998-2002 Richard Nelson.  All Rights Reserved.
#
#  This file is used to configure Sendmail for use with Debian systems.
#
define(`_USE_ETC_MAIL_')dnl
include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
VERSIONID(`$Id: sendmail.mc, v 8.12.3-4 2002-04-17 00:37:57 cowboy Exp $')
OSTYPE(`debian')dnl
DOMAIN(`debian-mta')dnl
dnl #
dnl # General defines
dnl #
dnl # SAFE_FILE_ENV: [undefined] If set, sendmail will do a chroot()
dnl #   into this directory before writing files.
dnl #   If *all* your user accounts are under /home then use that
dnl #   instead - it will prevent any writes outside of /home !
dnl #   define(`confSAFE_FILE_ENV',             `')dnl
LOCAL_CONFIG
FEATURE(`masquerade_envelope')dnl
LOCAL_CONFIG
Cwfs.math.uni-sb.de
FEATURE(`use_cw_file')dnl
FEATURE(`use_ct_file')dnl
FEATURE(`mailertable')dnl
define(`confME_TOO', True)dnl
dnl #
dnl # Dialup/LAN connection overrides
dnl #
include(`/etc/mail/dialup.m4')dnl
include(`/etc/mail/provider.m4')dnl
dnl #
MAILER_DEFINITIONS
MAILER(local)dnl
MAILER(smtp)dnl
LOCAL_CONFIG
## Custom configurations below (will be preserved)
define(`ALIAS_FILE',`/etc/mail/aliases,/etc/mail/aliases.misc,/etc/mail/aliases.sympa,/etc/mail/aliases.lists')dnl




Reply to: