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

learn more… | top users | synonyms

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
755 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
515 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 ...
5
votes
2answers
995 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
562 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
3k 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
297 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
835 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 ...
2
votes
0answers
329 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 ...
4
votes
0answers
716 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
678 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
400 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
775 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 ...
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 ...
3
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
525 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
4k 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
325 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 ...
1
vote
2answers
5k 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. ...
1
vote
2answers
430 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
90 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
10k 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
793 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 ...
0
votes
2answers
5k 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 ...
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
1answer
213 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
1k 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 ...
7
votes
2answers
8k 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
928 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
472 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
726 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
223 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
14k 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
572 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] ...
5
votes
2answers
2k views

Why is mount.cifs not installed suid by default?

I am using Gentoo, and on my machine at least mount.cifs is not installed suid root by default. In particular, this means that I can't use the user mount option with CIFS shares. I noticed that ...
2
votes
1answer
3k views

Have Samba “proxy” for another server?

This might be a weird question, but can you have Samba "proxy" for another server? IE if mount a share on \\server1\someshare the server transparently proxies it to \\otherserver\randomshare. Note ...
3
votes
2answers
5k views

Is there a command in Linux to query a hostname from WINS server

Someone suggested the command nmblookup. But when I ran this command, it issued the following error. $ nmblookup -U 10.140.8.106 -R 'name' querying name on 10.140.8.106 name_query failed to find name ...
2
votes
1answer
4k views

How do I define a samba share so that every user can only see its own home?

I would like to make every user's home directory from Debian machine to be available by its owner only (using Samba) but for now (with default Samba configuration) I can access other users /homes. ...
2
votes
1answer
605 views

Qmake not working in a mounted smb dir

I'm trying to use qmake in a samba mounted directory. Here is what I get jj@deb32-6:~/smbShare$ qmake . QFSFileEngine::currentPath: stat(".") failed QFSFileEngine::currentPath: stat(".") failed ...
1
vote
1answer
1k views

Photoshop CS5 in Fedora 15

I'm working on a project, which implies that I use photoshop design files. So far I haven't figured out the best way to deal with it in Fedora 15. I installed GIMP, but layers don't look as they do ...
22
votes
3answers
49k views

CIFS vs SAMBA, What are the differences

What are the differences between CIFS and SAMBA? When would you use one over the other? Are there any performance differences between the two?