All I did was cut and paste the code from the site you gave me. I changed the domain name and OU but that's about it. The code just comes up in the web browser.
I will change it to read Response.Write instead.
Sheco,
I reviewed the link and tried many different ways to "pull" the "common name" but I can't seem to retrieve the information.
Here is the code:
Set Odse = GetObject( "LDAP//DC=Users,DC=DomainName,DC=com")
On Error Resume Next
Set objUser = GetObject _...
Sheco wrote:
If it is for your intranet then you could just turn off annonymous access and then read the username from Request.ServerVariables("LOGON_USER") and
I was able to pull "domain\username"
"...then get the user's proper name from the AD via ADSI."
How? What code would I use?
Thanks.
I want to first state that I am not a programmer by any means. With that said, here is my problem.
I have a intranet site with an ASP page that I would like to pull the user name from AD so when a user opens their web browser, the ASP page will say something like "Welcome John Smith!".
I...
My company has changed our domain name from
A - "ABC-Inc.com" to B - "ABC.com". I just let our "A" domain name expire and registered domain name "B". My questions is on my pix configuration, should I rename the "domain-name" to domain "B" or just leave it as is with domain "A". Does it...
Exchange 2000 System attendant will not start this morning. Error message I am getting is:
Could not start the Microsoft Exchange System Attendant service on local computer. The service did not return an error. This could be an internal windows error or an internal service error.
Has anyone...
One of my assistants deleted the Domain Security Policy.
Does anyone know of a way to recreate the policy? When opening the DSP, I get "failed to open the group policy object. You may not have appropiate rights."
Detail: the system cannot find the path specified.
Thanks.
Thanks for your response Paul. I got dns to work. I guess I didn't wait for the zone replication to take place. How long is does it normally take to replicate?
Thanks again.
Matt
Hello everyone.
I'm running W2k on my DC and my web server. Two separate machines. DNS is working on the DC and I have no DNS issues yet. Our internal domain name is different from our public domain name.
What I would like to do is to view our public web site internally.
What I've...
Hello everyone.
I'm running W2k on my DC and my web server. Two separate machines. DNS is working on the DC and I have no DNS issues yet. Our internal domain name is different from our public domain name.
What I would like to do is to view our public web site internally.
What I've...
Hello everyone.
I'm running W2k on my DC and my web server. Two separate machines. DNS is working on the DC and I have no DNS issues yet. Our internal domain name is different from our public domain name.
What I would like to do is to view our public web site internally.
What I've...
Thanks Burke for the response. We are a small company so resources are low. A DMZ would be my first choice but again that requires resources. The pix I am using is a 506 and I believe it only has one interface so I will have to make do with a "poor man's" DMZ.
Thanks again.
Matt
I am embarking on posting our first company web site. My network setup is this:
internet <- router <- pix <- DC/member ser./term. ser. <- workstations
My questions are: (1)Is hosting the web site on a separate Windows server sufficient or do I need to host the site on a ISA machine? (2)If...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.