[rt-users] [Fwd: Multiple email addresses for a single login name]

tmaciak at ci.grand-rapids.mi.us tmaciak at ci.grand-rapids.mi.us
Wed Aug 31 15:36:35 EDT 2005


I ran into a similar problem like this just a few days ago because we are using LDAP lookups for user profiles on creation (and using tacacs to authenticate on the windows domain).  My problem was more related to emails creating new tickets with different usernames and trying to look it up with that email instead of the network name.  Anyway I ended up just doing a LDAP lookup with email address and then creating the email address in the db as our main domain name.

One thing I can think of that might help you is to enter the full "user at domain" upon creation, and then when a user logs in (they can use their
Network id) to append your common domain to their id before you authenticate.  Just a thought.  More than 1 way to skin a cat though.


T.J. Maciak

Internet/Intranet Developer
Department of IT
City of Grand Rapids
P: (616)456-3713
F: (616)456-3448



-----Original Message-----
From: Kyle Balling [mailto:kballing at sci.utah.edu] 
Sent: Wednesday, August 31, 2005 3:06 PM
To: rt-users at lists.bestpractical.com
Subject: [rt-users] [Fwd: Multiple email addresses for a single login name]

Hello RT world,

    I am in a jam. This is the situation:  I have configured RT to authenticate users on our NIS server. So,  when email is submitted, a valid username is created by chopping the email address in two (i.e. 
joe at domain.com becomes user 'joe' with email joe at domain.com). This lets new users login correctly to rt with their NIS password. So it is important to create users like that.

   Here is the problem: Joe also has another email acount, joe at blah.org, and when he sends mail to RT from this e-mail address he gets a error message back and no ticket is created. RT recognizes joe at blah.org as a new address and tries to create a user. When it gets a username from his email, 'joe', and tries to create a new user, it cannot because a user 'joe' already exists. I need to fix this problem.

   How can I make RT realize that if a new email address has the same username as an existing one, then it should assume it belongs to that user? Then it can add that new address to the existing user or overwrite the existing users old email. Of course we will assume that there are no users with conflicting email adresses (i.e. user1 has email bob at domain.com and user2 has email bob at otherdomain.com). It is safe to say that all email addresses with the same username belong to the same user

Which also brings up the topic of assigning multiple email addresses to one user, but it is not neccesary. I only need this to happen when a user is created on email submission and skip new user creation if the username already exists.

Thanks in advance,
Kyle Balling
SCI Institute,
Universtiy of Utah




_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Buy your copy of our new book, RT Essentials, today! 

Download a free sample chapter from http://rtbook.bestpractical.com




More information about the rt-users mailing list