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

1
vote
1answer
10 views

SELinux restorecon

I am trying to export a Samba share and changing its SELinux fcontext to 'samba_share_t'. However in the guide that I follow after changing the fcontext, I need to run 'restorecon' over the exported ...
3
votes
0answers
15 views

How can I mount an Apple Time Capsule in FreeBSD (FreeNAS) as a smbfs share?

I am trying to mount a 3rd generation Apple AirPort Time Capsule share on a FreeNas box. I can connect to the share using smbclient and the remoteUser password. % smbclient -U remoteUser -L ...
1
vote
1answer
15 views

Very low disk performance on Samba

I'm using Samba on Debian 8.4 (Jessie) to share files with a small number of Windows & Mac users (~20 total, ~5 at a time at most) and I'm seeing abysmal performance on read and write: tested by ...
0
votes
1answer
11 views

Failed to open /var/lib/samba/private/secrets.tdb Every Time I use sudo [on hold]

I am running Ubuntu Server. Last night I installed SSL onto my server. And I checked its integrity (removed SSL2, SSL3, and limited connection to hard encryption methods). Today, about 24 hours ...
0
votes
0answers
4 views

How do I connect to Hyper-V VM's serial port from Linux?

I run Linux as a virtual machine on MS Hyper-V hypervisor from Windows Server (2008 R2 and 2012 R2, 2016 would be nice as well) and I want to read output from the VM's serial port (one-way ...
2
votes
0answers
10 views

Centos Samba share folder not accessible from Windows

Recently I changed my File server from Ubuntu to Centos7. Then I found the samba configuration which used to work on Ubuntu no longer works on Centos. When the user access the share folder from ...
1
vote
1answer
13 views

Smbclient asking for password

I am connecting to a samba share using the following command.. /usr/bin/smbclient \\\\server78\\publicfolder It asks me for my linux account password before it will connect. This isn't a problem ...
0
votes
0answers
21 views

SAMBA fails to restart >> nmbd.serviceJob for nmbd.service failed

Trying to set up samba on a new machine, but having problems. First I couldn't get the [homes] section to work (couldn't access from other machine). Now SAMBA won't restart: sudo /etc/init.d/samba ...
0
votes
1answer
10 views

Samba “printer admin” option is deprecated on 3.6.X and removed in 4.0

In my /etc/samba/smb.conf, I use option printer admin. Then I got, # testparm -sv WARNING: The "enable priviledges" option is deprecated Unknown option encountered "printer admin" Ignoring ...
0
votes
0answers
4 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
28 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
0answers
202 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
25 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
58 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
26 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
0answers
10 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
0answers
94 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 : # ...
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 ...
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 ...
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
41 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
136 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
26 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 ...
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 ...
1
vote
1answer
117 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
62 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 ...
2
votes
0answers
47 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
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
41 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 ...
1
vote
0answers
113 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). ...
4
votes
1answer
71 views

Docker container with Samba exits without any message

We have a server running CentOS, on which there are several services in Docker containers to separate them from host changes. Last week Friday we ran an update on CentOS, and since then one of our ...
-1
votes
1answer
26 views

How to change Samba server description

I'm a total newbie in linux and just installed debian and samba my debian computer name is "debian" but after installing samba it is showing like this(in windows network places) "Samba ...
1
vote
3answers
1k views

samba netlogon_creds_server_check failed. Rejecting auth request from client

After an upgrade Windows 7 clients are denied access to samba. The OS is Debian wheezy. After the upgrade to samba 2:3.6.6-6+deb7u9 no Windows client can access. I see this in the logs: ...
0
votes
1answer
36 views

Using cups to print to windows domain with password in a separate file

Every guide I've seen so far that explains how to print to a Windows print server from CUPS, indicates to put the username and password, in plain text, in the Device URI either in the web interface ...
0
votes
1answer
13 views

How to list printers drivers without credential with Samba?

In order to automatise check of printers, I would like to call rpc commands such as enumprinter or enumdriver. How to make it without connecting to the SMB domain but directly as root? With ...
0
votes
1answer
23 views

What does SAMBA use /tmp for?

I just had a major issue with Samba, I changed my /tmp permissions to something rather restrictive, and after this point I could not log in to samba from any windows client (I did not try a linux ...
0
votes
1answer
40 views

Why does Samba insist on logging on as a guest user?

I'm trying to setup Samba on a Linux Mint 17.3 install. My /etc/samba/smb.conf file is at: http://pastebin.com/FvaK7Yq5 When I try to access the share \\192.168.1.2\jezhome, I use the username ...
1
vote
0answers
49 views

Does a file move operation over SAMBA preserve the inode number?

If I have a directory exposed over a SAMBA share and a user, from either a Linux or Windows system, moves a file from one place to another on that share, does SAMBA know to ask the operating system ...
1
vote
0answers
32 views

Is there a way to interleave two filesystems of the same structure?

I have a large networked file system whose backup routine sees some file systems as higher priority than others and are given more redundancy with backups. At present those file systems are visible as ...
0
votes
1answer
24 views

safely unmount samba share in freebsd

I've mounted a samba share on my Freebsd 8.2 server. I tried sudo umount -a -t cifs -l as suggested by a number of users on forums. But this gave me "illegal argument -l" error when I tried it. ...
0
votes
0answers
32 views

Samba - How to automatically pass password to smbclient -a

I am creating a Haskell program to automatically add a user to the system and then add it to samba, but it asks password, and I would like to use the same. I did not find any parameter we can use with ...
0
votes
0answers
11 views

Samba with several LDAP servers

Is it possible for SAMBA to use several LDAP servers to authenticate users in addition to users from AD? LDAP can have, presumably, different bases to lookup users for.
2
votes
0answers
42 views

Can only access gvfs-mount in nautilus [closed]

I am trying to mount a Windows network drive using gvfs-mount, gvfs-mount smb://<server_name>/<share_name>/<folder_name> The folder seems to be mounted correctly, as I can browse ...
0
votes
1answer
27 views

Samba unix permissions messed up despite mask

I'd like to configure a share on a standalone samba serve where users have rw to their own files, but r to others in the same group (rwx and rx on folders respectively). It works well when users ...
0
votes
0answers
34 views

Samba4 AD privilege problem

I mounted NFS share to debian. Below following fstab record: //192.168.14.24/estimating /srv/samba/WDEstimating cifs ...
1
vote
0answers
42 views

Raspberry Pi 2 running raspbian unmounts external hard drive every so often

I hope this is an ok place to ask this out of all the stack overflow communities there are. Anyway I have a raspberry pi 2 in my house that I keep around to backup some files and host media files ...
1
vote
1answer
49 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" ...
0
votes
0answers
33 views

Set name for NAS with samba

Hi I'm in the midst of setting up a torrent box which has ArchLinux installed. I've been following quite a few of the archlinux tutorials and I'm at the point where I have a samba server up and ...
1
vote
0answers
58 views

Help with installing/configuring Samba 2.2.3a on Ubuntu 14.04

I am having trouble installing and configuring an old version of on Ubuntu 14.04. I am configuring this specific versionson purpose to be vulnerable for penetration testing. However, after ...