A free software re-implementation of the SMB/CIFS networking protocol, which provides Windows file and print services. Use this tag when your question involves Samba shares, mounts, or printers.

learn more… | top users | synonyms

3
votes
4answers
816 views

Active Directory Domain with SAMBA or Other Tool

Can I create a domain using SAMBA and set up Active Directory with SAMBA on it? And by this I mean no windows servers involved. I would also like to be able to log in from a Windows machine. ...
0
votes
0answers
3 views

Unable to print to windows 8, 8.1 or 10 print server via Samba

We use SCO versions 3.2v5.0.6 through Definitive. None of these servers are able to send print jobs to Windows 8, 8.1 or 10. All worked well on Windows 7. I am guessing that it is a setting somewhere ...
3
votes
0answers
21 views

Samba performance tuning

Hi I'm using Samba to share a folder from linux to a Windows client(Windows Server 2012 R2). The disk backing the linux share is pretty fast (NAS of 500+ MB/s). However, when I benchmark the IO ...
1
vote
1answer
925 views

“You do not have the permissions necessary to view the contents of “Share on name.domain.com”.”

I am having some issues with Samba on my Fedora file share server. I've logged into as the vncuser below on the server itself and I can access the directory, however I get permission denied errors ...
2
votes
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
0answers
196 views

NFS share inside a NFS or Samba share cannot be accessed

I have this MCVE under SLES 11 SP2: 1) Server 10.10.50.199 has the directory /foo/. Inside /foo there is a directory bar/ which is used in /etc/fstab : 10.10.50.200:/nfs_folder /foo/bar 2) Server ...
0
votes
1answer
18 views

How to auto-mount shared SMB folder on logon?

I'm using Ubuntu 14.04. When I log on I see in the Files manager (near the bottom) this: I routinely click "Connect to Server" and then see this: I then double-click those and they are ...
0
votes
1answer
29 views

samba smbpasswd NT_STATUS_ACCESS_DENIED gid_to_sid: winbind failed to find a sid for gid 100

I am running SLES 11.4, having problems when users try to use smbpasswd. As root if I do smbpasswd for a user account then that works. Once the smbpasswd is set, samba server works fine and users can ...
0
votes
1answer
3 views

How to change password for SAMBA printer on Kubuntu 14.04

On my desktop at work with Kubuntu 14.04 I have (actually had) access to a network printer (Windows printer via SAMBA). After changing the password of my account I naturally have to reconfigure the ...
0
votes
1answer
22 views

What is samba equivalent for windows command “View user account details” NET USER [/DOMAIN]

What is unix/samba equivalent for windows command "View user account details from AD" NET USER /DOMAIN username next unix command is not one net -v -U username -S ad-server-host RPC USER INFO ...
0
votes
1answer
1k 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 ...
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 ...
3
votes
3answers
12k views

How to access windows file server from linux

We have a windows file server with an address like this: \\bioinf-filesrv2.mycompany.fr\cluster15 How can I access it from Linux? On a Ubuntu 14.04 I tried to access this through nautilus, but it ...
6
votes
5answers
12k views

mount.cifs can't use the same credential file that smbclient uses

I'm trying to mount a NetApp CIFS share to one of our servers and I keep getting "Permission Denied" printed to stderr and NT_STATUS_WRONG_PASSWORD printed to the running dmesg. root@xxxehpvld05 ~ $ ...
0
votes
0answers
72 views

smbclient authentication on CentOS 7.2.1511

I'm trying to use smbclient to display all the available shares on a server. It was working perfectly well with ubuntu 14.04 but I am getting a few error on CentOS . Here is what I am getting : # ...
0
votes
0answers
8 views

Samba share not working on second hard drive

I have a centos7 file server with a samba share on the main drive and this is working fine. However I have tried to add a share on a second drive with the same setting but machines on the network are ...
0
votes
2answers
2k 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 ...
1
vote
2answers
2k 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 ...
3
votes
1answer
1k views

Mount a windows share without having root credentials

I am trying to mount a Windows shared folder in my home folder. I am able to execute the following command from a Linux (i.e., CentOS) machine which I have sudo access. The command that I am using ...
3
votes
3answers
9k 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
747 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 would need to require a username and ...
2
votes
2answers
7k 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 ...
3
votes
0answers
15 views

Is there a way to convert zjsstream to a human readable text file?

I am printing from windows system to ubuntu print server, the spool file built in Ubuntu system is "Zenographics ZjStream printer data (big-endian)". I have used command "zjsdecode" to convert the ...
1
vote
1answer
47 views

Debian Mate : share folder with samba

I'm using Debian Jessie with Mate desktop. I installed samba and added my user to sambashare group. I can write in /var/lib/samba/usershares/. Yet, I can't share a folder using the "share folder" ...
1
vote
1answer
2k 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 ...
3
votes
2answers
33 views

Prevent updates to 'modified time' when copying files to a mounted Samba folder

I don’t want the “last modified” attribute to be changed to the current date when copying files to a mounted Samba folder. How can I do this? This behavior occurs with (K)Ubuntu 12.04 and Ubuntu ...
3
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, ...
0
votes
1answer
10 views

Samba shared printers are listed as empty string named on Windows 7's Domain Admins

I have shared a printer using SMB 3.6.23 service and CUPS Web interface. Then the printer works just fine, but at a certain point (possibly, while the printer driver is available on Windows 7 using a ...
0
votes
0answers
4 views

smbldap-tools + Samba 3.6.X - 2 groups exists

In a big corporation, there is several groups encoded in different domains on the same LDAP server. The server is member of the DOM1. root@testsmb3# smbldap-groupmod -m myUser myGroup Error: 2 ...
1
vote
0answers
39 views

Samba NT_STATUS_NO_TRUST_SAM_ACCOUNT

for a project we have several samba shares configured as following: [global] workgroup = <domain name> netbios name = <machine name> passdb backend = tdbsam security = ads ...
1
vote
1answer
125 views

How downgrade Ubuntu Samba implementation

A week ago I got some updates related to Samba and now authentication is broken. Windows and Android machines can connect to a Samba server just right, however Ubuntu rejects login credentials. This ...
1
vote
0answers
24 views

Mounting samba directory changes all file permissions to user who mounted it

I have a xubuntu 14.04 client, a debian 8 Samba File server and an external Active Directory service. I log in as user1 on the client authenticating against the ADS with winbind. My home directory ...
0
votes
0answers
42 views

Cannot unmount cifs share

/etc/fstab //192.168.1.40/shared /home/user/Shared cifs rw,_netdev,user,noauto,credentials=/home/user/.credentials 0 0 //192.168.1.40/backup/user /home/user/Backup ...
1
vote
0answers
20 views

Resolve NetBIOS Names via Samba 4.4

Through StackExchange, we knew how to configure Linux to resolve NetBIOS names, and I have configured my system in those ways. (I have installed winbind, configured my /etc/nsswitch.conf correctly and ...
0
votes
1answer
851 views

Samba share open for all to all

thanks for viewing at this question. I have a CentOS 6.5 server with a share that is and should be accessable for and from everyone. All content placed on that share should be accessable by everyone. ...
0
votes
2answers
1k 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 ... ...
1
vote
2answers
3k views

What does `process_usershare_file` do?

I have a samba server that is giving me this in logs for every single share (in this case "Public" is the share): Sep 2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.398065, 0] ...
5
votes
2answers
1k 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
1answer
756 views

How to debug NT_STATUS_IO_TIMEOUT?

When trying to access a samba share with smblcient -L //localhost from my local Samba Server, I get after a delay the error message protocol negotiation failed: NT_STATUS_IO_TIMEOUT What are ...
1
vote
1answer
104 views

Kerberos/Samba can't join Active Directory [DEBIAN 8]

I have an issue when I try to join my domain. I am able to create the kerberos ticket successfully. root@debian:~# kinit Administrateur@ASP.DOMAIN Password for Administrateur@ASP.DOMAIN: ...
0
votes
0answers
60 views

Unprotected Windows Shares Still Requiring Password in Linux Mint

I am trying to access my windows shares from linux mint. I have 2 windows computers (both Win 10) and my laptop on Linux Mint. My office PC is password protected and can access those files from my ...
3
votes
4answers
18k 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 ...
13
votes
2answers
23k views

How do you make samba follow symlink outside the shared path

This is Ubuntu server 10.04 64 and samba 3.4.7. I have a shared directory /home/mit/share and another one /home/temp that I link into the shared one: ln -s /home/temp /home/mit/share/temp But on ...
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 ...
2
votes
0answers
43 views

Samba unable to write when mounting from linux

I'm having some weird issues with samba. Somehow im not able to write to the mounted share from Linux over VPN but it works without problems when mounting from Windows hosts on the same local network. ...
2
votes
2answers
1k 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 ...
1
vote
0answers
109 views

SMB server not working after upgrade from 3.5 to 3.6

our Windows 7/2008 clients can't access our samba server any more after the upgrade to version 3.6. This is on CentOS 6 (rpm --query centos-release reports centos-release-6-7.el6.centos.12.3.x86_64). ...
2
votes
1answer
93 views

Can login and browse in shares on samba server, can not access files

I´m pretty new to Linux so I've been having a hard time fixing this. Running the latest version of Mint. The files are stored on an auto-mounted NTFS partition. I can access the share, I can ...
3
votes
1answer
39 views

ACL not working on directories

For some reason when I create new file from Windows I can change the permissions just fine but when I create a folder it won't let me change the permissions, I get this error: A device attached to ...
2
votes
3answers
3k 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 ...