Code:
ldapsearch -x
# extended LDIF
#
# LDAPv3
# base <> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#
# test.net dn: dc=test,dc=net
o: Organisation Name
objectClass: top objectClass: domain
objectClass: domainRelatedObject
objectClass: dcObject
objectClass: nisDomainObject
dc: test
associatedDomain: test.net
nisDomain: test.net
# Hosts, test.net
dn: ou=Hosts,dc=test,dc=net
ou: Hosts
objectClass: top
objectClass: organizationalUnit
# Rpc, test.net dn: ou=Rpc,dc=test,dc=net
ou: Rpc
objectClass: top
objectClass: organizationalUnit
# Services, test.net
dn: ou=Services,dc=test,dc=net
ou: Services
objectClass: top
objectClass: organizationalUnit
# netgroup.byuser, test.net
dn: nisMapName=netgroup.byuser,dc=test,dc=net
nisMapName: netgroup.byuser
objectClass: top
objectClass: nisMap
# Mounts, test.net
dn: ou=Mounts,dc=test,dc=net
ou: Mounts
objectClass: top
objectClass: organizationalUnit
# Networks, test.net
dn: ou=Networks,dc=test,dc=net
ou: Networks
objectClass: top
objectClass: organizationalUnit
# People, test.net
dn: ou=People,dc=test,dc=net
ou: People
objectClass: top
objectClass: organizationalUnit
# Group, test.net
dn: ou=Group,dc=test,dc=net
ou: Group objectClass: top
objectClass: organizationalUnit
# Netgroup, test.net
dn: ou=Netgroup,dc=test,dc=net
ou: Netgroup
objectClass: top
objectClass: organizationalUnit
# Protocols, test.net
dn: ou=Protocols,dc=test,dc=net
ou: Protocols
objectClass: top
objectClass: organizationalUnit
# Aliases, test.net
dn: ou=Aliases,dc=test,dc=net
ou: Aliases
objectClass: top
objectClass: organizationalUnit
# netgroup.byhost, test.net
dn: nisMapName=netgroup.byhost,dc=test,dc=net
nisMapName: netgroup.byhost
objectClass: top
objectClass: nisMap
# ldapuser, Group, test.net
dn: cn=ldapuser,ou=Group,dc=test,dc=net
objectClass: posixGroup
objectClass: top
cn: ldapuser
gidNumber: 500
# user00, People, test.net
dn: uid=user00,ou=People,dc=test,dc=net
uid: user00
cn: user00
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
shadowMax: 99999
shadowWarning: 7
loginShell: /bin/bash
uidNumber: 600
gidNumber: 500
homeDirectory: /home/user00
gecos: user00
# user01, People, test.net
dn: uid=user01,ou=People,dc=test,dc=net
uid: user01
cn: user01
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
shadowMax: 99999
shadowWarning: 7
loginShell: /bin/bash
uidNumber: 601
gidNumber: 500
homeDirectory: /home/user01
gecos: user01
# user02, People, test.net
dn: uid=user02,ou=People,dc=test,dc=net
uid: user02
cn: user02
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
shadowMax: 99999
shadowWarning: 7
loginShell: /bin/bash
uidNumber: 602
gidNumber: 500
homeDirectory: /home/user02
gecos: user02
# user03, People, test.net
dn: uid=user03,ou=People,dc=test,dc=net
uid: user03
cn: user03
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
shadowMax: 99999
shadowWarning: 7
loginShell: /bin/bash
uidNumber: 603
gidNumber: 500
homeDirectory: /home/user03
gecos: user03
# test00, People, test.net
dn: uid=test00,ou=People,dc=test,dc=net
uid: test00
cn: test00
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
shadowMin: 0
shadowMax: 99999
shadowWarning: 7
loginShell: /bin/bash
uidNumber: 700
gidNumber: 500
homeDirectory: /home/test00
# test01, People, test.net
dn: uid=test01,ou=People,dc=test,dc=net
uid: test01
cn: test01
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
shadowMin: 0
shadowMax: 99999
shadowWarning: 7
loginShell: /bin/bash
uidNumber: 701
gidNumber: 500
homeDirectory: /home/test01
# profile, test.net
dn: ou=profile,dc=test,dc=net
objectClass: top
objectClass: organizationalUnit
ou: profile
# proxyagent, profile, test.net
dn: cn=proxyagent,ou=profile,dc=test,dc=net
objectClass: top
objectClass: person
sn: proxyagent
cn: proxyagent
# auto.master, test.net
dn: ou=auto.master,dc=test,dc=net
objectClass: top
objectClass: automountMap
ou: auto.master
# search result
search: 2
result: 0 Success
# numResponses: 24
# numEntries: 23