mirror of
				https://github.com/nitnelave/lldap.git
				synced 2023-04-12 14:25:13 +00:00 
			
		
		
		
	much better presentation
This commit is contained in:
		
							parent
							
								
									1bb9f38cf4
								
							
						
					
					
						commit
						58beffa320
					
				@ -8,17 +8,17 @@ In Dolibarr, install the LDAP module from Home -> Modules/Applications
 | 
				
			|||||||
Go to the configuration of this module and fill it like this:
 | 
					Go to the configuration of this module and fill it like this:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Users and groups synchronization: `LDAP -> Dolibarr`
 | 
					 - Users and groups synchronization: `LDAP -> Dolibarr`
 | 
				
			||||||
Contacts' synchronization: `No`
 | 
					 - Contacts' synchronization: `No`
 | 
				
			||||||
Type: `OpenLdap`
 | 
					 - Type: `OpenLdap`
 | 
				
			||||||
Version: `Version 3`
 | 
					 - Version: `Version 3`
 | 
				
			||||||
Primary server: `ldap://example.com`
 | 
					 - Primary server: `ldap://example.com`
 | 
				
			||||||
Secondary server: `Empty`
 | 
					 - Secondary server: `Empty`
 | 
				
			||||||
Server port: port `3890`
 | 
					 - Server port: port `3890`
 | 
				
			||||||
Server DN: `dc=example,dc=com`
 | 
					 - Server DN: `dc=example,dc=com`
 | 
				
			||||||
Use TLS:  `No`
 | 
					 - Use TLS:  `No`
 | 
				
			||||||
Administrator DN: `cn=admin,ou=people,dc=example,dc=com`
 | 
					 - Administrator DN: `cn=admin,ou=people,dc=example,dc=com`
 | 
				
			||||||
Administrator password: `secret`
 | 
					 - Administrator password: `secret`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Click on modify then "TEST LDAP CONNECTION". 
 | 
					Click on modify then "TEST LDAP CONNECTION". 
 | 
				
			||||||
You should get this result on the bottom:
 | 
					You should get this result on the bottom:
 | 
				
			||||||
@ -35,16 +35,17 @@ We will use only Users in this example to get the users we want to import.
 | 
				
			|||||||
The tab Groups would be to import groups.
 | 
					The tab Groups would be to import groups.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Click on the Users tab and fill it like this:
 | 
					Click on the Users tab and fill it like this:
 | 
				
			||||||
Users' DN: `ou=people,dc=example,dc=com`
 | 
					 - Users' DN: `ou=people,dc=example,dc=com`
 | 
				
			||||||
List of objectClass: `person`
 | 
					 - List of objectClass: `person`
 | 
				
			||||||
Search filter: `memberOf=cn=yournamegroup,ou=groups,dc=example,dc=com`
 | 
					 - Search filter: `memberOf=cn=yournamegroup,ou=groups,dc=example,dc=com`
 | 
				
			||||||
or if you don't have a group for your users, leave the search filter empty.
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
Full name: `cn`
 | 
					(or if you don't have a group for your users, leave the search filter empty)
 | 
				
			||||||
Name: `sn`
 | 
					
 | 
				
			||||||
First name: `givenname`
 | 
					 - Full name: `cn`
 | 
				
			||||||
Login `uid`
 | 
					 - Name: `sn`
 | 
				
			||||||
Email address `mail`
 | 
					 - First name: `givenname`
 | 
				
			||||||
 | 
					 - Login `uid`
 | 
				
			||||||
 | 
					 - Email address `mail`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Click on "MODIFY" and then on "TEST A LDAP SEARCH"
 | 
					Click on "MODIFY" and then on "TEST A LDAP SEARCH"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user