Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

[Samba] winbind + Active Directory + email

 
   Soft32 Home -> Linux -> Samba RSS
Next:  Bug#553206: libc6: sscanf segfaults with %d on la..  
Author Message
Robert LeBlanc

External


Since: Dec 02, 2008
Posts: 10



(Msg. 1) Posted: Thu Oct 29, 2009 1:20 pm
Post subject: [Samba] winbind + Active Directory + email
Archived from groups: linux>samba (more info?)

Ok, I can't seem to search for the right thing to get what I need. I'm
looking for a solution where if quota or some other mailing system needs to
send an email to an Active Directory user, that it uses the email address
listed in Active Directory for that user. We are connected to Active
Directory using winbind, on one system we are using pam_winbind, on another
we are not. Of course, I'm looking for the simplest option. It seems that
mail is being sent to user_at_hostname right now.

Thanks,

Robert LeBlanc
Life Sciences & Undergraduate Education Computer Support
Brigham Young University
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
gregorcy

External


Since: Oct 29, 2009
Posts: 1



(Msg. 2) Posted: Thu Oct 29, 2009 3:20 pm
Post subject: Re: [Samba] winbind + Active Directory + email [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Robert LeBlanc wrote:
> Ok, I can't seem to search for the right thing to get what I need. I'm
> looking for a solution where if quota or some other mailing system needs to
> send an email to an Active Directory user, that it uses the email address
> listed in Active Directory for that user. We are connected to Active
> Directory using winbind, on one system we are using pam_winbind, on another
> we are not. Of course, I'm looking for the simplest option. It seems that
> mail is being sent to user_at_hostname right now.
>
> Thanks,
>
> Robert LeBlanc
> Life Sciences & Undergraduate Education Computer Support
> Brigham Young University


Hi Robert,

I used the ldapsearch command in a preexec script to create a .forward, the command I used was:

> # ldapsearch -D "cn=SOMEFAKEUSERR,ou=Service,dc=domain,dc=utah,dc=edu" -b "ou=CHE_Users,dc=domain,dc=utah,dc=edu" -w PASSWORD -x -LLL "(sAMAccountName=00112413)" mail | grep mail
> # Output looks like this:
> # mail: FOOBAR.TakeThisOut@eng.utah.edu

I can send the entire script if you are interested, the above is just what handles the email.



--
Brian Gregorcy
IT Manager
University of Utah
Department of Chemical Engineering
801.585.7170


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Adam Williams

External


Since: Sep 14, 2003
Posts: 60



(Msg. 3) Posted: Thu Nov 05, 2009 7:21 am
Post subject: Re: [Samba] winbind + Active Directory + email [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

could you send me the entire script?

gregorcy wrote:
>
>
> Robert LeBlanc wrote:
>> Ok, I can't seem to search for the right thing to get what I need. I'm
>> looking for a solution where if quota or some other mailing system
>> needs to
>> send an email to an Active Directory user, that it uses the email
>> address
>> listed in Active Directory for that user. We are connected to Active
>> Directory using winbind, on one system we are using pam_winbind, on
>> another
>> we are not. Of course, I'm looking for the simplest option. It seems
>> that
>> mail is being sent to user_at_hostname right now.
>>
>> Thanks,
>>
>> Robert LeBlanc
>> Life Sciences & Undergraduate Education Computer Support
>> Brigham Young University
>
>
> Hi Robert,
>
> I used the ldapsearch command in a preexec script to create a
> .forward, the command I used was:
>
>> # ldapsearch -D
>> "cn=SOMEFAKEUSERR,ou=Service,dc=domain,dc=utah,dc=edu" -b
>> "ou=CHE_Users,dc=domain,dc=utah,dc=edu" -w PASSWORD -x -LLL
>> "(sAMAccountName=00112413)" mail | grep mail
>> # Output looks like this:
>> # mail: FOOBAR.TakeThisOut@eng.utah.edu
>
> I can send the entire script if you are interested, the above is just
> what handles the email.
>
>
>

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[Samba] Winbind, Pam, And Active Directory - My smb.conf and nsswitch.conf and /etc/pam.d/samba and login are below. Pam and winbind are configured. Are my config's...

[Samba] net command,winbind and active directory - Hi all! Is it possible to just join to domain with samba's net command without creating machine account again if it is...

[Samba] winbind failing to find user in Active Directory - I have my Mandrake 9.2 box running as a domain member for a W2K AD domain. This is a new problem or I'm missing..

[Samba] %U/%u expansions in Mixed Active Directory (2000/X.. - Hi all, I have had the unfortunate joy of upgrading my PDC to Windows Server 2003 and active directory, I also upgrade...

[Samba] Active Directory - I have dug through some man pages, searched the archives for some time and googled for info on this but nothing yet. ..

[Samba] active directory readings - I just downloaded the CVS version of samba_2_2 hoping to find any new documentation on joining a samba server to an..
       Soft32 Home -> Linux -> Samba All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]