Kiss G?bor:
> Bingo! :-)
> On old MTA (Debian sqeeze) your demo program works well
> meanwhile on the new one (Debian jessie) it fails:
> 
> $ ./getpwnam_r_test +Trash
> +Trash: error: No such file or directory
> $ 
> 
> Unfortunately the situation is bit complicated.
> 
> /etc/nsswitch.conf:
> passwd:         files ldap
> 
> And nsdc also plays in the background. There are several
> potentially buggy code everywhere.
> 
> Many thanks for your help. :-)
> I consult my colleagues what to do.

Please file a bug in any case.

You can hack around in mypwd.c, by skipping names that start with
non-alphanumerical. I can put a workaround in Postfix but it may
take a long time before it is adopted by down-stream.

        Wietse

Reply via email to