Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
> Centos 4.0 Samba Pdc With Ldap, in 10 minutes (really)
post Apr 13 2005, 11:08 AM
Post #1

Its GNU/

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069

Hello everyone,

I was searching the net to do a Samba PDC using LDAP and I found one great howto along with a awesome script.

So you install a minimal centos 4.0 system, then do the following.

yum update
yum install mc samba-common samba openldap-clients perl-XML-NamespaceSupport perl-XML-SAX glibc-kernheaders glibc-headers glibc-devel cpp perl-HTML-Tagset perl-HTML-Parser perl-Convert-ASN1 perl-URI perl-libwww-perl perl-Digest-SHA1 openldap-servers perl-LDAP gcc

then download smbldap-tools.tgz file from here to /home

for the current version (as of 2005.04.13)
cd /home
tar -xvzf smbldap-installer-1.2.1.tgz
cd smbldap-installer

answer a few questions (basic) , it adds everything to ldap and configures samba , starts up everything, once it finished, you have a fully working CentOS 4.0 samba pdc with ldap.

to add a user manualy go to (for this example user1)
cd /opt/sbin/
smbldap-useradd -m -a user1
smbldap-passwd user1
smbpasswd user1

then download from ms , and use usrmgr.exe and srvmgr.exe to manage this domain controller (add delete users etc...)

note : you might wish to take a look at you /etc/samba/smb.conf file
I did the following :
uncomented delete user script
uncomented delete group script

and disabled roaming profiles (cause I have wireless here and even 70MB takes a lot of time to transfer at a max of 500~ kbyte/s
to disable roaming profiles under smbldap-installer/templates
edit smbldap.conf
and change the following

Once I find out how to install IDEALIX IMC , I will post that to, its a web based management tool , for managing samba domain controllers, from the screenshots I think it rocks.

Robert B

ps.: reading the entire documentation won't hurt.

Robert Becskei
May the source be with us!
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
Go to the top of the page
+Quote Post

Posts in this topic

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 19th July 2018 - 12:33 PM