Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 14th June 2008, 13:42
Linocks Linocks is offline
Member
 
Join Date: Nov 2006
Location: Cambs. UK
Posts: 61
Thanks: 3
Thanked 3 Times in 2 Posts
Default Step 11: Configure our primary DNS Zone using WebMin

I am trying to do my first installation of an LDAP server according to the 'Howto' at Step 11: Configure our primary DNS Zone using WebMin and when I get to that part of the instructions Click "Apply Changes" button, I get an error message as shown in the attached image.

I have followed the instructions but made the following changes : -
  1. The server installation (as assumed on page 1) was done in accordance with the The Perfect Server - Ubuntu Hardy Heron (Ubuntu 8.04 LTS Server)
  2. I used 8.04 (Hardy Heron) instead of using 7.10 (Gutsy Gibbon)
  3. I used webmin_1.420_all.deb instead of webmin_1.380_all.deb

I thought I was doing so well and I did not receive any error messages before that stage.

Can anyone assist?

Hello,

I entered the following commands and my problem was solved : -
  1. /etc/init.d/bind9 stop
  2. /etc/init.d/sysklogd restart
  3. /etc/init.d/bind9 start

I got to the next stage.

Thanks!
Attached Images
 

Last edited by Linocks; 14th June 2008 at 14:49. Reason: Problem Solved!!
Reply With Quote
Sponsored Links
  #12  
Old 14th June 2008, 16:16
Linocks Linocks is offline
Member
 
Join Date: Nov 2006
Location: Cambs. UK
Posts: 61
Thanks: 3
Thanked 3 Times in 2 Posts
Default Step 14: Configure your Windows XP Professional Client

Now I'm getting this error message when I try to add a computer to the Domain
as per Step 14: Configure your Windows XP Professional Client when it should say "Welcome to the example domain." : -
Attached Images
 
Reply With Quote
  #13  
Old 14th June 2008, 17:34
alshira alshira is offline
Junior Member
 
Join Date: May 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default RE: Step 14: Configure your Windows XP Professional Client

the answer for your question:

Step 14: Configure your Windows XP Professional Client
Now I'm getting this error message when I try to add a computer to the Domain
as per Step 14: Configure your Windows XP Professional Client when it should say "Welcome to the example domain." : -
14th June 2008 05:42

In the smb.conf

you must change the vales:
workgroup = EXAMPLE
# Begin: Custom LDAP Entries
#
ldap admin dn = cn=admin,dc=example,dc=local
ldap suffix = dc=example, dc=local


to your names domain.
Reply With Quote
  #14  
Old 14th June 2008, 23:27
Linocks Linocks is offline
Member
 
Join Date: Nov 2006
Location: Cambs. UK
Posts: 61
Thanks: 3
Thanked 3 Times in 2 Posts
Default RE: Step 14: Configure your Windows XP Professional Client

Quote:
Originally Posted by alshira View Post
the answer for your question:

In the smb.conf

you must change the vales:
workgroup = EXAMPLE
# Begin: Custom LDAP Entries
#
ldap admin dn = cn=admin,dc=example,dc=local
ldap suffix = dc=example, dc=local


to your names domain.
I did do that!!
Reply With Quote
  #15  
Old 15th June 2008, 04:35
Linocks Linocks is offline
Member
 
Join Date: Nov 2006
Location: Cambs. UK
Posts: 61
Thanks: 3
Thanked 3 Times in 2 Posts
Exclamation Step 8: Add an LDAP user to the system

I decided to start again!

This time I got to Step 8: Add an LDAP user to the system!

I got the below error message : -

Code:
root@server1:/etc/smbldap-tools# smbldap-useradd -a -m -M ricky -c "Richard M" ricky
Could not find base dn, to get next uidNumber at /usr/share/perl5/smbldap_tools.pm line 1073.
What went wrong this time??

