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

learn more… | top users | synonyms

4
votes
3answers
19k views

How can I clear the “authentication cache” in Windows 7 to a password protected samba share?

I have a Linux samba server and have explicitly listed users that can access the folder. I have successfully congfigured Samba to require a username and password when accessing the share from windows ...
0
votes
2answers
2k views

Samba server authenticating against Active Directory. Is it possible to reboot and still connect to the domain?

I have tried to setup Samba File Server with AD authentication. The authentication via Active Directory is successful but if you reboot the server the linux Samba file server will NOT join the domain ...
2
votes
2answers
2k views

Windows file explorer using port 80 (webdav) instead of 445 (samba smb cifs) for UNC path

I have a Windows 7 Ultimate x86_64 machine, which is failing to access a network samba server. I launch the "Run" dialog, and type in \\192.168.x.x so I am bypassing DNS and NetBIOS name resolution, ...
0
votes
2answers
71 views

Odd Crontab Service SMB Restart Issue

System: Debian Wheezy x86_64 Service: Samaba So when i'm in a terminal i can use service samba restart or /etc/init.d/samba restart to restart the service. When I create a cronjob and do ...
-2
votes
1answer
45 views

How to Sign in a domain of Ubuntu Server from Windows XP?

I've got a a problem, I've got an Ubuntu server 13.10 with samba and a domain, in the network I use 2 Windows XP as clients, which I have added to the domain. When I want to sign in the domain as root ...
0
votes
0answers
139 views

Samba 4 profile-roaming doesn't work, but is set in config

I've got a problem with my Samba 4 domain. My Version is 4.1.6-Ubuntu. I've set logon path and created a profile share. The profiles of the windows users should be saved in this share, but it doesn't ...
1
vote
0answers
139 views

Permissions on Windows share being accessed from a Mac - Access denied but should not be

I have a weird problem for some Mac users accessing a Windows (2012) share where the folders are 'locked down' i.e users can not create folders, only files. In essence they have all permissions ...
0
votes
1answer
18 views

Using samba password to encrypt partition

I have a local server with encrypted partition just for data, which I want to serve through samba server. I want to avoid re-entering password on each server start (e.g. on electricity failure) for ...
-1
votes
1answer
19 views

Where are smbd system links in UBUNTU 12.04?

After installing Samba on UBUNTU 12.04, I checked the system link run level directories and were not able to find smbd links. This is interesting because smbd is started automatically on reboot. Here ...
3
votes
3answers
3k views

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 ...
4
votes
1answer
86 views

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

Samba share not accepting credentials

I'm trying to set up Samba to allow access to a Linux machine from Windows. It's installed just fine, and I can find the share, but I'm getting stuck with permissions. I've added the user Admin, ...
-4
votes
1answer
48 views

Internet Explorer cannot display index.html in Samba Share

I have virtual Centos box with Samba and Apache server installed. I created shared folder in Samba and I am able map that folder via my virtual Windows Server '12. I am able to see and edit files in ...
1
vote
1answer
96 views

Why is my samba domain user created by a bash script behave differently from one created manually?

I have a samba server which is using LDAP as its backend. The PDC is working as expected as long as I create the users manually. This means that if I use the following command to create a new user, I ...
2
votes
1answer
590 views

Can't run .bat file off share, but can from cmd

I have a smb share on a Linux box set up that I can view in explorer: \\XXX.YYY.ZZZ.QQQ\Share In this share is a batch file: \\XXX.YYY.ZZZ.QQQ\Share\Scripts\Script.bat I can open the file in ...
0
votes
1answer
23 views

How to stop username enumeration in Samba on Ubuntu?

I'm using Ubuntu 12.04 LTS to serve a web application to a local Windows network. A recent pen test highlighted that it was possible to enumerate local user accounts on the Samba service. I have been ...
6
votes
2answers
19k views

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 ...
0
votes
1answer
1k 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
76 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
79 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
68 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
19 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
90 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 ...
0
votes
1answer
428 views

CentOS cifs mount point fails after reboot. permission denied error 13

I'm using CentOS release 5.10 I have a mount point setup in /etc/fstab that was working, but now it doesn't. After a reboot the mount point doesn't exist and running sudo mount -a results in: mount ...
1
vote
0answers
319 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
51 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
35 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
122 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
142 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
100 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
593 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
189 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
223 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
51 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
983 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
78 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
43 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
423 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
2k 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
922 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
163 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
134 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
18k 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 ...