dsidm not work with imported openldap accounts

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

 



Hello, I would like to migrate my old openldap server to 389-ds (CentOS 8). I tried to upload
the old users from the openldap server into 389-ds, but if I then try to use the dsidm command I get the following
error message: "Error: No object exists given the filter criteria ... "

# john, people, example.com
dn: uid=john,ou=people,dc=example,dc=com
objectClass: top
objectClass: person
objectClass: posixAccount
objectClass: shadowAccount
uid: john
cn: John
uidNumber: 5000
gidNumber: 5000
homeDirectory: /home/john
shadowLastChange: 18170
loginShell: /bin/bash
gecos: John Brown
shadowExpire: 24444
sn: Brown

Is it a schema problem? Does dsidm only work with accounts that have the schema of DS 1.4?
In 389-ds there is an openldap_to_ds migration script, but it seems to me that it keeps the same
schema for the account after migration, at this point it is better to recreate all the accounts with the new DS 1.4 schema
starting from the openldap data?


# john, people, example.com
dn: uid=john,ou=people,dc=example,dc=com
objectClass: top
objectClass: nsPerson
objectClass: nsAccount
objectClass: nsOrgPerson
objectClass: posixAccount
objectClass: shadowAccount
uid: john
cn: John Brown
uidNumber: 5000
gidNumber: 5000
homeDirectory: /home/john
shadowLastChange: 18170
loginShell: /bin/bash
displayName: John Brown
shadowExpire: 24444


Best regards,
Alberto Crescente.
_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[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