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
1k views

“The trust relationship between this workstation and the primary domain failed”

I mangage a Primary Domain Controller (Samba+LDAP) with 60PC. But 3-4 PC can't login to domain with error "The trust relationship between this workstation and the primary domain failed". 56-57 PC ...
0
votes
1answer
88 views

How to set up netbios aliases on smbd / nmbd

The hostname of my server is slightly unfriendly (let's say b4dn4me). I want my users to be able to access the server under a nicer name (let's say bonnie). Samba is installed just to be able to ...
0
votes
0answers
73 views

How to manage permissions on shared filesystem in Linux and export it on Windows?

It is a bit complex scenario so I will try to make this a simple as possible for you. ENVIRONMENT I have a shared filesystem on Linux which I export on Windows using Samba4 and users which belong to ...
2
votes
1answer
6k views

Can Samba “security = user” be used for guest share without Windows login prompt?

I am trying to use an Ubuntu computer to set up Samba shares for a lab of Windows computers (Vista Basic and XP). Two of the shares need logins, but one is supposed to be a public share. My problem is ...
0
votes
0answers
245 views

Unable to access Samba fileshare on CentOS 7 from Windows 7 on AD Domain

I'm trying to stand up a new CentOS 7 server running Samba and I'm unable to get access to the shared directories from my Windows 7 local machine. As I'm not super familiar with CentOS 7, I followed ...
4
votes
1answer
191 views

User permissions/feature limitations of the native zfs smbshare service on linux

I'm using zfs on linux, using the sharesmb=on option to try out the native smb share feature instead of adding the zfs tank path to my smb.conf file. The share has shown up on my windows machines, ...
3
votes
1answer
607 views

iptables/netfilter rules for samba/netbios access

Which iptables-rules do I have to set to allow clients to access a samba server with working netbios (i.e. being able to use \MyServer instead of \192.168.0.1 to access the server from Windows)? I've ...
1
vote
0answers
14 views

Delete old machine from Samba

I'm wondering is there a way to delete old machines from Samba? I'd like to search all computers that hasn't had activity for longer than 3 months and have it removed from the domain controller. ...
5
votes
2answers
2k views

Samba server not visible from Win network

Samba 3.5 on Centos 6.3 Synopsis: I set up Samba on my linux host, but none of my Win machines on the subnet can see the host name. My host name (WOLTEST) does not show up in any of the Win ...
0
votes
0answers
32 views

Connect OpenLDAP to Samba in read mode?

