Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th February 2008, 22:16
raypettersen raypettersen is offline
Member
 
Join Date: Oct 2007
Posts: 33
Thanks: 1
Thanked 0 Times in 0 Posts
Default Easy debian ldap guide needed.

Hi

Could someone point me in the direction of a well written, and easy to understand guide on how to create a debian domain controller, that will act as an ldap server for all of my other servers?

Im very interested in how to configure it, and how to make the "client" servers sync with the directory. Also, I`d like to have an easy to maintain webclient to populate the ldap tree with.

Thanks in advance for any useful suggestions.
Reply With Quote
Sponsored Links
  #2  
Old 5th February 2008, 17:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

I'll publish such a guide in a few minutes...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
raypettersen (5th February 2008)
  #3  
Old 5th February 2008, 17:57
raypettersen raypettersen is offline
Member
 
Join Date: Oct 2007
Posts: 33
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Looking forward to it, thanks again Falko! =)
Reply With Quote
  #4  
Old 5th February 2008, 18:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Here it is: http://www.howtoforge.com/mandriva-d...on-debian-etch
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 5th February 2008, 18:40
raypettersen raypettersen is offline
Member
 
Join Date: Oct 2007
Posts: 33
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Looks great! A bit complicated, but well written. I`ll have a crack at it tomorrow, and give you some feedback on how it went. Thanks again
Reply With Quote
  #6  
Old 21st February 2008, 23:51
raypettersen raypettersen is offline
Member
 
Join Date: Oct 2007
Posts: 33
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi

I followed this guide, and stumbled upon two problems. The first problem was that /etc/bind/named.ldap.conf was missing, so the BIND service couldn`t start. I fixed the problem by breating an empty file, and the bind service seems to start up okay.

The second problem, and perhaps the worst, is that I can`t create any new users. Im stuck with the following error :

-----
Warning: array_diff() [function.array-diff]: Argument #1 is not an array in /usr/share/mmc/modules/base/users/edit.php on line 192

Warning: Invalid argument supplied for foreach() in /usr/share/mmc/modules/base/users/edit.php on line 192

Warning: array_diff() [function.array-diff]: Argument #2 is not an array in /usr/share/mmc/modules/base/users/edit.php on line 196

Warning: Invalid argument supplied for foreach() in /usr/share/mmc/modules/base/users/edit.php on line 196
----

It seems like /usr/share/mmc/modules/base/users/edit.php is acting up for some reason. Any suggestions would be greatly appreciated.
Reply With Quote
  #7  
Old 22nd February 2008, 17:46
o.meyer o.meyer is offline
Senior Member
 
Join Date: Aug 2007
Posts: 167
Thanks: 2
Thanked 24 Times in 23 Posts
Default

Hi raypettersen,

looks like you forgot to copy the named.conf as described at the beginning of step 13.

Please set it up again and follow the howto line by line.

Best regards,

Olli
Reply With Quote
  #8  
Old 22nd February 2008, 18:09
raypettersen raypettersen is offline
Member
 
Join Date: Oct 2007
Posts: 33
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi, and thankyou for your reply.

I remember, that I copied the file you mentioned.

The problem was that

include "/etc/bind/named.conf.ldap";

Didn`t exist after I followed the guide.. I just created a blank file, and gave write permissions to it. Bind then started up without any errors.


Im still at a loss why I am unable to create any new users.

I skipped the dhcp part in the guide, because I already have an active dhcp in my Cisco Asa router. Could that have any effect?
Reply With Quote
  #9  
Old 22nd February 2008, 18:19
raypettersen raypettersen is offline
Member
 
Join Date: Oct 2007
Posts: 33
Thanks: 1
Thanked 0 Times in 0 Posts
Default

The line in edit.php that is causing the problem, is as follows :

foreach (array_diff($new, $old) as $group) {...

and is followed by :

add_member($group, $_POST['nlogin']);
callPluginFunction("delUserFromGroup", array($_POST['nlogin'], $group));


Any ideas?
Reply With Quote
  #10  
Old 24th February 2008, 14:44
o.meyer o.meyer is offline
Senior Member
 
Join Date: Aug 2007
Posts: 167
Thanks: 2
Thanked 24 Times in 23 Posts
 
Default

Hi raypettersen,

I'll set up a MDS-system again and check if all is working. Give me a few days - I think till next weekend - sad to say that I haven't the time that I want to have. I need two heads and eight arms

Best regards,

Olli
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
LDAP Problem pinguingilo Installation/Configuration 4 22nd December 2007 21:32
Please help me whit bind9 astra2000 Server Operation 12 10th October 2007 02:43
Debian Etch (Debian 4.0) apache2 file needed Dekalb Installation/Configuration 3 1st June 2007 23:40
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 00:57
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 14:42


All times are GMT +2. The time now is 21:10.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.