Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all! We have been experiencing an issue on site where threads have been missing the latest postings. The platform host Vanilla are working on this issue. A workaround that has been used by some is to navigate back from 1 to 10+ pages to re-sync the thread and this will then show the latest posts. Thanks, Mike.
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Samba Problems ... Again

  • 08-10-2007 9:54pm
    #1
    Registered Users, Registered Users 2 Posts: 1,629 ✭✭✭


    Ok, I beg you dont flame me! - I know I have posted problems on this before.

    I just felt that I might get a better response if I post a more detailed description.

    Here goes!


    I am trying to share files between my Ubuntu Linux and Mac OS X.

    Ubuntu is running on VMWARE - (Virtual Machine).

    I have installed Samba -

    Created a samba password using:
    sudo smbpasswd -a <username>
    

    The username I used was Shane. So I typed:
    sudo smbpasswd -a shane
    

    I then added this user to the smbusers file:
    sudo vi /etc/samba/smbusers
    

    This is the format I entered it in:
    administrator = "shane"
    

    I assume the above maps the ubuntu user "administrator" to the samba user Shane?

    For testing purposes I am using the password "support"

    I have configured the shared home directories as expected.

    On the mac:

    Finder -> GO -> Connect to server
    I enter the details in the image below.

    Picture1-3.png

    Then there is a pause when connecting like so:

    Picture2-3.png

    I am then presented with this window:

    Picture3.png

    I change the fields (using the password "support") like so:

    Picture4.png

    I click connect and this is what I get :

    Picture5.png






    If anyone has any suggestions I would appreciate hearing them.
    If anyone has spotted that I have done something wrong it would be a great help to point it out.


    I think I should add that I am using Ubuntu Server with no GUI (Command Line Only).


Comments

  • Registered Users, Registered Users 2 Posts: 811 ✭✭✭Rambo


    check that you can ping the mac computer from Ubuntu computer
    check iptables (firewall) is off while testing on the ubuntu computer

    We need to see the smb.conf file

    in the smb.conf most people forget to but in the netbios name
    of the computer
    Example:
    netbios name = <computername>


    you will need to setup a share point on the ubuntu box
    here a simple one to share out my Linux Docs
    example:

    [LinuxDocs]
    comment = Redhat Linux Docs
    path = /home/Linux/Doc
    read only = yes
    browseable = yes


    to access this share I would type smb://computername/LinuxDocs


  • Registered Users, Registered Users 2 Posts: 2,747 ✭✭✭niallb


    Excellent description of what you're seeing.

    Run the command 'testparm' on the ubuntu server.
    It'll dump out some details on your samba setup,
    and also tell you if there's any errors.
    Posting the output up here would help again.
    It'll be a lot shorter than your smb.conf, and will contain
    all of your active configuration.

    You shouldn't need the line administrator = shane in smbusers.
    It may be the source of your woes!
    What it means is that if a connection is made by someone called 'shane',
    they should be given the shares visible to a user called 'administrator'.
    Do you have an ubuntu user called 'administrator' and do they have a home
    directory you want to connect to?

    Check is MSHOME actually the workgroup name of the samba server (testparm will tell you under [global]).

    Make sure as Rambo says your firewall is off until you have it working.
    iptables-save is a good command to show what's active in an iptables setup.


  • Hosted Moderators Posts: 7,486 ✭✭✭Red Alert


    In Ubuntu you need the admin set. The catch is that admin then writes the files as root. So you can't delete them from your own home dir. The solution is to make an account like smbadmin to do things like adding machines to the domain (if you use that feature).


  • Registered Users, Registered Users 2 Posts: 1,629 ✭✭✭NullZer0


    Hey everyone,

    Thanks for the replies.

    I'm at work at the moment so I'm going to check it out when I get home and post any more relative information that I can get.


    I have posted this on the Mac forum also as I am connecting from Mac.

    However, the problem is more than likely my configuration on the Ubuntu side.


Advertisement