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
492 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
0answers
10 views

Giving permissions to user for samba RPI

I am using Samba to share a folder on a USB drive from my Raspberry Pi and it works except for the permissions. From my windows computer, I cannot write to the folder with the issue: I am following ...
1
vote
1answer
16 views

Script samba password but securely

I want to script the addition on a samba user and the password. I have seen solutions similar to the one here Piping password to smbpasswd echo -ne "$PASS\n$PASS\n" | smbpasswd -a -s $LOGIN but ...
1
vote
2answers
1k views

Why absolute symlink on SAMBA share is followed directly by CIFS mount?

If an SMB share has a symlink with an absolute path /share/latest/dir -> /share/data/201407 then Windows clients can access files by link with no problem. dir \\smbserver\share\latest\dir\ ...
1
vote
2answers
60 views

Why can't root delete a file?

On a samba share, I have a .DS_Store file on a SMB network share that is causing havoc. Even as root, I can not delete or chmod it. -rwx------ 1 bob acme\Domain Users 6148 Apr 24 09:11 ...
1
vote
3answers
1k 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 ...
0
votes
1answer
781 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
1answer
14 views

Cannot mount Samba share: Unable to find suitable address

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
14 views

Windows file shares dissapear erratically in Linux file browser

My network consists of a router which acts as a dhcp server. Connected to one of its ethernet ports is a unmanaged switch which in turn has all my machines connected to it via ethernet. On this ...
2
votes
2answers
3k 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
votes
0answers
14 views

How to avoid this message,or better set it to a reasonable time?

I have a samba4 dc,when i authenticate a linux client or simply do a kinit i receive this message echo password|kinit Password for user@SERVER.PRIVATE: Warning: Your password will expire in 35 days ...
2
votes
0answers
61 views

mv “Not a directory” when target name too long

I'm trying to do an svn checkout on my local Ubuntu 14.04 LTS vagrant box (SSH via MTPutty): vagrant@vagrant-ubuntu-trusty-64:~/shared/dev$ svn checkout https://... [...] svn: E000020: Can't move ...
0
votes
1answer
21 views

Samba erases content of files when saving

Samba SMB share hosted on Debian "Jessie" in a private home network setup. Can connect to share, open files and copy files to / from share OK. Attempting to make any changes to a file on the share ...
0
votes
0answers
10 views

Remove Samba as Last Domain Controller

How do you remove Samba as the last Domain Controller in a forest? The Raspbian distro automatically configures Samba 4 as a DC during installation. I want this to be a member server of my existing ...
3
votes
3answers
7k 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
1answer
56 views

Raspberry Pi mount Samba Network Share

I tried for at least 3 hours to mount my Network Share to my Pi... I searched on many posts and tried so many things. But nothing worked... I want to mount my Share over the /etc/fstab file so I ...
2
votes
1answer
642 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 need to require username and password ...
1
vote
1answer
1k 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
32 views

I use a shell script to mount several dirs that share from IBM N6040, it works on centos6 but not on centos7

First of all ,the username、password and the share dir's path is correct, it works on centos6 ,but not on centos7 The code in the shell script like this : mount -t cifs -o ...
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
1k 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 ...
2
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, ...
2
votes
5answers
10k 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 ...
1
vote
0answers
19 views

Mount cifs permission problem on deep directory perhaps due to UNC and prefixpath splitting

I am trying to mount a directory (dir3). However, on the windows machine the directory /server/dir1 is already a file shared folder, but I don't have permission to it. I have been given the read ...
1
vote
2answers
4k views

Setting up samba,netatalk and avahi (bonjour) on raspberry pi

I'm trying to create a fileserver/timecapsule combo server out of my new raspberry pi (Raspbian), and it's not going as well as I'd like. netatalk, avahi and samba are the packages that I'm using and ...
2
votes
1answer
161 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 ...
0
votes
1answer
26 views

Why is smbpasswd located in samba-client package?

[root@localhost data]# yum provides smbpasswd samba-client-4.1.12-21.el7_1.x86_64 : Samba client programs Repo : base Matched from: Filename : /usr/bin/smbpasswd [root@localhost data]# yum ...
0
votes
0answers
145 views

Debian 8: How do I modify the Samba initscript in an upgrade-safe manner to include my virus scanner?

I'm using Debian 8 ("Jessie") and I have it configured to use systemd rather than sysvinit. I'd like to modify the init script (or whatever the systemd equivalent is) for Samba in such a way that if ...
0
votes
2answers
259 views

