SlideShare a Scribd company logo
1 of 26
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
1
1) Introduction to OpenLDAP:
o OpenLDAP isa free,opensource implementationof the LightWeightDirectoryAccess
protocol (LDAP) developedbythe OpenLDAPproject.
o There are two requirementsuchas YaST Module forthe LDAPServerYaST Module Client.
2) Configure OpenLDAPwith GUI:
o OpeninTerminal > Type:yast lan.
o AssignIPaddress, SubnetMaskand Hostname > Next (PressAlt+ N key)
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
2
o Presskey alt + S to configure hostname/DNS > Puthostname anddomainname > Alt + O to
OK
o Type:yast –I to install service openldapserver.
o Type: Search Phrase tab > selectnss_ldap,openldap2-clientandpam_ldap(Pressarrow key
and space to selectthem) >Accept.
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
3
o Type:rcldap restart to restartldapservice.
o Type:yast to install serverandldapclient.
o Configure LDAP Server:
=> Choose NetworkServices>Choose LDAPServer> Enter.
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
4
=> SelectYes> Network (PresskeyAlt + e)
=> PutDomainname (Base DN),AdministratorDN name andpasswordLDAPAdministrator>Next
(Presskey Alt + N)
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
5
=> PresskeyAlt+ F to finish.
o Configure LDAP Client:
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
6
=> Choose NetworkServices>Choose LDAPClient>Enter.
=> SelectUse LDAP,Put IPaddress (Domain IP),Domainname (dc=pnc,dc=lan),SelectCreate Home
Directoryon Login (Pressspace keyto selectit) > PressAlt+ A to go to Advancedconfiguration.
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
7
=> PressAlt + m to go to AdministrationSetting.
=> Putuser Administrator(cn=Administrator) >Alt+ S (Setting).
=> Type passwordLDAPServer> OK (Alt+ O).
3) Create OU:
o Create mainOU name’sStudents
=> Create a file name’sOU.ldif.
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
8
=> Type:vi OU.ldif (Editcommandsyntax torun it to create ou).
=> Type the commandsyntax like below>Save (PressInsertkey to edit and Esc and Shift+ zz to
save)
=> Aftersave thisfile >Type: ldapadd –x –D cn=Administrator,dc=pnc,dc=lan –W–f OU.ldif torun
thiscommandsyntax.
=> Type:ldapsearch –x ou=StudentstofindthisOU.
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
9
o Create sub-OUname’s SNA-B:
=> Editcommand syntax like the filebelow.
=> Run commandsyntax inthisfile.
=> SearchthisOU.
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
10
4) Create user name’sSamnang in OUname’s SNA-B:
o Create file name’sUser.ldif.
o Type the command syntax like the filebelow >Run itto create the user.
o Run thisfile tocreate the user.
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
11
o Searchthisuser
5) Create username’sSophanninOU name’sSNA-B:
o Editthe commandsyntax like the file below:
o Run thiscommandfile tocreate the username’sSophann.
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
12
o Searchthisusername.
6) Create groupname’sSNA and addthe userstothis group:
o
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
13
7) Assignpassword to users:
o Type the command like belowtochange user’spassword.
8) Take another client(SUSE) join domainwith LDAP Serverand take one user to login:
o Take SUSE Clientjoindomain with LDAP Serer:
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
14
=> Type:yast to configure ldapclient.
=> Choose NetworkServicesandLDAPClient>Enter.
=> SelectUse LDAP,put IPLDAP Servers,dc=pnc,dc=lan> PressAlt+ A (Go to Advanced
Configuration)
=> PresskeyAlt+ S (Go to setting).
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
15
=> Type passwordLDAPServerand pressAlt+ O (OK)
=> PresskeyAlt+ O (OK)
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
16
o Take su username (suSamnang) > Enter
=> Or logoutthe machine thenswitchuser.
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
17
9) Take another windowsclientto joindomain and take one userto login:
o Take Windowsclientjoindomain (WindowsXP)
=> Install SAMBA Service onSUSE Linux Server:
=> Type samba intoSearchphrase tab > Selectsamba-docandsamba-winbind(Use arrow keyand
pressspace to selectthem) >Accept.
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
18
=> Type:rcsmb restartand rcnmb restartto restart SAMBA Service.
=> Type yast to configure sambaserver.
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
19
=> Choose NetworkServicesandSambaServer>Enter.
=> PutDomain’sname (pnc.lan) >Next(PressAlt+N)
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
20
=> Choose primaryDomainController>Next
=> PresskeyAlt+ d to go to Identity
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
21
=> Puthostname of machine Linux-Server>PressAlt+ L to go to LDAP Settings.
=> AssignnewpasswordtoAdministrator>PresskeyAt + T to testconnection.
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
22
=> VerifypasswordSamba>OK
=> PingIPaddressfromWindowsXPto Linux-Server(192.168.112.14)
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
23
=> PutDomainname > OK > Put username andpasswordof Linux-Server>OK
=> Type:smbpasswd –a SophanntoAdduser SophanntoSamba.
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
24
=> Putusername andpassword> Enter
=> The user name SophannisloggedintoWindowsXP
10) Search all research ofobjects:
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
25
PasserellesNumériquesCambodia Date: 19/06/2016
SamNangLEAP (SNA2017_B)
26
11) Delete one user from OpenLDAP Server:
o Type:ldapdelete –W–D cn=Administrator,dc=pnc,dc=lanuid=Samnang,ou=SNA-
B,ou=Students,dc=pnc,dc=lan.
o Nowthe username Samnangdoesnotexist.

