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
0answers
334 views

How to set SELinux samba policy to enable dirs deletion/renaming?

I`m lost in trouble with SELinux once more link to my previous solved Q on Samba SELinux When share's users try to delete a dir on share they fail with SELinux advertisement to solve problem do ...
1
vote
1answer
1k views

is there a way to connect SAMBA and miniDLNA

I am quite new to both, SAMBA and DLNA, so I don't know if my attempt makes sense at all. But what I try to achieve is the following: I have a client, that supports DLNA and a server that is a ...
2
votes
1answer
1k views

SELinux and samba

I have to set SELinux setenforce Permissive in order to give access to my samba share. I wonder if there is proper way to configure SELinux policy for fedora 17 as good admins do.
0
votes
2answers
2k views

Samba not working through AD

I'm trying to get a samba to work with a windows AD. And i can't use my shares through samba. My smb.conf #GLOBAL PARAMETERS [global] workgroup = MY_DOMAIN realm = MY_DOMAIN.COM preferred ...
1
vote
1answer
1k views

Networking with Linux and Windows 7 using Samba

I've installed Samba on my Arch Linux, and I wanted to share files with Windows 7 on other PC via local network. I want it to work both ways, i.e. Windows can read and write freely without any ...
4
votes
1answer
1k views

Samba set share browsable only for a group

How I can configure samba to set browsable a share for a group only. I wanna hide the share for all other users, if a set browsable to yes all the users can see the share when explore. I don't want ...
2
votes
1answer
750 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 ...
1
vote
3answers
4k views

Centos 6.3 can't resolve hostname of network drive while others can

I have a network drive (external network) being used as media storage for a media server running on my router. I'm trying to switch the media server to my Centos 6.3 machine so I can take advantage of ...
1
vote
1answer
812 views

Samba share file permissions - users can't open files that I create

I have set up an Ubuntu server (12.04 LTS) for samba file sharing. The problem I'm having has to do with files that I create on the server. Other users can't open them because I created them under a ...
3
votes
2answers
3k views

Problem with samba shares Ubuntu server 12.04

I'm having a problem with setting up samba share permissions on Ubuntu Server LTS. I've got two shares set up in the smb.conf file. The entries look like this: [share] comment = Ubuntu File Server ...
3
votes
1answer
546 views

How can I get high-precision timestamps (better than 1s) with Samba?

I did a quick test and got the results below. Whats with the horrible time resolution? Is there a way I can make it better? creation 129971441605098285 mod 129971442166583272 a.ToFileTimeUtc() ...
1
vote
3answers
2k views

Samba server 3.6.3 crashes on simple setup on Linux Mint 13

I try to get smbd running on Linux Mint 13 on kernel 3.6.3-030603-generic. This is what I do: sudo apt-get install samba, then install this minimal /etc/samba/smb.conf: [global] workgroup = wkb ...
6
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.
1
vote
1answer
2k views

How do I SSH into my Samba file server?

So I made a dedicated Samba file server on my Debian(3.2) machine. I have had great success accessing it from both Windows and Unix. I can SSH into it on the local network. When I try to SSH into it ...
3
votes
1answer
2k views

How to configure SELinux using samba? Scientific Linux?

when I'm trying to mount a read-only samba share, then I get this messages on the samba server (and timeout on client side) Nov 5 18:45:49 localhost kernel: type=1400 audit(1352137549.469:17): avc: ...
1
vote
1answer
621 views

Adding Windows user to Linux group; possible? [closed]

I have a NAS that runs on Linux and I connect to it from my Windows desktop. I noticed that all directory in that drive belongs to user 'root' and group 'root'. That effectively denies me the right to ...
5
votes
1answer
4k views

Samba passwords expiring in x days - how do we fix them to not expire

We use OpenLDAP and Samba v3. Recently some Samba-defined users (no accounts on the shared linux server) started being listed in logwatch as having their passwords come up to "will expire"...I ...
1
vote
0answers
303 views

Unable to access Linux share from a Windows machine with NT_STATUS_BAD_NETWORK_NAME error

On the Linux machine I changed the smb.conf like this: [john] path = /root/john/downloads available = yes valid users = john read only = no browsable = yes public = yes writable = yes The path /...
4
votes
0answers
3k views

Samba's “inherit permissions” does not inherit modes for other

I have a share with "inherit permissions = yes". I have a directory in the share with mode rwxrwsr-x. If I create a subdirectory, the modes are rwxrws---. The same happens with a parent directory with ...
2
votes
1answer
883 views

Problem with permissions when sharing a mounted filesystem

I am setting up a linux to act as a fileserver, using CentOS 6.3. Since I want to have disk quotas and can't install LVM (it is a 32 bit machine), I am using an LVM volume with ext4 mounted as /samba/...
2
votes
0answers
384 views

Samba: system group mapping

I have w2008R2 PDC and Linux server with samba and winbind. Now I'd like to add some domain users to Unix adm group in AD. Let's say I have adm group defined in AD, and every user from this group ...
5
votes
0answers
759 views

How to set up an encrypted directory to be mounted only during samba access?

(This is not about restricting client access, for which ext3 permissions do the trick) I'd like to encrypt the data on my NAS drive (Buffalo LinkStation Pro with SSH access enabled, if that matters) ...
2
votes
1answer
710 views

Double SSH tunnelling for SMB shared folder

I am actually working from PC1 (using Mac OSX) on a distant computer(Linux) PC2 using SSH. This distant computer PC2 does not have any connection to Internet but is in a network with a PC3 (Windows ...
2
votes
0answers
439 views

Samba 3 on Arch Linux, streams_xattr behaviour

I'm running Samba 3.6.8-1 on my x64 Arch Linux installation. I recently decided to have my samba share support NTFS's Alternate Data Streams by using streams_xattr or streams_depot. With streams_xattr ...
2
votes
1answer
846 views

Which filesystem to use when a samba share should allow for NTFS encryption?

I'm using a NAS (Buffalo LinkStation Pro with SSH access, if that matters) which runs Linux (2.6.31.8 #1 Fri Jun 8 11:07:30 JST 2012 armv5tel GNU/Linux, with smbd --version = Version 3.0.30-1.4....
1
vote
2answers
2k views

Login fails from Windows on NTFS-3G Samba Share

I have a Raspberry Pi (though could be any Debian Linux box) connected to an external hard disk formatted as NTFS. My disk mount in fstab is: /dev/sda1 /media/disk ntfs-3g defaults,uid=1000,gid-...
4
votes
1answer
4k views

Samba — Can't write to a share with “unix extensions = no” set in smb.conf

/etc/samba/smb.conf : [global] workgroup = w server string = server security = user load printers = no debug level = 10 log file = /var/log/samba/%m.log max log size = 5000 dns proxy = no printing = ...
2
votes
2answers
567 views

SMB Mount To Windows Server Appears to Lock up. Any Ideas?

We are running CentOS 6.3 with all the latest updates. (Attempt to resolve this issue) The Server I am trying to connect to is a Windows Server 2008 R2 box. Though this applies to our old SBS'03 Box ...
0
votes
2answers
5k views

Sharing Multiple Folders with Samba

How can I share multiple folders in Samba? If I use mutiple [public] sections in smb.conf only the last 1 has effect. Then if I try to name each section differently, I samba doesnt seem to recognize ...
1
vote
1answer
2k views

Safety of SMB versus SFTP

I have a server with OpenSSH enabled. I use it to make distant backups. I mainly use rsync over SSH and SFTP. I understood that these protocols are quite safe. I am interested in enabling Samba share ...
2
votes
0answers
348 views

smbd crashes after logout or failed login attempt

I'm running smbd 3.6.7 on Arch. It works fine, except that it crashes when on failed login attempts and after logoff. Here is an example using the wrong password. rpcclient is run in one terminal, ...
2
votes
0answers
2k views

Can not mount samba share from DD-WRT

I'm trying to mount a samba share on dd-wrt. I keep getting this in the dmesg and the mount command hangs. CIFS VFS: Error connecting to IPv4 socket. Aborting operation CIFS VFS: cifs_mount failed w/...
1
vote
2answers
6k views

Allowing write access to an SMB mounted drive

Following this guide I was able to get my Samba share to mount on my Ubuntu 12.04 system. I can navigate the folders just fine. However I cannot create a directory nor create a file. I get the ...
1
vote
0answers
1k views

Windows domain account can't create files via samba share, but can do this in linux shell, why?

I'm migrating tomcat server from windows to linux (CentOS 6.3 64bit), and want to use samba to share tomcat directory to technical department staffs (windows domain users) with read+write rights. I'...
1
vote
2answers
482 views

Program to manipulate Samba shares (net.exe equivalent)

Is there an equivalent to the NET.exe suite for linux systems with which I can do net view queries for example?
0
votes
1answer
91 views

Where to find info on how to set up a vm in redhat 7.2

I have a RedHat 7.2 server that was set up by someone else long ago as an e-commerce server. It is still in use for that purpose and I dare not make significant changes to it as my Linux-fu is weak. ...
2
votes
1answer
12k views

How to list and filter Samba users that need a password change?

Apparently, I can find out whether a Samba user needs a password change or not with the following command: pdbedit -v -u userid | grep "Password must change" I also see I can list all the Samba ...
1
vote
1answer
830 views

list Windows shared folders (samba) available in the local network? [duplicate]

Possible Duplicate: How to get list of computers similar to what is shown under “Network” in Windows I suspect the services shared by Windows (including shared folders) can looked ...
0
votes
2answers
6k views

Winbind PAM.D AD Groups, CentOS 5, Allow Only?

I'm attempting to create a configuration, where users in specified AD groups can log in. I'm having trouble stopping every AD user from logging in. I've been doing this though /etc/pam.d/sshd/ but ...
4
votes
4answers
829 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
1answer
222 views

Interrupt process in samba share mounted folder breaks mount

I can successfully mount a Samba share on a local folder in Opensuse 12.1: sudo mount -t cifs -o username=<username>,password=<password> //<win-box>/<share> <mountpoint> ...
5
votes
2answers
2k views

How do I test hardware components to find out which one is bad?

Question How do I test hardware components to find out which one is bad? Details I have an old machine running debian as a file server using samba. The other day I was unable to login to my file ...
8
votes
2answers
9k views

Samba mount with password prompt as non-root user

I want to mount a password-protected SMB share (served by a Windows machine). The share is protected by a user name and password, and I may not write the password in a file, I want to be prompted for ...
1
vote
1answer
978 views

How should I check to see if the remote smb serv is mounted?

I'm pretty new to mount. Basically, I have a remote SMB serv on the local network that I want copy images from a directory on, then repeat every 5 min. I think what I need to do is make a script that ...
2
votes
2answers
480 views

Scientific Linux 6.3 hangs on suspend if using a samba share

I have several notebooks running Scientific Linux 6.3. The suspend function is working quite well, except for one problem: When a notebook mounts a Samba share, plays a few videos through this ...
1
vote
1answer
779 views

Weird samba and gvfs behavior - ~half of directories/files randomly appears to be “missing”

The situation: Server with Gentoo Linux and Samba on it. There's around 15 Windows PCs, one MacBook Pro and one Samsung's laptop with Ubuntu. There's no domain, just a workgroup and the server is used ...
0
votes
1answer
225 views

Samba on a Beowulf Cluster

Is this possible? I have only been able to locate resources related to running scientific applications. Any resources would be helpful. Regards
4
votes
2answers
1k views

Network file sharing between Linux and OS X

I want to share a drive/folder over the internet from my Debian machine back home, such that I can mount it on my Macbook when I am on the move. Basically I want to store my music at home and just ...
6
votes
3answers
16k views

How to remove kernel module if it's still in use?

[rootSERVER ~]# rmmod -f cifs ERROR: Removing 'cifs': Resource temporarily unavailable [rootSERVER ~]# modprobe -r cifs FATAL: Module cifs is in use. [root@SERVER ~]# lsb_release -a LSB Version: :...
1
vote
1answer
589 views

Samba mount isnt mounting when switching to wireless

I have a notebook with Scientific Linux 6.1. I have a wireless router with OpenWrt 10.03 - Wrt160NL. I have a HDD on the router that I share via samba: cat /etc/samba/smb.conf.template [global] ...