Novell is now a part of Micro Focus

Moving iFolder objects to Another Container

Novell Cool Solutions: Feature

Digg This - Slashdot This

Posted: 14 Jan 2003

Heads up: If you ever need to move iFolder objects to a different container, you'll need to follow these steps. You can't use the usual administration tools, like ConsoleOne.

Also keep in mind that you can only move iFolder objects if a special admin account is used for iFolder Administration. These admin users must be in the same container as the iFolder objects.

Here's the right way to move iFolder objects like these:

  • iFolder_ldapxx
  • iFolder_serverxx
  • iFolder_Settings

1. Stop iFolder (NetWare: stopfolder, Microsoft Windows: use services to stop IIS)

2. Create an LDIF file (see Note below). This file must contain all the objects that need to be moved. Also include the admin, if a special admin is used.

3. Run ICE:
ICE.EXE -S LDIF -f C:\MOVEIF.LDIF -D LDAP -s <LDAP Server> -p <LDAP port> -d CN=Admin,O=<ORG> -w <password> -v

The LDAP server needs to have a copy of [ROOT], as it is only possible to move objects from a [ROOT] server, or a server which is a master of the partition where the objects exist.

4a. For NetWare:
Edit SYS:\APACHE\IFOLDER\SERVER\HTTPD_ADDITIONS_NW.CONF and change the parameter "LdapLoginDnContext" to the new container. There are two entries, one for HTTP, and one for HTTPS. Make sure that you alter both entries.

4b. For Windows:
Using REGEDIT.EXE, modify "HKLM\System\CurrentControlSet\Services\W3SVC\iFolderServer\LdapLoginDnContext" to point to the new container.

5. Using ConsoleOne, modify the iFolder_ldapXX object(s) -> 'Other Tab' -> iFolderLDAPContexts.
Make sure that the first context is the context to which the objects was moved. Do this for each iFolder_ldapXX object.

6. Start iFolder.

7. Login to the iFolder server: /iFolderServer/Admin>https://<IPorDNS>/iFolderServer/Admin, go to "User LDAPs", select each of the servers, and make sure that "Contexts" are correct. If nothing is visible, then go back to 5 and make sure that the iFolder_ldapXX objects have the correct information.


Create an ldif file: (C:\MOVEIF.LDIF)
version: 1

dn: CN=if_admin,O=<ORG>
changetype: moddn
newrdn: CN=if_admin
deleteoldrdn: 1
newsuperior: OU=<SUBORG>,O=<ORG>

dn: CN=iFolder_ldapXX,O=<ORG>
changetype: moddn
newrdn: CN=iFolder_ldap01
deleteoldrdn: 1
newsuperior: OU=<SUBORG>,O=<ORG>

dn: CN=iFolder_serverXX,O=<ORG>
changetype: moddn
newrdn: CN=iFolder_server01
deleteoldrdn: 1
newsuperior: OU=<SUBORG>,O=<ORG>

dn: CN=iFolder_Settings,O=<ORG>
changetype: moddn
newrdn: CN=iFolder_Settings
deleteoldrdn: 1
newsuperior: OU=<SUBORG>,O=<ORG>

dn: CN=iFolder_ServerAgent,O=<ORG>
changetype: moddn
newrdn: CN=iFolder_ServerAgent
deleteoldrdn: 1
newsuperior: OU=<SUBORG>,O=<ORG>

For more info see TID 10075267

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions.

© Copyright Micro Focus or one of its affiliates