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

learn more… | top users | synonyms

1
vote
2answers
4k views

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

Samba configuaration not working

I am trying to set up a Samba share with a Windows computer from CentOS6. This is my current samba config: [global] restrict anonymous = no domain master = no preferred master = no workgroup = ...
0
votes
0answers
219 views

samba over NFS large file

For several months we encounter problems delays : we have a server ( os: ubuntu server 12.04 ) with samba and ldap service . Our clients are on Mac, Windows and Linux client ubuntu . Huwaei NAS ...
0
votes
0answers
28 views

How can I test from the terminal whether my linux-based system can see a Windows domain name?

I have a backup service which stores the backup files in a share directory on a Windows server , but it fails and if I look in the logs I see this error: 13:02:13 AXSDBG notice ...
2
votes
3answers
1k views

Samba 4 OpenLDAP authentication issue

What I've done so far Installed DHCP server and bind9 for the local network of clients (the server should act as a gateway) built Samba4 from source with bind9_dlz as dns backend installed OpenLDAP ...
0
votes
0answers
21 views

Can't use ssh in a VM Centos [duplicate]

When I tried to connect my Ubuntu 13.10 to my VM Centos 6.5 using ssh appear the message "Connection refused" or "No route to host" even than I change the port, noting change. See here I need to use ...
0
votes
2answers
3k views

winbindd: kinit succeeded but ads_sasl_spnego_krb5_bind failed: Cannot contact any KDC for requested realm

While looking for reasons why logging in to a samba machines joined to Active Directory is slow I have the strong impression that the following error in my log file could be a hint. Apr 3 14:44:14 ...
1
vote
0answers
394 views

Sharing a folder through NFSv4 and Samba on Ubuntu

I encountered problem with configure samba server above nfsv4. I have 2 servers with Ubuntu 12.04 on both of them. First server serve as NFSv4 storage, for VDI and user shares. File system is ext4. ...
0
votes
0answers
87 views

Open a Windows session with a user account belonging to a trusted domain using Samba

