Hello,

 

I’m not sure this is the right place to post this question, but I’ll give it a try,

I patched qmail with the ldap patch and the patching process ended just fine,

Unfortunately I fail to patch the smtp-auth patch that should work with the ldap-patch,

 

I grabbed it from http://www.lifewithqmail.org/ldap/patches/smtp-auth/

 

There are no explanations how to patch qmail with that patch,

It requires first to run the ldap patch? Compile? Do changes to Makefile and then run? Or just run the patch after patching with ldap?

I personally tried to run the smtp-auth patch directly after patching with the ldap-patch and I get the following errors:

 

[EMAIL PROTECTED]:/usr/local/src/critical/qmail/qmail-1.03# patch -p1 < ../qmail-patches/smtp-auth.patch

patching file Makefile

Hunk #1 succeeded at 19 with fuzz 2.

Hunk #2 FAILED at 96.

Hunk #3 succeeded at 472 with fuzz 2 (offset 34 lines).

Hunk #4 FAILED at 1905.

Hunk #5 succeeded at 1999 (offset 109 lines).

Hunk #6 succeeded at 2570 (offset 56 lines).

2 out of 6 hunks FAILED -- saving rejects to file Makefile.rej

patching file TARGETS

Hunk #1 FAILED at 393.

Hunk #2 FAILED at 405.

2 out of 2 hunks FAILED -- saving rejects to file TARGETS.rej

The next patch would create the file auth_smtp.c,

which already exists!  Assume -R? [n] y

patching file auth_smtp.c

Hunk #1 FAILED at 1.

File auth_smtp.c is not empty after patch, as expected

1 out of 1 hunk FAILED -- saving rejects to file auth_smtp.c.rej

patching file checkpassword_smtp.c

patching file hier.c

Hunk #1 FAILED at 160.

1 out of 1 hunk FAILED -- saving rejects to file hier.c.rej

patching file qmail-smtpd.c

Hunk #3 succeeded at 41 (offset 1 line).

patch: **** malformed patch at line 923: }

 

 

Well, it seems like some patches were added successfully but it is scary to ignore these errors J

 

 

Anyone can give me a hand with that? Or direct me to the right place to ask this question?

 

Thank you a lot.

 

Reply via email to