It will suffice to say the installation has stopped (well I've decided not to go any further) until I have obtained a solution.

On this occasion I decided to install with no 'previous' server installations. I followed the installation instructions but used Ubuntu 8.04 (Hardy Heron).

Thanks in advance.
Reply With Quote
  #16  
Old 15th June 2008, 11:01
Linocks Linocks is offline
Member
 
Join Date: Nov 2006
Location: Cambs. UK
Posts: 61
Thanks: 3
Thanked 3 Times in 2 Posts
Exclamation Re Step 8: Add an LDAP user to the system

In the example above I have edited the smbldap.conf file as follows : -
Code:
# Where to store next uidNumber and gidNumber available for new users and groups
# If not defined, entries are stored in sambaDomainName object.
# Ex: sambaUnixIdPooldn="sambaDomainName=${sambaDomain},${suffix}"
# Ex: sambaUnixIdPooldn="cn=NextFreeUnixId,${suffix}"
sambaUnixIdPooldn="sambaDomainName=EXAMPLE,${suffix}"
When I edit it as below : -
Code:
# Where to store next uidNumber and gidNumber available for new users and groups
# If not defined, entries are stored in sambaDomainName object.
# Ex: sambaUnixIdPooldn="sambaDomainName=${sambaDomain},${suffix}"
# Ex: sambaUnixIdPooldn="cn=NextFreeUnixId,${suffix}"
sambaUnixIdPooldn="sambaDomainName=$EXAMPLE,${suffix}"
I got this error message : -
Code:
root@niro1:/etc/smbldap-tools# smbldap-useradd -a -m -M ricky -c "Richard M" ricky

Error looking for next uid in sambaDomainName=$EXAMPLE,dc=EXAMPLE,dc=local:No 
such object at /usr/share/perl5/smbldap_tools.pm line 1071.
So I'm getting an error message with or without the $.

There is no $ in the 'Howto' but the smbldap.conf file defaults to a $ before the Domain prior to editing it.
Reply With Quote
  #17  
Old 27th June 2008, 02:54
sangamc sangamc is offline
Junior Member
 
Join Date: Jun 2008
Posts: 11
Thanks: 0
Thanked 2 Times in 2 Posts
Default

i too have the same problem once in a while and usually cant find out what caused the problem. i use fedora and FDS, and have sucessfully installed a complete pdc and gotten passed this step, but cant for the life of me find a solid answer. sometimes defining the indexes uidNumber and gidNumber in the database will work, but if they have been defined already i get stuck
Reply With Quote
  #18  
Old 23rd July 2008, 18:11
SOaD! SOaD! is offline
Junior Member
 
Join Date: Jul 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

You should try : sambaUnixIdPooldn="sambaDomainName=${sambaDomain}, ${suffix}"
Reply With Quote
  #19  
Old 23rd July 2008, 19:04
sangamc sangamc is offline
Junior Member
 
Join Date: Jun 2008
Posts: 11
Thanks: 0
Thanked 2 Times in 2 Posts
Default

i ended up switching to centos and using centos-ds (which is basically the same thing as fedora-ds) and it works alot better. i also do the following

Import NextFreeUserId ldif

dn: cn=NextFreeUnixId,dc=example,dc=com
objectClass: inetOrgPerson
objectClass: sambaUnixIdPool
uidNumber: 1000
gidNumber: 1000
cn: NextFreeUnixId
sn: NextFreeUnixId

ldapadd -x -c -D 'cn=Directory Manager' -W -f /tmp/nextusrid.ldif
Enter LDAP Password:

and no longer have the described problem anymore
Reply With Quote
  #20  
Old 23rd August 2008, 10:00
mperreault mperreault is offline
Junior Member
 
Join Date: Dec 2007
Posts: 12
Thanks: 3
Thanked 0 Times in 0 Posts
 
Question Trouble with getting XP to join Domain..

I've been trying to follow this http://www.howtoforge.com/openldap-s...r-ubuntu7.10-p Tutorial on and off for the past 2 months. I work in a school and as we have run out of CAL's for the Windows 2003 SBS I would rather replace the domain controller with something free as we can't afford to buy the CAL's...

Anyway I've reached the point where I get the XP machine to join the domain. I type "root" as the username and "12345" as the password and I get..

The following error occurred attempting to join the domain "example":

The user name could not be found.


I've tried using sysadmin for the user. and it also doesn't work...

Any ideas?
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
OpenLDAP + Samba Domain Controller On Ubuntu 7.10 agarcia71 HOWTO-Related Questions 19 18th July 2008 16:41
OpenLDAP + Samba Domain yakkeh HOWTO-Related Questions 1 10th January 2008 17:09
Ubuntu 7.10 LDAP Samba question netwerkdude HOWTO-Related Questions 0 6th January 2008 23:35
samba domain controller - ubuntu eoij1 HOWTO-Related Questions 3 6th October 2006 15:35
Ubuntu Samba -- 'Unknown User' error in Win2k? chewtoy Server Operation 2 5th September 2006 16:21


All times are GMT +2. The time now is 15:17.


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