A free software re-implementation of the SMB/CIFS networking protocol, which provides Windows file and print services.

learn more… | top users | synonyms

3
votes
3answers
7k views

Cannot mount samba share: Mount error (22)

I am trying to mount a password protected samba share. When I access the share via smb://server/share in nautilus there is no password/user promt, it seems I am logged in as a guest and I can browse ...
2
votes
1answer
588 views

Granting SAMBA rights and privileges requires root password

Given a default Ubuntu installation, I get the following myusername@EARTH:~$ sudo bash root@EARTH:~# net rpc rights grant myusername SePrintOperatorPrivilege Enter root's password: Failed to grant ...
5
votes
2answers
863 views

Create Temporary Samba Share

Is there a possibility to temporarily share a directory per Samba? With python3 i can serve the current directory per HTTP using: python -m http.server. I'd like to do the same thing with Samba.
0
votes
0answers
4 views

Limit read access for folder in samba share

So, I'm trying to make it so that one of my shares can be acessed by almost everyone, but inside this share I have a symlink to a mounted drive which I only want to be accessed by users of one ...
4
votes
1answer
2k views

Networking and Samba from a quest OS running on qemu

I'm trying to test some software on a big endian system to ensure compatibility. My plan is to use qemu on Ubuntu 12.04 to emulate a MIPS system. So far I've been able to create the quest system ...
0
votes
1answer
34 views

Make /etc/nginx writable, so I can edit it from the network

I'm running Win10 with Ubuntu Server 14.04 on a VM. I shared my website folder (/var/www) with samba (I ran chown -R www-data:www-data) and it's writable. I edit the files with Sublime (on Win10) and ...
1
vote
3answers
2k views

Unable to connect to the samba server

I setup a samba server(Version 3.6.9-167.el6_5). One of the sub folder contains more than one thousand, if I delete this folder then I can connect to the server, otherwise I am getting a timeout ...
2
votes
2answers
3k views

Samba 3.5.9 - join domain specific OU - net join ads

Our Unix team often uses Samba to join machines to the domain. The command they have traditionally used is: net join ADS -w [domain name] -U [username] I am one of our AD admins and I am trying to ...
0
votes
0answers
165 views

Permissions doesn't change while mounting windows directories (mount.cifs)

I used this command: mount.cifs //192.168.1.106/ukv_sftp$ /home/admin/public_html/remote -o credentials=/root/.smbcredentials, uid=500, gid=500 but permissions set only for root user, uid=500 and ...
1
vote
1answer
17 views

Mount Samba Share(Linux server) on Linux client machine

As title says, how is it possible? There is Linux server that shares a folder with Windows client but there're also Linux client machines. I am using KDE and can mount from Dolphin and then do with ...
1
vote
1answer
1k views

Samba no longer allowing different guest account per share

I sure hope I don't make a fool of myself with this but here goes... I've updated Samba from 3.0.33 to 3.6.9 (well, upgraded my OS and this update came with it) and have found certain features I ...
2
votes
1answer
2k views

How to change user on SWAT page (or how to control Samba by nonprivileged user)

I logged into SWAT with my nonprivileged user, since the root account is usually disabled on modern Linux systems. I cannot control any Samba parameters by this user. Once I enable the root account, ...
2
votes
1answer
672 views

can't connect to samba drive in centos 6.3

#smbclient //ballzdeep/torrents Server not using user level security and no password supplied tree connect failed: NT_STATUS_BAD_NETWORK_NAME Does this mean i need to require username and password ...
2
votes
4answers
12k views

Accessing a SMB share without a password

When accessing SMB shared that are password-protected, smbclient works just fine. But when I'm trying to access shared that have no password protection (public shares), smbclient prints: tree ...
0
votes
1answer
23 views

Unable to print to windows print server via Samba

I have setup my canon laser printer (shared name = canonMF4820d) on my windows notebook ( hostname = Yoga) And i have my Freebsd server (hostname = Fruitfly) installed with CUPS and SAMBA and ...
2
votes
1answer
715 views

Execute a .exe on a samba share

I have a linux machine and a windows machine, the linux machine has a samba share with a .exe file on it. I can read and write files from the windows machine to the samba share, but I cannot execute ...
1
vote
1answer
22 views

