Questions tagged [samba]

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

1865 questions
8
votes
4 answers

How to mount a windows administrative share on linux via SMB

I'm currently trying to mount a windows shared drive under linux. The machine is using windows 7 and by default it shares all windows drives if you login as an administrator. I've been able to login and list/copy/delete files via my android phone…
tftd
  • 1,498
  • 7
  • 25
  • 40
8
votes
3 answers

Combined NFS, Samba server w users from Active Directory

I want to build a server that exports user home directories over SMB/CIFS and NFS. This server would be joined to a Win2k3 AD domain controller that holds our user database. As I understand it, winbind will invent UIDs for these users on the fly.…
Bittrance
  • 3,070
  • 3
  • 24
  • 27
8
votes
3 answers

What is the difference between sambaLMPassword and sambaNTPassword?

While configuring a linux server with samba and LDAP support I came across these two fields. What's the difference between them? At the moment, the server is only using samba to share each user's home directory through the network, authenticating…
punnie
  • 183
  • 1
  • 1
  • 6
7
votes
1 answer

Windows 10 share to MS-Dos 6.22 failing after an update from Windows 7

Updated a Windows 7 machine to Windows 10 and can no longer connect to the network share on a dos machine. The MSDOS 6.22 machine is a piece of industrial hardware that uses a mapped network drive connecting via netuse x: \\smbserver\dxcontrol The…
7
votes
3 answers

Copying terabytes of hundreds of thousands of files in folder slow

I am currently running FreeNAS and using SMB 3 on windows machines to copy folders with 80000+ files that are all about 35MB each. Here is the config FreeNAS 2x40Gbps connections bonded connection SMB Share with SMB 3.1 enabled 1 Xeon 8 core with…
cohortq
  • 475
  • 1
  • 6
  • 13
7
votes
3 answers

Use NTLMv2 Authentication with Samba

Trying to connect to Samba shares on a Linux host with a Windows 10 client, even after setting the client Security Policy to allow non-NTLMv2 authentication, the client still gives errors like "The specified password is not correct." when using…
palswim
  • 442
  • 2
  • 6
  • 24
7
votes
1 answer

Windows 2008 share times out when accessed from Linux clients after 10 minutes following WannaCry patches and updates

A bit of background We have a Windows 2008 server that users use to store all kinds of data. It has smb share to a specific folder, that needs to be accessed by several Ubunutu servers via cifs. It worked all great until recently we had to patch…
konung
  • 290
  • 2
  • 12
7
votes
2 answers

samba nmbd: query_name_response: Multiple (2) responses received

The nmbd logs of a linux samba4 domain member server are filled with lines like: query_name_response: Multiple (2) responses received for a query on subnet 192.168.1.54 for name ADOMAIN<1d>. This response was from IP 192.168.1.19, reporting an IP…
473183469
  • 1,360
  • 1
  • 12
  • 23
7
votes
3 answers

Windows 10 PE Unable to map network drive anonymously

I'm trying to set up a imaging environment. The idea is to use DISM to apply WIM images (Windows 10 Pro) over the network. I am able to boot into Windows 10 PE. I have network connectivity via DHCP. When I try to map the network share using net…
7
votes
2 answers

How would you add a share to smb.conf via a script?

I'd like to script adding a share to a smb.conf file. My current script just appends it to the end of the file, but that's not ideal. I'd rather have something that will add a new share if it doesn't exist, and replace it if it does. I'm currently…
Benjamin Peikes
  • 1,094
  • 3
  • 16
  • 26
7
votes
2 answers

Windows 7 not able to connect to Samba

I'm trying out Win7, and i'm trying to connect to the networked samba share as I have been able to in Vista & XP with no issues. Samba is running on Ubuntu, if that helps. I've tried changing the following in the local security policy as i've seen…
Roy Rico
  • 612
  • 2
  • 9
  • 20
7
votes
2 answers

Can't mount samba share, but can access using smbclient

I have a network share on Windows server in my local network. I can access this share using smbclient on my Ubuntu 13.10 (with installed cifs-utils package) desktop like this: smbclient \\\\192.168.5.2\\source -W DOMAIN -U…
ShockwaveNN
  • 201
  • 1
  • 3
  • 8
7
votes
1 answer

Trying to rename a file via Samba; fails if there is a '2' in the filename

This seems a bizarre issue, hope someone might shed some light. I set up some samba folders on a couple of ubuntu servers for the users to do some file management. After moving a file into the share, the user is trying to rename the file from…
user16081-JoeT
  • 1,948
  • 11
  • 18
7
votes
1 answer

Samba standalone server using LDAP for authentication: SID mismatch

I'm trying to get my new samba server running for days now and I start losing my mind over not figuring out what I'm doing wrong. Here's my setup: OpenLDAP 2.4.21 server with ~15 groups and >100 users, all having a unix and a samba password stored…
Phil
  • 81
  • 1
  • 1
  • 4
7
votes
5 answers

AD group membership changes not reflected in winbind information

I have inherited several RHEL5 servers that were set up to authenticate users against their AD accounts via winbind. Everything works fine until I update group membership in AD. For some users, the changes never make it to the output of the…
Peter Lubans