Created
March 23, 2020 22:18
-
-
Save sjorge/66faadd6e97c57082858d4d690d2c0dc to your computer and use it in GitHub Desktop.
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
ldapsearch -xZ -H ldap://ldap1.acheron.be -D "cn=proxyagent,dc=acheron,dc=be" -w xxx -b "dc=acheron,dc=be" "(&(objectClass=nisDomainObject)(nisDomain=acheron.be))" | |
# extended LDIF | |
# | |
# LDAPv3 | |
# base <dc=acheron,dc=be> with scope subtree | |
# filter: (&(objectClass=nisDomainObject)(nisDomain=acheron.be)) | |
# requesting: ALL | |
# | |
# acheron.be | |
dn: dc=acheron,dc=be | |
objectClass: top | |
objectClass: organization | |
objectClass: dcObject | |
objectClass: nisDomainObject | |
dc: acheron | |
o: acheron | |
description: Acheron Systems | |
nisDomain: acheron.be | |
# search result | |
search: 3 | |
result: 0 Success | |
# numResponses: 2 | |
# numEntries: 1 |
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
ldapclient -v init -a profileName=default -a defaultServerList="ldap1.acheron.be" -a proxyDN=cn=proxyagent,dc=acheron,dc=be -a proxyPassword=xxx -a domainName=acheron.be | |
Parsing profileName=default | |
Parsing defaultServerList=ldap1.acheron.be | |
Parsing proxyDN=cn=proxyagent,dc=acheron,dc=be | |
Parsing proxyPassword=ld4p4uthPr0xy | |
Parsing domainName=acheron.be | |
Arguments parsed: | |
domainName: acheron.be | |
proxyDN: cn=proxyagent,dc=acheron,dc=be | |
profileName: default | |
proxyPassword: ld4p4uthPr0xy | |
defaultServerList: ldap1.acheron.be | |
Handling init option | |
About to configure machine by downloading a profile | |
Can not find the nisDomainObject for domain acheron.be |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment