Hi Bruce

Which activeX have you got a hold of?

I have used one referred to as NWDir1 in the past, using the following
syntax:

   <cfoutput>
    <object classid="CLSID:4F021AE3-9E98-11D0-A808-00C04FDCD94A"id="NWDir1"
width=32 height=32></object>
    <script language="VBScript">
    Dim vbuser
    Sub Window_OnLoad()
     On Error Resume next
     vbuser = NWDir1.LoginName
     vbuser = StrReverse(vbuser)
     initInd = InStr(vbuser, Chr(92))
     if initInd <> 0 Then
      vbuser = Left(vbuser, initInd-1)
      vbuser = StrReverse(vbuser)
     End if
     // REDIRECTION beware
     document.location.href = "index.cfm?docookietest=" + vbuser
     Exit sub
    End Sub
    </script>
    <cfabort>
   </cfoutput>

This uses vbscript to control the activex client, which provides the novell
logged in user.  This value (vbuser) is then passed back to
whatever.cfmwhere it can be processed.

This technique is obviously susceptible to url hacking, but I'm not aware of
that happening in the 4+ years we used this technique.

By the way, the iChain product that Dave suggested won't really help in this
area; and it's probably overkill.

I'm sure I found this on the Novell site originally - try a search for
NWDir1 or the classid on that site.

Then all you'll need to do is distribute and register the ocx to all the
client PCs!

HTH

Antony

On 12/13/06, Bruce Sorge <[EMAIL PROTECTED]> wrote:
>
> I am thinking of using an activeX control. I did a search and it looks
> good.
>
> On 12/12/06, Dave Watts <[EMAIL PROTECTED]> wrote:
> >
> > > I figured out how to get the local user name by changing some
> > > settings in IIS. Now though is the issue. CGI.AUTH_USER is
> > > returning my windows user name. What I need to figure out is
> > > how do I get my Novell username? We log into the network
> > > using Novell's login page and then we log into the windows
> > > account with a generic ID/password. Surely there has to be a
> > > way for me to get my network ID and not the local windows ID.
> >
> > The browser is not going to pass your Novell authentication information
> to
> > your web server. If you want this kind of functionality, you'll need to
> > use
> > a single-signon product like Siteminder, I think. Novell may have some
> > product which lets you pass Novell authentication credentials to web
> > servers, as well. A quick Google search turned up this:
> >
> > http://www.novell.com/products/ichain/features.html
> >
> > Dave Watts, CTO, Fig Leaf Software
> > http://www.figleaf.com/
> >
> > Fig Leaf Software provides the highest caliber vendor-authorized
> > instruction at our training centers in Washington DC, Atlanta,
> > Chicago, Baltimore, Northern Virginia, or on-site at your location.
> > Visit http://training.figleaf.com/ for more information!
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263890
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to