Skip to content
Snippets Groups Projects
Commit 75c99021 authored by Einar Largenius's avatar Einar Largenius
Browse files

Remove settings.py

parent d534bbf8
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@
/include/
/lib/
/pyvenv.cfg
/settings.py
# Generated files
*.pyc
#!/usr/bin/python
#! -*- coding: utf-8 -*-
import datetime
# Settings File for supr_swestore
# Copy this file to settings.py
# SUPR API USER NAME
SUPR_API_USER_NAME = "api-c-9"
# SUPR API PASSWORD
SUPR_API_PASSWORD = "PrQVGecH9C"
# SUPR API URL
SUPR_BASE_URL = "https://disposer.c3se.chalmers.se/supr-test/api/"
import datetime
SUPR_API_USER_NAME = ""
SUPR_API_PASSWORD = ""
SUPR_BASE_URL = ""
# LDAP HOST
HOST_NAME = "ldaptest.swestore.se"
LDAP_PORT = "636"
HOST_NAME = ""
LDAP_PORT = ""
LDAP_HOST = "ldaps://" + HOST_NAME + ":" + LDAP_PORT
#LDAP_HOST = "ldapi:///"
# LDAP BIND DN
baseDN = "dc=swestore-ldap"
LDAP_ADMIN = "cn=admin," + baseDN
# LDAP BIND PASSWORD
LDAP_PASSWORD = "paradise23"
baseDN = ""
LDAP_ADMIN = ""
LDAP_PASSWORD = ""
# TLS Certificate Paths
#TLS_CACERTDIR = "/etc/openldap/certs/"
TLS_CACERTFILE = "/etc/grid-security/certificates/TERENA-eScience-SSL-CA-3.pem"
TLS_CERTFILE = "/etc/grid-security/supr-cert.pem"
TLS_KEYFILE = "/etc/grid-security/supr-key.pem"
TLS_CACERTDIR = "/etc/openldap/certs/"
TLS_CACERTFILE = ""
TLS_CERTFILE = ""
TLS_KEYFILE = ""
# LDAP DN
groupsDN = "ou=Groups," + baseDN
groupsDN = "ou=Groups," + baseDN
peopleDN = "ou=People," + baseDN
uidNumberStart = 30000
gidNumberStart = 6000
......@@ -41,61 +37,33 @@ resource_centre_id = 9
PDC_centre_id = 7
# PDC Kerberos tag
PDC_kerberos = "NADA.KTH.SE"
# iRODS Resource ID in SUPR
irods_resource_id = '33'
PDC_kerberos = ""
# dcache Resource ID in SUPR for Swestore
dcache_resource_id = '23'
# IRODS Settings for connection
IRODS_DIR = "/snic.se/proj"
IRODS_HOME_DIR = "/snic.se/home"
IRODS_HOST = "snic2-irods.nsc.liu.se"
IRODS_PORT = 2432
IRODS_ADMIN_USER = "supr"
IRODS_ADMIN_PWD = "diarloq416erioca"
IRODS_ZONE = "snic.se"
# FreeIPA User
IPA_HOST = "auth1.swestore.se"
IPA_ADMIN_USER = "supr"
IPA_ADMIN_PWD = "haicodpio389darikrouma996"
dcache_resource_id = ""
# Kerberos settings
keytab = "/home/dcache/private/dcache-usermgmt.keytab"
adminprincipal = "dcache/usermgmt"
keytab = ""
adminprincipal = ""
# Get a date object
today = datetime.date.today().strftime("%Y-%m-%d")
BASEDIR = "/supr/"
IRODS_LOG_FILE = BASEDIR + "logs/irods_" + str(today) + ".log"
BASEDIR = ""
DELETE_LOG_FILE = BASEDIR + "logs/delete_" + str(today) + ".log"
LOG_FILE = BASEDIR + "logs/ldap_" + str(today) + ".log"
IPA_LOG_FILE = BASEDIR + "logs/ipa_" + str(today) + ".log"
LOG_FILE_MODE = 'a'
LOG_FILE_FORMAT = '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
LOG_FILE_DATEFORMAT = '%H:%M:%S'
# DCache Admin Mail Ids to send mail
DCACHE_ADMIN_MAIL = 'dcache-admin@swestore.se'
# iRODS Admin Mail Ids to send mail
IRODS_ADMIN_MAIL = 'irods-admin@swestore.se'
DCACHE_ADMIN_MAIL = ""
# Send Mail Attributes
SMTP_HOST = 'localhost'
SMTP_PORT = 25
FROM_ADDRS = 'supr@' + HOST_NAME
IRODS_FROM_ADDRS = 'irods-admin@swestore.se'
LDAP_SUBJECT = "SUPR - SWESTORE LDAP Integration Daily Mail"
IRODS_SUBJECT = "SUPR - SWESTORE IRODS Integration Daily Mail"
LDAP_DEL_SUBJECT = "SUPR - SWESTORE LDAP Deletion Mail"
IRODS_DEL_SUBJECT = "SUPR - SWESTORE IRODS Deletion Mail"
IRODS_USR_SUBJECT = "SNIC - iRODS Username and Project Path"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment