473,394 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Active Directory & Parameter

Guten Tag

Ich sollte ein Script machen, das beim Einloggen mit Win2000, Parameter
übernimmt.

Zum Beispiel, wenn sich der User Schaub02 einlogt, das er auf einem Server
eine Datei Gemappt bekommt.

Ich benötige hinweise, wie und wo ich für meine Problemlösung suchen muss
und wie ich anfangen soll.

Besten Dank!
Greg

PS: Ich bin in dem Bereich Amfänger
Nov 21 '05 #1
6 2135
Greg wrote:
Guten Tag

Ich sollte ein Script machen, das beim Einloggen mit Win2000, Parameter
übernimmt.

Zum Beispiel, wenn sich der User Schaub02 einlogt, das er auf einem Server
eine Datei Gemappt bekommt.

Ich benötige hinweise, wie und wo ich für meine Problemlösung suchen muss
und wie ich anfangen soll.

Besten Dank!
Greg

PS: Ich bin in dem Bereich Amfänger

this is an english newsgroup.
--

Daniel
MCSE, MCP+I, MCP in Windows 2000/NT

--------------------------------------
remove the 2nd madrid from my mail address to contact me.
Nov 21 '05 #2
Greg,

This is not a scripting newsgroup for Win2000 server.

I think that the best place for this question is a Server newsgroup.

I hope this helps,

Cor
Nov 21 '05 #3
Wie schon gesagt, ich bin Neu hier.

Wissen Sie wo ich eine MSDN Newsgroups auf Deutsch finde,
vieleicht ein Link.
Danke!

Mit freundlichen Grüssen
Greg

"Daniel" wrote:

this is an english newsgroup.
--

Daniel
MCSE, MCP+I, MCP in Windows 2000/NT

--------------------------------------
remove the 2nd madrid from my mail address to contact me.

Nov 21 '05 #4
Es geht mir auch um den VB-Scribt und nicht direckt um den Server2000, 2003
oder Workstation

Es geht um Login-Script

"Cor Ligthert" wrote:
Greg,

This is not a scripting newsgroup for Win2000 server.

I think that the best place for this question is a Server newsgroup.

I hope this helps,

Cor

Ich habe zum Beispiel diesen Code bekommen, aber brauche mehr infos wie ich
das ändern muss oder umwandeln, muss ich eine Consolenanwendung machen um MMC
zu steuern oder oder, brauche diesbezüglich hilfe:

Listing 1: Enum_groups.vbs

option explicit

Dim objArgs, strGroupDN
set objArgs = WScript.Arguments
if objArgs.Count <> 1 then
Dim objRootDSE
set objRootDSE = GetObject("LDAP://RootDSE")
strGroupDN = "cn=Domain Admins,cn=users," &
objRootDSE.Get("defaultNamingContext")
else
strGroupDN = objArgs.Item(0)
end if

Dim dicSeenGroupMember
set dicSeenGroupMember = CreateObject("Scripting.Dictionary")
Wscript.Echo "Members of " & strGroupDN & ":"
DisplayMembers "LDAP://" & strGroupDN, " ", dicSeenGroupMember

Function DisplayMembers (strGroupADsPath, strSpaces, dicSeenGroupMember)

Dim objGroup, objMember
set objGroup = GetObject(strGroupADsPath)
for each objMember In objGroup.Members

Wscript.Echo strSpaces & objMember.Get("distinguishedname")
if objMember.Class = "group" then

if dicSeenGroupMember.Exists(objMember.ADsPath) then
Wscript.Echo strSpaces & " ^ already seen group member " & _
"(stopping to avoid loop)"
else
dicSeenGroupMember.Add objMember.ADsPath, 1
DisplayMembers objMember.ADsPath, strSpaces & " ", _
dicSeenGroupMember
end if

end if

next
End Function
Nov 21 '05 #5
Grec.

microsoft.public.de. are the newsgroups where the german language is used,

I advise you really to take first the active directory one.

From there you will probably get your script or the best newsgroup for that.

Cor
Nov 21 '05 #6
"Greg" <Gr**@discussions.microsoft.com> schrieb:
Es geht mir auch um den VB-Scribt und nicht direckt um den Server2000,
2003
oder Workstation


<URL:news://news.microsoft.com/microsoft.public.de.german.scripting.wsh>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Hermes | last post by:
Hi all, We have a web page which validates users againt active directory (kinda), Effectively the code we use will check the user's password and if successful creates some session's for what...
2
by: James Allan | last post by:
Hello -- I'm trying to get SQL Server 2000 on a Windows 2000 Server to be able to query an Active Directory. We've got two domain servers one Win2000 and one Win2003. However, I'm having...
10
by: huzz | last post by:
I have web application that quaries the Active Directory to get user details.. everything works fine but someday I'll get System.Runtime.InteropServices.COMExection and if I restart the client...
0
by: Shri | last post by:
hi i am new to active directory and stuff can some one please help me in finding all "sites" and "subnets" from active directory using C#.net thanks in advance red
10
by: Hriday | last post by:
Hi there, Please help me..It is urgent This is Hriday, working on windows authentication with Active Directory... My requirment is when a user sends a request to my web Applicatoin I want to...
3
by: Demetri | last post by:
Hello, My company has charged me with creating a web service that will validate a user and return the user's roles via Active Directory. The requirement is that the web service must return...
2
by: P Webster | last post by:
We recently moved a web site that validated user credentials in Active Directory from IIS 5.1 to IIS 6, and the validation code no longer works. The web.config file is set to Windows authentication...
0
by: mduff | last post by:
This is actually a great script that will help authenticate your username and password within your domain. One thing I would correct is directly above the line that indicates: Set oADsObject =...
1
by: Tim | last post by:
Folks, I have 3 loosely linked problems which I am would appreciate feedback on. 1). T-Sql and Active directory roles. We want to be able to control access to data within a table based on a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.