Stop Group

Usage

stop group $group

Description

The command stop group is used to stop a REVLY Virtual Group record. Emails sent to stopped groups will bounce. Stopped groups are not able to login to services.

Symbol

stop group

Cardinal

action-identifier

Language

Group Admin

Module

Admin

Parameters

ChangeDate

usage: changedate $timestamp

description: A Unix timestamp representing the last time the group record was modified.

default: Current timestamp

LDAP Suffix

usage: ldap suffix $ldapsuffix

description: The base search path of the LDAP tree.

default: revly

Actions

- Generate a LDIF file to stop the group.

- Execute ldapmodify to stop the group in OpenLDAP.

Template

# Stop virturalGroup
dn: group=:#GROUP#:,o=groups,dc=:#LDAP_SUFFIX#:
changetype: modify
replace: active
active: FALSE
-
replace: delete
delete: TRUE
-
replace: changeDate
:#CHANGE_DATE#:

Return Codes

CodeHuman Readable Output
0Stopped the group '$group'.
1The group '$group' does not exist.

Example

Input

stop group example

Generated LDIF file

# Stop virturalGroup
dn: group=example,o=groups,dc=revly
changetype: modify
replace: active
active: FALSE
-
replace: delete
delete: TRUE
-
replace: changeDate
changeDate: 1419358202

Output

Stopped the group 'example'.

Returncode

0