Samba not working

I'm trying to follow this guide: http://www.sitepoint.com/ubuntu-12-04-lts-precise-pangolin-file-sharing-with-samba but I'm sure there are many of them. I've had problems with Samba before. In fact ...
0
votes
0answers
24 views

ldap user on samba share

I have two servers: one is ldap and the other is samba. I have an existing user on the ldap server for an ldap client. Now I want to use this user account with samba to give share access permissions ...
0
votes
1answer
48 views

Samba and usbmount: can't write on automounted device

This is my problem: I configured my RPi with Debian: Samba shares /media/, that is readable-writeable-executable from my home network usbmount automount USB devices when inserted in my RPi, in ...
5
votes
2answers
791 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.
0
votes
1answer
59 views

Pros and Cons of Samba and Windows as fileserver [closed]

Beyond the licenses of each one of them: what are the benefits and cons that have both Samba (Linux) and MS Windows as fileserver?
0
votes
0answers
463 views

Version Error Integrating PowerBroker Identity Services and Samba on ubuntu

I am trying to use PBIS (formally likewise open) to enable me to limit permissions on shares to certain AD groups. When I run the command samba-interop-install --install I get the following error ...
1
vote
1answer
57 views

how to change cifs timeout

Happens when from my laptop I change wifi network that I've to wait 5 minutes before that I can umount cifs share. mount -t cifs //ip/share /home/user/net/share -o user=user,pass=pass I didn't ...
0
votes
1answer
12 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 ...
1
vote
1answer
276 views

How can I get AD authentication without joining a domain?

In order for me to configure Samba to use the Windows Active Directory authentication, do I need to join a domain? Can I do that without joining the domain?
1
vote
0answers
32 views

can't open simlinks within samba share

I have a samba share on Win Server with many simlinks in it and a PC with Linux (Ubuntu), from which I try to access the share (I mount it via mount.cifs). But when I try to open a folder which ...
1
vote
1answer
4k 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 ...
0
votes
0answers
45 views

how to mount samba dir into lxc container

I want to have access to samba dir inside lxc container. I found, that i can't mount directly, but have to mount samba to host, than use bind mount in container's config. I add ...
0
votes
1answer
695 views

CentOS 6.5 nmblookup not found

After installing Samba (yum install samba) on a fresh CentOS 6.5 install, I cannot run nmblookup ("command not found"). I also tried searching the file system and could not find it anywhere.
3
votes
1answer
1k views

How to give Read, Write Permissions using IPs in SAMBA

I want to give Read and Write access based on the IPs instead of the Users in SAMBA using smb.conf This is the Text I copied from my smb.conf file. [TEST] comment = test path = ...
1
vote
1answer
33 views

How to automatically get write access to newly created directories?

A share on the server is defined as follows [share] path = ... read only = no create mask = 0777 directory mask = 0777 force create mode = 0777 force directory mode = 0777 valid users = dobiasd It ...
0
votes
0answers
37 views

find the cause of file corruption when copying files to a network share on an Ubuntu machine

I am copying files from my SD card to my Ubuntu server via Windows 7 using a network drive. The problem is that sometimes, 2 files out of 150, are corrupted during transfer. See here 2 example files ...
1
vote
1answer
260 views

Files copied from Win7 to Linux ext4 are empty/corrupted

Problem: User on Win7 machine. Copy a simple text file from Win7 local drive, through samba, to Linux ext4 dir. The content of copied file on ext4 dir is empty when user open it. Only 1 user has ...
1
vote
1answer
27 views

How to set up samba sharing with libvirtd

I'm using QEmu with a Windows 7 guest on my (Arch) Linux system. I'd like to use the samba to share a directory on my host system with the Windows guest. I can do this from the terminal with a command ...
0
votes
1answer
24 views

Connect to Windows share from Red Hat machine via DNS name

We have a Windows share \\server1\share From a Red Hat machine, we can mount to the share without issue. We have setup a DNS pointer that points to server1 and is named production. From the Linux ...
3
votes
2answers
5k views

smbpasswd failed for new Samba install on fresh Ubuntu 11.04

I've installed Samba on a fresh Ubuntu install. I run the command sudo smbpasswd -a someuser New SMB password: Retype new SMB password: Failed to add entry for user someuser. I've read that you ...
1
vote
0answers
54 views

password protected samba share

I would like to have a few samba shares. Some of them should be available to everybody (this is already working) and some of them should be protected with a password (and username). For the password ...
4
votes
1answer
2k 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 ...