RE: Help Needed configuring Samba on Webserver

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

  • Next message: Aleksandar Milivojevic: "Re: IPTables rejecting packets that should be let through???"
    Date: Mon, 11 Apr 2005 12:36:44 -0400
    To: "For users of Fedora Core releases" <fedora-list@redhat.com>
    
    

    > > > [Tim Holmes wrote]
    > > > Craig and others:
    > > >
    > > > Excellent suggestion, and I am currently working this through. I
    am
    > > > using the guide in the samba-HOW-TO document, in the fast start
    > segment,
    > > > to set up a domain member server, as this describes precisely what
    I
    > am
    > > > looking for. I have copied in the suggested smb.conf (thankfully
    I
    > have
    > > > a spare server that is serving as a testbed), modified it slightly
    > to
    > > > fit our domain (our domain name, proper netbios name, removing the
    > > > shares that don't apply etc) now I am trying to get things
    running.
    > > >
    > > > I executed the net rpc join command supplying the proper
    credentials
    > for
    > > > our domain, and it successfully joined the domain
    > > >
    > > > I started nmbd, and smbd, but when ever I try to start windbindd,
    I
    > get
    > > > an error that the command is not found. I am guessing that it
    means
    > > > that the windbind daemon is not installed, but im not sure as I
    may
    > be
    > > > missing another concept someplace else -- can someone please point
    > me in
    > > > the right direction.
    > >
    > > winbindd is part of the samba-common package and is installed in
    > > /usr/sbin. "service winbind start" should start it if you've got
    your
    > > PATH set properly (i.e. using "su -" and not just "su").
    > >
    > > Paul.
    > [Tim Holmes wrote]
    > Thanks -- that got it -- lunch inhaled -- project back on track --
    >
    > All fingers and toes crossed
    >
    > LOL
    >
    [Tim Holmes wrote]
    Ok -- I have completed all of the setup that the article I am
    referencing has specified.

    To reinterate:

    I am using a testbed server on our network which has the netbios name
    VULCAN. The network name is MCASCHOOL

    The server is running FC3 and what ever version of samba a recent yum
    update would have updated to.

    This is a copy of my smb.conf file

    [global]
    workgroup = MCASCHOOL
    netbios name = VULCAN
    security = DOMAIN
    printcap name = cups
    disable spoolss = Yes
    show add printer wizard = No
    idmap uid = 15000-20000
    idmap gid = 15000-20000
    winbind use default domain = Yes
    use sendfile = Yes
    printing = cups

    [homes]
    comment = Home Directories
    valid users = %S
    read only = No
    browseable = No

    This file is directly copied from the how to book and just modified
    slightly to fit our domain

    I then executed the net rpc join -U command giving it the domain admin
    username and password, and it reported successfully joining the domain

    Next, I started nmbd, smbd, and after a short struggle windbindd

    I edited the /etc/nsswitch.conf file to as specified

    Passwd: files windbind
    Group: files windbind
    Hosts: files dns windbind

    Then executed the wbinfo --set-auth-user= command supplying the domain
    admin username and password

    When I typed wbinfo -u as specified in step 8, I got a list of my domain
    users, and the same with wbinfo -g -- got a list of domain groups. I
    did notice in this step however, that in the example in the book, the
    domain usernames were proceeded with the name of the domain (ie
    MCASCHOOL\tholmes) and when I executed the command, the domain name was
    not listed. The same held true for the groups.

    The first indication of trouble came when I executed getent passwd
    tholmes (my username both on the fc3 box and on the domain). It
    responded as predicted by the help file (step 9)

    When I executed the getent passwd jkocher (a test user) there was no
    response -- just a new prompt line.

    I logged in as the jkocher user on a windows xp pro station that is part
    of the domain, and browsed to the VULCAN server -- which I can see.
    When I double clicked on it, it popped up a box requesting
    authentication. Supplying the credentials for jkocher (the logged in
    user) did not clear the request for authentication

    I suspect that I am missing a small step someplace, but I cannot seem to
    figure it out,

    If anyone can please help me it would be greatly appreciated

    TIM

    You may contact me on-list off list at tholmes@mcaschool.net or on yahoo
    im at w8tah or aol im at w8tahham

    TIM

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

  • Next message: Aleksandar Milivojevic: "Re: IPTables rejecting packets that should be let through???"

    Relevant Pages

    • Re: Connecting to a File Server
      ... to retreive a password and username saved in the credential manager? ... Using 4.2 we were able to save the credentials and then pass 0 to username ... BOOL SaveDefaultCredentials(TCHAR *szUser, TCHAR *szPassword, TCHAR ... BOOL RetValue = FALSE; ...
      (microsoft.public.windowsce.platbuilder)
    • Re: Stange access problem
      ... Merv Porter [SBS-MVP] ... "Windows cannot bind to local domain (invalid credentials)" ... logging on with his correct username and password. ... One oddity is the username that pops up is not his 'domain/username'. ...
      (microsoft.public.backoffice.smallbiz)
    • Re: Stange access problem
      ... "Windows cannot bind to local domain (invalid credentials)" ... network resource accesses are requiring his credentials. ... on with his correct username and password. ... One oddity is the username that pops up is not his 'domain/username'. ...
      (microsoft.public.backoffice.smallbiz)
    • Re: POP through ISA
      ... This may be a problem with the authenication. ... If your mailbox alias is ... then you need to enter the username ... E-mail alias is Jim.McBee, my credentials for ...
      (microsoft.public.exchange.admin)