Novell LINUX ENTERPRISE 11 - SUBSCRIPTION MANAGEMENT TOOL GUIDE 10-02-2009 Manual page 142

Table of Contents

Advertisement

posAdmin.pl --user cn=admin,o=mycorp,c=us --password secret
--modify --multival --scPosImage --scPosImageVersion '=>2.1.1;active'
--DN cn=myMinimal,cn=myTestImages,cn=global,o=mycorp,c=us
The following command removes image version 2.0.4;active (if it exists):
posAdmin.pl --user cn=admin,o=mycorp,c=us --password secret
--modify --multival --scPosImage --scPosImageVersion '2.0.4;active=>'
--DN cn=myMinimal,cn=myTestImages,cn=global,o=mycorp,c=us
The following command modifies image version 2.0.4;active into
2.0.4;passive (assuming it exists):
posAdmin.pl --user cn=admin,o=mycorp,c=us --password secret
--modify --multival --scPosImage --scPosImageVersion
'2.0.4;active=>2.0.4;passive'
--DN cn=myMinimal,cn=myTestImages,cn=global,o=mycorp,c=us
10.2.4 Removing LDAP Entries
To remove an object from the LDAP directory, use the --remove option and the
--DN attribute with the unique name of the object to delete. If the referred object has
subentries, you must add the --recursive option.
Table 10.3, "posAdmin Options for Deleting LDAP Objects" (page 134) summarizes
the posAdmin command options for deleting LDAP objects.
Table 10.3
Option
--DN
--recursive
The following command removes all images in the distribution container
(scDistributionContainer object) myTestImages including the container
itself:
posAdmin.pl --user cn=admin,o=mycorp,c=us --password secret
--remove --recursive
134
SUSE Linux Enterprise Point of Service Guide
posAdmin Options for Deleting LDAP Objects
Type
must
may
--DN cn=myTestImages,cn=global,o=mycorp,c=us
Description
Distinguished name of the object to
delete.
Option to delete an object with all sub-
objects.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise 11 point of service

Table of Contents