steffen: server/kolab-horde-fbview/kolab-horde-fbview/fbview/turba/scripts/ldap addou, NONE, 1.1 addou.pl, NONE, 1.1 core.schema.patch, NONE, 1.1 rfc2739.schema, NONE, 1.1

cvs at intevation.de cvs at intevation.de
Mon Oct 31 12:43:42 CET 2005


Author: steffen

Update of /kolabrepository/server/kolab-horde-fbview/kolab-horde-fbview/fbview/turba/scripts/ldap
In directory doto:/tmp/cvs-serv18388/kolab-horde-fbview/kolab-horde-fbview/fbview/turba/scripts/ldap

Added Files:
	addou addou.pl core.schema.patch rfc2739.schema 
Log Message:
Fbview in separate package

--- NEW FILE: addou ---
#!/bin/sh

for x in *; do /home/addou.pl $x; done

--- NEW FILE: addou.pl ---
#!/usr/bin/perl -w
#
# LDAP add personal ou's from /home
# This script adds an ou for each directory in /home.
#
# Script by tarjei at nu.no.
# Remember to remove ou's like mailman, mysql, postgres, etc.

# Settings that should be changed for your setup:
$basedn = "ou=personal_addressbook, dc=example, dc=com";
$binddn = "uid=root, ou=People, dc=example, dc=com";
$passwd = "";
# End of configuration section - don't edit below here.

use Getopt::Std;
my %Options;
$user = $ARGV[0];
print "Adding ou: ou=$user,$basedn";

$FILE = "|/usr/bin/ldapadd -x $options -D '$binddn' -w $passwd";

open FILE or die;

print FILE <<EOF;
dn: ou=$user,$basedn
objectclass: top
objectClass: organizationalUnit
ou: $user

EOF
close FILE;
exit 0;

--- NEW FILE: core.schema.patch ---
--- core.schema.orig    Wed May 22 22:17:41 2002
+++ core.schema Fri May 31 20:43:47 2002
@@ -367,15 +367,15 @@
                postalAddress $ physicalDeliveryOfficeName $ st $ l $ description ) )

 objectclass ( 2.5.6.6 NAME 'person' SUP top STRUCTURAL
-       MUST ( sn $ cn )
-       MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) )
+       MUST cn
+       MAY ( sn $ userPassword $ telephoneNumber $ seeAlso $ description ) )

 objectclass ( 2.5.6.7 NAME 'organizationalPerson' SUP person STRUCTURAL
        MAY ( title $ x121Address $ registeredAddress $ destinationIndicator $
                preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $
                telephoneNumber $ internationaliSDNNumber $
                facsimileTelephoneNumber $ street $ postOfficeBox $ postalCode $
-               postalAddress $ physicalDeliveryOfficeName $ ou $ st $ l ) )
+               postalAddress $ physicalDeliveryOfficeName $ ou $ st $ l $ organizationName ) )

 objectclass ( 2.5.6.8 NAME 'organizationalRole' SUP top STRUCTURAL
        MUST cn

--- NEW FILE: rfc2739.schema ---
#
# http://www.faqs.org/rfcs/rfc2739.html
# 
# From the RFC:
# The calCalURI contains the URI to a snapshot of the user's entire
# default calendar. The calFBURL contains the URI to the user's default
# busy time data. The calCAPURI represents contains a URI that can be
# used to communicate with the user's calendar. The calCalAdrURI
# contains a URI that points to the location to which event requests
# should be sent for that user.
#
# The calOtherCalURIs is a multi-valued property containing URIs to
# snapshots of other calendars that the user may have. The
# calOtherFBURLs is a multi-valued property containing URIs to other
# free/busy data that the user may have. The calOtherCAPURIs attribute
# is a multi-valued property containing URIs to other calendars that
# the user may have. The calOtherCalAdrURIs attribute is a multi-valued
# property containing URIs to other locations that a user may want
# event requests sent to.
#
# There is no predetermined order to the values in either multi-valued
# property.

#	EQUALITY caseIgnoreIA5Match

attribute (1.2.840.113556.1.4.478
  NAME 'calCalURI'
  DESC 'Snapshot of users entire default calendar'
  EQUALITY caseIgnoreIA5Match
  SUBSTR caseIgnoreIA5SubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
 )

attribute (1.2.840.113556.1.4.479
  NAME 'calFBURL'
  DESC 'URI of the uses free and busy information'
  EQUALITY caseIgnoreIA5Match
  SUBSTR caseIgnoreIA5SubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
 )

attribute (1.2.840.113556.1.4.480
  NAME 'calCAPURI'
  DESC 'URI used to communicate with the users calendar'
  EQUALITY caseIgnoreIA5Match
  SUBSTR caseIgnoreIA5SubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
 )

attribute (1.2.840.113556.1.4.481
  NAME 'calCalAdrURI'
  DESC 'URI to which event requests should be sent for the user'
  EQUALITY caseIgnoreIA5Match
  SUBSTR caseIgnoreIA5SubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
 )

attribute (1.2.840.113556.1.4.482
  NAME 'calOtherCalURIs'
  DESC 'URIs to non-default calendars belonging to the user'
  EQUALITY caseIgnoreIA5Match
  SUBSTR caseIgnoreIA5SubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
 )

attribute (1.2.840.113556.1.4.483
  NAME 'calOtherFBURLs'
  DESC 'URIs to non-default free and busy information files'
  EQUALITY caseIgnoreIA5Match
  SUBSTR caseIgnoreIA5SubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
 )

attribute (1.2.840.113556.1.4.484
  NAME 'calOtherCAPURIs'
  DESC 'URIs for communicating with non-default calendars'
  EQUALITY caseIgnoreIA5Match
  SUBSTR caseIgnoreIA5SubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
 )

attribute (1.2.840.113556.1.4.485
  NAME 'calOtherCalAdrURIs'
  DESC 'Destinations for event requests to non-default calendars'
  EQUALITY caseIgnoreIA5Match
  SUBSTR caseIgnoreIA5SubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
 )

objectclass (1.2.840.113556.1.5.87
 NAME 'calEntry' 
 DESC 'Calendering and Free Busy information'
 SUP top AUXILIARY
 MAY (calCalURI $ calFBURL $ calCAPURI $ calCalAdrURI $ 
      calOtherCalURIs $ calOtherFBURLs $ calOtherCAPURIs $
      calOtherCalAdrURIs
     )
 )





More information about the commits mailing list