Tag Info

New answers tagged

0

In your [global] section add: security = share guest account = nobody in your [Shares] section uncomment guest ok = Yes and add browseable = Yes Also make sure user nobody exists and has read/write/execute privileges to directory /fileserv. Then test your configuration with testparm. Finally once you are happy reload samba: service samba reload.


0

Clearly the permissions are not right. I set the permissions but the changes were lost multiple times. I auto-mounted the hdd with the following line in my fstab file: sudo mount -t ntfs-3g -o uid=1000,gid=1000,umask=007 /dev/sda1 /media/NASDRIVE I noticed the umask=007 which caused my problems. I changed it to 000, which I know is not save.


0

You have a problem in the samba configuration file. Since you are trying to access the share from Windows, you have to mention the workgroup as well under [global] settings section. This section is commented out by default. such as below (this is just an example). You can read more about it @https://help.ubuntu.com/lts/serverguide/samba-fileserver.html ...


0

4.4.4.4 is not a Google DNS, Google now has established public DNS servers at 8.8.8.8, and 8.8.4.4 can additionally be used.


0

I haven't found a solution for this problem and was forced to reinstall my system. However, if someone knows how to get rid of that issue without reinstalling the entire system, please post an answer to help others who've possibly come across a similar issue.


2

Nautilus uses the Gnome Virtual File System (gvfs) to mount devices. In a system that's already running a gvfsd daemon you can initiate a mount manually using the gvfs-mount command e.g. gvfs-mount smb://ip.address.goes.here/sharename which should cause a link to the share to appear in the Nautilus sidebar; the actual mountpoint should appear in the ...


0

Not sure about the permissions but I have a mac and have had similar problems connecting to a windows share; after research the version of samba used in OSX is old and has some bugs. I cannot connect to this share by name although I can see it in finder. If I connect to the share via (Go -> Connect to Server) in the finder menu bar and enter the direct ...


0

From the Ubuntu forum: Find the netbios name of the device: nmblookup -A 10.0.0.1 List the device's samba shares querying using the netbios name instead of the IP address: smbclient -L //<device_netbios_name> Mount using a mount point corresponding to a Disk type of share: in fstab: //<device_netbios_name>/<device_netbios_disk_share> ...


-1

You can restart samba manually by. sudo /etc/init.d/smbd restart sudo /etc/init.d/nmbd restart You may need need to restart windows too or wait for some time clicking refresh to purge windows cache. You may have problem to connect to one samba server with 2 different users. BTW: samba will always give you problems cause its m$oft. (cannot change ip ...


0

I had lots of problems trying to share a Canon printer attached to my Ubuntu desktop, similar to what you stated. Jobs look like they print, but never did. The easiest solution was to install Google Chrome and use its cloud printer feature. Then on the Windows side there was a Google Cloud printer app. Also worked well for printing from my Android ...


0

This answer is based on Kubuntu, but should work on most KDE installations. Screenshots for Konqueror were provided, but the process is identical in Dolphin. Right-Click on the folder you want to share and select properties. Activate the Share tab. Hit Install Samba if not already installed on your system. (After installation you might need to open ...


1

Problem solved. Windows is gone and Gnome Ubuntu has taken its place. Should have done it long ago. Windows 7 Home is just too problematic with Samba. Had a hell of a time getting it to work in the first place, and then it was not reliable. Not putting any more effort into windows, we are now an Ubuntu family.


0

Hi a couple of thoughts, you don't need name for windows share to access. \\<desktop_ip_address>\nicholas_share works just as fine. as other pointed out, you don't have a DNS server to resolve name to IP. If your router acts as a DNS server, since it does DHCP, check if it has any options to add names to IPs, or register host names on DHCP. It all ...


0

I think it's asking for the administrator password for the whole system, rather than a samba specific password. It normally asks for an admin password whenever you're doing something significant to your system.


1

You could try gathering some more information by - for example - running wpa_supplicant in debug-mode. First kill the already running process like this: killall wpa_supplicant Then run it in debug-mode like this (redirecting output to standard output and to the specified log-file): wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -d | tee ...


0

I had this problem and an error report eventually came up which identified my situation exactly - I had done; sudo apt-get remove samba --purge sudo apt-get autoremove manually deleted contents of /etc/samba including smbd.conf reinstalled samba What I did NOT do but should have done before reinstalling samba was sudo apt-get purge samba-common If you ...


0

Don't share folders through Nautilus any more... Use the samba server itself and its configuration tools to share anything. Go to the software center, click on the search and type "samba GUI" and click on the pretty icon that you don't have to pay for, then click install and use that to share drives...


1

So, your Linux server has a windows share mounted on a local directory, but apparently you cannot write to it. I suppose that this share has been setup as guest access, hence the read only status. Please refer to the ubuntu documentation on mounting windows share as a starting point to fix this configuration issue. As a work around for the time being, I ...


0

I had the same problem, but installing python-smbc and python3-smbc did not help. I added my experiences on the bug page as well. A workaround for me was to enter the exact host name and share name in the text field, so it reads "smb://hostname/sharename". I had to go over to the Windows server and find the field that says "Share this printer as...".


1

To see the GUI for Samba, run: sudo apt-get install system-config-samba then go to the dash and type system-config-samba and that should be the only icon left. Click that one! Sorry for the back-and forth. I should have done the apt-cache search samba GUI as the first thing!


1

With Ubuntu 14.04 : This error can be caused by a netbios name having a size greater than 15 characters. It should generate logs in the file /var/log/samba/log.smbd looking like this : register_name: NetBIOS name NAME-OF-PC-TOO-LONG is too long. Truncating to This error can be fixed by editing the file /etc/samba/smb.conf and adding the following line : ...


1

Since the question is about diagnostics, rather than the eventual solution, I'll describe the things I tried that got me closer to the solution (the updates within the question summarise most of it). When reading the command output below, note that my NAS is called giles and the domain name is SUNNYDALE. My local username, and that on the box is jason. I ...


0

Test this: Open a terminal,Press Ctrl+Alt+T Run it: sudo -i apt-get update apt-get install --reinstall gvfs gvfs-backends gvfs-bin gvfs-common gvfs-daemons gvfs-fuse


0

I had this same problem on an Arch Linux system. I solved it by installing python-pysmbc package. The equivalent package for ubuntu is "python-smbc". So just do: sudo apt-get install python-smbc python3-smbc And you should be good to go. Restart "system-config-printer" to make sure the new dependencies get used. Cheers!


0

The Samba server must be defined in the DNS server you're using to make it searchable (not "browsable": that is a samba setting) by name. Edit the relevant DNS server settings to make this happen. As your question does not mention any network settings, (rather vague) the answer doesn't contain the exact commands neither (rather vague too). Alternatively, ...


1

What always worked for me is to mount the shared folder of the Windows host to the vmware guest linux machine via CIFS. Let's suppose that your hosted machine is connected to a virtual network (network type is not relevant) with an ip address range 192.168.5.0/24, your host machine (windows) address should be 192.168.5.1: First set password to your Windows ...


0

You likely haven't set the permissions properly. There are several ways you can do this. 1) cd /srv/samba/share sudo chmod 777 * There is alot to explain about permissions, but 7 7 7 means that anyone can do anything, it is the most permissive permission. This should let you save the file changes. *only for files with 777 permission 2) This has more to ...


0

Ya. You wrote it. I followed the website below to build my samba server but failed to add user: http://www.andyibanez.com/making-linux-file-server-interacts-os-x-mavericks/ Then I search the web for solution, and arrived here. I followed your steps, but did not have any problem to add my own. You wrote yourself: useradd -m test passwd test before ...


1

With these boxes it seems that forcing the workgroup is necessary: smbclient -L 10.1.0.25 -W WORKGROUP -U jason You can verify the workgroup of the box by running: $ nmblookup -A 10.1.0.25 | grep GROUP ..__MSBROWSE__. <01> - <GROUP> B <ACTIVE> WORKGROUP <00> - <GROUP> B <ACTIVE> WORKGROUP ...


0

I had a problem very similar to yours: I had configured in my computer a remote printer and it worked in Ubuntu 14.04. It stopped working after the upgrade to Ubuntu 14.10. Trying to view its properties resulted in the message "There was a problem connecting to the CUPS server". The printer could be seen in localhost:631 but here we have a difference: I ...


1

Use this manual (section 'Connecting using CIFS') to mount remote repository: https://help.ubuntu.com/community/Samba/SambaClientGuide sudo mount -t cifs //IP_ADDRESS/git/repo.git ~/git/mnt/repo.git -o username=samba_user,noexec Then, git clone ~/git/mnt/repo.git/



Top 50 recent answers are included