Click to See Complete Forum and Search --> : Samba + Winbind - Strip DOMAIN from username


nunder
01-10-2003, 02:03 PM
I'm trying to implement a Linux fax server (Hylafax + smbfax) into an NT network, and am having a problem with sending the e-mail (fax confirmation) to the appropriate user. I have an NT Server, Exchange mailserver, and a Linux box to do pretty much everything else. I'm using Winbind to authenticate my Win32 clients off of the NT Domain (working), I can send a fax using Hylafax (no problem), and Smbfax is working (as long as there is a local user account for the user). The problem comes up when I try to send a fax from a user account that exists only on the NT domain, smbfax tries to send the fax confirmation to DOMAIN+username rather than to just username. I've tried adding an entry in /etc/aliases for "DOMAIN+username: username", but the /var/log/maillog still says that it's trying to send the confirmation to DOMAIN+username@domain.com. Any help would be greatly appreciated.

jumpedintothefire
01-11-2003, 11:07 AM
I've been look for a same solution but for a different problem.... no luck yet..... If anybody finds anything can you post the link please....

nunder
01-12-2003, 06:02 PM
I actually found a workaround for the problem. In the smbfax script, I made a change in the mailto part. I added a line breaking the $user variable into it's separate parts (either side of the "+"), and changed the address being mailed to just the latter part (the user name). It's not ideal, but it seems to work.