Help Needed configuring Samba on Webserver

From: Tim Holmes (tholmes_at_mcaschool.net)
Date: 04/08/05

  • Next message: Pete: "Re: Scanners and FC3"
    Date: Fri, 8 Apr 2005 13:10:46 -0400
    To: "For users of Fedora Core releases" <fedora-list@redhat.com>
    
    

    Earlier this week, I posted a message asking for help with a number of
    problems / Projects using Fedora Core 2 or 3 within our network. The
    responses indicated that I should go ahead and post the questions to
    this list, so here is the first one that I am having problems with

    Our webserver is a Pentium 4 2Ghz server running fully up to date FC2
    with Apache and Samba installed.

    Our domain is a windows 2003 Domain using active directory. What I want
    to be able to do is to have each student have their own directory on the
    web server that they can post their web design projects into, and then
    we have apache to use ~username addressing for their sites.

    As it stands right now, I use the following procedure to make this work,
    which is not a problem for a class of 5 students, but for a large class
    it turns into a large amount of work

    Procedure to setup student for samba access

    1 Create the user directory on the webserver
    2. Create the linux user - system/users and groups
    3. Create a public_html directory under their home directory
    4. chmod home directory 755
    5. chmod public_html directory 755
    6. chown home directory -R to user
    7. chgrp home directory to apache
    8. create samba user -- system-config-samba
    9. input windows password into samba as samba password

    everything should then work

    This procedure works. It takes 3 - 5 minutes per itineration, which
    gets tedious at best. The problem comes in the fact that next year we
    want to implement a similar system for storing all of our user files on
    our samba file server, and creating 250 accounts like this is just out
    of the question.

    I realize that I am a new linux administrator, and that my understanding
    of Linux and Samba are fairly limited, but it seems that there must be
    an easier way of accomplishing this. The point that especially wrankles
    me is having to ask the user for their password, and then manually enter
    it into samba to get it to recognize the password, it should be able to
    authenticate against the active directory and work that way.

    I could really use some help here -- I have a class of almost 20
    students who will be starting web design projects on Wednesday of next
    week, so I would very much like to get this working before then, cuz
    otherwise Tuesday night is going to be a real pain creating all those
    users

    TIM

    I can be reached on list, off list at tholmes@mcaschool.net, on Yahoo IM
    at W8TAH, and on AOL IM at W8TAHHAM

    TIM

    Tim Holmes
     
    IT Manager / Webmaster
    Medina Christian Academy
    A Higher Standard...
     
    Jeremiah 33:3
    Jeremiah 29:11
    Esther 4:14

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Pete: "Re: Scanners and FC3"

    Relevant Pages

    • Re: Samba and SELinux
      ... Windows machine couldn't access either of my Samba shares. ... share is a subdirectory of my home directory, ... context change. ...
      (Fedora)
    • Re: Long Time Samba No Work-Need Expert Help On Samba/Networking
      ... My suspicions are that the network or Samba is not set up properly. ... # server string is the equivalent of the NT Description field ... # Only bind to the named interfaces and/or networks; ... # Another common choice is storing the profile in the user's home directory ...
      (Ubuntu)
    • Re: Help Needed configuring Samba on Webserver
      ... Tim Holmes wrote: ... >with Apache and Samba installed. ... >which is not a problem for a class of 5 students, ... Create a public_html directory under their home directory ...
      (Fedora)
    • Re: Suse Linux 10.1 User password
      ... I have been able to make my user home directory and all ... But I would like it to request the username and password of my Linux ... Did you see my answer to your other question about Samba? ... you can restrict Samba access to a list of users from there. ...
      (alt.os.linux.suse)