Questions tagged [samba]

A free software re-implementation of the SMB/CIFS networking protocol, which provides Windows file and print services. Use this tag when your question involves Samba shares, mounts, or printers.

Adapted from the Samba Wikipedia article and the Samba home page:

Samba provides file and print services for various Microsoft Windows clients and can integrate with a Microsoft Windows Server domain, either as a Domain Controller (DC) or as a domain member. As of version 4, it supports Active Directory and Microsoft Windows NT domains.

Samba runs on most Unix, OpenVMS and Unix-like systems, such as Linux, Solaris, AIX and the BSD variants, including Apple's OS X Server, and OS X client (version 10.2 and greater). Samba is standard on nearly all distributions of Linux and is commonly included as a basic system service on other Unix-based operating systems as well. Samba is released under the terms of the GNU General Public License. The name Samba comes from SMB (Server Message Block), the name of the standard protocol used by the Microsoft Windows network file system.

The Samba project is a member of the Software Freedom Conservancy. The goal behind the project is one of removing barriers to interoperability.

For another introduction to Samba, see: Samba: an Introduction

1083 questions
19
votes
4 answers

samba how to display files with colon in their names?

Samba does not display files correctly when they contain a colon. Original file name: test:file.txt Display name under Windows: T8S6CH~R.TXT How can I fix it? Info: Linux: SLES 11 SP 3 Samba: Version 3.6.3-0.33.39.1-3128-SUSE-CODE11-x86_64
Peter VARGA
  • 1,012
12
votes
3 answers

Proper way to mount samba share

I would like to mount a CIFS network filesystem with samba on my Arch Linux system. I would like to mount this filesystem whenever I log in (either through ssh, a TTY, or through KDM). I can get pretty close to what I want by adding the network…
StrongBad
  • 5,261
11
votes
1 answer

Method for users to change Samba password

I have a Samba server for about 5 users (security = user) and I want a way for these users to change their passwords without my involvement so I have the following idea. Is this secure? Is there a better (as in more simple) approach. We used to…
brucehohl
  • 111
10
votes
1 answer

smbclient fails with message 'protocol negotiation failed: NT_STATUS_INSUFFICIENT_RESOURCES', what does it mean and how to fix it?

I'm trying to access a Windows share with smbclient and I'm getting this NT_STATUS_INSUFFICIENT_RESOURCES error, regardless of correct or incorrect credentials. The command was about listing the shares: smbclient -L //computer.domain -U…
Calmarius
  • 625
  • 2
  • 5
  • 15
5
votes
3 answers

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 error (NT_STATUS_IO_TIMEOUT). How can I prevent this…
Mokus
  • 239
5
votes
2 answers

Current Workgroup

I would like to get the current workgroup of my Linux machine. When I google it, I get only methods to set or rename the workgroup. I found a command hostname but that returns only my PC name as username-desktop.
Joker
  • 161
4
votes
1 answer

How can I find out what my domain is for connecting with samba?

I am attempting to mount a password protected network share from a NAS unit that works by appearing as a windows share. On Windows, I just Map Network Drive, and enter in \\x.x.x.x\ShareName, then enter a password at the prompt. On my Linux system,…
Macha
  • 3,790
4
votes
1 answer

Remap UID in samba share

Is it possible to remap the UID (and GID) that is being reported to a samba client? It looks like it may be possible with the various idmap options, but it looks overly complicated for the simple remap I want to accomplish and I'm confused as to…
4
votes
1 answer

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 = bsd printcap name = /dev/null disable spoolss =…
MCH
  • 41
4
votes
1 answer

How can I enforce quotas on roaming user profiles using samba?

I am using a custom configuration of webmin from www.turnkeylinux.org to run a domain controller (basically Ubuntu Server 8.04/Hardy with Samba installed from the repositories). I've set things up so that my users have roaming profiles that they…
4
votes
1 answer

How downgrade Ubuntu Samba implementation

A week ago I got some updates related to Samba and now authentication is broken. Windows and Android machines can connect to a Samba server just right, however Ubuntu rejects login credentials. This regression is applied on all Linux flavors sharing…
Singagirl
  • 141
4
votes
0 answers

Files created on a Samba share cannot be modified by the same user

Under normal usage of a Windows app, temporary files can be created on a Samba NAS share but once created, the same user cannot delete or modify those files - unless they wait 'overnight'. The temporary files have a name of ~$blah.blah (with a…
Jim Fred
  • 141
4
votes
1 answer

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, how should I logout from SWAT and re-login into…
mbaitoff
  • 5,101
4
votes
0 answers

How to samba automatically add user and share they home?

Linux OpenSuse 12.3 , samba server 3.6.12 . My samba is configured and working with security = user and today is used only for two users where I was added manually at passwd and smbpasswd. This server have nothing of windows AD configured or…
ceinmart
  • 501
3
votes
3 answers

Samba tools reporting "Unable to initialize messaging context"

When running various tools that interact with Samba, I get the following message at the terminal: Unable to initialize messaging context For example: $ smbclient //localhost/$USER Unable to initialize messaging context Enter WORKGROUP\mattd's…
Zhro
  • 2,669
1
2 3 4 5 6