/usr/share/openldap/migration/
Change passwd to ldif:
migrate_passwd.pl
Change group to ldif:
migrate_group.pl
Modify migrate_passwd.pl:
if ($DEFAULT_MAIL_HOST) {
print $HANDLE "mailRoutingAddress: $user\@$DEFAULT_MAIL_HOST\n";
print $HANDLE "mailHost: $DEFAULT_MAIL_HOST\n";
print $HANDLE "mailLocalAddress: $user\@$DEFAULT_MAIL_DOMAIN\n";
print $HANDLE "objectClass: inetLocalMailRecipient\n";
}
Modify migrate_common.ph:
$DEFAULT_MAIL_DOMAIN = "kirika.idv.tw";
$DEFAULT_BASE = "ou=linux,dc=osa,dc=com"
$DEFAULT_MAIL_HOST = "linux.kirika.idv.tw"
$EXTENDED SCHEMA = 1;
Blog Archive
-
▼
2006
(19)
-
▼
December
(19)
- Use OpenSSL to Get Hash Values
- Linux Hostname
- Linux File Access Permissions
- LDAP with TLS
- Home Directory Solution for LDAP Linux Users
- LDAP Replica
- LDAP Partition
- Linux 開機時設定
- 提示符號含所在路徑
- Fedora 5 Console Font
- LDAP vs. Linux Account
- LDAP - osa_top.ldif
- LDAP - top.ldif
- LDAP vs. Outlook Express - kevin.ldif
- LDAP vs. Outlook Express - userdefine.schema
- RedHat RPM
- OpenLDAP 指令
- Certification
- 進階 vi 教學
-
▼
December
(19)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment