[squid-users] ldapseach argument and the result of LDAP machine!

From: Hamed Majnoonian <sharpknifeedge@dont-contact.us>
Date: Wed, 14 Jan 2004 20:51:53 +0330

Dear Henrik,

Here is the sample of what is the reply of ldapsearch with this
argument:

###############################
/ldapsearch -h 192.168.2.2 -vx -b dc=hov,dc=butanegroup,dc=com
###############################

######################## OUTPUT OF MY LDAP MACHINE
################################

# 3269f829-d050-4f9e-b9e7-1438fbdbc213._msdcs, hov.butanegroup.com,
Microsoft
 DNS, System, hov.butanegroup.com
dn:
DC=3269f829-d050-4f9e-b9e7-1438fbdbc213._msdcs,DC=hov.butanegroup.com,CN
=M
 icrosoftDNS,CN=System,DC=hov,DC=butanegroup,DC=com
dnsRecord:: EgAFAAXwAADEIwAAAAACWAAAAAC11jUAEAMFcGx1dG8EYmdhcwNjb20A
dc: 3269f829-d050-4f9e-b9e7-1438fbdbc213._msdcs
instanceType: 4
distinguishedName:
DC=3269f829-d050-4f9e-b9e7-1438fbdbc213._msdcs,DC=hov.butan
 egroup.com,CN=MicrosoftDNS,CN=System,DC=hov,DC=butanegroup,DC=com
objectCategory:
CN=Dns-Node,CN=Schema,CN=Configuration,DC=hov,DC=butanegroup,D
 C=com
objectClass: top
objectClass: dnsNode
objectGUID:: O5wUWy23x0m8MdyR940l7w==
name: 3269f829-d050-4f9e-b9e7-1438fbdbc213._msdcs
showInAdvancedViewOnly: TRUE
uSNChanged: 118420
uSNCreated: 118420
whenChanged: 20030708131752.0Z
whenCreated: 20030708131752.0Z

# mojganxp, hov.butanegroup.com, MicrosoftDNS, System,
hov.butanegroup.com
dn:
DC=mojganxp,DC=hov.butanegroup.com,CN=MicrosoftDNS,CN=System,DC=hov,DC=b
ut
 anegroup,DC=com
dnsRecord:: BAABAAXwAAA/OgAAAAAEsAAAAACL5jUAwKgeew==
dc: mojganxp
instanceType: 4
distinguishedName:
DC=mojganxp,DC=hov.butanegroup.com,CN=MicrosoftDNS,CN=Syste
 m,DC=hov,DC=butanegroup,DC=com
objectCategory:
CN=Dns-Node,CN=Schema,CN=Configuration,DC=hov,DC=butanegroup,D
 C=com
objectClass: top
objectClass: dnsNode
objectGUID:: KBjWva2zZ0ODeIdG1qhnZg==
name: mojganxp
showInAdvancedViewOnly: TRUE
uSNChanged: 1717985
uSNCreated: 1717985
whenChanged: 20031224112338.0Z
whenCreated: 20031224112338.0Z

# mimilani, hov.butanegroup.com, MicrosoftDNS, System,
hov.butanegroup.com
dn:
DC=mimilani,DC=hov.butanegroup.com,CN=MicrosoftDNS,CN=System,DC=hov,DC=b
ut
 anegroup,DC=com
dnsRecord:: BAABAAXwAAD5HAAAAAADhAAAAAAO1DUAwKgCYA==
dc: mimilani
instanceType: 4
distinguishedName:
DC=mimilani,DC=hov.butanegroup.com,CN=MicrosoftDNS,CN=Syste
 m,DC=hov,DC=butanegroup,DC=com
objectCategory:
CN=Dns-Node,CN=Schema,CN=Configuration,DC=hov,DC=butanegroup,D
 C=com
