| Configure Samba As PDC with LDAP backend by using Fedora 11 (Part 2) |
|
|
|
| Friday, 26 June 2009 00:09 |
|
This section provides a step-by-step guide on how to set up and use a Fedora 11 Server with Samba and OpenLDAP to replace an existing Microsoft Windows Domain Controler servers and provide central authentication services, file and print sharing for Microsoft Windows and Unix clients. This is part 2 of the step-by-step guide, if you are looking for the part 1 of this step-by-step guide, please click here - Configure Samba As PDC with LDAP backend by using Fedora 11 (Part 1). 21. Firstly we need to download a copy LDAP Account Manager (LAM) from http://lam.sourceforge.net/download/index.htm. 22. After the files was downloaded, copy it to the folder /var/www/html, then change the current working folder to /var/www/html. Extract the files from the source. Change the folder name to lam, this will help us whenever we need to access ldap account manager from the browser. Make a copy of both files config.cfg_sample and lam.conf_sample and make it as default config file for LAM. Assign permission to the folder accordingly where the LAM will need permission to access. You can refer to the screen capture for the commands. 23. Start up your web server, so that you can start configure the LAM. 24. Launch the browser and enter http://127.0.0.1/lam into the URL field and press enter. If you are getting the following errors, please dont panic, you can perform the following steps to resolve this issue. 25. First, install php-ldap package using Add/Remove software. 26. Then using command nano /etc/php.ini to change the php memory limitation. 27. Restart your web server so that the changes can take effect. 28. Visit the LAM site again (http://127.0.0.1/lam), you should be able to see the login screen. Click at the LAM configuration button. 29. Select Edit general settings . 30. The default master password is lam. Click Ok button to continue. 31. Change the master password by entering the new master password twice and click Ok button to save change. 32. Once the setting was saved, click Back to login button. 33. At the login screen, click LAM configuration button again and select Edit server profiles. 34. The profile default password is lam. Click Ok button to continue. 35. Enter the Tree suffix. 36. Click at the Edit account types button. 37. Change the LDAP suffix for User accounts accordingly. 38. Change LDAP suffix for Group accounts accordingly. 39. Change the LDAP suffix for Host accounts accordingly. 40. Change the LDAP suffix for Samba 3 domain entries accordingly. Then click Ok button to save change. 41. Change the time zone. 42. Enter the list of valid users and enter new password for the profile. Click Ok button to continue. 43. Once your settings were saved, click Back to Login button. Before we start using LAM, we will need to configure the SAMBA server and we will talk about it at here - Configure Samba As PDC with LDAP backend by using Fedora 11 (Part 3). |
| Last Updated on Saturday, 27 June 2009 22:06 |
























