Tag Info

New answers tagged

0

Try this procedure. Create shared folder and give right permission: mkdir /pathYouWant/share chown 770 /pathYouWant/share This gives no access to other. chown +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.


0

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.


1

To make sure your drives/partitions are mounted properly create a new folder in your ~/media directory like this: sudo mkdir /media/windowsshare or sudo mkdir /media/servername/myshare and input your password when prompted. Next you can visit Ubuntu Guide for Network Shares and follow the instructions present in there. You can use ...


1

You may need to install nautilus-share package. Install it using sudo apt-get install nautilus-share.


1

I assume we are dealing with usershares. Those are stored in /var/lib/samba/usershare. You can use the command net to manage them, ie: net usershare add (name) (path) net usershare delete (name) net usershare list


0

Today i found the solution in http://superuser.com/questions/479806/how-to-reset-passwords-in-nautilus-ubuntu-12-04. You can see there which credentials are actually used and remove them.


0

I see you've added "local master" and "preferred master" settings to the config file, presumably because you've seen that suggestion elsewhere. They need to be in the global section of the config file. The "local master" option is redundant, as "true" is the default value for it already. The "preferred master" value is likely what you need for it to trigger ...


1

Per default samba active directory and domain controller service will be started in addition to smbd and nmbd. For a standalone server this is not neccesary. Just set the service to manual startup to get rid of the [fail] message with the following statement as root: echo manual | tee /etc/init/samba-ad-dc.override


0

I faced the same problem this week, with exaclty the same output message, as well as the one you found in syslog. I do not use a Netapp, but a simple Western Digital My Book World NAS. In parallel I have a Synology NAS DS414 which I can mount his cifs shares without any problem. I made some recent updates too. As part of them : the kernel; an upgrade from ...


-1

I had the same problem, I put it in /etc/fstab so it mounts automatically on boot.


0

Have you looked at using Webdav instead. It is a HTTP based file share. This is the direction I am currently leaning. I just started researching this as a option. I have a 8tb raid5 running ubuntu server and streaming to multiple VER1 Apple TV's stripped of factory OS and running XBMC. (trying to cut the cord with sat. provider) Having issues with samba and ...


0

You are missing the browseable option. It needs to go like this if you want to see it with smbtree: [shared_stuff] path = /home/main1/shared_stuff read only = No browseable = Yes Then do sudo service smbd restart and now you can run smbtree and you will see it.


0

Ok I finally fixed it the usb port on which the external hard drive was plugged somehow blocked the share when I was trying to access it from Linux even though it caused no problem when I was trying to access it from Windows. Anyway I switched ports and everything is fine now.


0

Just to make sure have you created the folder /mnt/Media? Btw, there is a similar case here, might be good to check out: http://ubuntuforums.org/archive/index.php/t-1607610.html Read the last few threads, he solved it by uninstalling Microsoft Live Essential. You may also want to check if you have NETBIOS turn on at windows pc, and there is no firewall ...


0

Test this: sudo mount -t cifs -o username=tick,sec=ntlm //192.168.1.201/Media /mnt/Media


0

Cite from https://help.ubuntu.com/community/Samba/SambaServerGuide The shares are defined in the background using the "net usershare" command and the definitions are saved in /var/lib/samba/usershares/ . Therefore, shares defined with this method are not visible in smb.conf.


0

So in the depths of /etc/init.d/smbd you'll find the following line which is what is actually launching smbd: if ! start-stop-daemon --start --quiet --oknodo --exec /usr/sbin/smbd -- -D; then The popular idea for passing through an environment variable is with env so you'd end up with: if ! start-stop-daemon --start --quiet --oknodo --exec /usr/bin/env ...



Top 50 recent answers are included