We have Samba 3 based domain controller. The password backend for the domain is pdb/*nix users, this means that we do not have LDAP service running with Samba (I may be wrong on this one, but I do not ...
2
votes
1answer
1k views

CentOS Samba server to be master browser for workgroup

We have a CentOS 5.9 server (w/ latest updates) running Samba 3.0.33-3.39.el5_8. The IP address of the server is 192.168.1.28. The problem is that every night at around 4 a.m., the clients lose ...
1
vote
0answers
36 views

VisualSVN repositories on a NAS with Samba service

I installed VisualSVN Server on my PC with Win8.1 and I'm trying to create repositories on a network share on my rather primitive NAS that runs a Samba service. I created the user "svn" in Windows and ...
0
votes
1answer
410 views

Autofs and Samba not mounting on RHEL 7

I have a samba share entitles "scrolls" set up. Listing the samba share works just fine: [root@rhel7-client ~]# smbclient -L 192.168.1.2 Enter root's password: Domain=[WORKGROUP] OS=[Unix] ...
0
votes
1answer
873 views

Samba server on CentOS sees shared directories, but no files visible

I have a very basic samba share for a development environment. There is a directory /var/www/ owned by www:www. All subdirectories are also owned by www:www. All users are members of the www group. ...
2
votes
3answers
3k views

Samba3 GPO Alternative

Samba4 isn't ready for production so I'm stuck with Samba3 but I want GPOs for my Windows 7 clients. Is there a way to implement GPOs or something like it using Samba3 without resorting to manually ...
0
votes
3answers
3k views

Why do I get an initscript error when installing Samba using apt-get?

I'm attempting to solve this problem... Why does samba server fail to start with PANIC error? ... by reinstalling Samba, but I'm getting the following error: # apt-get install samba Reading ...
1
vote
2answers
688 views

Possible to authenticate Samba via Kerberos but without domain-join?

With a Kerberos config file... [realms] DOMAIN.COM = { kdc = dc1.domain.com admin_server = dc1.domain.com } ...it is possible for Linux to talk to Active Directory for password ...
0
votes
1answer
35 views

Safe way to use a samba share on a mixed environment

Me and some friends are the network admins at our local university. Our duties include managing a small nas built on a desktop machine running latest debian. The user base (approximately 300 people) ...
4
votes
7answers
14k views

mount error(13): Permission denied with windows share

I am struggling to mount a windows 2008 share on a CentOS 6.4 (64 bits) server when I use smbclient it works: smbclient //esb.local/dfs -U ESBSertal -W ESB -P MyPassword but with mount it does ...
0
votes
1answer
161 views

Can Samba4 create files with a GID other than AD's “Primary Group”?

I have a Windows 2012 R2 AD. Users all are members of the group "domain users", and then each user is also a member of another group, depending on department. All users have "domain users" as their ...
0
votes
2answers
108 views

Samba only works when firewall is disabled

I can not seem to get samba to work correctly without disabling iptables. As soon as I disable iptables everything works perfectly although I am not fond of not having a firewall in place. I am hoping ...
0
votes
0answers
156 views

Samba Login with Trust Domain User

I'm studying Two-way Domain Trust between Samba and AD. I configured Trust, and I can login with Trust Domain User on Windows Client. But I can't login with Trust Domain User on Linux Client. I ...
1
vote
4answers
6k views

how copy file to windows server from linux

I have a file on CentOS machine that needs to be copied to Windows NT server. I use \10.10.10.10 to connect to the server from my windows desktop. I can copy the files using the GUI, but I want to ...
0
votes
0answers
61 views

SAMBA: wbinfo -r returning -1

I have a Clearos server acting as a PDC using SAMBA. I have set up an Ubuntu client then connected to the domain and authentication is working. On another Ubuntu client i get the following error su ...
0
votes
0answers
171 views

Public share for Windows and Linux without password with full permission for all

I'm trying to create a share folder on Ubuntu linux and on Windows so that anybody can have full access to read, write, create and delete without any user account & password. This means windows ...
3
votes
1answer
2k views

Login script not executing on all stations

My server is Debian-based, running Samba as the Primary Domain Controller. I have verified the permissions on the netlogon share (drwxrwsr-x) and the login.bat (-rwxrwxr-x) file, to allow all users ...
1
vote
2answers
7k views

Resolving samba testparm message: rlimit_max: rlimit_max (8192) below minimum Windows limit (16384)

testparm in samba may produce this message: rlimit_max: rlimit_max (8192) below minimum Windows limit (16384) This appears be be resolved by increasing the max open file limit using this Linux ...
1
vote
0answers
60 views

winbind needs to be restarded after boot

Environment: Centos 6.6 Samba 3.6.23-12.el6 I have succesfully connected the server to an Active Directory Domain and I have configured it as a Samba File Server. It works fine as long as I reboot, ...
0
votes
1answer
435 views

Robocopy - Share to Share copy over network - Files did not end up in the expected location

A client of mine recently got a new Windows 2012 server to replace an old Windows XP Professional computer we were using as a file server. Everything appeared to be copying fine, I stored a log file ...
2
votes
2answers
41 views

Samba filesharing to Win7

I'm a novice network admin tasked with setting up a pretty simple file share structure for a small non-profit I volunteer for. I wanted to test this in-house because I've only ever worked with Windows ...
4
votes
3answers
22k 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
3k 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
3k 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
124 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
52 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
218 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
198 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
25 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
24 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 ...
5
votes
1answer
140 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
143 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
76 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
106 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
1k 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
38 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 ...
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
101 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 ...