Back to an older question about CF and Novell
OK, so it seems that this application is going to be internal, which means that everyone accessing it will be logged in. So, how in CF do I get who is logged onto the computer? I tried CGI.AUTH_USER but it does not work. We use Windows XP and IE. Bruce ~| 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:263816 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Back to an older question about CF and Novell
You cannot get the locally logged in user (this of the security risk this would allow!!) but I have been using some code to allow your web app to integrate to either a) windows NT / AD domain, or b) iSeries AS400. If you would be interested in either you can contact me off list. Chris Peterson -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 12, 2006 3:13 PM To: CF-Talk Subject: Back to an older question about CF and Novell OK, so it seems that this application is going to be internal, which means that everyone accessing it will be logged in. So, how in CF do I get who is logged onto the computer? I tried CGI.AUTH_USER but it does not work. We use Windows XP and IE. Bruce ~| 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:263817 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CF and Novell
OK, 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. ~| 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:263824 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Back to an older question about CF and Novell
You cannot get the locally logged in user. You can if you have Windows Integrated Security enabled and Anonymous disabled in IIS and the user uses IE for their browser. Then cgi.auth_user will be populated with the domain\username of the login on the client machine on a windows domain. Other then that, I have no experience or knowledge. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| 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:263825 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CF and Novell
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:263827 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF and Novell
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:263828 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Back to an older question about CF and Novell
You can if you have Windows Integrated Security enabled and Anonymous disabled in IIS and the user uses IE for their browser. Then cgi.auth_user will be populated with the domain\username of the login on the client machine on a windows domain. I'm pretty sure that, by default, this also requires that your server be defined within the appropriate security zone in IE, which limits its usefulness without reconfiguration (manual, or through Group Policy/IEAK/etc). 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:263829 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Back to an older question about CF and Novell
Interestingly enough I did some checking and discovered that IE has an activeX control already registered and installed. I just have to call it now. I am guessing CFOBJECT is the way to go? On 12/12/06, Peterson, Chris [EMAIL PROTECTED] wrote: You cannot get the locally logged in user (this of the security risk this would allow!!) but I have been using some code to allow your web app to integrate to either a) windows NT / AD domain, or b) iSeries AS400. If you would be interested in either you can contact me off list. Chris Peterson -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 12, 2006 3:13 PM To: CF-Talk Subject: Back to an older question about CF and Novell OK, so it seems that this application is going to be internal, which means that everyone accessing it will be logged in. So, how in CF do I get who is logged onto the computer? I tried CGI.AUTH_USER but it does not work. We use Windows XP and IE. Bruce ~| 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:263837 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Back to an older question about CF and Novell
Interestingly enough I did some checking and discovered that IE has an activeX control already registered and installed. I just have to call it now. I am guessing CFOBJECT is the way to go? CFOBJECT will not allow you to access client-side ActiveX/COM functionality; only server-side. 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:263843 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Back to an older question about CF and Novell
OK, so how do I access client-side ActiveX/COM? On 12/12/06, Dave Watts [EMAIL PROTECTED] wrote: Interestingly enough I did some checking and discovered that IE has an activeX control already registered and installed. I just have to call it now. I am guessing CFOBJECT is the way to go? CFOBJECT will not allow you to access client-side ActiveX/COM functionality; only server-side. 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:263845 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Back to an older question about CF and Novell
OK, so how do I access client-side ActiveX/COM? From CF, you don't. However, you may be able to script client-side objects using JavaScript. You should find out more about the specific object in question; there should be documentation on how to use it. 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:263848 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF and Novell
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-00C04FDCD94Aid=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
RE: CF and Novell?
Thanks for the information. I'm not sure on the details of what they want to do, but I informed them to try out the cfldap stuff. Kevin. -Original Message- From: Antony Sideropoulos [mailto:[EMAIL PROTECTED] Sent: Thursday, August 11, 2005 7:00 PM To: CF-Talk Subject: Re: CF and Novell? What are you trying to achieve? Novell Directory Services (NDS) has an LDAP interface if you need one - like Active Directory. You can use an anonymous bind to query the directory, or I believe you can use credentials supplied by the user to confirm username and password. (I've used the first approach, but not the second myself.) If you want a single sign on solution, there is a Novell activeX control that supplies the authenticated Novell user that you can run on the client PC, and you can use some VBScript to interrogate it and pass a value back to the webserver. Or, you can look at a product from Novell called i-Chain, and let it handle all your authentication requirements. I've done both of these things (activeX and i-Chain) if you have any questions about them. Antony On 8/12/05, Kazmierczak, Kevin [EMAIL PROTECTED] wrote: Does anyone know of anything out there that will allow CF to talk with Novell? They want to avoid creating new logins for a web system. I personally have no idea about anything with Novell, but someone asked me about it. They were going to try to write a c++ cfx tag to achieve this, but I though I would find out if anyone else has better ideas. Thanks. Kevin. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214718 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CF and Novell?
Sure - ping me when you have more details. Antony On 8/12/05, Kazmierczak, Kevin [EMAIL PROTECTED] wrote: Thanks for the information. I'm not sure on the details of what they want to do, but I informed them to try out the cfldap stuff. Kevin. -Original Message- From: Antony Sideropoulos [mailto:[EMAIL PROTECTED] Sent: Thursday, August 11, 2005 7:00 PM To: CF-Talk Subject: Re: CF and Novell? What are you trying to achieve? Novell Directory Services (NDS) has an LDAP interface if you need one - like Active Directory. You can use an anonymous bind to query the directory, or I believe you can use credentials supplied by the user to confirm username and password. (I've used the first approach, but not the second myself.) If you want a single sign on solution, there is a Novell activeX control that supplies the authenticated Novell user that you can run on the client PC, and you can use some VBScript to interrogate it and pass a value back to the webserver. Or, you can look at a product from Novell called i-Chain, and let it handle all your authentication requirements. I've done both of these things (activeX and i-Chain) if you have any questions about them. Antony On 8/12/05, Kazmierczak, Kevin [EMAIL PROTECTED] wrote: Does anyone know of anything out there that will allow CF to talk with Novell? They want to avoid creating new logins for a web system. I personally have no idea about anything with Novell, but someone asked me about it. They were going to try to write a c++ cfx tag to achieve this, but I though I would find out if anyone else has better ideas. Thanks. Kevin. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214844 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
CF and Novell?
Does anyone know of anything out there that will allow CF to talk with Novell? They want to avoid creating new logins for a web system. I personally have no idea about anything with Novell, but someone asked me about it. They were going to try to write a c++ cfx tag to achieve this, but I though I would find out if anyone else has better ideas. Thanks. Kevin. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214555 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CF and Novell?
didn't Novell go over to LDAP - or I'm pretty sure there is an LDAP plugin for Novell, that being the case you can just use CFLDAP thats built into CF john. Does anyone know of anything out there that will allow CF to talk with Novell? They want to avoid creating new logins for a web system. I personally have no idea about anything with Novell, but someone asked me about it. They were going to try to write a c++ cfx tag to achieve this, but I though I would find out if anyone else has better ideas. Thanks. Kevin. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214567 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CF and Novell?
What are you trying to achieve? Novell Directory Services (NDS) has an LDAP interface if you need one - like Active Directory. You can use an anonymous bind to query the directory, or I believe you can use credentials supplied by the user to confirm username and password. (I've used the first approach, but not the second myself.) If you want a single sign on solution, there is a Novell activeX control that supplies the authenticated Novell user that you can run on the client PC, and you can use some VBScript to interrogate it and pass a value back to the webserver. Or, you can look at a product from Novell called i-Chain, and let it handle all your authentication requirements. I've done both of these things (activeX and i-Chain) if you have any questions about them. Antony On 8/12/05, Kazmierczak, Kevin [EMAIL PROTECTED] wrote: Does anyone know of anything out there that will allow CF to talk with Novell? They want to avoid creating new logins for a web system. I personally have no idea about anything with Novell, but someone asked me about it. They were going to try to write a c++ cfx tag to achieve this, but I though I would find out if anyone else has better ideas. Thanks. Kevin. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214675 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54