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
1k 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
1answer
598 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 = ...
2
votes
3answers
4k 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 ...
1
vote
3answers
3k 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 ...
5
votes
2answers
413 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
91 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
204 views

Samba daemon hammering CPU on CentOS 5.6 VM on bootup

I have a problem where my Centos 5.6 VM is running very slow on my Win7 machine, and looking at top I can see that the Samba daemon smbd is sitting at the top of the list hitting the CPU big time, ...
3
votes
1answer
625 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
2answers
55 views

mount error 13 = Permission denied

One of my servers is set up to automatically mount a Windows directory using fstab. However, after my last reboot it stopped working. The line in fstab is: //myserver/myfolder /mnt/backup cifs ...
3
votes
1answer
909 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 ...
2
votes
0answers
22 views

Can not access to samba4.1 shares on gentoo box

I have one Windows 7 x64 PC, and a Gentoo Box, which act as a NAS. I tried to migrate from Samba3 to Samba4.1.6, and while Samba isup, I fail to connect; I have the following error that is popping (it ...
1
vote
1answer
473 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
0answers
35 views

How do I Fix Samba from breaking on Kali Linux?

Okay, so I am trying to get Samba to work so I can access files from my tablet. That said, I've installed the samba package and its dependencies along with nautilus-share package to let me share ...
2
votes
1answer
622 views

Where does Kali Linux mount smb shares

In Ubuntu I've noticed that smb shares are stored in /home/{user}/.gvfs directory. But In Kali there is nothing in this folder. So where is the SMB share folder in Kali. I've searched possible places ...
1
vote
2answers
1k 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 ...
3
votes
1answer
500 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
516 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 ...
0
votes
1answer
55 views

Samba local master browser cannot be found via broadcast

I have a Samba server (CentOS 6.5, Samba 3.6.9) that acts as a local master browser for a workgroup. I issued $ setenforce 0 $ service iptables stop to disable SELinux and get rid of the firewall. ...
2
votes
1answer
444 views

samba security share && user

This is my smb.conf: [global] workgroup = myworkgroup netbios name = mercurio server string = fileServer security = share map to guest = Bad User [Share] comment = Carella di condivisione globale ...
5
votes
1answer
481 views

Preventing access blocking while external HDD spins up?

I have an old laptop where I installed Debian along with a samba server which I am using to share read-write access to 4 external hard drives, which I use to stream my media from. All works fine, ...
0
votes
0answers
14 views

KRB5 auth with samba

I'm attempting to setup a samba share on RHEL6 for a group of users. There are quite a few of them with very little technical experience so having them SSH in to reset smbpasswd is asking a lot. We ...
2
votes
2answers
352 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
1answer
27 views

How to check if Samba is installed

I don't know if Samba is pre-installed in my Linux system. I have the /etc/samba/ directory, with smb.conf file. But if I try one of these commands sudo service smb start sudo service samba start ...
1
vote
0answers
25 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 ...
1
vote
1answer
2k 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
1answer
187 views

PuTTY and PowerTerm scripting Problem, Open a just in time URL via Samba share

I'm sshing into a fedora server using Powerterm (an expensive overly priced, license based, terminal emulator). The server uses an ancient form of (what I'm told is similar to) cobalt. I have no ...
3
votes
1answer
692 views

Sharing Ubuntu drives with Windows

I'm new to the whole Linux thing. I have a Linux server up and running and have been using this guide as a help. I have an issue with shared drives. My Windows machines can see them but cant write to ...
2
votes
1answer
46 views

Opening a samba share in emacs

I am using emacs-snapshot, and I added an application shortcut to my .local/share/applications/emacs-snapshot.desktop : [Desktop Entry] Version=1.0 Name=Emacs Snapshot (GTK) GenericName=Emacs ...
0
votes
1answer
669 views

Samba 4 gives “Failed to find a writeable DC for domain” on samba-tool domain join

I have a CentOS 6.4 box with SerNet's Samba 4.0.8 installed and no smb.conf file yet, as it should be. I want it to become an AD DC in my existing Windows domain, replicating from the existing ...
1
vote
1answer
53 views

Permissions with writing NTFS partition from Windows