objectClass: top
objectClass: dnsNode
objectGUID:: HjIVuzgPnE6GPJ9iBWJRQQ==
name: mimilani
showInAdvancedViewOnly: TRUE
uSNChanged: 97791
uSNCreated: 97791
whenChanged: 20030610064555.0Z
whenCreated: 20030610064555.0Z

# test, hov.butanegroup.com, MicrosoftDNS, System, hov.butanegroup.com
dn:
DC=test,DC=hov.butanegroup.com,CN=MicrosoftDNS,CN=System,DC=hov,DC=butan
eg
 roup,DC=com
dnsRecord:: BAABAAXwAAAKAQAAAAAOEAAAAAAAAAAAwKgCaA==
dNSTombstoned: FALSE
dc: test
instanceType: 4
distinguishedName:
DC=test,DC=hov.butanegroup.com,CN=MicrosoftDNS,CN=System,DC
 =hov,DC=butanegroup,DC=com
objectCategory:
CN=Dns-Node,CN=Schema,CN=Configuration,DC=hov,DC=butanegroup,D
 C=com
objectClass: top
objectClass: dnsNode
objectGUID:: ge8nPQLkU0GIwBYbTvddLQ==
name: test
showInAdvancedViewOnly: TRUE
uSNChanged: 8602
uSNCreated: 8579
whenChanged: 20030128122418.0Z
whenCreated: 20030128120008.0Z

# notebook, hov.butanegroup.com, MicrosoftDNS, System,
hov.butanegroup.com
dn:
DC=notebook,DC=hov.butanegroup.com,CN=MicrosoftDNS,CN=System,DC=hov,DC=b
ut
 anegroup,DC=com
dnsRecord:: CAAAAAUAAABnOgAAAAAAAAAAAAAAAAAA36DZcLbawwE=
dNSTombstoned: TRUE
dc: notebook
instanceType: 4
distinguishedName:
DC=notebook,DC=hov.butanegroup.com,CN=MicrosoftDNS,CN=Syste
 m,DC=hov,DC=butanegroup,DC=com
objectCategory:
CN=Dns-Node,CN=Schema,CN=Configuration,DC=hov,DC=butanegroup,D
 C=com
objectClass: top
objectClass: dnsNode
objectGUID:: QeBVbvRGq0i+6QI90tYrjQ==
name: notebook
showInAdvancedViewOnly: TRUE
uSNChanged: 1733723
uSNCreated: 1722748
whenChanged: 20040114155240.0Z
whenCreated: 20031231074447.0Z

# fhrezaei, hov.butanegroup.com, MicrosoftDNS, System,
hov.butanegroup.com
dn:
DC=fhrezaei,DC=hov.butanegroup.com,CN=MicrosoftDNS,CN=System,DC=hov,DC=b
ut
 anegroup,DC=com
dnsRecord:: BAABAAXwAAAsOgAAAAAEsAAAAABV5jUAwKgCRQ==
dNSTombstoned: FALSE
dc: fhrezaei
instanceType: 4
distinguishedName:
DC=fhrezaei,DC=hov.butanegroup.com,CN=MicrosoftDNS,CN=Syste
 m,DC=hov,DC=butanegroup,DC=com
objectCategory:
CN=Dns-Node,CN=Schema,CN=Configuration,DC=hov,DC=butanegroup,D
 C=com
objectClass: top
objectClass: dnsNode
objectGUID:: eEJZCpldME6+7WNhwvgDPw==
name: fhrezaei
showInAdvancedViewOnly: TRUE
uSNChanged: 1715792
uSNCreated: 139934
whenChanged: 20031222054247.0Z
whenCreated: 20030804053032.0Z

# mirabedy, hov.butanegroup.com, MicrosoftDNS, System,
hov.butanegroup.com
dn:
DC=mirabedy,DC=hov.butanegroup.com,CN=MicrosoftDNS,CN=System,DC=hov,DC=b
ut
 anegroup,DC=com
