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

learn more… | top users | synonyms

0
votes
1answer
2k views

How to check if a computer have already joined a domain with Samba

I am using this command to add a Linux boxes to Active Directory: net ads join -U username%password I have to make this command idempotent by checking the Linux box already exists in the domain. ...
1
vote
1answer
92 views

Change Active Directory in Samba share server

I have the next scenenario: Legacy Windows 2k Server as PDC (Primary domain controller) called A Samba share server with some resources connected by winbind with A Clean Installation of Zentyal ...
1
vote
2answers
1k views

Samba 4 “file server will not allow any additional users to log on”

I have samba 4.0.6 as AD DC and fileserver on ubuntu 12.04 in a Mac environment. After some time the OS X clients will not connect to the server with the error message: "The file server will not allow ...
6
votes
2answers
2k views

Linux machine is in a windows domain, but domain logon isn't working

We have a small network in our department 2 Win Server 2008 Domain Controller 1 debian webserver a number of win7 Clients My predecssor tried to add the webserver to our domain in order to login ...
2
votes
0answers
89 views

Samba Shares Without Using Winbind

I am curious if it is possible to use samba shares without using winbind. In our current environment we are using SSSD, Kerberos, and Samba to complete the required tasks such as joining the windows ...
1
vote
2answers
94 views

Samba permissions being ignored

I have defined the following share in smb.conf [development_server] comment = Development directories path = /sites writeable = yes valid users = @dev guest ok = no directory ...
0
votes
0answers
22 views

Winbind without smbd

We authenticate the users on our Ubuntu using pam_winbind. After having spent some time with the update from Samba 3 to Samba 4 I'm wondering if it is possible to use winbind without the rest of the ...
0
votes
0answers
107 views

Debian Wheezy compile libpam-smbpass before or after installing samba

Samba debian package is at version 3.6.6 and does not look to include natively libpam-smbpass, which I need for being able to use system users on the server side. I checked the debian package release ...
1
vote
0answers
402 views

Ubuntu server + Samba + PAM + Apple OpenDirectory

Due to various reasons, we are looking to migrate our file servers from OS X Server 10.9 over to a true Samba implementation running on Ubuntu 14.04LTS. We have Ubuntu up and running with Samba ...
0
votes
1answer
52 views

How are SMB credentials negotiated?

I have a local USB drive mounted into a Linux box on my home network. I have samba installed and it shares a directory of that USB drive and I can connect to that share from my Windows box with the ...
0
votes
1answer
37 views

Samba: per-user ip restriction

We have a Samba server with LDAP authentication running. User privileges are controlled by UNIX groups and ACL and everything works just nicely. In the future we will allow users to connect via VPN ...
0
votes
3answers
2k views

linux share (samba), how to list all shares with the path to local directory actually shared

Is there a practical way, e.g. net command or other cli to get a list of all shares defined on a Linux server (Ubuntu distribution) listing not only the share name but also the full path to the local ...
2
votes
1answer
161 views

Samba - Restrict saving media files (MP3, AVI, JPG)

I am looking to move away from Windows for file storage for users, but at the moment don't see a way to implement file resource management like it is done in Windows Server, effectively blocking ...
1
vote
1answer
1k views

Users can't access their samba shared homes from Windows

I installed and configure a Samba 4 as AD and I shared Homes. I can log in the Samba server and a Windows 2008 server with my users. However, on Windows, when I type "\IPSambaServer\user1" when logged ...
0
votes
1answer
1k views

Centos: creating new ADS samba share

I followed several guides to set up samba sharing on our domain. I've got it working where I can join the domain, list the shares, and connect to the samba share from windows. When I connect from ...
0
votes
1answer
176 views

Windows 7 Spamming Domain Controllers on ports 445 and 139, causing lockout

I have a domain lockout issue and in troubleshooting, I found through netstat that my machine is pummeling the domain controllers on ports 445 and 139. It is creating thousands of user ports to do ...
0
votes
0answers
113 views

Create active AD user with samba net rpc user add command

I have a mixed Windows and Linux Environment. I want to create new Active Directory users with Samba tools. This command will create a new AD user, but they aren't active: net rpc user add ...
0
votes
1answer
701 views

Samba 4.1 (Ubuntu 14.04) prompts for password when listing shares

I had to upgrade my Ubuntu Server to 14.04 which comes with Samba 4.1 (I used Samba 3 previously). I had to switch from security = share to security = user, because it looks like the first one seems ...
1
vote
1answer
33 views

force user on certain directories rather than the entire share

Samba's force user configuration parameter is useful as it allows multiple users to access a share while performing all file operations as a single specified user. Is it possible however to use the ...
2
votes
1answer
4k views

Samba How to allow a user to access folder (read/write) with root permission

I have samba share for a directory which is owned by root. But the samba user is different and same is put in the config. Due to this when user access the directory it has read access but can't write ...
1
vote
0answers
224 views

AD Authentication with SAMBA, Winbind and SSS

I'm having trouble authentication with AD to a SAMBA share on a linux server. Authentication appears to be working, but only halfway... [root@myserver ~]# wbinfo -a my_ad_user%password123 ...
0
votes
1answer
253 views

Why can't I upload drivers to my Samba print server?

I've just set up a CentOS 6.5 64-bit VM with CUPS (1.4.2) and Samba (3.6.9) and can print from my Windows 7 64-bit machine quite happily. The shared printer is a Kyocera FS-2100DN, for which I ...
0
votes
2answers
64 views

Accessing a Samba server from a new Windows system

