Skip to content

Instantly share code, notes, and snippets.

View jeremyshantz's full-sized avatar

Jeremy Shantz jeremyshantz

View GitHub Profile
@jeremyshantz
jeremyshantz / Query LDAP from R
Created January 26, 2015 20:22
Query LDAP from R
library(RCurl)
val <- getURL('ldap://ldap.domain.net/DC=domain,DC=net?sAMAccountName?sub?(employeeID=0123456)',
.opts=list(userpwd = "DOMAIN\\domainid:password"))