Home Knowledge Base Configure Samba As PDC with LDAP backend by using Fedora 11 (Part 2)
Configure Samba As PDC with LDAP backend by using Fedora 11 (Part 2) PDF Print E-mail
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.

Install Fedora 11 Samba PDCV step 22

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.

Install Fedora 11 Samba PDCV step 23

23. Start up your web server, so that you can start configure the LAM.

Install Fedora 11 Samba PDCV step 24

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.

Install Fedora 11 Samba PDCV step 25

25. First, install php-ldap package using Add/Remove software.

Install Fedora 11 Samba PDCV step 26

26. Then using command nano /etc/php.ini to change the php memory limitation.

Install Fedora 11 Samba PDCV step 27

27. Restart your web server so that the changes can take effect.

Install Fedora 11 Samba PDCV step 28

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.

Install Fedora 11 Samba PDCV step 29

29. Select Edit general settings .

Install Fedora 11 Samba PDCV step 33

30. The default master password is lam. Click Ok button to continue.

Install Fedora 11 Samba PDCV step 30

31. Change the master password by entering the new master password twice and click Ok button to save change.

Install Fedora 11 Samba PDCV step 31

32. Once the setting was saved, click Back to login button.

Install Fedora 11 Samba PDCV step 32

33. At the login screen, click LAM configuration button again and select Edit server profiles.

Install Fedora 11 Samba PDCV step 33

34. The profile default password is lam. Click Ok button to continue.

Install Fedora 11 Samba PDCV step 34

35. Enter the Tree suffix.

Install Fedora 11 Samba PDCV step 35

36. Click at the Edit account types button.

Install Fedora 11 Samba PDCV step 36

37. Change the LDAP suffix for User accounts accordingly.

Install Fedora 11 Samba PDCV step 37

38. Change LDAP suffix for Group accounts accordingly.

Install Fedora 11 Samba PDCV step 38

39. Change the LDAP suffix for Host accounts accordingly.

Install Fedora 11 Samba PDCV step 39

40. Change the LDAP suffix for Samba 3 domain entries accordingly. Then click Ok button to save change.

Install Fedora 11 Samba PDCV step 40

41. Change the time zone.

Install Fedora 11 Samba PDCV step 41

42. Enter the list of valid users and enter new password for the profile. Click Ok button to continue.

Install Fedora 11 Samba PDCV step 42

43. Once your settings were saved, click Back to Login button.

Install Fedora 11 Samba PDCV step 43

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
 

Latest IT News

RSS Feed Over Here