اطلاعیه

بستن
No announcement yet.

Samba 4 Domain Controller

بستن
این موضوع بسته شده است.
X
X
 
  • فیلتر کردن
  • زمان
  • نمایش
Clear All
پست های جدید

  • Samba 4 Domain Controller

    کد:
    http://admingeeks.blogspot.com/2010/11/samba-4-domain-controller.html
    PART 1


    Here is the step by step procedure to install samba 4 domain controller.

    Step 1: Server OS Installation.

    Server minimum requirements:

    1. PC with Dual Core/Core2 Duo processor.
    2. 512MB RAM (2GB for better performance).
    3. 100/1000 mpbs ethernet.
    4. DVD-ROM.
    5. Internet Connection (to download Samba and other libraries).
    6. Fedora Core 13 media.


    Server OS (Fedora Core 13) installation.

    Put the Fedora 13 media in DVD ROM and boot the system.

    • select " Install a new system or upgrade an existing system" from menu.



    • Skip the media test

    • click on next

    • click next with English as language

    • click next


    • click next with basic storage option selected.


    • click re-initialize all, Click next



    • Enter host name for this server. ex: dc.admingeeks.blogspot.com (server name: dc, domain name: admingeeks.blogspot.com) , click next


    • select time zone and click next


    • enter the root password and confirm it.

    • select "use all space" option if you don't have any idea on partitioning, or select create custom layout if you know how to partitioning..

    • Click next with selected option.

    • click next with default settings for boot loader.

    • select "customize now", Click next


    • select " Development" on left side pane and select "Development Libraries", "Development tools" on right side

    • select "Servers" on leftside pane and select DNS Name server and FTP server, Click Next.

    • installation is going on, go and have some coffee..

    • Congratulations, your Fedora installation is complete. Click on Reboot

    • After restart, Click on Forward in Welcome screen.

    • Create a user

    click Forward on date & time, Hardware Profile and Click on Finish
    داخل انجمن سوال کنید تا دیگران هم اگر مشکل شما را دارند یا برایشان در آینده پیش بیاید استفاده کنند. پیغام خصوصی برای جواب دادن به سوال نیست.

  • #2
    کد:
    http://admingeeks.blogspot.com/2010/11/samba-4-domain-controller-part-2.html
    PART 2


    Step 2: Samba 4 download and Installation.

    • Download the samba 4 alpha 13 package from here

    Download package to user's home directory or some other place.( In my case it is in /home/admin)
    • Now install/update some development libraries..


    Open terminal and type "su", press enter. Give root password, press enter. Then type " yum install libacl-devel libblkid-devel gnutls-devel readline-devel python-devel gdb pkgconfig".

    • Once updated, type "ls -l"

    • untar the file with this command "tar -xvzf <filename>"
    • then "cd samba*"
    • then "cd source4"

    • follow the procedure to compile the samba package
    ./configure
    make
    • to install samba type the following
    make install
    • installer will install the samba to /usr/local/samba

    • Now we have to provision samba

    The "provision" step sets up a basic user database, and is used when you are setting up your Samba4 server in its own domain.
    • make sure the you are in source4 directory.. type

    ./setup/provision --realm=admingeeks.blogspot.com --domain=ADMINGEEKS --adminpass=fedora@123 --server-role='domain controller'

    • run samba by this command
    /usr/local/samba/sbin/samba
    • verify that samba service is running


    • verify samba server status
    smbclient -L localhost -U%
    That's it. We have done.. Now samba will act as domain controller. Windows XP, Vista, 7 clients can join to this domain..

    Part 3: Configure DNS, Creating users, Managing users, Group Policy objects, Join Windows clients to this Domain, Windows server 2008 as Additional domain controller to samba
    داخل انجمن سوال کنید تا دیگران هم اگر مشکل شما را دارند یا برایشان در آینده پیش بیاید استفاده کنند. پیغام خصوصی برای جواب دادن به سوال نیست.

    کامنت

    در حال انجام ...
    X