Project

General

Profile

Bug #3924 » domainOpenDJ.properties

Nicolas Dupont, 11/29/2012 03:48 PM

 
1
#
2
# Copyright (C) 2000 - 2012 Silverpeas
3
#
4
# This program is free software: you can redistribute it and/or modify
5
# it under the terms of the GNU Affero General Public License as
6
# published by the Free Software Foundation, either version 3 of the
7
# License, or (at your option) any later version.
8
#
9
# As a special exception to the terms and conditions of version 3.0 of
10
# the GPL, you may redistribute this Program in connection with Free/Libre
11
# Open Source Software ("FLOSS") applications as described in Silverpeas's
12
# FLOSS exception.  You should have recieved a copy of the text describing
13
# the FLOSS exception, and it is also available here:
14
# "http://www.silverpeas.org/docs/core/legal/floss_exception.html"
15
#
16
# This program is distributed in the hope that it will be useful,
17
# but WITHOUT ANY WARRANTY; without even the implied warranty of
18
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19
# GNU Affero General Public License for more details.
20
#
21
# You should have received a copy of the GNU Affero General Public License
22
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
23
#
24
# LDAP domain driver
25

    
26
# Settings Novell Directory Services
27
# ----------------------------------
28
database.LDAPHost=localhost
29
database.LDAPImpl=openldap
30
database.LDAPPort=1389
31
database.LDAPProtocolVer=3
32
database.LDAPAccessLoginDN=cn=Directory Manager
33
database.LDAPAccessPasswd=gnupower
34
database.LDAPUserBaseDN=ou=Utilisateurs,dc=oosphere,dc=com
35
database.LDAPSecured=false
36
database.LDAPPortSecured=636
37
# !!! Client Time in MS !!!
38
database.LDAPMaxMsClientTimeLimit=0
39
# !!! Server Time in Seconds !!!
40
database.LDAPMaxSecServerTimeLimit=0
41
database.LDAPMaxNbEntryReturned=5000
42
database.LDAPMaxNbReferrals=0
43
database.LDAPBatchSize=5000
44
database.LDAPSearchRecurs=true
45
#To be able to use operational attributes
46
database.LDAPOpAttributesUsed=true
47

    
48

    
49

    
50
# Synchro parameters
51
# ------------------
52
#Attribut dependant du server
53
synchro.timeStampVar=modifyTimestamp
54
#Mettre a true pour une synchronisation periodique
55
synchro.Threaded=false
56

    
57
# Users' settings
58
# ---------------
59
users.ClassName=person
60
# Note : the filter MUST be put between parentheses.
61
#        there MUSTN'T have dummy parentheses levels ex : (&((Condition1))(Condition2)) will NOT works, (&(Condition1)(Condition2)) will works
62
# (&(mail=*)(objectCategory=CN=Person,CN=Schema,CN=Configuration,DC=TSTEXCHANGE))
63
users.Filter=
64
# Note : To make domains easiest to change, the Id must be set to the login field
65
#        It's not an obligation but it's very strongly advised
66
users.IdField=entryUUID
67
#users.LoginField=uid
68
users.LoginField=cn
69
users.FirstNameField=givenName
70
users.LastNameField=sn
71
#pas obligatoire
72
users.EmailField=mail
73

    
74
# Groups' settings
75
# ----------------
76
#Depend de l'impl\u00e9mentation
77
groups.ClassName=groupOfNames
78
# Note : the filter MUST be put between parentheses.
79
#        there MUSTN'T have dummy parentheses levels ex : (&((Condition1))(Condition2)) will NOT works, (&(Condition1)(Condition2)) will works
80
# (&(objectCategory=CN=group,CN=Schema,CN=Configuration,DC=TSTEXCHANGE)(member=*))
81
groups.Filter=(member=*)
82
# Set the id Field to the 'cn' insteed of the DN to allow groups to move in the LDAP database
83
# Set to objectGUID to have a unique ID
84
groups.IdField=entryUUID
85

    
86

    
87
# Use com.stratelia.silverpeas.domains.ldapdriver.LDAPGroupSubTree to access groups that are just node with users and sub-groups as sons
88
# Use com.stratelia.silverpeas.domains.ldapdriver.LDAPGroupUniqueDescriptor to access groups that contains an attribute containing DN of all there sons
89
# Use com.stratelia.silverpeas.domains.ldapdriver.LDAPGroupAllRoot to access groups that contains an attribute containing DN of all there sons AND to have ALL those groups at the root with all sub-users at the first level
90
#Mettre com.stratelia.silverpeas.domains.ldapdriver.LDAPGroupAllRoot par defaut
91
groups.Type=com.stratelia.silverpeas.domains.ldapdriver.LDAPGroupAllRoot
92

    
93
# For LDAPGroupUniqueDescriptor, LDAPGroupCTI and LDAPGroupAllRoot only :
94
# ---------------------------------------------------------
95
# The field that contains the child's DNs
96
groups.MemberField=member
97
# If groups.SpecificGroupsBaseDN is not set, database.LDAPUserBaseDN is used as root for searchs
98
groups.SpecificGroupsBaseDN=ou=Groupes,dc=oosphere,dc=com
99

    
100
# For LDAPGroupAllRoot and LDAPGroupCTI only :
101
# ---------------------------
102
# ONLY PUT THIS VALUE TO TRUE FOR THE FIRST TIME THE SYNCHRO IS DONE WITH THE 'ALL ROOT' MODEL
103
# This inherit the profiles from parent groups to child groups
104
groups.InheritProfiles=false
105

    
106
# For LDAPGroupCTI only :
107
# ---------------------------
108
# Give the deph for group naming : 0 = no naming depth (use the groups.NameField value), 1 = only use the first element of the DN, x = use the firt x elements of the DN
109
groups.NamingDepth=2
110

    
111
# For LDAPGroupSubTree only :
112
# ---------------------------
113
groups.IncludeEmptyGroups=true
114

    
115
groups.NameField=cn
116
groups.DescriptionField=description
117

    
118
# USERS Specific Properties
119
# -------------------------
120

    
121
# Property number : from 1 to N
122
# Available Types : STRING, USERID
123
# MapParameter : Name of the LDAP corresponding field
124

    
125
property.Number = 3
126
property.ResourceFile = com.stratelia.silverpeas.domains.multilang.domainOpenDJBundle
127

    
128
property_1.Name = email
129
property_1.Type = STRING
130
property_1.MapParameter = mail
131

    
132
property_2.Name = city
133
property_2.Type = STRING
134
property_2.MapParameter = l
135

    
136
property_3.Name = postal_code
137
property_3.Type = STRING
138
property_3.MapParameter = postalCode
(2-2/3)