How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 2 (Finish)

Previous tutorial : Samba PDC+OpenLDAP on openSUSE/SLES Part 1, Setting LDAP Server

SETTING LDAP CLIENT

  1. Click YAST | Network Services | LDAP Client
  2. Click Use LDAP pada User Authentication
  3. Fill in Address with server IP or by using 127.0.0.1 as default address
  4. Mark  LDAP TLS/SSL option checked if you choose to use TLS/SSL on previous tutorial, or vice versa, leave it unchecked if you choose to not use TLS on previous tutorial 
  5. Fill in LDAP Base DN (dc=namadomain, dc=tld, ex : dc=vavai,dc=co,dc=id). You may also get the LDAP Base DN by clicking  Fetch DN button
  6. Leave others option as is
    `
  7. Click Advanced Configuration
  8. Change Password Change Protocol to MD5
  9. Leave option Group Member Attribute = Member unchanged
    `

  10. Click Administration Setting
  11. Fill in cn=Administrator on Administrator DN. Don’t forget to give a check on Append Base DN option
  12. Mark a check on Create Default Configuration Objects option
    `
  13. Click OK
  14. Click OK

SETTING SAMBA SERVER PRIMARY DOMAIN CONTROLLER (PDC)

  1. Open YAST | Network Services | Samba Server
  2. Fill in workgroup/domain name on first wizard. I’m usingdomain vavai.co.id as my workgroup name. Click Next
    `
  3. On Samba Server Type option, choose Primary Domain Controller (PDC). Click Next
  4. On start-up tab, choose Service Start During Boot option, so Samba will automatically started on boot. Don’t forget to click Open Port in Firewall if you use firewall on intranet zone
    `
  5. Move to LDAP Setting tab.
  6. Click on Use LDAP Password Back-End
  7. Fill in  Administrator DN and password setting (cn=Administrator,dc=vavai,dc=co,dc=id, adjust it with your domain name). Click Test Connection to test LDAP server connection. If test result is failed, recheck your configuration setting.
    `
  8. Click OK and then fill in Samba root /Administrator password
    `

SETTING USER NAME & PASSWORD

  1. Click on YAST | Security and Users | User & Group Management
  2. Click Expert Options | LDAP User & Group Configuration option on bottom-right-corner menu
  3. Fill in LDAP Admin password (see whether your bind DN configuration has setup correctly)
  4. Move to Configuration Module, and then choose  userconfiguration
    `
  5. Change susemaxpasswordlength with your maximum password length
  6. Change suseminpasswordlength with your minimum password length
  7. Change susepasswordhash from SSHA to  SMD5
  8. Click OK
  9. Click on Set Filter option on top-right-corner menu and choose LDAP Users. This will display all LDAP user list, currently are empty because we have create any user yet
  10. Click Add
  11. Fill in user profile and password
    `
  12. Click OK

Restart all service (or reboot your computer) to test all the service. f you wish to join Windows workstation into Samba PDC+LDAP domain, use the Samba root user name and password as Administrator user. Share folder, Profile, netlogon and custom setting could be modified within YAST | Network Services | Samba Server. Samba LDAP user could be added or modify with the above procedure using YAST | Security & Users | User & Group Management.

Related Entries

4 Responses for “How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 2 (Finish)”

  1. Darius Kaz says:

    Another Great tutorial =D

    There is just one problem, when I try to join the Windows XP machine to the PDC/LDAP it gives an error “DNS name does not exist”. but when i go to the domain name with my windows XP browser it says that its using a samba server bla bla so that part works.. my DNS is also functioning and DHCP to. pinging works to al the servers.

    Do you happen to know what i did wrong?

  2. Rado says:

    Install Bind DNS Server and configure it (following tutorial might be helpful
    to you, it was of great help to me ;) ) :
    http://www.pcc-services.com/sles/dns.html

  3. Rado says:

    P.S. Almost forgotten… :) Thanx for the great how-to, Masim !
    Keep up the good work !
    Cheers

  4. Masim "Vavai" Sugianto says:

    @Rado,
    Thank you for the reference. DNS will help much to connect client into proper server services. I would like to updating my tutorial to also covering DNS installation & setup for PDC purpose.

Leave a Reply

About Vavai

Masim Vavai Sugianto Masim Vavai Sugianto, Indonesian, male, 32 years old, born and live in Bekasi-West Java, a small town near Jakarta – main city of Indonesia – since 17 May 1976. Founder of Indonesian openSUSE and Zimbra Community, an adventure, travelling and book lover.



I live in a tropical country, Indonesia that only has two seasons, dry season and rainy season. I love the dry season with bright sunshine and rare rain…There is a joke about the seasons in Indonesia. Indonesia is known as a country with so many season, ie : durian season, mango season, married season and much more...



ContactI'm currently working as an IT support for a small company based on Jakarta. My career has led me to specialize in Sysadmin, networking and software implementation with current focus on Linux and open source area. I have experience on MRP, ERP, Gemba Kaizen, Just in Time, Six Sigma and TQC/TQM. Please use my contact page if you wish to contact me.
Log in - BlogNews Theme by Gabfire themes