<---- template headericclude ----->
Fedora Directory Service -- HOWTO
FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 12 LastLast
Results 1 to 15 of 23
  1. #1
    Join Date
    Mar 2004
    Location
    Westland, Michigan
    Age
    49
    Posts
    2,317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Fedora Directory Service -- HOWTO

    The following HOWTO was designed after reading several documents on the Fedora Directory Service and how to set it up. The following guide is a walk-through for setting up a directory for example.com using a fresh install of Fedora Core 4. The document assumes a local network of 192.168.1.x with a default gateway (router) of 192.168.1.1. I will guide you through the setup of DNS (bind) using Webmin for easy administration.

    NOTE: I had numerous JAVA problems trying to use the Fedora Directory Server 1.0.2 release, so this document uses the Fedora Directory Service 1.0.1. If you attempt to use 1.0.2, you may get a GC Out of Memory, Returning NIL! message. If anybody knows how to correct this error with these instructions and version 1.0.2 please post and let me know.

    Prerequisites: You must have anFC4 machine with at least 256MB of RAM. You must have enough working knowledge of Linux to modify files and install software.

    INSTALLING FC4.
    ================
    1.Boot from the Fedora Core 4 cd #1
    2.Set an IP Address of 192.168.1.100, a Netmask of 255.255.255.0, a Gateway of 192.168.1.1 and a Primary nameserver of 192.168.1.100. (you may have to use different settings for your network, adjust as necessary)
    3.Choose a custom install.
    4.Partition the hard drive as you desire, I went with Autopartition.
    5.Set the hostname to dirserver.example.com
    6.Disable the firewall and disable SELinux (for a live system, you need to figure this out, for testing and learning this will be fine)
    7.Only choose Xwindows, Gnome, Development Tools, DNS server, and Web Server.

    LOGGING INTO FC4 and SETTING UP DNS
    =====================================
    1.logon as root to perform the following steps
    2.edit /etc/named.conf add the following inside of the OPTIONS section
    forwarders {192.168.1.x;}; (replace the IPADDR with your normal DNS server)
    NOTE: this allows you to get access to the Internet
    3.service named start
    4.chkconfig named on
    5.download webmin from www.webmin.com
    6.install webmin with rpm -ivh webmin*.rpm
    7.connect to http://192.168.1.100:10000 from a webbrowser
    8.logon with your root user account and password
    9.click on Servers, click on Bind DNS Server
    10.click on Create Master Zone
    11.choose Zone Type of Forward, Domain Name of example.com, records file of Automatic, master server as dirserver.example.com, choose to Add NS record for master server, fill out the Email address and click on Create.
    12.Click on the Address Link (big A), under name, put in DIRSERVER, for the Address use 192.168.1.100 and click on Create.
    13.Click on return to zone list, scroll down to bottom of pages and click on Apply changes.

    FEDORA DIRECTORY SERVICE INSTALL AND DEPENDENCIES
    ================================================== =====
    1.Go here, http://directory.fedora.redhat.com/wiki/Main_Page.
    2.Click on Download.
    3.Click on the Fedora Core 4 link under Fedora Directory Services 1.0.1 (I had significant problems with 1.0.2 so stick with 1.0.1).
    4.download the SUN jre-1.5 RPM from here, http://java.sun.com/j2se/1.5.0/download.jsp
    5.chmod u+x jre*
    6../jre-1_5_0_06-linux-i586-rpm.bin (agree to license by scrolling down and typing yes). It will extract and install the RPM.
    7.Modify /etc/profile and add the following: export JAVA_HOME=”/usr/java/jre1.5.0_06/”
    8.export JAVA_HOME=/usr/java/jre1.5.0_06/ (so it's in place for the remainder of the setup)
    9.yum install xorg-x11-deprecated-libs
    10.yum install xinetd
    11.rpm -ivh fedora-ds*.rpm
    12.cd /opt/fedora-ds
    13../setup/setup
    14.choose yes to accept license agreement
    15.After looking at the late breaking news, choose yes to continue
    16.you will be presenting with any errors and warnings. Correct any errors and then choose yes to continue.
    17.Choose Typical – some customization (default) by hitting Enter or selecting 2.
    18.enter in the hostname to use for the server (i.e. Dirserver.example.com).
    19.For Server user ID to use, hit enter to accept the default of nobody.
    20.For Server group ID to use, hit enter to accept the default of nobody.
    21.When asked to register this software with an existing Fedora configuration directory server, choose No.
    22.When asked, do you want to use another directory to store your data, choose No.
    23.For the Directory server network port, hit enter to accept default of 389.
    24.For the Directory server identifier, accept the default by hitting enter.
    25.For the administrator ID, accept default of admin by hitting enter.
    26.Assign it a password that you want to use. (you must remember this)
    27.For the suffix, hit enter to accept the default of dc=example, dc=com.
    28.Accept the Directory Manager default by hitting enter.
    29.Assign the Directory manager a password that you want to use.
    30.For the Administration Domain, hit enter to accept the default of example.com
    31.For the Administration port, accept the default of xxxxx by hitting enter.
    32.When asked, Run Administration Server as root, hit enter to select the default of root.
    33.For the apache Directory, /usr/sbin is correct so hit enter to accept default.
    34.The install should complete, it should start everything ok.
    35.cd /opt/fedora-ds
    36. ./startconsole -u admin -a http://dirserver.example.com:xxxxx/
    37.You should get a Fedora Management Console Window saying to login. Even though there is NOT a password field, type in your admin password that you used during setup.
    38.You should now be logged into the Fedora Management Console. You should be able to begin configuration of your directory.

    STARTING AND STOPPING THE FEDORA DIRECTORY SERVICE
    ================================================== =====
    1.cd /opt/fedora-ds/slapd-dirserver
    2../stop-slapd
    3../start-slapd

    SETTING SYSTEM TO AUTOMATICALLY START THE FEDORA DIRECTORY SERVICE AT BOOT
    ================================================== ===============================
    1.Edit /etc/rc.d/rc.local
    2.add, /opt/fedora-ds/slapd-dirserver/start-slapd
    3.add, /opt/fedora-ds/start-admin

    At this point, it's up to you to design and configure your directory as your needs dictate.

    The following documents/websites and artcles were used in my guide above.
    http://redmondmag.com/features/artic...itorialsID=556
    http://directory.fedora.redhat.com/wiki/Main_Page
    http://directory.fedora.redhat.com/wiki/Install_Guide
    RHCE and MCSE systems administrator
    Registered Linux User #375155 For More Info or to register yourself

    My Linux box is:
    Ubuntu 8.04, Antec Sonata II case with 450-watt PS, AMD 64 X2 4600+ (65 watt), 4GB DDR2 800 RAM, 18X Lite-On DVD burner, Asus M2NPV-VM, Nvidia GeForce 7600GT (256MB), 320GB Western Digital SATA 3.0Gbps, Logitech MX-310, Dell 18" ultrasharp LCD, Microsoft Natural Ergonomic Keyboard 4000 and 2.1 Boston Acoustics sound system..

  2. #2
    Join Date
    Aug 2005
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am currently testing Fedora Directory Service 1.0.2 release on FC5 with Sun's 1.5.0_07 version of Java. I got the same errors you described.

    The error in my case referred to a Java problem. FC5 comes with it's own version of Java which conflicted with Sun's version.

    To fix, I ran the command which java, which pointed me to /usr/bin/java. I simply then renamed /usr/bin/java to /usr/bin/java.old and created a new symlink to Sun's version of Java. i.e.
    mv /usr/bin/java /usr/bin/java.old
    ln -s /usr/java/jre1.5.0_07/bin/java /usr/bin/java.

    Thanks for a great how-to. I hope the above helps.

  3. #3
    Join Date
    Sep 2006
    Posts
    170
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very newbie question:

    I have a running FDS. How can I set up Webmin to create new users? I presume I have to get the right 'Bind to server as' parameters - what are they?

    Sorry if that is a stupid question.
    M.

  4. #4
    Join Date
    Sep 2007
    Posts
    94
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Issue during SSL-Fedora DS Confguration !!!!

    I have installed Fedora DS on one of the RHEL machine.I configured the client too.
    Whenever I run #getent passwd it shows the added user through Directory Console.But now I am facing difficulty with the SSL Confguration therein.I followed the main website for the coinfgiguration but found it not upto mark...I was trying to configure through self-signed certificate but couldn't configure as it ask for TRUSTED CERTIFICATE therewith...
    Pls help me in this regard

  5. #5
    karthick Guest
    Hi , Im karthick

    I have fedora 6. I wish to install and configure the Fedora directory service. I tried the above said methods but the once i start the console,i can see the console start view but the next screen is not loading or not asking for the login prompt.

    Im struggling for a week of time can you please help me to give and solve this issue and configure FDS in my office,...

    Thanks in advance

  6. #6
    Join Date
    Sep 2007
    Posts
    94
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just a week back I configured the whole Fedora DS ....So I can help you with this.Send me the process you followed till now.

  7. #7
    karthick Guest
    Hi ,

    Thanks !

    I have Fedora core 6
    The kernal version i found when i type uname -r is 2.6.22.14-FC6

    My system configurations is
    1gb Ram
    2.6Ghz intel pentium pro.


    I downloaded fedora-ds-1.0.1-1 FC4.i386.opt.rpm
    i got this info from this same forum (the link is http://directory.fedora.redhat.com/wiki/Main_Page)

    Then i downloaded jre-1_5_0_14-linux-i586.rpm

    First i installed jre
    by using rpm -ivh command

    Then I installed fedora directory service rpm

    then i got fedora-ds like directory in /opt

    inside that directory setup directory.

    inside setup directory i typed command ./setup

    It asked for license agreement and all

    I typed yes,And selected typical

    All just ENTER for most of the default settings

    finally it said to start the console

    ./startconsole -u admin -a and my system name

    HERE I GOT PROBLEMS

    I tried in first system

    That i got the fedora console started and asked for login
    I typed admin and the password and clicked login it said an error " URL cannot be found"

    I tried in second system

    That i got the fedora console but the screen did not dissappeared.
    I waited for the login screen to come.but it didn't come

    This is what im facing.Nearly for 2 weeks im trying.Im not able to get it succesfull

    Can you pls help me by step by step configuration

    Actually i want this FDS for users

    where the users in both linux and windows platform can login in the FDS machine

    The windows machine is XP professional

    And the linux clients are Fedora 6

    Thank you very much .... It would be great help for me... Im struggling in this

  8. #8
    Join Date
    Sep 2007
    Posts
    94
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Dont panik.. I will help you with this.
    I need you to check few things:
    Try that again with:
    #cd /opt/fedora-ds
    #./startconsole
    <without any option>
    If it opens the screen provide the credentials.Do provide the right port with IP.

    If it doent work,Can you send me the log file.For that got to /opt/fedora-ds/set/setup.log...

  9. #9
    karthick Guest
    can u give me u r mail ID so that i can attach that log file

  10. #10
    Join Date
    Sep 2007
    Posts
    94
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sure ... ajeet.singh.raina@logicacmg.com

    Does the ./startconsole command worked.????

  11. #11
    Join Date
    Sep 2007
    Posts
    94
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here is the Error:
    ERROR: Administration Server configuration failed. See install.log

    Check this line again...Just do the following steps:
    #cd /opt/fedora-ds
    #./stop-admin
    #cd /opt/fedora-ds/slapd-<>/
    #./stop-slapd
    # cd /opt
    #rpm -e fedora-....RHEL4
    #rm -fr /opt/fedora-ds/
    #rm -fr /opt/fedora-ds

    Check if the older fedora package is there
    #rpm -qa fedora-ds*

    If it displays forcibly delete it.

    Again install new package and try to see if error gets displayed

  12. #12
    karthick Guest
    Hey thanks yaar !

    I got it worked ...

    I got the console ... and asked for login and i gave the admin and password it worked welll

    Now I would like to know how do i configure the user in windosws xp machine...

    In the user & groups i created my name ..
    I dont know how to make synchronize with windows xp machine .Is anything to be installed in xp machine...

  13. #13
    karthick Guest
    The Exact scenario is

    I should create a user in that FDS

    I should login into the windows xp client machine which is in workgroup now with the username and password i create in FDS

    The same process like we do in windows 2003 server ADS ...

  14. #14
    Join Date
    Sep 2007
    Posts
    94
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thats really great !!! I havent actlly started working on that since in my company our ISD team is not allowing me to synchronize with the Windows Machines...Really Tuff People to convince.But I gonna help yu..
    Ok..Listen..pGINA and Passsync is a tool which would help you.Just Google and get it donwload.Before that I think Active Directory Server should be installed (I doubt).
    You can have a look at http://www.mail-archive.com/fedora-d.../msg06343.html

  15. #15
    Join Date
    Sep 2007
    Posts
    94
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have you done with webmin????Any help needed ?

Page 1 of 2 12 LastLast

Similar Threads

  1. Fedora Directory Service installation problems
    By mastertaf in forum Installation, Upgrades and Live Media
    Replies: 1
    Last Post: 23rd June 2008, 03:56 PM
  2. Directory Service
    By idecastro in forum Servers & Networking
    Replies: 1
    Last Post: 9th February 2007, 03:04 AM
  3. Fedora Directory Service-FDS installation Failed!!!
    By aero290879 in forum Servers & Networking
    Replies: 1
    Last Post: 31st July 2006, 12:00 PM
  4. Fedora Directory Service Help
    By pfulda in forum Servers & Networking
    Replies: 0
    Last Post: 6th January 2006, 11:45 PM
  5. Quality of Service Howto?
    By squid in forum Servers & Networking
    Replies: 2
    Last Post: 21st December 2004, 12:01 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]