I have had a samba server running on a linux (RHEL5) box for a while and I have mounted a shared directory on a Windows PC. I just got a new Windows 7 laptop and trying to access the same server, but ...
1
vote
1answer
1k views

Winbind Centos wrong UID/GID

Here's the scenario: I have two machine: Ubuntu, running ldap to authencticate users CentOs, uses winbind to authenticate users to mount homedirs I use fstab and nfs shares. The problem is this: ...
1
vote
0answers
85 views

mount.cifs stopped working

Recently my mount of a samba share stopped working. Windows clients aren't having trouble, but no luck from Ubuntu 14.04. fstab says: //fox/ktenney/Documents /home/ktenney/Documents cifs ...
0
votes
1answer
46 views

Samba trigger and script

I'm wondering if samba implements some kind of scripting, to let me call \my_server\my_dir\my_file from a cliente, where every request to my_dir triggers a script on the server, that executes a ...
0
votes
1answer
447 views

The system cannot log you on now because the domain is not available

I am using two virtualbox machines, one running XUbuntu 12.4 LTs and the other running a Windows XP as a testbed for implementing a Samba-based domain. The Linux machine is my PDC and the XP machine ...
1
vote
2answers
3k views

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

System Error 1240 mounting network share on Server 2008

I want to share a folder from a standalone Server 2012 system on a private LAN that other servers can access without authentication. There is no domain/AD in my environment. This is usually a simple ...
0
votes
1answer
186 views

Samba only binds to loopback interface

I have Samba installed on a Ubuntu 14.04 server, in my smb.conf I have interfaces = lo em1 bind interfaces only = yes This should make Samba bind to only the loopback and the first embedded network ...
5
votes
3answers
152 views

Shared Disk in modern data center (SAN, virtualization, etc)

I'm a developer...treading here on foreign terrain. Please pardon any naivete. I work on an application that stores data both in a database and the filesystem. Context: Clustering and Network ...
13
votes
7answers
19k views

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 ...
0
votes
0answers
54 views

Samba Permissions Issues

I am having some issues with samba on my Fedora file share server. I've logged into the vncuser below on the server itself and I can access the directory, however I get permission denied errors when I ...
0
votes
0answers
196 views

Authentication to mapped Samba shares failing after AD username change in Win7

Background: One of our users was recently married and changed her name. Correspondingly, we changed her AD username from jane.doe to jane.smith. However, she now cannot authenticate into any of our ...
2
votes
2answers
3k views

Problems with “Read Only” on a Samba share from Windows machines

We have a Ubuntu 10.04 Server that has a bunch of Samba shares on it that Windows workstations connect to. Each Windows workstation has a valid username/password to access the shares, which have ...
1
vote
2answers
3k views

Samba/Winbind: adding domain users to local groups based on domain group

I have a Redhat ES 6 server that's successfully joined to a domain via Winbind (i.e. I can login to the Redhat server using domain credentials with no issues). What I'm looking to do at this point is ...
0
votes
1answer
358 views

Samba 4 vs MS Office - Error accessing the file for saving, open and read works

Description I am struggling with a rather old (well-known) issue using the latest samba 4 suite. The MS Office 2010 products refuse to save a new (or modified) file on the samba share and display a ...
0
votes
0answers
131 views

Samba share on AIX. Access from Windows machines only seeing files on primary IP address.

Dealing with an issue that at first I thought was server side (hence posting here) but now I am less sure. We have a Samba share presented from an AIX server. Windows machines can access just fine ...
8
votes
3answers
13k views

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.
7
votes
3answers
46k views

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 = ...
0
votes
1answer
97 views

OpenVPN + Samba share not working on very fast connection

I have a server running ClearOS with OpenVPN and Samba shares (flexshares) enabled. Client machines are able to connect to the OpenVPN server from a remote location, and are able to see all shares on ...
0
votes
1answer
4k views

Samba4 net join member fails

I'm trying to join a RHEL6 server using samba4 to a domain. Net ads join works correctly, join member does not however. Effectively wbinfo --getdcname does not work where as wbinfo --dsgetdcname does. ...
1
vote
2answers
2k views

Linux nested groups with winbind

We have several RHEL6 servers connected to Active Directory using winbind. All servers are configured identically using a configuration management tool. Servers however produce different results when ...
0
votes
0answers
85 views

Some Windows 7 PCs don't show Previous Versions of folders stored on Samba server. Others do just fine

I recently set up a Debian 7 file server using Samba to share files with our Windows PCs. I installed and configured snapshots and set it up so Windows clients can right click a shared folder on the ...
0
votes
0answers
49 views

Intermittent network failures, limited to certain client subnets

We've been seeing intermittent network failures. The failure mode tends to be that long running connections tend to drop out. We see it most with ssh and samba connections, although some occasional ...
0
votes
0answers
116 views

Setting Samba passwords using Chef without storing plain text passwords in data bags

We have a server that is configured using Chef. Currently, the way that chef manages the passwords is by simply copying down the samba tdb databases and updating the shadow hashes of each user. ...
0
votes
1answer
824 views

Copying files from OSX to samba, force create mode not working

I have a problem whereby I have set up a samba share with these parrameters: [Design] path = "/sec/projects/design" writeable = yes browsable = yes valid users = @design force group = design force ...
0
votes
1answer
33 views

Set password at first logon in Samba

I am looking to build an Ubuntu file server for storage of documents, music, movies and more.. for the whole family. Each member should have their own (password protected) space for their stuff and ...
0
votes
0answers
94 views

Windows domain user fails with netlogon - Samba3

I am having login issues with a domain user using roaming profile. Everytime I try login, I get netlogon failed. This occurs with only one particular user. I have created a new user with the exact ...