Browse Source

Deleted templates.

tags/3.5.0_alpha1
Самоукин Алексей 10 years ago
parent
commit
62321837f1
8 changed files with 1 additions and 79 deletions
  1. +1
    -8
      setup.py
  2. +0
    -1
      templates/.calculate_directory
  3. +0
    -1
      templates/setup/.calculate_directory
  4. +0
    -2
      templates/setup/openldap/.calculate_directory
  5. +0
    -2
      templates/setup/openldap/step-1/.calculate_directory
  6. +0
    -60
      templates/setup/openldap/step-1/slapd.conf
  7. +0
    -2
      templates/setup/openldap/step-2/.calculate_directory
  8. +0
    -3
      templates/setup/openldap/step-2/slapd.conf

+ 1
- 8
setup.py View File

@@ -18,7 +18,7 @@

import os
import stat
from distutils.core import setup, Extension
from distutils.core import setup


__version__ = "2.2.0.0"
@@ -27,14 +27,9 @@ __app__ = "calculate-ldap"

data_files = []

var_data_files = []

data_dirs_template = ['templates']
data_dirs_ldif = ['ldif']
data_dirs_share = ['i18n']
share_calculate_dir = "/usr/share/calculate"
template_calculate_dir = os.path.join(share_calculate_dir, "templates")
template_replace_dirname = "ldap"

def __scanDir(scanDir, prefix, replace_dirname, dirData, flagDir=False):
"""Scan directory"""
@@ -67,8 +62,6 @@ def create_data_files(data_dirs, prefix="", replace_dirname=""):
data_files += __scanDir(data_dir, prefix, replace_dirname, data)
return data_files

data_files += create_data_files (data_dirs_template, template_calculate_dir,
template_replace_dirname)
data_files += create_data_files (data_dirs_share, share_calculate_dir)
data_files += create_data_files (data_dirs_ldif)



+ 0
- 1
templates/.calculate_directory View File

@@ -1 +0,0 @@
# Calculate append=skip cl_name==calculate-ldap

+ 0
- 1
templates/setup/.calculate_directory View File

@@ -1 +0,0 @@
# Calculate append=skip cl_ldap_setup_action==up

+ 0
- 2
templates/setup/openldap/.calculate_directory View File

@@ -1,2 +0,0 @@
# Calculate belong()!=&&pkg(net-nds/openldap)!= path=/etc name=openldap


+ 0
- 2
templates/setup/openldap/step-1/.calculate_directory View File

@@ -1,2 +0,0 @@
# Calculate append=skip cl_pass_step==1


+ 0
- 60
templates/setup/openldap/step-1/slapd.conf View File

@@ -1,60 +0,0 @@
# Calculate format=ldap chmod=0640 chown=root:ldap append=replace
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/misc.schema
#?pkg(net-nds/openldap)<2.4#schemacheck on#pkg#

pidfile /var/run/openldap/slapd.pid
argsfile /var/run/openldap/slapd.arg

# Уровень отладочных сообщений
loglevel 0
allow bind_v2
modulepath /usr/lib/openldap/openldap

# Доступ к аттрибуту userPassword
access to attrs=userPassword
by self write
by dn="#-ld_admin_dn-#" write
by * auth

# Доступ к администратору сервера LDAP
access to dn.base="#-ld_admin_dn-#"
by dn="#-ld_admin_dn-#" write
by * none

# Закрываем доступ к веткам
access to dn.regex=".*,#-ld_services_dn-#"
by dn="#-ld_admin_dn-#" write
by * none

# Доступ ко всем аттрибутам
access to *
by dn="#-ld_admin_dn-#" write
by self write
by * read

# Доступ по умолчанию только для чтения
#?pkg(net-nds/openldap)<2.4#defaultaccess none#pkg#

# Тип базы данных
#?pkg(net-nds/openldap)<2.4#database ldbm#pkg#
#?pkg(net-nds/openldap)>2.4#database bdb#pkg#
suffix "#-ld_base_dn-#"
rootdn "#-ld_temp_dn-#"
rootpw #-ld_temp_hash-#
checkpoint 1024 5
cachesize 10000
# Размер ответа на запрос
sizelimit unlimited
directory /var/lib/openldap-data

index objectClass eq
index cn pres,sub,eq
index sn pres,sub,eq
index uid pres,sub,eq
index uidNumber eq
index gidNumber eq
index default sub

+ 0
- 2
templates/setup/openldap/step-2/.calculate_directory View File

@@ -1,2 +0,0 @@
# Calculate append=skip cl_pass_step==2


+ 0
- 3
templates/setup/openldap/step-2/slapd.conf View File

@@ -1,3 +0,0 @@
# Calculate format=ldap chmod=0640 chown=root:ldap append=join
!rootdn del
!rootpw del

Loading…
Cancel
Save