Tag Info

Hot answers tagged

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. ...


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

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 = ...


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 ...


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)


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

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.


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 ...


1

Maybe it will be helpful for someone. I encountered the same problem on Ubuntu 14.04. Steps below solved it for me: remove printer added via System Settings->Printers open localhost:631 in the browser go to Administration tab, click Add Printer button and follow the instructions I don't know why, but only after adding printer in such way it works for ...


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 ...


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. ...



Only top voted, non community-wiki answers of a minimum length are eligible