[Bug 3176] New: Build fails after: 'Retire "pwcheck" expansion condition"

Exim Bugzilla via Exim-dev <[email protected]>
Newsgroups gmane.mail.exim.devel
Message-ID <[email protected]/>
https://bugs.exim.org/show_bug.cgi?id=3176

            Bug ID: 3176
           Summary: Build fails after: 'Retire "pwcheck" expansion
                    condition"
           Product: Exim
           Version: 4.99
          Hardware: x86
                OS: FreeBSD
            Status: NEW
          Severity: bug
          Priority: medium
         Component: SMTP Authentication
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

commit 0cf5f1656eff31bcc1131ca047030f4866b4224b (HEAD -> master, origin/master,
origin/HEAD)
Author: Jeremy Harris <[email protected]>
Date:   Fri Nov 7 17:50:28 2025 +0000

    Retire "pwcheck" expansion condition

appears to remove too much

...
cc -Wno-parentheses -Wno-dangling-else version.c
cc -Wno-parentheses -Wno-dangling-else -o exim
ld: error: undefined symbol: auth_call_saslauthd
>>> referenced by expand.c
>>>               expand.o:(eval_condition)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.

call_pwcheck.c is removed in its entirety but contains:

-/*************************************************
-*       External entry point for pwauthd         *
-*************************************************/
-
-/* This function calls the "saslauthd" Cyrus-SASL authentication daemon,
-saslauthd, As this is called from the string expander, all the strings will
-always be in dynamic store and can be overwritten.
-
-Arguments:
-  username        username
-  password        password
-  service         optional service
-  realm           optional realm
-  errptr          where to point an error message
-
-Returns:   OK if authentication succeeded
-           FAIL if authentication failed
-           ERROR some other error condition
-*/
-
-int
-auth_call_saslauthd(const uschar *username, const uschar *password,
-  const uschar *service, const uschar *realm, uschar **errptr)

unless I misunderstood, the intention was to remove support for pwcheck and not
saslauthd.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.