Questions tagged [samba]

Samba is a free software re-implementation, originally developed by Andrew Tridgell, of the SMB/CIFS networking protocol.

1815 questions
43
votes
6 answers

Listing available smb shares on a network through the command line in linux

I was wondering if there is a way of listing all the smb servers on a local network (like looking at a network neighborhood in windows) via the command line in fedora.
jcb344
  • 643
  • 2
  • 7
  • 8
35
votes
3 answers

How do I view what version of samba I am running for my domain controler?

Is there a command line way to see what version of Samba I am running?
Crash893
  • 737
  • 2
  • 15
  • 30
32
votes
4 answers

How to make Samba share to NOT ASK FOR PASSWORD

NOTE: I have read probably up to 50 different pages describing how to setup public Samba share in the span of 2 YEARS and nothing ever worked for me. I don't know how much RTFM I need to set this stuff. I need/want to setup a completely open public…
hijarian
  • 741
  • 1
  • 8
  • 13
31
votes
1 answer

NAS Performance: NFS vs Samba vs GlusterFS

I am planning my new shared storage infrastructure for a small webserver farm. Therefore i ran a lot of tests with a lot of NAS filesystems. By doing so, i got some unexpected results and would like to know whether somebody here can confirm this. In…
Linus Ardberk
  • 311
  • 1
  • 3
  • 3
31
votes
5 answers

Special characters in Samba filenames

When serving files containing special characters such as "()?:" in the filename through Samba, the names get transformed into an unrecognizable format. For example, a file my_file:_(important).txt is displayed as M43J1E~0.TXT Is there a way to…
Matti
  • 411
  • 1
  • 4
  • 3
29
votes
3 answers

How do I get SELinux to allow Apache and Samba on the same folder?

In the configuration I have setup I wish to allow samba and apache to access /var/www I am able to set a context to allow samba access, but then httpd doesn't have access. Using setenforce to 0 eliminates issues so I know that it is SELinux. In…
Joshua Enfield
  • 3,404
  • 8
  • 41
  • 58
27
votes
5 answers

Samba configuration for public shares

yesterday I upgraded my fedora box to the latest version, and with that, I also upgraded samba, now using samba 4. I used to access those share from any computer at home without user/password, but now there seems to be something wrong with the…
Angel Villalain
  • 373
  • 1
  • 3
  • 4
27
votes
4 answers

What does NT_STATUS_BAD_NETWORK_NAME mean in Samba?

I set up a share like this: [global] security = user map to guest = Bad Password usershare allow guests = yes [vms] comment = VirtualBox Virtual Machines path = /home/neil/VirtualBox/HardDisks guest ok = yes read only =…
Neil
  • 2,345
  • 8
  • 35
  • 44
26
votes
9 answers

Mount CIFS share gives "mount error 127 = Key has expired"

I'm currently replicating the setup of a CentOS box an am running into a strange error while trying to mount a samba share that resides on a NAS. The error I'm getting is: mount error 127 = Key has expired Refer to the mount.cifs(8) manual page…
djk
  • 682
  • 2
  • 9
  • 15
23
votes
16 answers

Cannot connect to Linux Samba share from Windows 10

I have a Samba server version 4.1.11 running on Ubuntu 14.04. I cannot connect from Windows 10 (but I can from Windows 7). The server and the clients are not on the same LAN. The error message given by Windows is that the server is online but not…
pngl
  • 409
  • 1
  • 3
  • 8
22
votes
3 answers

How do I pass credential file to mount.cifs?

I'm maintaining a heterogeneous network of mac and linux so I decided to create a little perl script to unify mounting strategies across machines. The current implementation in linux is in /etc/fstab works fine: //myserverhere.com/cifs_share…
icasimpan
  • 606
  • 3
  • 6
  • 14
20
votes
4 answers

How to configure Samba to work with Windows 10 1709?

A few PCs that have Windows 10 1709 installed (instead of upgraded from 1703) are having trouble connecting to network shares running on Samba (Ubuntu 17.10). Entries in event logs indicate that the cause seems to be that Windows 10 1709 disabled…
Jim
  • 629
  • 2
  • 7
  • 20
20
votes
2 answers

Change Windows AD password from Linux

Is there a way to change my Windows domain password from Linux?
silviud
  • 2,677
  • 2
  • 16
  • 19
19
votes
10 answers

Samba public share - Windows keeps asking for password

I can't figure out how to properly configure these Samba shares. Really I can't understand what's wrong. I read many many articles here, on AskUbuntu forum, on LinuxQuestions and other forums and website. I really tried EVERY possible combination of…
tobia.zanarella
  • 379
  • 3
  • 5
  • 11
18
votes
1 answer
1
2 3
99 100