dnsRecord:: BAABAAXwAABEOgAAAAAEsAAAAAAE5zUAwKgCNg==
dNSTombstoned: FALSE
dc: mirabedy
instanceType: 4
distinguishedName:
DC=mirabedy,DC=hov.butanegroup.com,CN=MicrosoftDNS,CN=Syste
 m,DC=hov,DC=butanegroup,DC=com
objectCategory:
CN=Dns-Node,CN=Schema,CN=Configuration,DC=hov,DC=butanegroup,D
 C=com
objectClass: top
objectClass: dnsNode
objectGUID:: RtxmxyQXSUS4tKfyYBWBwQ==
name: mirabedy
showInAdvancedViewOnly: TRUE
uSNChanged: 1721598
uSNCreated: 48175
whenChanged: 20031229125712.0Z
whenCreated: 20030417055808.0Z

# oemcomputer, hov.butanegroup.com, MicrosoftDNS, System,
hov.butanegroup.com
dn:
DC=oemcomputer,DC=hov.butanegroup.com,CN=MicrosoftDNS,CN=System,DC=hov,D
C=
 butanegroup,DC=com
dnsRecord:: BAABAAXwAAA7OgAAAAAEsAAAAABs5jUAwKgCTw==
dNSTombstoned: FALSE
dc: oemcomputer
instanceType: 4
distinguishedName:
DC=oemcomputer,DC=hov.butanegroup.com,CN=MicrosoftDNS,CN=Sy
 stem,DC=hov,DC=butanegroup,DC=com
objectCategory:
CN=Dns-Node,CN=Schema,CN=Configuration,DC=hov,DC=butanegroup,D
 C=com
objectClass: top
objectClass: dnsNode
objectGUID:: 1jyAZm7JLEqe0Qa2lcJbYw==
name: oemcomputer
showInAdvancedViewOnly: TRUE
uSNChanged: 1716628
uSNCreated: 1657842
whenChanged: 20031223043412.0Z
whenCreated: 20031004113139.0Z

# cserver, hov.butanegroup.com, MicrosoftDNS, System,
hov.butanegroup.com
dn:
DC=cserver,DC=hov.butanegroup.com,CN=MicrosoftDNS,CN=System,DC=hov,DC=bu
ta
 negroup,DC=com
dnsRecord:: BAABAAXwAABLOgAAAAAEsAAAAADE5zUAwKgCbQ==
dNSTombstoned: FALSE
dc: cserver
instanceType: 4
distinguishedName:
DC=cserver,DC=hov.butanegroup.com,CN=MicrosoftDNS,CN=System
 ,DC=hov,DC=butanegroup,DC=com
objectCategory:
CN=Dns-Node,CN=Schema,CN=Configuration,DC=hov,DC=butanegroup,D
 C=com
objectClass: top
objectClass: dnsNode
objectGUID:: YML6I49QmEytUXAwjDYg6A==
name: cserver
showInAdvancedViewOnly: TRUE
uSNChanged: 1727218
uSNCreated: 49367
whenChanged: 20040106121748.0Z
whenCreated: 20030419115649.0Z

# search reference
ref:
ldap://hov.butanegroup.com/CN=Configuration,DC=hov,DC=butanegroup,DC=com

# search result
search: 2
result: 0 Success

# numResponses: 90
# numEntries: 88
# numReferences: 1

############################################

The question is, is it looks good?

The second question is I am still trying to tell squid_ldap_auth to ask
my LDAP with this argument:

/squid_ldap_auth -h 192.168.2.2 -b dc=hov,dc=butanegroup,dc=com -f -u
sharpknifeedge -D dc=hov,dc=butanegroup,dc=com

And I am quite sure the argument is not OK, definitely! As I told you
the name of the AD is juno and the complete URL is
juno.hov.butanegroup.com and I want to authenticate the user
"sharpknifeedge" ...
Could you please give me some corrections?

Regards
Hamed
Received on Wed Jan 14 2004 - 10:21:49 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:06 MST