generated from NethServer/ns8-kickstart
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
195 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,178 @@ | ||
\{ | ||
id = groups; | ||
type = ldap; | ||
CNFieldName = cn; | ||
UIDFieldName = cn; | ||
IDFieldName = cn; | ||
baseDN = "$groupDN"; | ||
bindDN = "$bindDN"; | ||
bindPassword = "$bindPassword"; | ||
scope = ONE; | ||
canAuthenticate = YES; | ||
MailFieldNames = ("mail"); | ||
displayName = "$SystemName groups"; | ||
hostname = $ldapURI; | ||
isAddressBook = YES; | ||
\}, | ||
\{ | ||
id = users; | ||
type = ldap; | ||
CNFieldName = cn; | ||
UIDFieldName = uid; | ||
IDFieldName = mail; | ||
bindFields = ( | ||
mail, | ||
uid | ||
); | ||
IMAPLoginFieldName = mail; | ||
baseDN = "$userDN"; | ||
bindDN = "$bindDN"; | ||
bindPassword = "$bindPassword"; | ||
scope = ONE; | ||
MailFieldNames = ("mail"); | ||
canAuthenticate = YES; | ||
displayName = "$SystemName users"; | ||
hostname = $ldapURI; | ||
isAddressBook = YES; | ||
\} | ||
|
||
|
||
|
||
directory.nh node/1 {'host': '127.0.0.1', 'schema': 'rfc2307', 'location': 'internal', 'base_dn': 'dc=directory,dc=nh', 'bind_dn': 'cn=ldapservice,dc=directory,dc=nh', 'bind_password': '95AlpqTO2i_h9_7a', 'port': '20001', 'hidden_users': [], 'hidden_groups': ['locals']} | ||
|
||
|
||
|
||
ad.rocky9-pve3.org node/1 {'host': '127.0.0.1', 'schema': 'ad', 'location': 'internal', 'base_dn': 'DC=ad,DC=rocky9-pve3,DC=org', 'bind_dn': '[email protected]', 'bind_password': '-p.7gIhuZR0-yi4.bqZ7K4hEz39-PJGK', 'port': '20002', 'hidden_users': ['Guest', 'krbtgt', 'ldapservice'], 'hidden_groups': ['DnsUpdateProxy', 'Domain Computers', 'Domain Controllers', 'Domain Guests', 'Domain Users', 'Group Policy Creator Owners', 'Read-only Domain Controllers', 'Protected Users']} | ||
|
||
|
||
{ | ||
id = AD_Users; | ||
type = ldap; | ||
CNFieldName = cn; | ||
IDFieldName = sAMAccountName; | ||
UIDFieldName = sAMAccountName; | ||
IMAPLoginFieldName = userPrincipalName; | ||
canAuthenticate = YES; | ||
bindDN = "[email protected]"; | ||
bindPassword = "h16wu7gXegOaHu2g"; | ||
baseDN = "dc=ad,dc=de-labrusse,dc=fr"; | ||
bindFields = ( | ||
sAMAccountName, | ||
userPrincipalName | ||
); | ||
hostname = ldaps://ad.de-labrusse.fr; | ||
filter = "(objectClass='user') AND (sAMAccountType=805306368)"; | ||
MailFieldNames = ("userPrincipalName"); | ||
scope = SUB; | ||
displayName = "de-labrusse.fr users"; | ||
isAddressBook = YES; | ||
}, | ||
{ | ||
id = AD_Groups; | ||
type = ldap; | ||
CNFieldName = name; | ||
IDFieldName = sAMAccountName; | ||
UIDFieldName = sAMAccountName; | ||
canAuthenticate = YES; | ||
bindDN = "[email protected]"; | ||
bindPassword = "h16wu7gXegOaHu2g"; | ||
baseDN = "dc=ad,dc=de-labrusse,dc=fr"; | ||
hostname = ldaps://ad.de-labrusse.fr; | ||
filter = "(objectClass='group') AND (sAMAccountType=268435456)"; | ||
MailFieldNames = ("mail"); | ||
scope = SUB; | ||
displayName = "de-labrusse.fr groups"; | ||
isAddressBook = YES; | ||
} | ||
); | ||
|
||
|
||
# ldap | ||
SOGoUserSources =( | ||
{ | ||
id = groups; | ||
type = ldap; | ||
CNFieldName = cn; | ||
UIDFieldName = cn; | ||
IDFieldName = cn; | ||
baseDN = "dc=directory,dc=nh"; | ||
bindDN = "cn=ldapservice,dc=directory,dc=nh"; | ||
bindPassword = "95AlpqTO2i_h9_7a"; | ||
scope = ONE; | ||
canAuthenticate = YES; | ||
MailFieldNames = ("mail"); | ||
displayName = "directory.nh groups"; | ||
hostname = ldap://10.0.2.2:20001; | ||
isAddressBook = YES; | ||
}, | ||
{ | ||
id = users; | ||
type = ldap; | ||
CNFieldName = cn; | ||
UIDFieldName = uid; | ||
IDFieldName = mail; | ||
bindFields = ( | ||
mail, | ||
uid | ||
); | ||
IMAPLoginFieldName = mail; | ||
baseDN = "dc=directory,dc=nh"; | ||
bindDN = "cn=ldapservice,dc=directory,dc=nh"; | ||
bindPassword = "95AlpqTO2i_h9_7a"; | ||
scope = ONE; | ||
MailFieldNames = ("mail"); | ||
canAuthenticate = YES; | ||
displayName = "directory.nh users"; | ||
hostname = ldap://10.0.2.2:20001; | ||
isAddressBook = YES; | ||
} | ||
); | ||
|
||
/* 45 AD authentication */ | ||
SOGoUserSources =( | ||
|
||
{ | ||
id = AD_Users; | ||
type = ldap; | ||
CNFieldName = cn; | ||
IDFieldName = sAMAccountName; | ||
UIDFieldName = sAMAccountName; | ||
IMAPLoginFieldName = userPrincipalName; | ||
canAuthenticate = YES; | ||
bindDN = "[email protected]"; | ||
bindPassword = "-p.7gIhuZR0-yi4.bqZ7K4hEz39-PJGK"; | ||
baseDN = "DC=ad,DC=rocky9-pve3,DC=org"; | ||
bindFields = ( | ||
sAMAccountName, | ||
userPrincipalName | ||
); | ||
hostname = ldap://10.0.2.2:20002; | ||
filter = "(objectClass='user') AND (sAMAccountType=805306368)"; | ||
MailFieldNames = ("userPrincipalName"); | ||
scope = SUB; | ||
displayName = "de-labrusse.fr users"; | ||
isAddressBook = YES; | ||
}, | ||
{ | ||
id = AD_Groups; | ||
type = ldap; | ||
CNFieldName = name; | ||
IDFieldName = sAMAccountName; | ||
UIDFieldName = sAMAccountName; | ||
canAuthenticate = YES; | ||
bindDN = "[email protected]"; | ||
bindPassword = "-p.7gIhuZR0-yi4.bqZ7K4hEz39-PJGK"; | ||
baseDN = "DC=ad,DC=rocky9-pve3,DC=org"; | ||
hostname = ldap://10.0.2.2:20002; | ||
filter = "(objectClass='group') AND (sAMAccountType=268435456)"; | ||
MailFieldNames = ("mail"); | ||
scope = SUB; | ||
displayName = "de-labrusse.fr groups"; | ||
isAddressBook = YES; | ||
} | ||
); | ||
|
||
|
||
/usr/bin/memcached -d -u sogo | ||
|
||
sogo 142 0.0 0.0 406040 3860 ? Ssl 22:59 0:00 /usr/bin/memcached -d -u sogo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters