LDAP rfc2307bis.schema or nis.schema?


 
Thread Tools Search this Thread
Special Forums Cybersecurity LDAP rfc2307bis.schema or nis.schema?
# 1  
Old 02-22-2012
LDAP rfc2307bis.schema or nis.schema?

Hi guys,

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?



Much appreciated


Kind Regards

lastminute
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How can I import a particular schema from full dump in Oracle?

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)
Discussion started by: Palak Sharma
6 Replies

2. Shell Programming and Scripting

Identifying columns and their values based on schema file

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)
Discussion started by: bharathbangalor
1 Replies

3. Shell Programming and Scripting

Parallel export of all oracle DB schema.

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)
Discussion started by: priya001
1 Replies

4. Emergency UNIX and Linux Support

Toad for Oracle 11G Schema browser

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)
Discussion started by: girija
5 Replies

5. Shell Programming and Scripting

find a column in a schema

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)
Discussion started by: bankimmehta
2 Replies

6. UNIX for Dummies Questions & Answers

creating a schema

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)
Discussion started by: zodester
1 Replies

7. Shell Programming and Scripting

Script for checking schema satistics in Oracle

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)
Discussion started by: run_time_error
0 Replies
Login or Register to Ask a Question
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 lowercased 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. 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.16.2 2012-09-20 Net::LDAP::Schema(3)