Solved

Discover Netware credentials on Outlook launch

Posted on 2010-09-21
4
407 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 500 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

Want to promote your upcoming event?

Is your company attending an event or exhibiting at a trade show soon? Are you speaking at a conference? Spread the word by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

Join & Write a Comment

Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

708 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now