[Date Prev][Date Next]
padl migration tools naming suffix problem (ITS#470)
Full_Name: Karl O. Pinc
Submission from: (NULL) (184.108.40.206)
Maybe openldap.org cares about this and maybe not...
Using migration tools version 3.21 (as providedin the RedHat 6.1 openldap
The documentation says:
$DEFAULT_MAIL_DOMAIN The mail domain used for the mail
attribute in migrate_passwd.pl when
extended schema support is enabled. You may
override this with the DEFAULT_MAIL_DOMAIN
$DEFAULT_BASE The naming suffix to use in
entries' distinguished names. If
undefined, this will be constructed by
mapping the mail domain name into a
distinguished name (eg aceindustry.com
becomes dc=aceindustry,dc=com ). You may
override this with the LDAP_BASEDN
1) The LDAP_DEFAULT_MAIL_DOMAIN is the shell variable that sets the default
domain, not DEFAULT_MAIL_DOMAIN.
2) But, the naming suffix is _not_ constructed from the mail domain when the
domain is set with LDAP_DEFAULT_MAIL_DOMAIN, the LDAP_BASEDN shell variable is
the _only_ way to set the naming suffix.
A little shuffling of the assignment order in the perl script
would fix this.