Hi All
I need some help on a vbscript that uses ldap_matching_rule_in_chain to add all users whose top level manager into a
Distribution List. I have this portion working perfectly and it returns exactly what i needed but im stuck as to how to check if they are in a group and if not add them...
It appears your text file has all the information seperated by a comma. You should simply import that info into an excel spreadsheet, label the columns accordingly, and then use the script mentioned above to make your changes.
What is it you are trying to do with the logon script?.IF you can try and post the whole script.
I would also find out from him, when he is entering his credentials is he putting DOMAIN\username or just his username. That could be causing some errors. I had that happen to me..
As usual I need your assistance on this one. If this was a regular Vbscript, I could import the users from a text file, and do it that way with no problem(thanks to you), but with this ASP page, I have no clue how to.
Got it...used your dictionary info to grab the user information, and then did a For each....next
---------------------------------------
Do Until objRecordSet.EOF
StrDN = objRecordSet.Fields("distinguishedName")
strManager = objRecordSet.Fields("managedby").Value
groupCN =...
Hello
The bottom script is used ot retrieve the ManagedBy attribute of a Distribution List as part of our termination process. Since we have thousands of DL's, when we cannot afford to have the script loop thru each DL each time a username is called.(I realize I may have cause this by the...
Excellent...it worked thank you VERY much.
If you are up for another challenge here is my next question.
http://www.tek-tips.com/viewthread.cfm?qid=1485700&page=1
Hello again.
I have an .aspx home page that allows you to enter multiple users(one on each line) and when you click submit it should query A/D and return the requested attribs. Problem is, it only works when I use a single text box and enter one user, but when I made it into a multiple text box...
Hello All
I use the below query to retrieve a username and extensionattribute7 from Active Directory. attrib7 contains version numbers of backup software installed on end user machines. i.e 6.2, 8.2.1 etc...
I would like to take the info from that attrib and find out how manu total versions of...
yes, rather than put my company's info, i put MS's example.
Ya never know who is lurking on these forums i dont need to get crap for posting our Domain info.
I have a number of DL's that I need to update the managed by field. All the DL's are located in the same OU. The script I am using is the following
Set objGroup = GetObject _
("LDAP://cn=Scientists,ou=R&D,dc=NA,dc=fabrikam,dc=com")
objGroup.Put "managedBy"...
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.