-
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.
Initial removal of dependancy to camptocamp openldap, unmaintened and…
… not compatible with puppet5 \ voxpupuli/puppet-openldap#156
- Loading branch information
1 parent
ec3f933
commit df2a18c
Showing
6 changed files
with
37 additions
and
88 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,13 @@ | ||
dn: cn=module,cn=config | ||
objectClass: olcModuleList | ||
cn: module | ||
olcModulePath: /usr/lib/ldap | ||
olcModuleLoad: syncprov.la | ||
|
||
dn: olcOverlay=syncprov,olcDatabase={1}hdb,cn=config | ||
objectClass: olcOverlayConfig | ||
objectClass: olcSyncProvConfig | ||
olcOverlay: syncprov | ||
olcSpSessionLog: 100 | ||
|
||
|
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
class ldapauth::params { | ||
$slapdconfpath = $operatingsystem ? { | ||
/(?i-mx:ubuntu|debian)/ => '/etc/ldap', | ||
/(?i-mx:centos|fedora|redhat)/ => '/etc/openldap', | ||
} | ||
# $slapdconfpath = $operatingsystem ? { | ||
# /(?i-mx:ubuntu|debian)/ => '/etc/ldap', | ||
# /(?i-mx:centos|fedora|redhat)/ => '/etc/openldap', | ||
# } | ||
} |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
dn: olcDatabase={2}hdb,cn=config | ||
changetype: modify | ||
add: olcSyncRepl | ||
olcSyncRepl: rid=001 | ||
### LDAP Master URI ### | ||
provider=ldap://192.168.12.11:389/ | ||
bindmethod=simple | ||
### LDAP Domain ### | ||
binddn="uid=rpuser,dc=itzgeek,dc=local" | ||
### Replication user credential ### | ||
credentials=root1234 | ||
searchbase="dc=itzgeek,dc=local" | ||
scope=sub | ||
schemachecking=on | ||
type=refreshAndPersist | ||
retry="30 5 300 3" | ||
interval=00:00:05:00 | ||
|
||
|
||
|