-
-
Save alpoza/b3b0af1a116a875215c4ffa27f0a24ed to your computer and use it in GitHub Desktop.
Query LDAP from R
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(RCurl) | |
val <- getURL('ldap://ldap.domain.net/DC=domain,DC=net?sAMAccountName?sub?(employeeID=0123456)', | |
.opts=list(userpwd = "DOMAIN\\domainid:password")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment