FedoraDirectoryServerClientHowto
|
Size: 511
Comment:
|
Size: 1631
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 5: | Line 5: |
| This howto is based on my FedoraDirectoryServer howto and I am going to tell you here how you are going to connect Ubuntu clients with Fedora-ds installed in another Ubuntu server. I will assume the the following example scenario here. | This howto is based on my FedoraDirectoryServer howto and I am going to tell you here how you are going to connect Ubuntu clients with Fedora-ds installed in another Ubuntu server. I will stic to the the following example scenario. Change your setting appropriately. |
| Line 10: | Line 10: |
= Installing LDAP Client Packages = We need to install necessary client packages and setup them initially. To install all packages: {{{ sudo apt-get install libpam-ldap libnss-ldap }}} During the installtion it will ask few questions and don't worry about them but keep accepting the default settings since we are going to modify them manually later. = Configuring Configuring nsswitch.conf file = The nsswitch.conf file is responsible for switching the authentication order in Linux and we need to setup to accpet LDAP authentication. Tp edit the file: {{{ sudo vi /etc/nsswitch.conf }}} Then we need change {{{compat}}} with {{{files ldap}}}. Use the following command in vi command mode {{{ %s/compat/files ldap/g }}} Now your changes will reflect as follows in /etc/nsswitch.conf {{{ ... passwd: files ldap group: files ldap shadow: files ldap ... }}} The order {{{files ldap}}} will look first {{{/etc/passwd}}} file first and then look LDAP for authentication. Howto created by: ChinthakaDeshapriya. |
|
| Line 11: | Line 49: |
| CategoryNetworking | CategoryDocumentation |
ContentsBRTableOfContents |
Introduction
This howto is based on my FedoraDirectoryServer howto and I am going to tell you here how you are going to connect Ubuntu clients with Fedora-ds installed in another Ubuntu server. I will stic to the the following example scenario. Change your setting appropriately.
My test setup is like this:
attachment:fossedulan.jpg
Installing LDAP Client Packages
We need to install necessary client packages and setup them initially. To install all packages:
sudo apt-get install libpam-ldap libnss-ldap
During the installtion it will ask few questions and don't worry about them but keep accepting the default settings since we are going to modify them manually later.
Configuring Configuring nsswitch.conf file
The nsswitch.conf file is responsible for switching the authentication order in Linux and we need to setup to accpet LDAP authentication. Tp edit the file:
sudo vi /etc/nsswitch.conf
Then we need change compat with files ldap. Use the following command in vi command mode
%s/compat/files ldap/g
Now your changes will reflect as follows in /etc/nsswitch.conf
... passwd: files ldap group: files ldap shadow: files ldap ...
The order files ldap will look first /etc/passwd file first and then look LDAP for authentication.
Howto created by: ChinthakaDeshapriya.
FedoraDirectoryServerClientHowto (last edited 2008-08-06 16:37:36 by localhost)