LDAP

    Windows Scripting를 이용해 AD에 LDAP과 ADSI를 이용한 사용자 추가

    Windows Scripting과 ADSI 인터페이스를 이용해 LDAP 프로토콜을 이용하여 AD에 사용자를 추가하는 간단한 코드를 다음과 같이 수행해 보았다. Set objRootDSE = GetObject("LDAP://rootDSE") Set objContainer = GetObject("LDAP://cn=Users," & _ objRootDSE.Get("defaultNamingContext")) For i = 1 To 1000 Set objLeaf = objContainer.Create("User", "cn=UserNo" & i) objLeaf.Put "sAMAccountName", "UserNo" & i objLeaf.SetInfo Next Wscript.Echo "1000 Users create..

    Active directory how to

    아 AD, LDAP... 죽일넘들 ㅡㅡ;; How to create a file share using .Net framework How to add a user to file access permissions How to get file security information using DirectoryServices How to get list of groups user is member of How to get list of domains in Active Directory How to get members of a windows group. How to get user SID using DirectoryServices classes How to add a new user account in your ..