Man pages sections > man3 > CipUX::Object::Action::Attribute::Change

CipUX::Object::Action::Attribute::Change - Object layer class for CipUX

CipUX::Object::Action::Attribute::Change(3pm) User Contributed Perl Documentation CipUX::Object::Action::Attribute::Change(3pm)

NAME

CipUX::Object::Action::Attribute::Change - Object layer class for CipUX

VERSION

version 3.4.0.5

SYNOPSIS

  use CipUX::Object::Action::Attribute::Change;

DESCRIPTION

Provides the functions cipux_object_create and cipux_object_destroy as well as some auto-calculated values for example for userPassword.

ABSTRACT

The CipUX object layer is a generic abstract class, which can be used by other classes or scripts.
The function cipux_object_create may create one or several LDAP nodes according to the configuration structure in /etc/cipux/cipux-object.conf or ~/.cipux/cipux-object.conf.
The function cipux_object_destroy tries to remove one or more LDAP nodes.

SUBROUTINES/METHODS

The following functions will be exported by CipUX::Object::Action::Attribute::Change.

change_object_attribute_action

Change (add, modify, erase) one or more attribute values.
 use CipUX::Object::Action::Attribute::Change;
 my $c = CipUX::Object::Action::Attribute::Change->new();
 $c->change_object_attribute_action( {
 # API 1 args
     action  => $action,
     type    => $type,
     attr_hr => $attr_hr,
 # API 2 args
     object => $object,
     scope => $scope,
     changes_hr => $changes_hr,
     filter_hr => $filter_hr,
     target_hr => $target_hr,
 } );
Where as for example:
     action     => 'change_object_attribute_action',
     type       => 'cipux_account_object',
     attr_hr    => $attr_hr,
     object     => 'rpctestadmin',
     scope      => 'one',
     changes_hr => $changes_hr,
     filter_hr  => $filter_hr,
     target_hr  => $target_hr,

userPassword

TODO

sambaNTPassword

TODO

sambaLMPassword

TODO

sambaPasswordHistory

TODO

sambaPwdLastSet

TODO

member

TODO

DIAGNOSTICS

TODO

CONFIGURATION AND ENVIRONMENT

TODO

DEPENDENCIES

Carp Class:Std CipUX CipUX::Storage Data::Dumper Date::Manip Log::Log4perl Readonly

INCOMPATIBILITIES

Not known.

BUGS AND LIMITATIONS

Not known.

SEE ALSO

See the CipUX web page and the manual at <http://www.cipux.org>
See the mailing list <http://sympa.cipworx.org/wws/info/cipux-devel>

AUTHOR

Christian Kuelker <christian.kuelker@cipworx.org> Copyright (C) 2007 - 2009 by Christian Kuelker
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
2015-07-23 perl v5.20.2