Symlinks to directories not rendering properly through Samba

I maintain many projects at a time, and keep them all organized within a single directory, Projects. Now, keeping myself somewhat oriented necessitates the use of symlinks so as to associate useful ...
0
votes
1answer
69 views

Samba: Only works after manual restart

I have a small Samba just for file sharing on a ARM device (SheevaPlug). Until now everything was fine, however I decided to upgrade to Debian 8.1 and by some reason the shares aren't working ...
1
vote
1answer
5k views

SELinux Write access for vsftpd and samba

This should be easy enough I think, but I'm new to SELinux. I have a CentOS 6 file server. I have some LVM file systems at /var/media and I want to use both Samba and FTP to share them with a Windows ...
1
vote
1answer
23 views

How to share a file over “Windows Share” protocol from scientific linux?

I have a file on my linux. I want to share it via "Windows Share" (IPMI can understand only one way of remote large files mounting). How to share my file over "Windows Share" from my scientific linux? ...
0
votes
0answers
38 views

Samba Error NT_STATUS_HOST_UNREACHABLE on any other node yet not on host

host IP config: # netstat -nat | grep LISTEN tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:3306 0.0.0.0:* ...
1
vote
1answer
2k views

Deleting Non-empty Directory with smbclient

How can I remove a non-empty directory with smbclient? I have tried the following: 1) rm Result: NT_STATUS_NO_SUCH_FILE listing [dir_path] 2) recurse;rm Result: No Error but also nothing ...
3
votes
1answer
2k views

How to give Read, Write Permissions using IPs in SAMBA

I want to give Read and Write access based on the IPs instead of the Users in SAMBA using smb.conf This is the Text I copied from my smb.conf file. [TEST] comment = test path = ...
1
vote
2answers
4k views

Setting up samba,netatalk and avahi (bonjour) on raspberry pi

I'm trying to create a fileserver/timecapsule combo server out of my new raspberry pi (Raspbian), and it's not going as well as I'd like. netatalk, avahi and samba are the packages that I'm using and ...
1
vote
3answers
81 views

How to resolve hostnames with Raspbian 5/5/2015?

I'm relatively new to Linux and falling down the tree and hitting every branch on the way down (it seems). I'm trying to share an NTFS drive, or a directory on the drive, via samba, and I have found ...
0
votes
1answer
896 views

Samba 3.6.12 and NIS

We were able to use Samba and NIS on Samba 3.0.8 on Solaris 10 U5. When we update system to Solaris 10 U11, samba version became 3.6.12. And we are unable to authenticate like old style. I did not ...
1
vote
1answer
164 views

Samba Password must change after first logon

How to enable "samba password must change after first/next logon"? I enabled a function in pdbedit file but is not working. root#/opt/samba/bin/pdbedit -P "user must logon to change password" ...
0
votes
0answers
55 views

Debian Jessie (server without X) extreme slowdowns

I changed my Debian Wheezy to Debian Jessie a few weeks ago, with a new installation instead of an upgrade. I now have a huge problem with random slowdowns which affect the whole system. The system ...
0
votes
1answer
23 views

How to use a SMB URL with user/userid that contains an @ symbol?

I want to use a Samba share from the command line but I have an user (userid) with an @ symbol. It works fine from a GUI login dialog, but I have not been able to use any of the command line Samba ...
1
vote
0answers
61 views

User has write permissions but cannot write to files

I am using a python script to write (and sometimes overwrite) data files. I can write new files just fine, but am getting permission denied when trying to write to existing files. What's strange is ...
2
votes
1answer
38 views

Secure share in samba not working, why?

The secure share that I created in samba with a password doesn't seem to work. I have the following on my /etc/samba/smb.conf on a Linux Mint box(3.13.0-37-generic) box. [myshare] ...
0
votes
1answer
21 views

samba 3.x.x vulnerabilities patch

We know that samba has few vulnerabilities. How to apply patches for vulnerabilities of samba version 3 ? samba site does not give clear info as to how to apply patches. Also is it possible to apply ...
0
votes
0answers
11 views

Configuring Samba to serve Unix-style files (e.g. owners, permissions)

