Page 14 of 17 FirstFirst ... 41213141516 ... LastLast
Results 131 to 140 of 164

Thread: home server

  1. #131
    Join Date
    Mar 2013
    Location
    Lebanon New Hampshire
    Beans
    115
    Distro
    Ubuntu

    Re: home server

    This is my entire smb.conf file. I even just tried to right click and share my /home/Public folder and I got nothing on a windows machine. It's like it's not even on the network. However checking the IP shows me that it is and the fact that I am sending these posts from it seems pretty likely that it is connected to my network.

    [global]
    workgroup = WORKGROUP
    netbios name = server-box <-----I should add that I am not entirely sure about what this line should say. I just guessed and made it my machine name, but it didn't seem to do anything for me.
    security = share
    usershare owner only = false


    usershare path = /var/lib/samba/usershare
    usershare max shares = 100
    usershare allow guests = yes
    usershare owner only = no


    [RAID]
    path = /storage
    guest ok = yes
    read only = no


    [500gb]
    path = /500gb
    guest ok = yes
    read only = no
    -----------------------------------------------------------------------------------------
    Home Server Running Trusty 14.04
    Dualboot Ubuntu 14.04/Windows 7 Ultimate Laptop

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

    Re: home server

    It still looks like you are trying to combine the two kinds of sharing into one file and that's going to cause problems.

    Run this from the server please:

    Code:
    smbtree
    You might need to install something if it isn't already installed.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

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

  3. #133
    Join Date
    Mar 2013
    Location
    Lebanon New Hampshire
    Beans
    115
    Distro
    Ubuntu

    Re: home server

    What exactly are you looking for? This is the output
    Code:
    WORKGROUP
    	\\SERVER-BOX     		Samba 3.6.6
    	\\MAC000D9336B4DA		TheKerinHerricksComputer
    	\\KERINHERRICK1  		
    	\\BETHANYSLAPTOP 		
    server@server-box:~$
    -----------------------------------------------------------------------------------------
    Home Server Running Trusty 14.04
    Dualboot Ubuntu 14.04/Windows 7 Ultimate Laptop

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

    Re: home server

    Alright, it sees the server, but it doesn't see any shares.

    It should look like this:

    Code:
    WORKGROUP
            \\THOR                          Thor server (Samba, Ubuntu)
                    \\THOR\Charles          Charles' Folder
                    \\THOR\Music            Music Folder
                    \\THOR\Shared           Shared Folder
                    \\THOR\Software         Software Folder
                    \\THOR\IPC$             IPC Service (Thor server (Samba, Ubuntu))
            \\LUNA
                    \\LUNA\Users
                    \\LUNA\IPC$             Remote IPC
                    \\LUNA\C$               Default share
                    \\LUNA\ADMIN$           Remote Admin
    Here's my smb.conf if you want to compare it .
    Code:
    [global]
            server string = %h server (Samba, Ubuntu)
            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
            printcap name = /dev/null
            dns proxy = No
            usershare allow guests = Yes
            panic action = /usr/share/samba/panic-action %d
            idmap config * : backend = tdb
            printing = bsd
            print command = lpr -r -P'%p' %s
            lpq command = lpq -P'%p'
            lprm command = lprm -P'%p' %j
    
    [Charles]
            comment = Charles' Folder
            path = /array/charles
            invalid users = htpc
            write list = charles
            create mask = 0660
            directory mask = 0770
    
    [Music]
            comment = Music Folder
            path = /array/music
            read list = htpc
            write list = charles
            create mask = 0664
            directory mask = 0775
    
    [Shared]
            comment = Shared Folder
            path = /array/shared
            write list = charles
            create mask = 0664
            directory mask = 0775
    
    [Software]
            comment = Software Folder
            path = /array/software
            invalid users = htpc
            write list = charles
            create mask = 0664
            directory mask = 0775
    It might also help to run testparm on your smb.conf file.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

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

  5. #135
    Join Date
    Mar 2013
    Location
    Lebanon New Hampshire
    Beans
    115
    Distro
    Ubuntu

    Re: home server

    So here is the output:
    Code:
    sudo testparm /etc/samba/smb.conf
    Load smb config files from /etc/samba/smb.conf
    rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
    Processing section "[RAID]"
    Processing section "[500gb]"
    WARNING: The security=share option is deprecated
    Loaded services file OK.
    Server role: ROLE_STANDALONE
    Press enter to see a dump of your service definitions
    
    
    [global]
    	security = SHARE
    	usershare allow guests = Yes
    	usershare owner only = No
    	usershare path = /var/lib/samba/usershare
    	idmap config * : backend = tdb
    
    
    [RAID]
    	path = /storage
    	read only = No
    	guest ok = Yes
    
    
    [500gb]
    	path = /500gb
    	read only = No
    	guest ok = Yes
    server@server-box:~$
    So should I be saying to share every single folder that I want to share? Really, ideally I would be sharing the top level folder and allowing my windows PC to modify, create, delete and whatever else inside of that container. Does that make sense?
    -----------------------------------------------------------------------------------------
    Home Server Running Trusty 14.04
    Dualboot Ubuntu 14.04/Windows 7 Ultimate Laptop

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

    Re: home server

    Quote Originally Posted by RobertKH View Post
    So should I be saying to share every single folder that I want to share? Really, ideally I would be sharing the top level folder and allowing my windows PC to modify, create, delete and whatever else inside of that container. Does that make sense?
    Depends on how you have it setup. On my server, /array is where my raid array is mounted and charles, music, etc are subfolders of that array.

    This might be causing issues:

    WARNING: The security=share option is deprecated

    Try using user shares or setting them up to be accessible via guests at least until you can connect and see your shares.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

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

  7. #137
    Join Date
    Mar 2013
    Location
    Lebanon New Hampshire
    Beans
    115
    Distro
    Ubuntu

    Re: home server

    I wish that I could show you the blank stare on my face right now.... how do I set up what you are talking about?
    -----------------------------------------------------------------------------------------
    Home Server Running Trusty 14.04
    Dualboot Ubuntu 14.04/Windows 7 Ultimate Laptop

  8. #138
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: home server

    Quote Originally Posted by RobertKH View Post
    I wish that I could show you the blank stare on my face right now.... how do I set up what you are talking about?
    Just replace your current smb.conf file with this and restart smbd and nmbd.

    Code:
    [global]
            server string = %h server (Samba, Ubuntu)
            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
            printcap name = /dev/null
            dns proxy = No
            usershare allow guests = Yes
            panic action = /usr/share/samba/panic-action %d
            idmap config * : backend = tdb
            printing = bsd
            print command = lpr -r -P'%p' %s
            lpq command = lpq -P'%p'
            lprm command = lprm -P'%p' %j
    
    [RAID]
    path = /storage
    guest ok = yes
    
    
    [500gb]
    path = /500gb
    guest ok = yes
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

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

  9. #139
    Join Date
    Mar 2013
    Location
    Lebanon New Hampshire
    Beans
    115
    Distro
    Ubuntu

    Re: home server

    Is it odd that when I just did that I got this message in terminal:
    Code:
    server@server-box:~$ sudo nautilus
    Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: info_fn: file /var/lib/samba/usershares/random shared docs is not a well formed usershare file.
    info_fn: Error was Path is not a directory.
    -----------------------------------------------------------------------------------------
    Home Server Running Trusty 14.04
    Dualboot Ubuntu 14.04/Windows 7 Ultimate Laptop

  10. #140
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: home server

    That's because you were mixing classic samba and nautilus's user share (right click > share).

    can you go to the sharing definitions and disable them all ?
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

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

Page 14 of 17 FirstFirst ... 41213141516 ... 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
  •