More Related Content

Similar to LDAP Server On Linux (Open LDAP Service)

New sap installation post installation
New sap  installation   post installationNew sap  installation   post installation
New sap installation post installation
dkeerthan
 
Install nagios
Install nagiosInstall nagios
Install nagios
hassandb
 
Install nagios
Install nagiosInstall nagios
Install nagios
hassandb
 
Install nagios
Install nagiosInstall nagios
Install nagios
hassandb
 
Using MMS to Build New Environments
Using MMS to Build New EnvironmentsUsing MMS to Build New Environments
Using MMS to Build New Environments
MongoDB
 

Similar to LDAP Server On Linux (Open LDAP Service) (20)

MySQL Group Replication
MySQL Group ReplicationMySQL Group Replication
MySQL Group Replication
 
Nagios intro
Nagios intro Nagios intro
Nagios intro
 
Oracle goldengate and RAC12c
Oracle goldengate and RAC12cOracle goldengate and RAC12c
Oracle goldengate and RAC12c
 
NAT64/DNS64 experiments, warnings and one useful tool
NAT64/DNS64 experiments, warnings and one useful toolNAT64/DNS64 experiments, warnings and one useful tool
NAT64/DNS64 experiments, warnings and one useful tool
 
New sap installation post installation
New sap  installation   post installationNew sap  installation   post installation
New sap installation post installation
 
Openfire xmpp server on windows server 2012 r2 with spark sso
Openfire xmpp server on windows server 2012 r2 with spark ssoOpenfire xmpp server on windows server 2012 r2 with spark sso
Openfire xmpp server on windows server 2012 r2 with spark sso
 
WP-CLI - Super Admin Tips and Tricks
WP-CLI - Super Admin Tips and TricksWP-CLI - Super Admin Tips and Tricks
WP-CLI - Super Admin Tips and Tricks
 
Lksn2017 itnsa modul2
Lksn2017 itnsa modul2Lksn2017 itnsa modul2
Lksn2017 itnsa modul2
 
What’s new in cas 4.2
What’s new in cas 4.2 What’s new in cas 4.2
What’s new in cas 4.2
 
ION Durban - NAT64/DNS64 Experiments and the NAT64Check Tool
ION Durban - NAT64/DNS64 Experiments and the NAT64Check ToolION Durban - NAT64/DNS64 Experiments and the NAT64Check Tool
ION Durban - NAT64/DNS64 Experiments and the NAT64Check Tool
 
Install nagios
Install nagiosInstall nagios
Install nagios
 
Install nagios
Install nagiosInstall nagios
Install nagios
 
Install nagios
Install nagiosInstall nagios
Install nagios
 
BloodHound Unleashed.pdf
BloodHound Unleashed.pdfBloodHound Unleashed.pdf
BloodHound Unleashed.pdf
 
Com 135 final project user manual
Com 135 final project user manualCom 135 final project user manual
Com 135 final project user manual
 
Let's go HTTPS-only! - More Than Buying a Certificate
Let's go HTTPS-only! - More Than Buying a CertificateLet's go HTTPS-only! - More Than Buying a Certificate
Let's go HTTPS-only! - More Than Buying a Certificate
 
How to configure Nagios in Fedora ?
How to configure Nagios in Fedora ?How to configure Nagios in Fedora ?
How to configure Nagios in Fedora ?
 
Using MMS to Build New Environments
Using MMS to Build New EnvironmentsUsing MMS to Build New Environments
Using MMS to Build New Environments
 
OpenStack Icehouse Over IPv6
OpenStack Icehouse Over IPv6OpenStack Icehouse Over IPv6
OpenStack Icehouse Over IPv6
 
Dynamic Hadoop Clusters
Dynamic Hadoop ClustersDynamic Hadoop Clusters
Dynamic Hadoop Clusters
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 

LDAP Server On Linux (Open LDAP Service)