Steve Saady wrote:
I haven't looked at the script, but it sounds like it first does a search like this:I am trying to migrate from OpenLDAP to Fedora-DS. The LDAPImport utility seems like the fastest and easiest way to do it. Unfortunately, for me, it fails. At the command line, it reports:"Can't call method "get_value" on an undefined value at LdapConnectionManager.pm line 486, <STDIN> line 9."The log file reports: "LdapConnectionManager: Currently connected -- searching."TCPdump, indicates that the base DN of my search is null. I do not think this is relative, but when the script asks for the "email domain", suggesting "netscaperoot", is that my normal e-mail domain? The exampleconfuses me. Any ideas or suggestions would be appreciated.
ldapsearch -s base -b "" objectclass=* namingContextsto get a list of naming contexts on your server. When you setup Fedora DS, it should have created a suffix like
dc=host,dc=domain,dc=tldYou should probably use this one for your e-mail suffix, or domain.tld for your e-mail domain. NetscapeRoot is only used for internal operations (console, admin server) - it's not meant to be used by other applications.
You should not need to migrate standard schema files like inetorgperson.schema or core.schema - Fedora DS should already have those - unless you modified those schema files (but you wouldn't do that). You should only have to migrate things like samba.schema (which is not yet included with Fedora DS) or custom schema.Which brings me to my current dilemma... Unable to use LDAPImport, I try the ol-schema-migrate.pl script, re-dir to a new file (i.e., perl ./ol-schema-migrate.pl inetorgperson.schema > XXinetorgperson.ldif). What should I call those resulting files? I assume I should call them *.ldif, but how do I determine what numeric prefix to give them? The highest numbers I have currently are 60 (60pam-plugin.ldif), and then 99 (99user.ldif). Should I just number mine counting up from 61?
-- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
-- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users