mirror of
				https://github.com/nitnelave/lldap.git
				synced 2023-04-12 14:25:13 +00:00 
			
		
		
		
	Create zendto.md
This commit is contained in:
		
							parent
							
								
									69d0308f46
								
							
						
					
					
						commit
						049f542a24
					
				
							
								
								
									
										18
									
								
								example_configs/zendto.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								example_configs/zendto.md
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,18 @@
 | 
			
		||||
# Configuration for Zendto
 | 
			
		||||
 | 
			
		||||
You setup https://zend.to/ for using LDAP by editing `/opt/zendto/config/preferences.php`. The relevant part for LDAP-settings is 
 | 
			
		||||
```
 | 
			
		||||
  'authenticator'         => 'LDAP',
 | 
			
		||||
  'authLDAPBaseDN'        => 'DC=example,DC=com',
 | 
			
		||||
  'authLDAPServers'       => array('ldap://ldap_server_ip:3890'),
 | 
			
		||||
  'authLDAPAccountSuffix' => '@example.com',
 | 
			
		||||
  'authLDAPUseSSL'        => false,
 | 
			
		||||
  'authLDAPStartTLS'      => false,
 | 
			
		||||
  'authLDAPBindDn'        => 'uid=admin,ou=people,dc=example,dc=com',
 | 
			
		||||
  'authLDAPBindPass'      => 'your_password',
 | 
			
		||||
  'authLDAPUsernameAttr'  => 'uid',
 | 
			
		||||
  'authLDAPEmailAttr'     => 'mail',
 | 
			
		||||
  'authLDAPMemberKey'     => 'memberOf',
 | 
			
		||||
  'authLDAPMemberRole'    => 'uid=zendto,ou=groups,dc=example,dc=com',
 | 
			
		||||
```
 | 
			
		||||
Every user of the group `zendto` is allowed to login.
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user