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

0
votes
1answer
21 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
24 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 ...
1
vote
1answer
62 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
55 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
33 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
38 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. What'...
0
votes
0answers
68 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
12 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
67 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
28 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
45 views

Samba4 AD privilege problem

I mounted NFS share to debian. Below following fstab record: //192.168.14.24/estimating /srv/samba/WDEstimating cifs credentials=/root/.oakservercredentials,iocharset=utf8,file_mode=0777,dir_mode=...
1
vote
0answers
62 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
75 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
45 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
74 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 ...
0
votes
0answers
68 views

autofs asks password for passwordless samba share on Centos 7

I have a samba share that does not require password. Here are non-default lines in my smb.conf: [global] map to guest = Bad User [distr-ro] path = /home/distr public = yes ...
0
votes
1answer
12 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 ...
1
vote
1answer
90 views

windbind NT_STATUS_INVALID_COMPUTER_NAME

I'm tryng to join an Active Directory server with centOS. I started authconfig-tui, then I run net join -w univ-tours -S x.x.x.x -U xxxx@univ-tours. I get the following message: Error in domain ...
0
votes
0answers
42 views

problem during rsync backup to a ntfs network share

I'm running a machine with Linux 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) i686 GNU/Linux, during a rsync backup to a ntfs network share (succesfully mounted with: mount -t ...
0
votes
0answers
56 views

combining samba and linux file rights; only read and write NOT delete

I am looking into configuring a samba share. I have the following expections from the config only users in smbuser group can view the content of the folder users can write and read everything in one ...
2
votes
0answers
309 views

Method for users to change Samba password

I have a Samba server for about 5 users (security = user) and I want a way for these users to change their passwords without my involvement so I have the following idea. Is this secure? Is there a ...
0
votes
0answers
129 views

Samba shares not visible on Kali?

After installing Kali Linux 2016 x64 in a VM and entering the desktop, I followed these steps in an attempt to connect to the samba shares on a computer on my lan. Opened the File Browser Clicked ...
0
votes
0answers
80 views

Command Samba Mount with Multiple Users

Samba share from server is mounted on my RHEL 7 system via root user. RHEL 7 system have a few non-root users(e.g user1,user2 and so on). Users (user1 and user2) can create, modify and delete the ...
0
votes
2answers
238 views

Mitigating Cryptolocker grip on shared SAMBA server

I have a client who was recently hit with a very new variant of Cryptolocker. Unfortunately the user who got hit had a high level of access to the system. Apparently there is no educating some ...
1
vote
1answer
148 views

Mounting NTFS drive or folder as a Samba share on Raspbian Jessie

I'm working on a Raspberry Pi B+ with Raspbian Jessie. As far as I can tell, the drive is mounted read/write, but there's some kind of problem with where my Samba share is pointing to the mount point ...
1
vote
1answer
44 views

Can't set correct permissions on share mapping

Im trying to setup a samba share. I want the share to have access rights rwxrwsrws so that everyone can red and write to it. The folder shared on the server where the share resides is sat by chmod ...
0
votes
0answers
37 views

Samba: hostname fails just shares verses hostname.domainname.com

I have an issue, only on my two Windows 10 machines, where Samba (v4.1.6 on Ubuntu 14.04) can be found fine in windows explorer with \\hostname or with \\hostname.domainnam.com, except that while both ...
0
votes
0answers
44 views

How to disabled login for domain user in CentOS 6

I have all my CentOS 6 machines joined with samba and winbind to a windows domain (2008) and all users that I need to access those machines are in a certain AD group called "engineering". I also have ...
0
votes
0answers
54 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 ...
0
votes
1answer
45 views

get target file size by symlink on cifs share

in shared directory f:/dir on Win2008 absolute symlink created with mklink f:/dir/symlink2file f:/dir/file This share then mounted in Debian with mount -t cifs -o file_mode=0600,user=login,pass=...
0
votes
1answer
90 views

How to allow users to mount windows shares

Our company uses both Windows and Linux. Each user has access to many Windows Shares, e.g. \\machine1\A, \\machine2\B, etc. In Ubuntu, how to allow non-root users accessing those shares? Is there a ...
2
votes
0answers
88 views

Files created on a Samba share cannot be modified by the same user

Under normal usage of a Windows app, temporary files can be created on a Samba NAS share but once created, the same user cannot delete or modify those files - unless they wait 'overnight'. The ...
0
votes
0answers
93 views