I just learned that Apple has deprecated its own AFP network filesystem in favor of SMB2. I have looked, but can't find any solid information on how its handling of SMB2 implements Unix-style file ...
0
votes
1answer
86 views

SAMBA Specified Network Name no Longer Available

I've got a problem building a SAMBA share between two computers. One is on Windows 8, the other is on a custom Yocto made Linux. The SAMBA worked before, I don't understand why it does not anymore ... ...
0
votes
0answers
61 views

Fedora 21 Samba Share Troubleshooting

I've recently upgraded my server's OS from CentOS 6 to Fedora 21. I understand there have been a bunch of new changes regarding the SystemV vs SystemD updates but I cannot get my Samba share to work ...
0
votes
3answers
467 views

Why Samba needs the VFS module?

I came across this picture when learning samba. I am confused with the VFS module in this image. Why we need this VFS module in samba server instead of passing directly the intend system call to ...
20
votes
5answers
721 views

Linux solution for schools?

The school I'm working for as an administrator requested a system upgrade. Currently we are using a government-suggested Linux distribution called SuliXerver - it would be great, but most of the admin ...
1
vote
0answers
26 views

Why does a broken mount point break netfilter-persistent using systemd?

I have a relatively clean Debian Jessie install. I'm running into two related problems: 1) I have a cifs mount that shows me an error on boot. The error says to run systemctl status ...
0
votes
2answers
168 views

Why do files created via Samba get different ACL (mask) permissions depending on the client OS?

I tested this on a clean install of Debian Jessie, but I also have this problem on other machines (ex: Ubuntu 12.04). In addition to the base install, I installed sudo, samba, and cifs-utils. Shared ...
6
votes
3answers
30k views

mount error 13 = Permission denied

One of my servers is set up to automatically mount a Windows directory using fstab. However, after my last reboot it stopped working. The line in fstab is: //myserver/myfolder /mnt/backup cifs ...
2
votes
1answer
53 views

DD-WRT and mount command

I want to mount my usb drives using UUID or Labels. The busybox provided mount does not support these functions. I installed mount-utils from entware. However the busybox mount overrides the mount ...
0
votes
0answers
21 views

Samba share performance differs from Windows/Linux

I have an ubuntu 14.04 installation with a samba share. Accessing the share from Windows works totally fine - I can watch movies and copy them with around 70MB/sec. However from android devices (a ...
2
votes
0answers
50 views

Why does file-roller appear to have lower priviledges than the user

In Ubuntu I have a mounted samba share. I have selected some files in a directory on the samba share in nautilus and attempted to compress them to an archive in the same location. File roller tells me ...
1
vote
0answers
36 views

GPO with SAMBA as DC

I am working on a network of 500 Windows workstations with Linux servers. SAMBA 4 is in use as the domain controller. Users can move between workstations, and as a results the contents of their ...
1
vote
1answer
63 views

Is there any way to read files from the virtual /proc directory using smbclient?

Is there any way to read files from the virtual /proc directory using smbclient? No root access. Both server and client are Debian Linux machines. Server is running Samba 3. Smbclient version is ...
0
votes
0answers
28 views

Trying to login to samba folder from windows

I tried setting up a shared folder in samba in raspbian. I have made the following changes to the smb.conf file: workgroup = WORKGROUP wins support = yes I have furthermore added the following on ...
0
votes
0answers
25 views

Samba install error [closed]

I was trying to reinstall samba after, I think uninstalling it correctly. After it is installed the samba daemon will not start. {FAIL} Starting Samba daemons: nmbs failed! invoke=rc.d: initscript ...
0
votes
0answers
13 views

Samba install error [duplicate]

I was trying to reinstall samba after, I think uninstalling it correctly. After it is installed the samba daemon will not start. {FAIL} Starting Samba daemons: nmbs failed! invoke=rc.d: initscript ...
0
votes
1answer
98 views

Sending files over Samba with command line

I was wondering if there is a way to use Samba to send items to a client machine via the command line (I need to send the files from the Samba server). I know I could always use scp but first I was ...
2
votes
2answers
45 views

Confused on file and directory permissions for Samba shares

I've been searching for while to try to understand the following mask/mode fields for creating files/folders in Samba shares: create mask force create mode directory mask force directory mode But ...