Remove; Query - Novell SLRS 8 Admin Manual

Table of Contents

Advertisement

7 PosAdmin

7.2.6 Remove

To remove an object from the database, you need the basic option --remove,
the option --DN, and, as the attribute, the distinguished name of the object to
delete. If the referred object has subentries, you also need the --recursive
option.
For example, to delete a scServerContainer with all servers and all services,
use the following command:
posAdmin.pl --password secret \
--user cn=admin,o=mycorp,c=de \
--remove --recursive \
--DN cn=server,cn=habor,ou=berlin,o=mycorp,c=de
Option
Type
--DN
must Distinguished name of the object to delete.
--recursive
may
Table 7.8: Remove Options for PosAdmin

7.2.7 Query

To query an object, use the basic option --query, an object option, like --scLocation
or --scBranchServer, and, if desired, an attribute value pair to search for ob-
jects with a specific value. The following examples describe all possibilities to
query.
Option
Type
--base
must The base option sets the base in which to search
--<object>
must Object which shall be queried, for example,
--<attribute>
may
--<value>
may
Table 7.9: Query Options for PosAdmin
a) Listing all locations with all data in Berlin:
90
Explanation
Option to delete an object with all subobjects.
Explanation
for objects. On the administration server, the de-
fault base is the oraganization (o=mycorp,c=de). If
posAdmin is executed on a branch server, the base
defaults to the location.
--scLocation.
Attribute to search within the specified object, for
example, –ipNetworkNumber.
If a attribute value is given, only objects with match-
ing values are searched.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux retail solution 8

Table of Contents