I have sussed the authenticated bind stuff and now it works like a dream.
thanks to r l mueller for some fantastic code..
<%
username = "MyUsername"
password = "MyPassword"
strusername = "adf\" & username
strGrpPassed = false
group = "gISStaff"
Dim objGroupList, objUser, strDN
On Error...
Thanks, that seems to do the job when i run it from my machine.
But our ldap servers require an authenticated bind and i am calling this from a web page any idea how i would pass the credetials before doing the getobject("LDAP:")
I Have the credetials
Cheers
Set objFSO = CreateObject("Scripting.FileSystemObject")
'input text file
Set objTF = objFSO.OpenTextFile("test.txt")
'output text file
Set f = objFSO.OpenTextFile("output.txt",2,true)
do while not objTF.AtEndofStream
vText = ""
for i = 1 to 4
vText = vText & objTF.Readline
next 'i...
First thing you will need to do is create a connection to the database,
see
http://www.4guysfromrolla.com/webtech/faq/Databases/faq4.shtml
this will run you throu the basics of connecting and retrieving your field data.
This should do the trick, test.txt is the file name located in to same folder as the script.
i have just got it to put the results in a message box
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTF = objFSO.OpenTextFile("test.txt")
vText = ""
do while not...
Hi all,
I am writing a script to check if a users is a member of a group recursivly.
i am trying to pick up which groups are in a group so i can find out if my user in linked to any of these groups but isMember() only seems to return users?
has anyone done any recursive group checking?
e.g...
Hi All,
i know next to nothing about tomcat but i am trying to learn.
I have set up tomcat and i can run the sample jsp's and i have writen some basic jsp's that work fine.
I want to write a page that uses a class thats in a jar called VistaSDKClient.jar the class is called...
Hi all,
i have this code of a kb article from MS
i am trying to send multiple form feilds via XMLHTTP
the below code shows me how to send on field... how do i send multiple feilds?
eg DataTopSend + "Id=1 Name=fred age=62"
<%
DataToSend = "id=1"
dim xmlhttp
set xmlhttp =...
Hi all
I have a simple xml dbfile that i want to render using an xsl stylesheet,
at the moment in order to get it to work i have to put
<?xml-stylesheet type="text/xsl" href="Catalogue.xsl"?>
at the top of the file.
the problem i have is that i dont produce the file, is...
you could writ a session vaiable
or a cookie
' to set a session variable on your first page
session("mysessionvarname") = myvar
'to request a session variable on you second page
mynewvar = session("mysessionvarname")
or you could write a cookie
' to set a cookie on your...
Can anyone assist me converting this simple vbscript to javascipt?
i know nothing about javascript
<%
'===========================================
'== Here are the variables you can customise
'===========================================
AppTitle = "Testing"
AppUsername =...
I am opening a page in the left hand search window an tryning to submit the results to a page that opens in the main window can anyone help
<SCRIPT LANGUAGE="JScript">
window.open("p_contents_garry.htm", "_search" ,"top=115...
i am tring to use the fp webot to upload a file
i want to pass it a dynamic variable where u-file="_private/form_results.csv" i want to give it a path
can anyone help
<form method="POST" enctype="multipart/form-data" action="--WEBBOT-SELF--"...
i am tring to connect a product to our active directory using ldap
this works fine
cn=fred bloggs,ou=sales,ou=bham,dc=myorg,dc=com
but i need to use the 'samaccount'(username/logon) instead of the 'commonname'
does anyone know what the syntax would be?
I have a web site that connects to an sql server. when Anonymous Access Settings are set on the site it works fine. when i try to secure parts of the site using iis users (frontpage ext 2002)it fails to connect to the sql server, but only on the secured parts...
can anyone help....this is quite...
if your machine is not a member of the domain when you set up the outlook profile you must go to the advance tab an set 'intergrated passord authentication' to 'none'
it will then give you a login bo when you open outlook
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.