Tag Info

New answers tagged

0

Had this same issue.. check connection type, public/work/home and verify folders are being shared via network sharing center by enabling file sharing Also its a good idea to not allow everyone, and specify a user with a decent password. Then book mark it from your Linux device after. Basically How I run my media server.


1

If you followed the steps I mentioned, as your answer says, you problem then is how the naming service is handled as mentioned in How can I connect to a Samba server using it's hostname instead of the IP? (Step 4) In the /etc/samba/smb.conf file, look for the line that says the following: # What naming service and in what order should we use to resolve ...


1

Answer: I needed to add name resolve order = bcast host after the Workgroup line in /etc/samba/smb.conf (But see the more complete answer from @LuisAlvado)


2

Create a user on the server: sudo adduser --no-create-home --disabled-password --disabled-login sambausername Add that user to samba (you'll be asked to type a password): sudo smbpasswd -a sambausername Create a share by editing /etc/samba/smb.conf. For example, you can add something like this to the bottom: [share name] comment = whatever ...


0

Solved with linux-image-3.13.0-37-generic.


0

I have had this problem on various networks which needed samba filesharing services from an Ubuntu or LinuxMint-based file server. In every case, while the user's samba account had a password and allowed browsing (and manipulating files) of a share through a file manager, fstab mounts did not work. This is regardless of having set sec=ntlm or sec=ntlmv2 ...


0

I have had this problem on various networks which needed samba filesharing services from an Ubuntu or LinuxMint-based file server. In every case, while the user's samba account had a password and allowed browsing (and manipulating files) of a share through a file manager, fstab mounts did not work. This is regardless of having set sec=ntlm or sec=ntlmv2 ...


0

It is not possible to allow a user to write only. The user should have read pemission to be able to write in a file. What i can suggest is having multiple directory, i expand : here your upload folder : upload here another folder : master-upload the user files his files in the upload folder and a cron that run every 5mins moves the files to the ...


2

I see you have practically tried everything. I recommend starting with a fresh copy of the smb.conf file. It should look something like this: [global] workgroup = XTREME server string = %h server (Samba, Ubuntu) dns proxy = no force user = cyrex log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 panic action = ...


1

I tried to set "name resolve order = bcast host" and even scratching my head trying to find solutions from the net. My problem was simply this: I have samba running on my Ubuntu server, and my laptop which also runs Ubuntu was unable to browse the shared folders. I had the folder permissions set to 700 which allows only user to be able to have read write ...


0

I am using Ubuntu 14.04.1 LTS after upgrading and had the same problem What I did to immediately remap the network folder was: mount -t cifs //Server/Folder/ /mnt/MapedFolder -o domain=contoso.local,username=user,password=pass,sec=ntlm Hope it helps others


-1

Use forceuid,forcegid,file_mode=MODE and dir_mode=MODE to explicitly control the permissions of the mounted filesystem if you have problems. Usually you don't need to set all of these unless you are using it with a certain other user (like mounting as root then using it as UID/GID=1000 in your case, you can force it to allow you (UID 1000) to be the owner of ...


0

You appear to have a typo in one of the -o options you're passing to mount.cifs. Your goal seems to be to mount the share so its files are treated as being owned by the user whose UID is 1000 and the group whose GID is 1000. gid=1000 is correct, but you have uid-1000. You should have uid=1000 instead (i.e., you have a - where you should have a =). I don't ...


0

There shouldn't be any issues with using a VirtualBox for a LAMP stack. Since you haven't mentioned any other uses for Ubuntu you have in your VirtualBox, might I suggest using a server edition of Ubuntu instead - that way you can save on some resources. If you need a graphical environment to change configuration files, you can use something like webmin. ...


1

Finally solution is add hide dot files = no into smb.conf. So the config has this format: [share] comment = PHP Share path = /var/www/html browsable = yes guest ok = yes read only = no create mask = 0755 hide dot files = no Now the files are not hidden and also they are not read-only.


2

As I understand smbclient shell does not support grep and io redirection. But you can just mount your samba share to local file system and use all features of bash shell. You need to install cifs-utils. $ sudo apt-get install cifs-utils Now you should be able to mount samba share. Here is example $ mount.cifs //192.168.1.1/share_point ...


2

The easiest way would be to create a Linux user account for your 3 users and just have them to sign in to one big shared folder. To do so you will first have to install the gnome system tools with the following command sudo apt-get install gnome-system-tools After you did this go to your user accounts and click the lock button and add your accounts. ...


0

The /var/log/samba/log.audit file must have syslog as the owning user, and adm as the owning group. If it is not like this, run: sudo chown /var/log/samba/log.audit syslog:adm


0

apt-get install libnss-winbind libpam-winbind worked for me too. After the upgrade from 12.04 to 14.04 active directory users were prompted for a username and password when trying to access shares and their network drives wouldn't map. After running the above command and 'service smbd restart' to restart the samba service it all worked perfectly. Had users ...


0

SMB client (samba) is installed by default (so you can connect to Windows shares), but SMB server is not.You have to install it if you want to create a Windows share. Opening your own home folder in the file explorer is a special case: it display it as if it was a network share, but obviously, it is not. HTH


1

Try this procedure. Create shared folder and give right permission: mkdir /pathYouWant/share chmod 770 /pathYouWant/share This gives no access to other. chmod +t /pathYouWant/share This mode, according to chmod manual page: The restricted deletion flag or sticky bit is a single bit, whose interpretation depends on the file type. ...


0

Each time I setup a samba server in linux with the permission of write, I will run the command "smbpasswd 'username'"to add the user to a samba user, note that the user should be in the system frist.


1

Try using valid users = valleysecurity,admin,technicalsupport instead of username = valleysecurity,admin,technicalsupport and be sure that users/passwords have been created on the "server". I have machines running configured similar to your "Server side" smb.conf except by users field. Hope that helps.


1

Unfortunately, your problem is not solvable so easily. If a user has write permission in a directory, he can also delete files. Even if he wasn't able to delete them, he could still fill a file with zeros, which would be a deletion of data, but not of the filesystem node. An idea which I once used: You create a cronjob, which recusively removes the write ...


0

samba on Ubuntu (at least 10.04 onwards) supports Upstart for managing the smbd and related services. The init.d scripts are still present, but they check if Upstart is the init, and refrain from interfering with it if it is. Therefore the following init.d scripts are only useful for the status: /etc/init.d/nmbd # superseded by /etc/init/nmbd.conf ...


0

You can check Samba binding to your network interfaces with root@server:~# lsof -ni:139 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME smbd 2265 root 29u IPv4 13788 0t0 TCP 127.0.0.1:netbios-ssn (LISTEN) smbd 2265 root 31u IPv6 13790 0t0 TCP [::1]:netbios-ssn (LISTEN) Here it's binding only to the loopback interface and ...


1

I have the same problem with a ONTAP share. I think it is related to this bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1372482 Using fuse with the kernel 3.13.0-36 works OK. Using fuse or mount.cifs with kernel 3.13.0-35 works OK. So it seems is a 3.13.0-36 kernel problem with cifs-utils. I have tried kernel 3.13.0-37.44 from the Canonical ...


1

I decided I wanted a solution to wake my media server automatically when accessed that wasn't dependent on dd-wrt. I have a raspberry pi so I used it because it is low power and I don't mind keeping it on all the time, of course it could be run from any linux machine. The final solution I found for myself was writing a little bash script. The ...


0

try increasing the write cache size, in in /etc/smb.conf file.



Top 50 recent answers are included