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

learn more… | top users | synonyms

2
votes
1answer
716 views

Ccan'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 ...
1
vote
1answer
11 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 ...
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 ...
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 ...
0
votes
0answers
12 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 ...
1
vote
2answers
823 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
875 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
8k 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 ...
0
votes
0answers
13 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
13 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
10 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 ...
2
votes
2answers
5k 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 ...
1
vote
0answers
116 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 ...
12
votes
2answers
46k views

Changing a file's “Date Created” and “Last Modified” attributes to another file's

I'm using merge cap to create a merge pcap file from 15 files. For the merged file, I have changed the name to that of the first of the 15 files. But I would also like to change the merged file's ...
2
votes
1answer
753 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 ...
0
votes
1answer
18 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 ...
0
votes
1answer
767 views

how to properly configure samba access using groups

I am having trouble trying to get a specific group to access samba server through windows. is it possible to allow certain groups to the file sharing server? example, I have a group called ...
3
votes
4answers
765 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. ...
1
vote
0answers
17 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 ...
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
712 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
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 ...
0
votes
0answers
20 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
5answers
564 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 ...
0
votes
0answers
25 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 ...
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
1answer
704 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 ...
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 ...
0
votes
1answer
81 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
0answers
6 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 ...
1
vote
1answer
43 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 ...
5
votes
2answers
994 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.
1
vote
0answers
12 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
vote
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 ...
-1
votes
2answers
36 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 ...
3
votes
1answer
2k 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
4answers
15k 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
0answers
24 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 ...
0
votes
0answers
86 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
35 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 ...
3
votes
3answers
2k views

Mounting cifs: “Operation not supported”

Unlike the similar question, I cannot even connect with smbclient. The samba share works fine in windows and automagically works, but in Linux I can't mount it at all and the error message is ...
0
votes
1answer
17 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
30 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
1answer
2k views

Cannot mount Samba share: Unable to find suitable address [closed]

I just moved house, and after putting up all my devices, on my RasPi, running Raspbian, I cannot mount my TimeCapsule's SMB file shares anymore. It used to simply work, but Now I get this: ...
1
vote
0answers
23 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
47 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 ...
2
votes
0answers
2k views

Samba 4 has high CPU usage when accessing mapped drive through Windows

I have noticed that when I access my Samba share from Windows, the smbd daemon will always use aprox 10-20% CPU - no matter if the share is used or not from Windows. Even if I close the share/window, ...
1
vote
0answers
30 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
58 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 ...