Link to home
Create AccountLog in
Avatar of Balack
Balack

asked on

How to setup Linux domain controller (PDC) with openldap backend?

This is a new setup. I intends to use SLES 11. This server will be acting as file server using samba, and authentication server for the domain - companya.local. An openldap server also has to be setup to hold the user account database for both samba file shares as well as domain user authentication. How should I setup? I have some working experiences on setting up samba and openldap servers, and not so worry about the samba/openldap integration. What I worry most is the domain authentication, does it means that Netlogon share has to be created? DNS has to run?
I've to make sure that windows machines can join as well. Pls help...
Avatar of Simon Green
Simon Green

Hi,

Have you had a read of the OpenLDAP Guide/Manual?

http://www.openldap.org/doc/admin24/OpenLDAP-Admin-Guide.pdf

Cheers
Si
Neither the NetLogon share or DNS are a must in your case. but they would add functionality to your system.

The netlogon share is only useful if you intend to create logon scripts or Group Policies for your windows users.

Your Samba/LDAP does not rely on DNS for registering the Windows machines it relies on the SAMBA built in WINS service.

Under your smb.conf you must have

wins server = yes

And all your Windows machine must have the IP of your SAMBA server configured to be their WINS server. You can add this from DHCP or you can do it manually on each windows machine from the netework settings.

Avatar of Balack

ASKER

HI SimonGreen, the document doesn't mention about samba as well as samba/ldap integration.

Hi there,

Check out:

http://download.gna.org/smbldap-tools/docs/samba-ldap-howto/

It may just be what you was looking for?

Alo noticed some video on you tube to:

http://www.youtube.com/watch?v=LdLwuIrW1jw

Cheers
Si
Hi you originaly posted

I have some working experiences on setting up samba and openldap servers, and not so worry about the samba/openldap integration.

I understand that you already know how to do this. Anyway best way to integrate both is using smbldap-tools

Avatar of Balack

ASKER

Hi Small student,

Can you share with me your setup on samba/openldap? I really stuck here.
Balack,

What are you stuck on? Which bit?

Cheers
Si
This would be a good guide

http://www.howtoforge.com/centos-5.x-samba-domain-controller-with-ldap-backend

There is also a detailed PDF that I will look for you and post it here
Avatar of Balack

ASKER

yes, please... But, by the way, does the centos same as suse?
ASKER CERTIFIED SOLUTION
Avatar of Monis Monther
Monis Monther
Flag of Iraq image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Balack

ASKER

Hi Small student,

I tried it on SLES 11 sp1, and I was stuck on the "SMBLDAP-POPULATE". It shows that some perl modules, such as, perl-Unicode-String, is still missing. I did try some CPAN method, but, it just can't work.

You can find these packages in the RHEL installation CDs.

Avatar of Balack

ASKER

It eventually works.