Solved

Discover Netware credentials on Outlook launch

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
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…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

911 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

27 Experts available now in Live!

Get 1:1 Help Now