5.2 LDAP

This example shows how to create a SetQuota Action Object using LDAP commands with an LDIF (LDAP Directory Interchange Format) input file. When it is processed, the Novell Storage Manager Engine sets a 7 MB quota on the target path SERVER-A\DATA:users\bsmith.

Example: Setting the Quota

#Example1 LDIF for SetQuota Action Object
version: 1
dn: cn=action-1,ou=actionObjects,o=org
changetype: add
objectClass: cccFSFactoryAction
cccFSFactoryActionPath1: cn=SERVERA_DATA,ou=resources,
 o=org#0#\users\bsmith
cccFSFactoryActionOption: <Option><SubCmd>1</SubCmd>
 <Quantity>7<Quantity></Option>
cccFSFactoryActionOperation: SetQuota
cccFSFactoryActionTrigger: Ready

Example: Adding 2 MB to the Existing Quota

#Example2 LDIF for SetQuota Action Object
version: 1
dn: cn=action-2,ou=actionObjects,o=org
changetype: add
objectClass: cccFSFactoryAction
cccFSFactoryActionPath1: cn=SERVERA_DATA,ou=resources,
 o=org#0#\users\bsmith
cccFSFactoryActionOption: <Option><SubCmd>2</SubCmd><Quanti
 ty>2</Quantity></Option>
cccFSFactoryActionOperation: SetQuota
cccFSFactoryActionTrigger: Ready