sssd & net rpc grant SeDiskOperatorPrivilege

I have sssd configured and working with my domain member server and I now wish to grant the SeDiskOperatorPrivilege to the "MYDOMAIN\Domain Admins" group. When I execute the command it appears to ...
0
votes
0answers
76 views

Samba Debian Server + OSX Client = High CPU Load

I've a Debian server running Samba 4.1.17-Debian the shares are ok and it works fine most of the time. However when I connect an OS X client the server CPU goes to 100% and never comes down util the ...
0
votes
1answer
387 views

Cant access the shared root directory after a samba update, and cant write file that contains non-ascii characters

I recently updated my samba and now it made a mess. So here is a part of my current smb.conf: pi@raspberrypi ~ $ cat /etc/samba/smb.conf [global] (...) [homes] comment = Home ...
0
votes
1answer
20 views

Kerberos in Ubuntu system

I would build a kerberos authentication system on Ubuntu based machines. I'm making it for a school project. So i have some questions: 1)What do i need to make client-KDC-server? Do i need a domain ...
0
votes
1answer
198 views

Can not see windows share list in linux

I have a little network in my house and I have shared a folder on Windows. On other Windows computers I can see the list of Windows share list but none of the linux devices can do so. when i click on ...
1
vote
0answers
42 views

How to prevent smbtree from asking for a password?

On my Debian system, smbtree (as well as all the other relevant samba commands) keeps asking for some sort of passwort for my user account. The command works no matter what password I enter. I don't ...
-1
votes
2answers
81 views

after power outage no permissions to access samba share from windows machines on the same domain

I am running a ClearCase server on RHEL 6.7. We had a power outage last night (for the life of me I do not know why we don't have damn UPS). At any rate, when the machine was brought back up, we are ...
0
votes
0answers
44 views

Make subdirectory world writable even if parent folder is not

As of the title: i have a folder called Public inside my home folder. I need to share this folder (write only) via samba. However if i chmod 772 Public it doesn't work since my home folder is 750. Is ...
1
vote
0answers
396 views

Store Windows print driver on Samba for a CUPS print server

I'm trying to setup a (Debian) print server for both my Windows and Linux (Ubuntu) workstations. What I aim to have: Printers are configured on print server's CUPS. Queue are created and managed (...
1
vote
1answer
89 views

Firewalling Samba

at the moment I'm trying to implement the firewall for my linux file server. Everything is working as expected except form the samba server. I have searched through the internet already but non of the ...
1
vote
0answers
660 views

SSSD For Authentication & SAMBA For File Sharing

As an alternative to winbindd, I have setup SSSD on a machine so that it can authenticate AD domain accounts, which is working great. However, this same machine also needs to act as a file server, so ...
0
votes
1answer
19 views

Samba remove Read permission for some users

I have a directory that is acessable by all the users and in there are some files of a program that i would like to hide or lock for some users and made visible/usable for some other users. Basicly i ...
1
vote
0answers
110 views

cifs-mount with multiple shared folders on windows server

I'm having a windows server winserv with several shared folders share1, share2, etc. and would like to cifs-mount them all in the terminal by just addressing the server and not each shared folder ...
1
vote
0answers
30 views

Samba Share to Require Password Debugging

I've recently set up Samba on one of my CentOS 7 servers and it works fine, it allows anyone to access it as long as they are on the LAN. Now I need to set up a second share that can only be accessed ...
0
votes
1answer
253 views

Show specific samba shares only to some users

I'd like to set up my samba so that each user has access to specific folders. Some of them for example have home folder on server and those should have access to their home folder, other don't and ...
1
vote
0answers
53 views

Samba system calls for reading/writing files from/to NAS issued from Windows desktop client

Windows desktop machine is connected via 1GB Ehternet cable to personal NAS (under development) with Ubuntu on it. While reading and writing files (> 1GB size) from/to NAS strace was conducted to ...
0
votes
0answers
15 views

How To Patch Bugs Manually in Software [duplicate]

We have been experiencing issues with winbind on our servers and I found a thread on Bugzilla regarding a bug which sounds much like the issue we are experiencing. Throughout the discussion, the ...
1
vote
0answers
167 views

Why is sed changing permissions of a file on a cifs mounted share?

I have an Arch linux machine that uses the following fstab entry to mount a share: //192.168.3.1/Documents /mnt/ cifs credentials=/home/tal/.smbcredentials,rw,x-systemd.automount,iocharset=...