New answers tagged

0

Ok, so I'm still not exactly sure whats going on... but I got the guest account to work with file and folder permissions set to 755. To get it working, I had to do smbpassswd -a nobody (with no password). This still doesn't really make sense as if samba needs this account in its own database, then it shouldn't even be able to read the directory in the first ...


0

I think you are missing the keytab. You can create it via kadmin tool. type kadmin and in the prompt type help to see how to add the keytab.


0

After doing some research this issue appears to be fixed in samba version 4.3.9. sudo apt-get update sudo apt-get upgrade Possibly sudo apt-get dist-upgrade This should resolve your issue and allow you to click anonymous and remember forever choice. If at 4.3.9, follow the guide on this website to mount Windows shares permanently. https://wiki....


0

Aside from the usual, "You need to put a password on your fileshares" response I will offer the following reply. More to the point, however, more modern versions of windows are starting to enforce the need for having a password. This is a good thing. Following may be a post that has your answer. http://serverfault.com/questions/630631/how-to-make-samba-...


0

If you want to access samba only through VPN then Global section in smb.conf should have these lines: interfaces = 127.0.0.0/8 192.168.0.0/24 hosts deny = ALL hosts allow = 127.0.0.1 192.168.0.1/24


0

I would try explicitly stating your valid users: valid users = asd your_username another_user Another option (workaround?) would be guest okay = yes but I think that may not allow root privileges.


0

sudo passwd -a username and set your password for your given username, use it when Windows asks for the name and password.


1

The first command will install the package samba and all its dependencies. The second command will install samba and bunch of other packages and also their dependencies. The second command is useful when you are extending the functionality of samba and need extra packages to be present to do so. Note that, most of these packages comes as recommended or ...


0

Samba is a demon, you don't start it. It's running in the background. If you want to share files or access files simply use nautilus To use the system config gui you need to have gksu installed: sudo apt-get install gksu


0

Try this: Open a terminal,Press Ctrl+Alt+T Run it: exec sudo -i apt-get update apt-get dist-upgrade apt-get install --reinstall exfat-fuse exfat-utils chmod -Rf 777 /media/Movies


1

When i have problems with samba I'm always starting from switching to ethernet cable. If my share is connected via ethernet i cant connect to it via wifi (eventhough I can ssh with no problem). Then i make easiest share possible with no fancy masks end forcing options, only to test if it works. If not then I'm checking logs to see if it's stopped by any ...


0

I'm not 100% certain here but I think you are having issues with name resolution. You will need to update the IP address the domain name mydcserver.mydomain.local points to. Here is the link to the samba documentation on administering DNS records. I would propose that you need to delete the existing record for your domain controller and then add a new ...


0

Simply right click the folders in your home and enable local share, it will offer to install samba files. After that in terminal sudo smbpasswd -a user and set your password and reboot.


1

The package system-config-samba is available at the universe repository. Enable the Community-maintained free and open-source software (universe) box at Software & Updates under Ubuntu Software tab. Then click reload after you close it.


0

After failing to find the answer to my question, and Bounty, I posted my question at: https://answers.launchpad.net/ubuntu/+question/295108 actionparsnip gave the best answer, and it was to edit /etc/rc.local and add this command just before the exit 0 line sudo nano /etc/rc.local edited the file to include: exec /usr/local/samba/sbin/samba -D exit 0 ...


0

in ubuntu 16.04 and vlc 2.2.2 ; Select media > Open Directory and navigate to /run/user/1000/gvfs/ << ID number (1000) can be vary on your system. Here you can see the shared folder name and select the folder whichever you want to add in playlist (see picture below)


0

In a security update (19 april 2016) a dependency has been forgotten. You have to update library libtalloc2 with apt-get install libtalloc2


0

For anyone who comes here in the future follow this link to see the answer to the question, the answer in short is that samba doesn't appear to work to well with access.


0

After looking through another question here, I found a link on a question someone else had asked which was a good answer, which is listed below: http://www.krizna.com/ubuntu/setup-file-server-ubuntu-14-04-samba/ So my problem was solved by: Rebuilding the server to ensure all the settings I messed with were refreshed. Followed the instructions on the ...


2

I can answer the last two questions, the first question is a little vague, what do you mean by "When I connected to Ubuntu via the Mac, I couldn't sign in", how are you trying to sign in? 1) Please clear up how you are trying to sign into Ubuntu from your mac! 2) Assuming its telling you that you don't have file permissions as opposed to access to the ...


