we are implementing new ldap in our organization exclusively for Linux authentication purposes. As we are new to the subject, I would appreciate help regarding which schema to use to create group of users and accounts / passwords entries? I see both schemas listed in subject above have all required object classes and attributes, but apparently nis schema needs "hack" to be able to use groupsOfNames object class. Also apparently rfc2307bis is obsolete but still in use?! Are there any compatibility issues using one or the other? Any advise which one to use, any pros or cons?
Hi All,
I have a full oracle dump file that I have exported from a production server. I want to import a specific schema out of the full dump.
Is that possible in oracle. What will be the command for that? (6 Replies)
I have 3 files, data file,schema file and a threshold file.
Data file contains data in which columns are distributed according to schema file. This data file doesn't contain any headers.
Three continuous columns in the data file represent single variable in schema file.
first column represent... (1 Reply)
In my Oracle db there are 4 schemas. All the username & passwords are stored in a text file. I am using a while loop to export all the schemas. It read the first line and doing the export. For all users it export one by one.
But I need all the schemas will exported simultaneously. i.e. all the... (1 Reply)
Need a help ..Schema browser in Toad not listing the tables when i connected to Oracle 11g schema
did any body faced the issue... ? How to resolve the issue..
I need it asap thats y posted here
Thanks (5 Replies)
Hi,
I need my script to accept a column name and give all the tables and its schema.
Any kind of help is appreciated...
Thanks in advance... (2 Replies)
hi guys,
Unix dummy here.
I need help creating a script for class.
The assignment reads as follows:
create a script that will create a new schema in schema.txt, it must accept 7 arguments (the first being the name of the schema) the other 6 being the 6 field names. the schema has to be tested... (1 Reply)
I have a script which gives the output of schemas in Oracle DB :
#!/bin/ksh
ps -ef | grep -v grep | grep ora_pmon_$1 | wc -l | while read CONTROL
do
if ; then
ORACLE_HOME=/u01/app/oracle/product/9.2.0
export ORACLE_HOME
PATH=$ORACLE_HOME/bin:$PATH:/bin:/usr/bin:usr/local/bin:.
... (0 Replies)
Net::LDAP::Schema(3) User Contributed Perl Documentation Net::LDAP::Schema(3)NAME
Net::LDAP::Schema - Load and manipulate an LDAP v3 Schema
SYNOPSIS
use Net::LDAP;
use Net::LDAP::Schema;
#
# Read schema from server
#
$ldap = Net::LDAP->new ( $server );
$ldap->bind ( );
$schema = $ldap->schema ( );
#
# Load from LDIF
#
$schema = Net::LDAP::Schema->new;
$schema->parse ( "schema.ldif" ) or die $schema->error;
DESCRIPTION
"Net::LDAP::Schema" provides a means to load an LDAP schema and query it for information regarding supported objectclasses, attributes and
syntaxes.
METHODS
Where a method is stated as taking the 'name or OID' of a schema item (which may be an object class, attribute or syntax) then a case-
insensitive name or raw OID (object identifier, in dotted numeric string form, e.g. 2.5.4.0) may be supplied.
Each returned item of schema (eg an attribute definition) is returned in a HASH. The keys in the returned HASH are lowercase versions of
the keys read from the server. Here's a partial list (not all HASHes define all keys) although note that RFC 4512 permits other keys as
well:
name
desc
obsolete
sup
equality
ordering
substr
syntax
single-value
collective
no-user-modification
usage
abstract
structural
auxiliary
must
may
applies
aux
not
oc
form
all_attributes ( )
all_ditcontentrules ( )
all_ditstructurerules ( )
all_matchingrules ( )
all_matchingruleuses ( )
all_nameforms ( )
all_objectclasses ( )
all_syntaxes ( )
Returns a list of all the requested types in the schema.
attribute ( NAME )
ditcontentrule ( NAME )
ditstructurerule ( NAME )
matchingrule ( NAME )
matchingruleuse ( NAME )
nameform ( NAME )
objectclass ( NAME )
syntax ( NAME )
Returns a reference to a hash, or "undef" if the schema item does not exist. "NAME" can be a name or an OID.
$attr_href = $schema->attribute( "attrname" );
dump ( )
Dump the raw schema information to standard out.
dump ( FILENAME )
Dump the raw schema information to a file.
$result = $schema->dump ( "./schema.dump" );
If no schema data is returned from directory server, the method will return undefined. Otherwise a value of 1 is always returned.
error ( )
Returns the last error encountered when parsing the schema.
may ( OBJECTCLASS )
Given an argument which is the name or OID of a known object class, returns a list of HASHes describing the attributes which are
optional in the class.
@may = $schema->may ( $oc );
# First optional attr has the name '$may[0]->{name}'
must ( OBJECTCLASS )
Given an argument which is the name or OID of a known object class, returns a list of HASHes describing the attributes which are
mandatory in the class.
@must = $schema->must ( $oc );
parse ( MESG )
parse ( ENTRY )
parse ( FILENAME )
Takes a single argument which can be any of, a message object returned from an LDAP search, a "Net::LDAP::Entry" object or the name of
a file containing an LDIF form of the schema.
If the argument is a message result from a search, "Net::LDAP::Schema" will parse the schema from the first entry returned.
Returns true on success and "undef" on error.
superclass ( NAME )
Given an argument which is the name or OID of a known objectclass, returns the list of names of the immediate superclasses.
attribute_syntax ( NAME )
Given an attribute name, return the actual syntax taking into account attribute supertypes.
matchingrule_for_attribute ( NAME, RULE )
Given an attribute name and a matching rule ("equality", "substr", etc), return the actual rule taking into account attribute
supertypes.
SEE ALSO
Net::LDAP, Net::LDAP::RFC
AUTHORS
Graham Barr <gbarr@pobox.com> John Berthels <jjb@nexor.co.uk>
Please report any bugs, or post any suggestions, to the perl-ldap mailing list <perl-ldap@perl.org>.
COPYRIGHT
Copyright (c) 1998-2004 Graham Barr. All rights reserved. This program is free software; you can redistribute it and/or modify it under the
same terms as Perl itself.
perl v5.18.2 2013-07-21 Net::LDAP::Schema(3)