Page 2 of 6 FirstFirst 1234 ... LastLast
Results 11 to 20 of 52

Thread: Ubuntu Server, permissions

  1. #11
    Join Date
    May 2012
    Beans
    80

    Re: Ubuntu Server, permissions

    I'm only using lower case logins & passwords. I'm using Raspbmc media player on the Pi, through a homeplug network. The Pi can 'see' the share, but won't accept any combinations of the users/passwords I've created.

    I had previously streamed from the main windows 7 pc to the Pi with no problems.

  2. #12
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Ubuntu Server, permissions

    Try using the IP address and inputting a workgroup if you do not have one already set.

    http://choorucode.com/2012/08/18/how...-from-raspbmc/

    You could also try it from another *nix box and see if it'll connect.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  3. #13
    Join Date
    May 2012
    Beans
    80

    Re: Ubuntu Server, permissions

    Hi mate, and thanks for your continued help.

    I've tried the above method, no joy unfortunately. It's very odd, as the other instance of XBMC I have - on a Win7 machine, connects easily & doesn't even ask for a username or passsword.

  4. #14
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Ubuntu Server, permissions

    Are you sure you didn't have the other one set up for guest access? I do not believe that prompts for a username/password.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  5. #15
    Join Date
    May 2012
    Beans
    80

    Re: Ubuntu Server, permissions

    Sorry mate, I'm really confused now - how do I check that?

    Also, my intention is to put in a bigger hard drive into the server and transfer all my media onto that - the one in there at the moment is only a little 80gb one.

    Would it be easier to do that first - and set it up so that anyone on the local network can do anything to it?

  6. #16
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Ubuntu Server, permissions

    That setting would be the /etc/samba/smb.conf

    As far as installing a larger drive, you should probably do it before you start messing with configuration.

    Will you be using the new drive as a storage drive or as the OS drive?
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  7. #17
    Join Date
    Dec 2009
    Beans
    5,427

    Re: Ubuntu Server, permissions

    We need someplace to start. Please post the output of the following command:
    Code:
    testparm -s

  8. #18
    Join Date
    May 2012
    Beans
    80

    Re: Ubuntu Server, permissions

    Hi guys, here is the output of the testparm -s command:

    CharlesA - I'll be using the new disc purely as a media disc. i was hoping to get an understanding of samba sharing first, but hey ho. I'll be getting the new disc tomorrow, but I'd still like to know what I've done wrong, and how to make sure the new disc is set up right.



    HTML Code:
    craig@server:~$ testparm -s
    Load smb config files from /etc/samba/smb.conf
    rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
    Processing section "[printers]"
    Processing section "[print$]"
    Processing section "[mediaonserver]"
    WARNING: The security=share option is deprecated
    Loaded services file OK.
    WARNING: You have some share names that are longer than 12 characters.
    These may not be accessible to some older clients.
    (Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
    Server role: ROLE_STANDALONE
    [global]
            netbios name = SERVERMAIN
            server string = %h server (Samba, Ubuntu)
            security = SHARE
            map to guest = Bad User
            obey pam restrictions = Yes
            pam password change = Yes
            passwd program = /usr/bin/passwd %u
            passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
            unix password sync = Yes
            syslog = 0
            log file = /var/log/samba/log.%m
            max log size = 1000
            add machine script = /usr/sbin/useradd -s /bin/false -d /home/nobody
            dns proxy = No
            wins support = Yes
            usershare allow guests = Yes
            panic action = /usr/share/samba/panic-action %d
            winbind use default domain = Yes
            winbind trusted domains only = Yes
            idmap config * : backend = tdb
            path = /media/MediaShare
            read only = No
    
    [printers]
            comment = All Printers
            path = /var/spool/samba
            read only = Yes
            create mask = 0700
            printable = Yes
            print ok = Yes
            browseable = No
    
    [print$]
            comment = Printer Drivers
            path = /var/lib/samba/printers
            read only = Yes
    
    [mediaonserver]
            comment = mediaonmainserver
            valid users = craigtest, craigpc, craig, pi
            guest ok = Yes

  9. #19
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Ubuntu Server, permissions

    Quote Originally Posted by Craig71 View Post
    CharlesA - I'll be using the new disc purely as a media disc. i was hoping to get an understanding of samba sharing first, but hey ho. I'll be getting the new disc tomorrow, but I'd still like to know what I've done wrong, and how to make sure the new disc is set up right.
    You should be fine. The only thing you would really need to change is where samba is sharing files from but that is an easy fix.

    According to your smb.conf file you have guest access enabled for that share, but I do not know if it will work the way you want it to.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  10. #20
    Join Date
    May 2012
    Beans
    80

    Re: Ubuntu Server, permissions

    So there's nothing obvious that's making the Pi unable to connect? Weird.

Page 2 of 6 FirstFirst 1234 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •