Samba is a free software re-implementation, originally developed by Andrew Tridgell, of the SMB/CIFS networking protocol.

learn more… | top users | synonyms

3
votes
1answer
6k views

How to setup shared folder as virtual directory in IIS 7.5 (cross-domain)

This is my current understanding of how this should be done: (TL;DR for the actual problem, please see the bold text.) Create a folder on you storage server, henceforth known as B. Create a local ...
1
vote
1answer
24 views

Identifying files being actively written to CIFS share

Is there a way to identify files that are actively being written to a CIFS mount in Linux? I am interested in skipping those files. My first thought would be to fine tune the find command with ...
0
votes
0answers
12 views

samba 4 create mask not working

I have following samba config [global] server string = %h server (Samba, Ubuntu) server role = standalone server map to guest = Bad User obey pam restrictions = Yes ...
0
votes
2answers
2k views

How does samba usershare_acl parameter works?

Looks like it is not even documented on the samba website itself, or did I miss it?
1
vote
2answers
546 views

Delete files from command line using smb:// URL

I have a file with a list of smb:// URLs, like this one: smb://my_samba_host/data/need_to_be_removed.tgz smb://my_samba_another/data/need_to_be_removed2.tgz I need a command line (something using ...
0
votes
0answers
3 views

Samba printing gives NT_STATUS_NO_SPOOL_SPACE

I have a CUPS server with 1 printer attached, and then shared via Samba. Though every few days printing via Samba stops working, with the following error: $ echo test | smbclient ...
0
votes
1answer
88 views

Samba authentication with another samba

I have a samba share with build-in authentication (smbpasswd). No any central auth (ldap, ad , radius ) in this network. My task is, start another samba server on second hosts with same user/pass ...
0
votes
0answers
121 views

When accessing Samba shares from Windows 10, smbstatus is reporting duplicate nobody:nogroup PID entries

When I run Windows programs located on a Samba share from a Windows 10 Pro 64 computer I get duplicate nobody:nogroup PID entries appearing in the smbstatus output. These entries do not go away until ...
1
vote
0answers
14 views

Broadcasting a printer from Cups / Samba

I am currently attempting to broadcast my postscript printer from my debian machine to other (Windows) based machines on the network. I came across this article and this article which explained the ...
1
vote
2answers
140 views

Unable to join domain using samba tool net or realm/sssd

On a rhel7 server I am trying to join the server to a domain, but I am getting the following failure: net ads join -S domain.example.org -U name Enter name's password: Failed to join domain: failed ...
3
votes
1answer
7k views

Unable to see Samba server by netbios name

We have a linux server set up with a number of samba shares on our mixed windows/mac/linux network. The shares are accessible if we go to \\192.168.x.x\share, however we can't access the server by ...
3
votes
1answer
1k views

Set primary group of file or directory on Samba share from Windows

Short version: I have such situation on a Samba share: $ ls -lha total 12K drwxr-xr-x 3 hka Domain Users 4.0K Jan 11 17:07 . drwxrwxrwt 19 root root 4.0K Jan 11 17:06 .. drwxr-xr-x 2 hka ...
3
votes
1answer
2k views

File permission mask/mode settings for Samba on FreeNAS?

I'm currently working on the Samba settings on a FreeNAS server. When any user creates a file or a folder on the server I want the file or folder to get the following RWX permissions: Folders: ...
0
votes
1answer
1k views

samba share on windows 7 won't give me access to /var but gives me access to everyother directory

i have samba share set up to give me access to my linux box from my windows 7 machine, everything is fine, except i can't access the /var director for some reason through windows. however, i can ...
0
votes
1answer
352 views

smbclient NT_STATUS_LOGON_FAILURE against Windows Server 2012 R2 share

We are running Debian wheezy, with smbclient v 3.6.6, trying to reach a Windows 2012 R2 share. This conundrum involves two users: ReadOnlyUser and WriteUser We have been using -A ...
0
votes
0answers
9 views

ActiveDirectory Samba4 SMBHome authentication error

I have a samba4 server up and running providing an ADC. One OS X machine joined this AD and is configured to use the UNC path for the home directory, but the login failed because automountd fails to ...
2
votes
2answers
23 views

SELinux create custom role

I have a folder shared out via Samba, and a Docker container which I would like to give access to said folder by adding it as a volume to the Docker container (yes, I know that's not portable). ...
0
votes
1answer
7k views

how to solve NT_STATUS_HOST_UNREACHABLE in CentOS when connecting to (windows) file server via SAMBA

I am using CentOS and I need to connect to a file server running on windows. My friend told me that I need to install SAMBA to be able to do that. and so I installed samba and when I try to check if ...
4
votes
1answer
5k views

How to migrate Samba User Accounts to a new linux server?

I have an Ubuntu 6.06 server that needs to be replaced by an Ubuntu 9.04 server clean setup, I already copied the entire samba file server directory to the new 9.04 server using rsync. I need to know ...
1
vote
1answer
4k views

Windows 7 cannot create “permanent” profile from samba server

I have a samba server which has an odd problem; I was able to get the Win7 box to logon using the instructions from the official samba wiki; however, after setting up a BDC, I missed the step of using ...
1
vote
4answers
1k views

Samba - permission issue

I am trying to get samba to work properly... I have a "Movies" share (//server/Movies), I want only root account to be able to upload and delete. Guest can view "Movies" share without password/login ...
0
votes
0answers
6 views

Transfer speed over network faster than from the server itself Ubuntu 14.04 [migrated]

I have a home server low powered 800mhz 2 cpu running Ubuntu 14.04 LTS. I have attached a 5TB external hard drive USB 3.0 and I get average 30MB+/s read speed using hdparm -t --direct. My issue is ...
0
votes
0answers
24 views

Samba4 AD network homes for OS X

We are trying to setup a samba4 active directory to provide login and network home directories for OS X clients. We succeeded to setup the samba4 AD and join the domain with one OS X test client, ...
-1
votes
0answers
13 views

Usermapping on Ubuntu with a Windows NFS server

First of all the idea of what I want: I have a ubuntu server (name: leda) with an OpenLDAP server in combination with a Samba server, which "emulates" a Windows domain. Now I have a second server ...
0
votes
1answer
15 views

Samba server permissions not work

I have Samba server installed on Ubuntu 14.04 LTS I set up some smb shares for everyone. For example this is a part of my smb.conf: [logs] path = /srv01/logs browsable = yes ...
4
votes
2answers
3k views

Windows 7 Samba issue

We have a strange samba issue affecting only one user. Our samba setup is as follow : Red Hat Enterprise Linux Server release 5.4 (Tikanga) - Samba Server Samba version 3.0.33-3.14.el5 ...
0
votes
2answers
1k views

Samba default permissions not respected

I'm almost ready to tear my hair off (At least i have a decent amount of it :P) I built a Ubuntu 11.04 box at work for all the development team to work on it. Everything working fine so far but there ...
0
votes
0answers
16 views

Win XP not saving mapped drive to Samba - Reconnect at login is ticked

I have Windows XP SP3 and Samba 3.6. From Windows Explorer I go Tools > Map network Drive and create a connection to my server (//server/share`), ticking the Reconnect at login box. All works fine, ...
2
votes
2answers
30 views

Using Glusterfs Dist-Replica Storage Pool for Hyper-V Virtual Machine Storage

Am chasing down some information regarding an upcoming project. So Basically we have a large Glusterfs Dist-Replica Storage pool running on ubuntu and we want to have several virtual machines running ...
0
votes
1answer
20 views

Samba Security - Set permissions for anyone write on share (root and others)

I have a server with Samba4. I need to configure the permissions for anybody can write on the share, but at the moment only the root users in the clients can write. How can i fix this? My smb.conf ...
0
votes
0answers
40 views

horde 5 ldap/samba4 authentication fails “Bad search filter Parameters”

I am trying to authenticate my horde users against my samba4 active directory but I am always getting a "Bad search filter Parameters" error. Unfortunately I am not able to identify the exact problem ...
3
votes
2answers
3k views

Windows/Samba connection error

I have a Linux fileserver serving up /home for linux and windows users. I was able to connect from my windows client, but not from a DC. Then suddenly I could connect from the DC too. The linux ...
0
votes
1answer
3k views

LDAP+SAMBA login issues

I'm on a clean Ubuntu 13.10 install and I've just installed and configured openldap+samba. While I'm trying to configure a domain controller plus user shares. In order to ease LDAP management I've ...
0
votes
1answer
22 views

WindowsNT.3.5 domain: location of homes

Context: I am working with a Samba PDC (not AD mode) which emulate a MS NT Server 3.5. My problem is with the following line on smb.conf: logon home = \\%L\%U This line makes users mount a home ...
3
votes
2answers
190 views

Samba - user auth against AD and local passdb

I have only a short question. Is it possible to set up a samba server, who's able to authenticate some users against Active Directory and some users against a local passdb file? We want to exchange ...
2
votes
1answer
1k views

Anonymous Samba share across subnets (without WINS?)

I'm trying to replace an old Windows 2000 server that is current set up with a number of open anonymous shares used by a legacy application that must remain in production for a few more years. I ...
0
votes
0answers
13 views

IIS can't recover connectivity to shared configuration: “Configuration file is not well-formed XML”

I am creating a HA cluster of web servers. For this particular install its not practical to set up all the infrastructure required for Web Deploy to be fully automated. Instead, I'm using Shared ...
0
votes
0answers
7 views

sqlserver is always mapped to nobody on samba when doing backup to UNC path

I have an issue in the configuration, I guess. Due to the fact that the user is always mapped to nobody, I have to set the chmod for the backup folder to 0666 which is the number of the beast and ...
0
votes
1answer
1k views

Robocopy - Share to Share copy over network - Files did not end up in the expected location

A client of mine recently got a new Windows 2012 server to replace an old Windows XP Professional computer we were using as a file server. Everything appeared to be copying fine, I stored a log file ...
1
vote
2answers
131 views

kinit succeeded but ads_sasl_spnego_krb5_bind failed: SASL bind in progress

I'm trying to use fedora and samba as a file server. Using kerberos i'm trying to make sure no passwords are transmitted over my network. I'm able to use samba for its file server capabilities, ...
2
votes
3answers
5k views

Windows file explorer using port 80 (webdav) instead of 445 (samba smb cifs) for UNC path

I have a Windows 7 Ultimate x86_64 machine, which is failing to access a network samba server. I launch the "Run" dialog, and type in \\192.168.x.x so I am bypassing DNS and NetBIOS name resolution, ...
0
votes
2answers
199 views

Samba share yielding “invalid handle”

I have a strange behavior that came up suddenly with a samba share (arch linux) since yesterday. The only trigger that I can think of is a system update (pacman -Syu). Ever since, the root share (/) ...
1
vote
0answers
21 views

Stop Samba Timeouts on Windows XP [closed]

We recently bought a Drobo to archive all our videos ready for broadcast. Everything is working fine between all my computers whether it be Mac, Linux, or Windows 10. We have one Windows XP computer ...
0
votes
0answers
19 views

samba4 vfs_audit + vfs_recycle not logging deletes

I want to log all user deletes on samba shares. I noticed that when using vfs_audit and vfs_recycle together the deletes are not logged by samba. In the below config, deletes on [share1] are not ...
0
votes
0answers
19 views

Windows mount linux samba share using UPN

I got a linux samba server sharing a folder. About 4-5 windows desktop is trying to access the share folder. I think the windows clients are using Windows 7 / 8. Most of the machine can mount using ...
0
votes
1answer
1k views

samba login fail, smbpasswd / tdbsam / pdbedit missconfiguration?

I cannot get to login, running a samba server on debian7, I can't get a win 8 client to browse non-guest folder. smbpasswd is not doing anything on using it with -a username. my backend is tdbsam and ...
3
votes
1answer
2k views

samba_dnsupdate dns_tkey_negotiategss: TKEY is unacceptable

I'm trying to configurate dinamic update to bind I have samba4.0.0rc5 running with bind 9.8 on Ubuntu 12.04. by default the provision command dont create necesary dns.keytab. i've tested with the ...
0
votes
2answers
1k views

Samba 4.1 (Ubuntu 14.04) prompts for password when listing shares

I had to upgrade my Ubuntu Server to 14.04 which comes with Samba 4.1 (I used Samba 3 previously). I had to switch from security = share to security = user, because it looks like the first one seems ...
0
votes
0answers
5 views

Samba as a layer above custom storage

Does Samba allow to use some sort of custom storage? I would like to serve virtual files with my application and to use Samba for serving them to (Windows) clients. Is it possible? I know there are ...
0
votes
1answer
515 views

Troubleshooting kerberos problems with Samba

I've run into an odd problem with Samba 3.6.23. Right now I have a Windows 2008 R2 machine that has trouble accessing shares on a domained Samba box. \\example_serv\my_share : Fails with LOGIN ...