I have set up interdomain trust between my 2 domains DOM1 and DOM2. The 2 domain controllers, SMB1 and SMB2, are running Samba3. They are on 2 different networks (but no problem for any machine on ...
0
votes
0answers
53 views

How to add context menu entries on a Samba share

The Samba server is running on Linux, the clients are Windows machines (Windows XP and Windows 7). Is it possible to extend the client-side context menus for files and folders on the mounted shares, ...
0
votes
2answers
85 views

Finding a user's home from bash

I'm trying to get the value of a user's home from a puppet script. This particular user is a Samba user, not a local one, with the username of the form DOMAIN\user. I've tried the following, with no ...
1
vote
0answers
333 views

Slow first login to a AD-joined Samba box

I have joined my first Debian box to an Active Directory (2008 R2). It works, I can log in with AD credentials, browse Samba shares. There is just a problem with the time it takes for someone to log ...
1
vote
2answers
469 views

Managing Linux user accounts + Samba + more

I have a network of about 3-6 CentOS servers, with about 5-10 users (currently, and near future). I'm looking for a solution for centralized managements of users. My requirements from it are: Linux ...
1
vote
2answers
55 views

Samba server: Who used all of our storage yesterday?

First day there is plenty of free storage space, next day someone used up all free space. Is there an efficient way to find out which directory has an increased storage use? I know how to find new ...
0
votes
1answer
55 views

Adding win7 shared folders to *nix domain?

I have a CentOS 6.x/ NIS based network from which I need to start sharing some folders to Win7 machines. I've installed Samba on a test system but can't seem to get the trick of having the Win7 ...
1
vote
1answer
355 views

Samba server - CIFS mount issues

Background: I have a samba cifs server. It is not joined to a domain, but has a keytab for an MIT kerberosV realm. Kerberized mounts (e.g. mount -t cifs //cifs.example.com/groups /mnt/cifs -o ...
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 ...
3
votes
0answers
508 views

CIFS mounts hang on read

I have a problem with a bunch of CIFS mounts that look like this: //192.168.10.2/remote-share /home/windows-shared/remote-share cifs defaults,user=xxx,password=xxx,uid=603,gid=603 0 0 This ...
0
votes
1answer
120 views

Samba intermittently timing out on writes to a ZFS share

I'm experiencing an odd problem on a file server intermittently failing when writing files. The problem occurs when I try to write a number of files from a (Windows 7) client at once. ...
1
vote
1answer
300 views

Centrify samba: lib/util.c:1117(smb_panic) (using Centrify express)

Samba is working somehow, but some processes crashes. Seams like this is only when some (or one) Windows clients accesses the network disk pushed out by GPO. At least one w7 client can't access the ...
3
votes
1answer
555 views

smbk5pwd overlay on OpenLDAP 2.4

I have an OpenLDAP server and I want to configure the smbk5pwd overlay to make OpenLDAP update the sambaNTPassword and sambaLMPassword attributes automatically when a change occurs on userPassword. ...
3
votes
1answer
825 views

Windows 7 extremely slow with samba 4

I'm experiencing extremely slow performance when trying to copy files from and to a samba 4 share. I'm using Debian and the Samba 4 SerNet packages and everything is up to date on the client as well ...
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 ...
1
vote
1answer
2k views

smbclient directory listing gives NT_STATUS_ACCESS_DENIED

I have been looking around to no avail. RHEL 6.4 I can run the following from a remote server, and successfully authenticates against LDAP: smbclient -L //tric4t/share -U username Once I run ...
0
votes
2answers
73 views

RedHat/CentOS environment discovery

I am working with a new client who lost their IT person and are trying to document what they have. It's a Linux/SunOS environment. I am trying to find their Samba or equivalent user management server ...
1
vote
1answer
881 views

CIFS error -512 on a mount

So we have Alfresco running at work and I like to have our repository mounted via CIFS: mount /mnt/alfresco/ -v mount.cifs kernel mount options: ...
2
votes
0answers
3k views

Failed to access samba shared directory, Log port error, protocol not found

I tried to configure samba server for internal sharing purpose. I can access the global environment but when I tried to access directory environment, it is failed. I checked to log file of samba and ...
1
vote
0answers
58 views

alternative to smb.conf / normal samba configuration

I have a Ubuntu-based server that provides SMB access for many users. Is there any way I could manage the shares and user permissions WITHOUT having to update smb.conf everytime? I'm not using LDAP in ...
0
votes
1answer
475 views

Freenas and Active Directory

I'm trying to setup my Freenas server with Active Directory, it's connected fine and the following works: [root@storage01] /# wbinfo -t checking the trust secret for domain ISD via RPC calls ...
0
votes
0answers
233 views

Windows cannot acces Samba share using Map network drive

I have a system running Debian. I installed Samba on it so I can access a share from Windows 7. When I try to map a network drive in Windows I get an error: "Windows cannot access \...". However, I ...
2
votes
1answer
357 views

How to force Samba to create directory

I need help with Samba configuration. What I want to achieve is configuration, where windows user on share see only his files. This is simply achived With configuration like this: Users are ...
6
votes
2answers
15k views

Samba public share - Windows keeps asking for password

I can't figure out how to properly configure these Samba shares. Really I can't understand what's wrong. I read many many articles here, on AskUbuntu forum, on LinuxQuestions and other forums and ...
0
votes
1answer
183 views

Debian 6 - Linux 2.6.32-5-amd64 - Samba server with 32GB swap - how should i reuse it?

today i have the mission to tuning a Debian samba file server, previously i never ever touched it. RAM = 16GB SWAP = 32GB first of i ran a parted -l and a free -h and i saw one 3TB hdd: /dev/sda ...
0
votes
1answer
735 views

export the same folder with NFS and SMB

The issue On my workplace, we have a rich environment of client including windows (from 95 to 8, also corresponding server editions), mac (from 10.6 to 10.8), linux (ubuntu, centos, redhat) and ...
3
votes
1answer
570 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
1answer
208 views

Folder permissions for Apache vhost files on Samba share

In our website development environment, we have a central CentOS server running multiple vhosts via Apache. The vhost files are shared via SMB. Multiple developers in the office connect to this SMB ...
0
votes
1answer
220 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
0answers
122 views

Connection from samba to LDAP server failed

I use samba (3.4) and OpenLDAP (2.4) for file sharing and directory service. Some days ago, I noticed that samba has problem in connection to the LDAP service while beforehand it was working ...
0
votes
1answer
982 views

Detect if remote host is running Windows or Samba

From a Linux server, how can I quickly determine if a remote machine is running Windows or Samba? I want to run commands on remote Windows machines (XP and 7) to list the installed software and ...
0
votes
2answers
509 views

How to ask Samba to follow symlinks for user & password less guest account

I want to configure Linux Samba 4.0.9 for providing read-only access to directory content (symlinks to files from other locations) in user & password less way. Basically any LAN user should have ...
2
votes
2answers
200 views

samba: change unix group from windows client

I try to setup a small samba server on Ubuntu 12.04 to share files. It seems to work fine but there is one permission problem. All Unix users primary group is group_common. Some users are ...
0
votes
1answer
295 views

Login script not running

I have a server running Debian Wheezy, and Samba 3 running the Domain Controller. The clients are Windows 7, and mostly work. One issue I'm having on one computer is that it will log in, and present ...
0
votes
2answers
2k views

NAS shares cannot be accessed by name in a domain

I have a NAS (Synology DS411, DSM 4.3) that was configured to be joined to an AD domain. Privileges were appropriately set on the shares and everything was fine. I (foolishly) changed the name of the ...
0
votes
1answer
90 views

Can I have a machine in a DNS subdomain, but Active Directory main domain?

I've just started virtualising some Linux servers, and want them to have DNS names like this: name.vm.company.internal Our DNS is hosted on Windows 2003 Active Directory, so most machines are ...
0
votes
0answers
248 views

CentOs 6.5 GFS2 DRBD SAMBA CTDB : g_lock_force_unlock: Could not store record: NT_STATUS_UNSUCCESSFUL

My SAMBA cluster is unreliable, I noticed that from Windows desktop (on some occasion works fine but it is not reliable), on Ubuntu I'm getting this error (same is keep repeating in the log): ...
2
votes
2answers
71 views

Will locally mounting root filesystems of all remote servers being managed eliminate need to share dotfiles?

I've got about 10 remote servers being managed, through SSH, and I typically just SSH into each of them for remote management tasks. This requires me to have duplicated many of my dotfiles (like ...
0
votes
2answers
415 views

Samba group doesn't appear on Network Neighborhood

I have a samba server (Samba version 3.6.9-151.el6). My ip server has multiple ip address, and it uses dns proxy for name resolution. I have 2 problem: Samba share works with IP but not with ...
0
votes
1answer
74 views

ubuntu samba not connecting from mac

I have an ubuntu 12.10 VM with samba v 3.6.6 installed: Ubuntu 12.10 (GNU/Linux 3.5.0-44-generic x86_64) On my mac i can connect to the smb share no problems: smb://www.tests.net Finder then ...
0
votes
1answer
653 views

Use fail2ban for Samba

I'm looking for a way to use fail2ban to control/block samba logins on Ubuntu 12.04.3 LTS. I already set up an jail.local. The samba part currently looks like this: [samba] enabled = true port = ...