I mounted my NTFS external hard disk to my Pi this afternoon, my /etc/fstab currently looks like this (I encourage any recommendations or queries made on the properties made, especially the umask - ...
2
votes
0answers
309 views

Changing Samba/LDAP password with passwd

We've installed CentOS Directory Server (389 DS) and have Samba using it as a backend. This works great except that when enabling password syncing in the smb.conf it is only synced one way. I could ...
1
vote
1answer
34 views

How can I prevent some users from deleting files in samba?

I have a sample directory shared out with Samba which all users should have read/write access to. I would like to prevent some of these users from deleting any files (even the ones they create). This ...
2
votes
2answers
999 views

How to mount a windows/samba windows share under Linux?

Under Linux (Ubuntu 12.04) I want to mount a windows share / windows partition named //winshared on the network. I do not know the IP or anything else. On one Ubuntu system, I am able to mount a ...
0
votes
1answer
20 views

Windows creates autorun.inf when mounting samba share

I'm running samba on my Linux machine. When I mount a samba share from Windows, such as my home directory, a file named autorun.inf will be created inside the mount. It seems to be a text file but ...
4
votes
1answer
204 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 ...
4
votes
1answer
56 views

Can't mount samba share

I'm trying to mount a samba host located at 192.168.2.5. I can ping the host, I can open the share on Ubuntu and windows (with the credentials). When I try to manually connect: ...
0
votes
0answers
42 views

Can't mount Samba share on Rasbian, works flawlessly on Debian

I have a samba share that I use in my home, this works fine on both Windows and Debian, but when trying to mount it on my Raspberry Pi I just get an error. /etc/fstab: //media.lan/public ...
0
votes
1answer
80 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.
1
vote
0answers
47 views

How is a username determined and can I hide the domain component in a winbind username?

Someone asked a question on Server Fault about a problem which I'm also having but no one has answered it so I'm posing a slightly different question to try and figure it out myself. I've configured ...
1
vote
1answer
89 views

Deleting a samba user: pbdedit vs. smbpasswd, what's the difference?

What is the difference between $ pdbedit -x and $ smbpasswd -x to delete samba users?
0
votes
1answer
72 views

How to configure Samba to use Windows's login ID?

I'm trying to access the Linux share folder from Windows using Windows's domain authentication. I come across the integration of Windows Active Directory into Samba on a Linux box, thus I have this ...
1
vote
0answers
34 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?
0
votes
4answers
2k views

How can I share files between two Linux machines over LAN?

I am currently running Fedora 18 with Gnome on two computers which are connected to the same router. I have been using Samba to share files between the two, but I know there must be a better way. On ...
1
vote
1answer
56 views

File 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 ...
0
votes
1answer
37 views

I had a folder full of files, then I used “sudo mount” to mount a Windows samba share. Where did the files go? [duplicate]

I'm using a raspberry pi. I didn't think mounting a samba share to a folder full of files would do anything - I thought it would copy the files to the samba share. Now the files are gone from this ...
1
vote
1answer
65 views

How does Linux winbindd determine available domain controller?

We are actually in preparation of taking down one of our three domain controller (Win2k3). They are all serving the same domain. Actually we still see connections incoming from Debian (5/6/7) Servers ...
1
vote
2answers
164 views

Setting up Samba to use AD server for authentication?

I am looking for howtos or instructions on setting up Samba to use an AD server for authentication instead of using a Samba password file. Pointers to documentation helpful, especially the right ...
1
vote
1answer
270 views

How can I have a Trash/Recycle Bin for my Samba shares?

I have a couple of Samba shares on my NAS running Debian Squeeze which I access through Windows 7. Deleting any of the files from Windows will completely delete the files from the NAS server. Is ...
1
vote
0answers
32 views

Samba - releasing file lock

Our (Windows) users are starting a program from a shared subdirectory on a Debian server. They use samba to access this directory. When we want to release a new version of the program the started ...
2
votes
0answers
27 views

rsyslog.conf only partly honored

I followed this description on how to enable audit for Samba (entry of Aug 10, 2009) and wanted to get all additionally enabled logging in a special log file (/var/log/samba/log.audit). The mentioned ...