0

Have you set your folders in Ubuntu that are shared via right click, after that do a sudo smbpasswd -a (user) and set password and reboot.


0

Run these commands in terminal (ctrl+alt+t): sudo apt-get -f install sudo apt-get install perl sudo apt-get purge samba* sudo apt-get autoremove


1

Yes, Samba can be a pain. I use it for my home as well as work. The first thing you should do is start over from scratch to make troubleshooting easier. You can do this by runing the commands below in the terminal. sudo apt-get purge samba sudo rm -rf /etc/samba/ /etc/default/samba sudo apt-get install samba Then go to the folder on the samba server that ...


0

The default character encoding for the mounts in Linux is iso8859-1. This encoding is legacy and only supports 256 characters. All modern systems should be using utf-8 but I think default is left at ISO8859-1 for compatibility reasons. So it's always good idea to add iocharset=utf8 when mounting Windows share. Also, lot of websites enforces filemode/dirmod ...


0

It will be nasty workaround: create file /usr/local/bin/dfree_Drive.sh #!/bin/bash df | egrep '/media/drive[0-9]+$' | awk '{total+=$2; avail+=$4; print $0} END{print total, avail}' and make it executable. Then in share section of your samba configuration add: dfree command = /usr/local/bin/dfree_Drive.sh This solution is nasty, because it lies to ...


0

Downgrade of samba to previous version worked as a workaround, not the real solution: apt-get install samba=2:3.6.3-2ubuntu2 samba-common=2:3.6.3-2ubuntu2 libwbclient0=2:3.6.3-2ubuntu2 winbind=2:3.6.3-2ubuntu2 libpam-winbind=2:3.6.3-2ubuntu2 smbclient=2:3.6.3-2ubuntu2 apt-mark hold samba smbclient samba-common winbind libwclient0 libpam-winbind


0

You can use /etc/fstab as well: //192.168.0.x/public /mnt/public cifs credentials=/root/.credentialsfile,iocharset=utf8,nounix,sec=ntlmssp,noperm,rw the /root/.credentialsfile would look like: username=myusername password=mypassword


0

This is a bug in Firefox 46.0 on Ubuntu 16.04. It's been reported on Launchpad Bug 1579543


0

After your -U you need to put in the username you want to log in with. So the command would be: smbclient -L dc1.weemaniac.net -U administrator


0

I added this line to the end of my fstab then pressed enter and saved it //10.0.0.137/examplenetworksharename /Folderyouwanttomounttheshareto cifs username=exampleusername,password=examplepassword,file_mode=0777,dir_mode=0777,sec=ntlm,nounix 0 0 I also had to add a disk user to the time capsule using airport utility on my mac as it needed a username and ...


1

The reason you can't use the hosts command is because you are missing the dnsutils package which can be installed by typing the following command Sudo apt-get install dnsutils This package should have been installed when you copied and pasted the long sudo apt-get install at the start. So check your not missing other dependencies. It should be very easy ...


0

I had not seen the one you are using, I built my AD-DC on 16.04LTS and used this guide. http://ubuntuforums.org/showthread.php?t=2146198 The only problem I have had is in getting Samba to start on reboot, but this seems to be a 16.04 issue, this guide seems to work for older Ubuntu. http://ubuntuforums.org/showthread.php?t=2132259 I have built and ...


0

I followed that guide but when I do the final step, I get; read: Connection reset by peer I've done a fair bit of Google Searching and none of the fixes have done it. What did I miss?


0

I also had the same problem. First, I purge the entire samba, then I changed the software source to the main sever, and finally I installed samba. It is working now. sudo /etc/init.d/smbd status sudo apt-get install libnss-winbind* libpam-winbind* samba* winbind*


0

I overlooked the permissions on /data Issue resolved.


0

I believe what you want to do is this: http://www.howtogeek.com/howto/ubuntu/how-to-mount-a-remote-folder-using-ssh-on-ubuntu/ this is run from the client, not the server. Chris


0

I got the same problem when I ran smbclient \\\\[ip]\\[sharedresource] That command asks me to enter password for a root user, however when I entered the password, I received the NT_STATUS_LOGON_FAILURE error. I added -U to specify my remote machine's username and it worked smbclient \\\\[ip]\\[sharedresource] -U [username]



Top 50 recent answers are included