Description Export the Check Point User Database to a file. The file may be in one of the following formats:
fwm dbimport
ldapmodify
Syntax
To export the User Database to a file that can be used with fwm dbimport
:
> fwm dbexport [ [-g group | -u user] [-d delim] [-a {attrib1, attrib2, ...} ] [-f file] ]
To export the User Database as an LDIF file:
> fwm dbexport -l -p [-d] -s subtree [-f file] [-k IKE-shared-secret]
Parameter |
Description |
---|---|
|
Specifies a group ( |
|
Specifies that only one user ( |
|
Debug flag |
|
Specifies the attributes to export, in the form of a comma-separated list, between {} characters, for example, |
|
file specifies the name of the output file. The default output file is $FWDIR/conf/user_def_file. |
|
Create an LDIF format file for importation by an LDAP server. |
|
The profile name. |
|
The branch under which the users are to be added. |
|
This is the Account Unit's IKE shared secret (IKE Key in the Encryption tab of the Account Unit Properties window.) |
Comments
-a
parameter to specify a list of attributes, and then import the created file using fwm dbimport
, the attributes not exported will be deleted from the user database.fwm dbexport
and fwm dbimport
(non-LDIF Usage) cannot export and import user groups. To export and import a user database, including groups, proceed as follows:* Run fwm dbexport
on the source Security Management server.
* On the destination Security Management server, create the groups manually.
* Run fwm dbimport
on the destination Security Management server.
The users will be added to the groups to which they belonged on the source Security Management server.
fwm dbexport
once for each subtree, for example:fwm dbexport -f f1 -l -s ou=marketing,o=WidgetCorp,c=us
fwm dbexport -f f2 -l -s ou=rnd,o=WidgetCorp,c=uk
Next, import the individual files into the LDAP server one after the other. For information on how to do this, refer to the documentation for your LDAP server.
Example Suppose the User Database contains two users, "maryj" and "ben".
fwm dbexport -l -s o=WidgetCorp,c=us
creates a LDIF file consisting of two entries with the following DNs:
cn=ben,o=WidgetCorp,c=us
cn=maryj,o=WidgetCorp,c=us