Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Discover Netware credentials on Outlook launch

Posted on 2010-09-21
4
Medium Priority
?
459 Views
Last Modified: 2012-05-10
Hi,

The clients on my network are running Outlook 2007 and Novel Netware, users log in using their Netware credentials and a local admin profile is created.

My question is: is it possible for Outlook to detect which user is logged into the workstation and create / launch a profile accordingly?

Any help is much appreciated.
0
Comment
Question by:flynn_handley
  • 2
4 Comments
 
LVL 12

Expert Comment

by:jjmartineziii
ID: 33730432
As far as I know, its not possible. If it is possible, some sort of 3rd party app may be required.
0
 

Author Comment

by:flynn_handley
ID: 33730595
I know it is possible on the first launch of Outlook using auto discovery, however once the outlook profile is created, the functionality is disabled.
0
 
LVL 19

Accepted Solution

by:
deroode earned 2000 total points
ID: 33732130
I'm not entirely sure what you mean.

When you say a local admin profile is created, is there also a local user created? Are the Netware username and local username the same or different?

The local username can be retrieved with the environment variable %username%
The Netware username can be put into an environment variable through the login script:

DOS SET NWUSER="%LOGIN_NAME"

Of course, there are other attributes that can be retrieved from eDirectory:

http://www.novell.com/documentation/zenworks7/dm7admin/?page=/documentation/zenworks7/dm7admin/data/a7vy1i4.html

or use ndssnoop to see all eDirectory attributes which are available, e.g. "Internet Email Address"

DOS SET EMAIL="%internet email address"

For Outlook, you can use the Custom Installation Wizard from the Resource Kit Tools to create a custom profile (*.PRF). In that profile use generic variables for Email address, Full name and mail server login name.

using SED (the Stream Editor) you can then do a search and replace in the profile:


<pseudocode>
copy \\server\share\template.prf c:\temp\%nwuser%.prf

sed 's/$$email$$/%email%/g' c:\temp\%nwuser%.prf
sed 's/$$user$$/%nwuser%/g' c:\temp\%nwuser%.prf

c:\path\to\outlook.exe /importprf c:\temp\%nwuser%.prf
</pseudocode>

Open in new window

0
 

Author Comment

by:flynn_handley
ID: 33740154
deroode: You sir are a genius, in my head you ride up a beach on a horse wearing nothing but a towel, with your hot girlfriend... which you cheat on all the time because your so good at IT, you can get any babe you want.
0

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
Steps to fix “Unable to mount database. (hr=0x80004005, ec=1108)”.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses
Course of the Month12 days, 16 hours left to enroll

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question