Okiiyama:
You are correct. I don't know how I missed that. Must have been tired. Anyway, thanks for taking a look at my code and pointing out my silly mistake.
Cheers.
"Behind every great fortune there lies a great crime", Honore De Balzac
Hi all:
I have created a .js file that have some functions that will get executed when the application loads on a user's browser. Inside the functions, I was trying to prevent some of the codes from being executed depending on the page's url and it works if I only supply one page url in the...
Hi all;
I have created a webform that has three text fields, txtOldPassword, txtNewPassword, txtVerifyPassword. What I was trying to do is based on user's logon information, I will display his/her username on the top of the page and allow them to change their password. But unfortunately I'm not...
Yeah, I have done ColdFusion for the last four years and just started programming in .NET like less than a year ago.
"Behind every great fortune there lies a great crime", Honore De Balzac
Hi all:
I want to know the pros and cons of using .NET vs Coldfusion and I was wondering if you guys have any ideas as to why one should use .NET instead of Coldfusion. One of the advantages of .NET is OO programming and using base class of libraries across several applications so it will...
tsuji:
The OU that I specified is there and I went ahead and put what you suggested and an not getting any error from that part. Thanks for the idea though!!!
"Behind every great fortune there lies a great crime", Honore De Balzac
Guys, I have tried my previous scripts and the script that tsuji recommended on different OU by adding a bunch of users and the two scripts work, even the one that should delete only one record/user Now I'm thinking if there is some sort of a lock mechanism that will prevent from a script...
tsuji:
Thanks for the response. I tried you approach and now I'm getting the following error number "-2147016656". I also tried the following script to delete only one record from the same OU and I get another error "There is no such object on the server"
'Parent container of object to be...
tfg13:
Thanks for the response. I removed "on error resume next" and now I'm getting an error "There is no such object on the server" somewhere close to where I have the following lines of code.
Else
with oContainer
.Delete "user","CN=" & fullName
end with
"Behind...
Hello all:
I have written a vbs script that was supposed to loop through an excel spreadsheet and delete users' account from active directory. I'm not getting any errors when I run the script but it also doesn't delete the accounts that are listed in the active directory. I'm using Windows 2003...
Thanks ouzojd for the response but I have already tried playing with IIS and web.config file and was not able to accomplish what I'm looking for. Any other ideas?
Thanks.
"Behind every great fortune there lies a great crime", Honore De Balzac
I have seen a few posts asking a similar question but couldn't find any answer so far. I use Active Directory authentication for users to logon to a site that is created using SharePoint Portal. The site and the authentication works fine but would like to take it to the next level. Now I want to...
Seaspray0:
Thanks for the response. I can bring up MMC from a command prompt and by doing Start>Run>mmc.exe. It doesn't crash unless I try to access the properties of the websites under IIS. The only thing that has happened to the server was that I removed FrontPage Server Extensions 2002 from...
Hell all:
We have a windows 2k server that is hosting all our web development work. Since it's a development server, there are more than one person who is touching it and all of a sudden as of two days ago, we began having a problem with it. Namely, every time when we try to access the...
For the first question where you want "None Selected" to be the default, you could use the following function and call it on the onLoad event handler.
**** Assuming that "None Selected is your first item in the select box********
function setDefault(){...
Ok, guys I might have spoken too soon. The script that I have works only if the number of users in the specified OU is less than 50. When I try to use the script on an OU that has thousands of users then it only updates half of the record. Can someone please look at my script and tell me what I...
Sheco I don't know what you are trying to say in your last post.
Anyway, I figured it out myself and here is the script for anyone who might be interested. The code loops thru all accounts and checks "Password never expires" check box for each user in the OU that you specified.
Const...
Ok, I came up with this with a help of a Microsoft website. This script does exactly what I want but only for one record "testFirst testLast". Can someone help me out on how to do it for multiple users in one OU?
Const ADS_UF_DONT_EXPIRE_PASSWD = &h10000
Set objUser = GetObject...
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.