[389-users] domain vs organizationalUnit+dcObject

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Trying to practise myself with LDAP, I change the top ldif entry ( top 
container) from "domain" to organizationalUnit+dcObject  as follows:

1 Using objectclass domain:
dn: dc=xen2vm1,dc=example,dc=com
objectClass: top
objectClass: domain
dc: xen2vm1

[... other entries ... for users ]


2. Using objectclass organizationalUnit

dn: dc=xen2vm1,dc=example,dc=com
objectclass: top
objectclass: organizationalunit
objectclass: dcObject
ou: xen2vm1.example.com
dc: xen2vm1

[... other entries ... for users ]



In both cases, other entries below dc=xen2vm1,dc=example,dc=com are the 
same.

In the first case, the command "ldapsearch -x -b 
dc=xen2vm1,dc=example,dc=com -h xen2vm1.example.com" returns all other 
entries.

In the second case the above command return no errors and nothing at all.

I am new with LDAP and cannot figure out what's wrong with the 2nd case. 
Any advice is greatly appreciated.

Vu




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux