Sponsored Content
Special Forums UNIX and Linux Applications opends- help with custom object class Post 302524509 by snafu on Monday 23rd of May 2011 01:30:36 PM
Old 05-23-2011
opends- help with custom object class

we have 2.2.0 of opends running on RedHat 2.6.21 and we're trying to setup a structure that will suit our needs. One of the things we'd like to do is create our own custom object classes based off some of the existing ones you get out of the box. The opends documentation covers this here (sorry, it won't let me post the link but search for HowToExtendTheLDAPSchema):


Quote:
You can extend the schema by using a schema file that contains customized definitions. In general, the best practice is to modify the existing 99user.ldif file in the _install-dir_ / config / schema directory to add new definitions. When you update schema elements using LDAP, the new definitions are written to the 99user.ldif file.
Is it better to update this file directly or to create separate ldif files and load them into ldap?

thanks

Last edited by snafu; 05-27-2011 at 11:01 AM..
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Object reference not set to an instance of an object

I am new to PHP and UNIX. I am using Apache to do my testing on a Windows Vista machine. I am getting this error when I am trying to connect to a web service. I did a search and did not see any posts that pertain to this. Here is my function: <?php function TRECSend($a, $b, $c, $d,... (0 Replies)
Discussion started by: EddiRae
0 Replies

2. Programming

passing object to function, columns class

I am working on a small columns class, since I use allot of tabular data. I am trying to set up code to allow me to efficiently read in tabular data, manipulate it, and write to output files. I more or less know what I need to do, but there are many options to sort through. I have the beginnings... (14 Replies)
Discussion started by: LMHmedchem
14 Replies

3. UNIX for Advanced & Expert Users

Get pointer for existing device class (struct class) in Linux kernel module

Hi all! I am trying to register a device in an existing device class, but I am having trouble getting the pointer to an existing class. I can create a class in a module, get the pointer to it and then use it to register the device with: *cl = class_create(THIS_MODULE, className);... (0 Replies)
Discussion started by: hdaniel@ualg.pt
0 Replies

4. Programming

Size of Derived class, upon virtual base class inheritance

I have the two class definition as follows. class A { public: int a; }; class B : virtual public A{ }; The size of class A is shown as 4, and size of class B is shown as 16. Why is this effect ?. (2 Replies)
Discussion started by: techmonk
2 Replies

5. Programming

How to initialize an object with another object of different class?

How to initialize an object of class say "A", with an object of type say "B". The following code give the error message "error: conversion from âAâ to non-scalar type âBâ requested" #include <iostream> using namespace std; class B; class A{ public: A() { cout <<"\nA()" << endl; } ... (1 Reply)
Discussion started by: techmonk
1 Replies

6. Programming

C++ : Base class member function not accessible from derived class

Hello All, I am a learner in C++. I was testing my inheritance knowledge with following piece of code. #include <iostream> using namespace std; class base { public : void display() { cout << "In base display()" << endl; } void display(int k) {... (2 Replies)
Discussion started by: anand.shah
2 Replies
asadmin-create-custom-resource(1AS)				   User Commands			       asadmin-create-custom-resource(1AS)

NAME
asadmin-create-custom-resource, create-custom-resource - registers the custom resource SYNOPSIS
create-custom-resource --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s] [--passwordfile file- name ] [--terse=false] [--echo=false] [--interactive=true] --restype resource_type --factoryclass classname [--enabled=true] [--description text] [--property (name=value)[:name=value]*] jndi_name Registers the custom resource. This command is supported in remote mode only. OPTIONS
--user authorized domain application server administrative username. --password password to administer the domain application server. --host machine name where the domain application server is running. --port port number of the domain application server listening for administration requests. --secure if true, uses SSL/TLS to communicate with the domain application server. --passwordfile file containing the domain application server password. --terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well- formatted data for consumption by a script. Default is false. --echo setting to true will echo the command line statement on the standard output. Default is false. --interactive if set to true (default), only the required password options are prompted. --restype type of custom resource to be created. --factoryclass class that creates the custom resource. --enabled determines whether the resource is enabled at runtime. --description text description of the custom resource. --property optional attribute name/value pairs for configuring the custom resource. OPERANDS
jndi_name JNDI name of the custom resource to be created. Example 1: Using create-custom-resources asadmin> create-custom-resource --user admin1 --password adminadmin1 --host pigeon --port 5001 --restype customType factoryclass "com.custom.class" --description "this is a sample of creating a custom resource" sample_custom_resource Command create-custom-resource executed successfully Where sample_custom_resource is the custom resource created. EXIT STATUS
0 command executed successfully 1 error in executing the command asadmin-delete-custom-resource(1AS), asadmin-list-custom-resources(1AS) J2EE 1.4 SDK March 2004 asadmin-create-custom-resource(1AS)
All times are GMT -4. The time now is 03:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy