Tag Info

New answers tagged

0

Create a new user first: sudo useradd samba-guest. Search your smb.conf for guest account. Set this to samba-guest (guest account = samba-guest). Now restart Samba and it should work. For more info, please click here. Note: don't forget to give samba-guest read permissions for /var/www/html/store.


1

No. 14.04 ships with Samba 4.x only. If you want Samba 3.x, you will need to find a third party repository (eg. a PPA) or compile from source. Alternatively, if you want to use older versions of software then you can stick to an older Ubuntu release. For example, 12.04 will be supported until April 2017.


0

You must have shared in a way that it expects authorization. If so, you'll have to add a user to the samba configuration file or else you'll have to make the share accessible to everyone without authorization. This link contains the details of creating samba shares : http://www.pctips4u.com/2013/01/share-files-in-linux-over-network-using.html


0

It's just inside your $HOME directory. $ locate .gvfs /home/avinash/.gvfs


0

I found something quite similar. Only I can access some files and not others. In my case the problem is limited to the connection with gvfs (and here SMB only - it works well using AFP to another server). I used a workaround by mounting the shares manually or via fstab. Both worked for me. Ingo


0

Does getent passwd Return anything? How about wbinfo -u I am working on the same thing and for me wbinfo -u worked but getent passwd did not. I was able to get getent passwd to work by adding these packages. apt-get install libnss-winbind libpam-winbind Once getent passwd returned domain users I was able to ssh into the machine with my domain ...


0

Please Open /etc/samba/smb.cnf and Cross check workgroup name authentication netlogon and in [shareddrive] block browsable = yes https://help.ubuntu.com/community/Samba/SambaServerGuide


1

In theory, this should work: http://www.liberiangeek.net/2010/11/enable-file-sharing-windows-xp-ubuntu-10-10-maverick-meerkat/ As you're technically connected to the same network, the samba share will show up on both devices. But both operating systems are basically unsupported now. I recommend upgrading ASAP. Extra Info: ...


0

The best solution is to use SFTP instead of SMB/CIFS. There is no reason to be using a samba protocol when both systems are Linux based. ES File Explorer fully supports SFTP. You can configure it by choosing "FTP" under Network menu, then selecting "New" followed by SFTP.


0

this is my first try in helping out a little. oh and I'm no native english speaker sry in advance ;-) have you added the user you are tyring to connect with to the smbusers file? if not try this. it helped me with exactly the same issue: Open a terminal and type the following command: sudo smbpasswd -a username After that you should be able to use that ...


0

Read nattgew's answer first, this is a workaround only You could wait until there is a newer release of samba-libs, possibly fixing this bug. Another possibility (if you don't need samba for the time being) is to fetch the file /var/cache/apt/archives/samba-libs_2%3a4.1.6+dfsg-1ubuntu2_amd64.deb, opening it up (mc is the easiest way to do that, but going ...


0

It tells you why it stopped. secrets.tdb exists in /var/lib/samba and /var/lib/samba/private, aborting samba-libs preinst rename one of them to allow the install/upgrade to continue And gives you a reference here: http://bugs.debian.org/726472 Basically, you should rename /var/lib/samba/secrets.tdb to something like /var/lib/samba/secrets.tdb.old and ...


0

so, what is going wrong? secondly, why in god's name does Ubuntu not simply install Samba in the first place?? You are wrong. Do not blindly doing thing that you don't understand. Follow this guide. Because not everyone uses samba.


0

I have Ubuntu 12.04.3 LTS with samba and cups. CUPS 1.5.3, Samba version 3.6.3 printer HP p2015 connected via usb output cupsd.conf LogLevel warn MaxLogSize 0 SystemGroup lpadmin # Allow remote access Port 631 Listen /var/run/cups/cups.sock # Share local printers on the local network. Browsing On BrowseOrder allow,deny BrowseRemoteProtocols ...


1

Yes you can disable samba without removing it First stop samba sudo service smbd stop Stop NetBIOS sudo service nmbd stop then remove it from startup sudo update-rc.d -f smbd remove sudo update-rc.d -f nmbd remove Service and config not removed from PC and you can start it when you need it with sudo service smbd start sudo service nmbd start


0

The following entries worked for me: force security mode = 664 force directory security mode = 775


1

The easiest way to do this is to add your NAS to your file dialog. From there you will be able to access your NAS directories. To do this you need to bookmark the directory in the NAS for the filemanager to remember the location. Browse to the directory in the file manager, then bookmark it: How to add custom links in the left pane of Nautilus? Now when ...


0

Install Samba (package name system-config-samba). If you are using Xubuntu 13.10 then also install gksu. Then go to Settings Manager -> Samba and add the desired shares. Alternatively you can edit the /etc/samba/smb.conf file and add something like this [set share name here] path = set path here comment = set description here writeable = no ...


1

Maybe open files are preventing the unmounting process. I'm not sure if that's the correct behavior. I would expect mount will show the network share still mounted. Run lsof +D /mnt/storageHDD/MySQL/data/netMNT to list the open files in your mountpoint, then you can try to kill the associated process.


0

Solution: Changed my fstab to: //server/share /media/share cifs username=msusername,password=mspassword,uid=1000,gid=1000 0 0


1

Not exactly sure.. I did update the share permission on folders..Specifically the Documents folder... but I think that perhaps what did it was that I found that I needed to use my Win User id (tom) not the full one user id which was Tom,,,@outlook.com....and the full Windows password, same as my outlook.com password... not the generated one that Windows ...


0

You need to end all --plugin parts with -- so forexample --plugin rdpdr --data disk:Transfer:/home/apl03/Transfer becomes --plugin rdpdr --data disk:Transfer:/home/apl03/Transfer -- see more here https://github.com/FreeRDP/FreeRDP/wiki/Plugins


0

After googling and asking here and there, I found the answer. I'm using "sec=ntlmssp" instead of "sec=ntlvm2" //charles.codex/Documents/ /mnt/charles cifs user,iocharset=utf8,file_mode=0777,dir_mode=0777,rw,gid=1000,nounix,sec=ntlmssp,credentials=/root/credentials/charles 0 0 This was commented at Problem with mount using option "sec=ntlmv2"


0

I found the answer to my problem. The solution was only to make a "visible" directory locally by : ln -s .gvfs mounted # on my local home folder Hope this will help others. Laurent


0

This is coming rather late, but I believe options are comma separated. Try sudo mount.cifs //192.168.0.13/Data /mnt/TC -o user=htpc,pass=xxxx,sec=ntlm with lower case and the comma.


-1

did you try that ? http://goodies.xfce.org/projects/thunar-plugins/thunar-shares-plugin la validation m'oblige à saisir 30 car alors que je n'en ai pas besoin : c débile !!


0

NTFS/FAT formatted partitions do not follow linux permission system and you'll have to adjust the permissions from the mount options (in fstab if you configured it to mount it automatically). Partition type can be check sudo blkid -c /dev/null


0

If you're running some kind of shared folder system like samba, the machine is discoverable using the local domain, try something like: ssh nameofthemachine.local If not, you'll need to setup some DNS local server either in the network or in the ssh server itself to translate domain names into IP's.


0

Samba is not an FTP service, but a windows-based network filesystem. You should install an FTP daemon, such as ftpd. You can do this by: sudo apt-get install ftpd Or, you can look at the various related ftp daemons by using the command: apt-cache search ftpd And then install the one of your choosing. There is an official help page here, as well.


3

Use the mount command sudo mount -t cifs //192.168.0.x/<Share> /path/to/mount username=myuser, password=mypass /path/to/mount is an existing directory. You may need to install cifs-utils but I think its included with Ubuntu desktop.


1

Under the [global] section of the smb.conf file add: wins support = yes name resolve order = lmhosts hosts bcast wins workgroup = "Name of workgroup" #usually WORKGROUP in Windows security = user Then, if you want users to be able to browse files, you need to add a share: [Share] comment = Network Share path = /home/share create mask = ...


0

I was not able to get Deja-Dup working with a remote Samba share; kept getting an invalid argument error when trying to connect. For anyone interested though, I've found that the rsync tool works just as well for backups. To make rsync run a backup automatically, I just used the GUI for crontab ("Scheduled Tasks") to set the command to run once a week. ...


0

There are two options. If you don't have another shares with Samba, you can just start Samba when both are mounted and stop when both are unmounted, using upstart or systemd. With systemd you should need Requires= stanza and with upstart start on mounted /dev/something. The other way is removing samba from the startup scripts and starting up using your ...


0

apt-cache show samba This package provides the components necessary to use Samba as a stand-alone file and print server. For use in an NT4 domain or Active Directory realm, you will also need the winbind package. This package is not required for connecting to existing SMB/CIFS servers (see smbclient) or for mounting remote filesystems (see cifs-utils). ...


0

This error is also present in normal user sessions. I have it on 2 machines with fresh installs of Ubuntu 14.04. I have filed a bug report https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1299186 Please mark the bug as "also affecting me" if you experience the same problems as apport will not trigger automatically when this bug occurs.


2

The default Samba configuration on my system puts the password database in /var/lib/samba/passdb.tdb. Note that this is a binary database, not a flat text file. You can tell Samba to use a text file by setting the "passdb backend" parameter in /etc/samba/smb.conf. But Samba uses a different password hashing algorithm from the one in /etc/shadow. source


0

FOllow the below steps to resolved you issue: http://expertisenpuru.com/unable-to-access-ubuntus-shared-folders-from-windows-7/


0

This is consequence of an very old bug in CUPS. So to fix this, just edit the file /etc/init/smbd.conf: sudo gedit /etc/init/smbd.conf Then replace the line: start on (local-filesystems and net-device-up) For this: start on (local-filesystems and started cups and net-device-up) I have successful in Ubuntu Saucy (13.10).



Top 50 recent answers are included