USER CREATE

Level

user+modify

History

DomainName appears in 3.4.0

Description

Create a new user

Implementation notes

a call to fw_ldap_create_user, (), with a check for forbidden/reserved names.

Usage

uid=<uid> name=<name> [gname=<givenname>] [domainname=<ldap>]

Returns

the DN of the new user, or an error message (internal error / LDAP error).

Remark

"uid" is the LDAP reference for user login.
Some uid are forbidden (admin,ha...).
Check duplicated user (DN, login...).

Example

USER CREATE jd "DUPONT" Jean
100 Dn="cn=Jean DUPONT,ou=users,o=stormshield,dc=int" CACHE_CATEGORY user