Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 1

January 4, 2010

I would notice that based on my experience, configuring Samba PDC + OpenLDAP on openSUSE 11.1 are a long journey that would bring you into headache, so you must be careful on copying the configuration and make a proper changes to meet with your environment. Please give me a comment if you found a typo or an error message while trying the tutorial.

I’m using vavai.net as domain name, server as hostname and 192.168.1.254 as server IP address.

INSTALLING BASE SYSTEM

Install openSUSE with the default option. You may choose to use standard disk partition, LVM or a RAID array. Also, select your preferred interface between graphical or text mode environment

Get the Samba server Local SID with the following command :
[code language=’cpp’]
net getlocalsid
[/code]
Samba will response with the SID for domain, ex : SID for domain SERVER is: S-1-2-33-4444444444-5555555555-6666666666. Write it because we will need the SID for smbldap-tools

Edit /etc/samba/smb.conf and remove the mark from the following line :
[code language=’cpp’]
# passdb backend =ldapsam:”ldap://server.vavai.net” ## Leave it as is
[/code]
so, it will looks like this :
[code language=’cpp’]
passdb backend =ldapsam:”ldap://server.vavai.net”
[/code]

[…] relating to SUSE Studio or OpenSUSE 11.2 and Masim still makes a lot of OpenSUSE HOWTOs, such as this one. Here is an extensive installation guide for OpenSUSE 11.2: When I wrote and published my […]

Hi,
I have configured samba pdc with ldap as backend…. i am able to add all win clients… Now i need to set up samba bdc with ldap as backend …can u guide me for this …..For me i am able to create samba bdc but i am facing problems with ldap …..Kindly guide me on this ….please provide sum docs