以下是我查询LDAP数据库的结果
代码:
# extended LDIF
#
# LDAPv3
# base <dc=du,dc=com> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#
# du.com
dn: dc=du,dc=com
objectClass: dcObject
objectClass: organization
o: Example Company
dc: du
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
我执行smbldap-populate的结果:
代码:
adding new entry: ou=Account,dc=du,dc=com
failed to add entry: invalid structural object class chain (organizationalUnit/organization) at /usr/sbin/smbldap-populate line 500.
adding new entry: ou=Users,ou=Account,dc=du,dc=com
failed to add entry: No such object at /usr/sbin/smbldap-populate line 500.
adding new entry: ou=Groups,ou=Account,dc=du,dc=com
failed to add entry: No such object at /usr/sbin/smbldap-populate line 500.
adding new entry: ou=Computers,ou=Account,dc=du,dc=com
failed to add entry: No such object at /usr/sbin/smbldap-populate line 500.
adding new entry: ou=Idmap,ou=Account,dc=du,dc=com
failed to add entry: No such object at /usr/sbin/smbldap-populate line 500.
failed to search entry: invalid DN at /usr/sbin/smbldap-populate line 480.