Questions tagged [samba]

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

1865 questions
5
votes
4 answers

Permission issues with Samba and OS X

I'm having some serious permission issues with Mac client machines (OS X Snow Leopard) connected to a UNIX server (running CentOS) through Samba. No matter which permissions I set for a file on the server, the Mac ignores them and changes the…
synchronicity
  • 85
  • 1
  • 2
  • 7
5
votes
2 answers

Linux SMB to \\domainname ends up "tree connect failed: NT_STATUS_DUPLICATE_NAME "

Issue: From CentOS7 machine: smbclient -L %domainname%.com --user=%username% Result: tree connect failed: NT_STATUS_DUPLICATE_NAME This is especially when I try to connect to //domainname.com, which would end up being like //domainname.com/sysvol…
Mark
  • 179
  • 2
  • 13
5
votes
1 answer

What does an alias group means in SID context?

Reading https://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/groupmapping.html, I found out that there exists an alias for groups. But what does this alias mean? Does it means that it is connected to another group and inherit this…
eduardomozart
  • 115
  • 1
  • 10
5
votes
0 answers

`smbstatus` not showing NetBIOS name

I'm upgrading a Samba server from 3.0.37 to 4.4.3, and it seems that on 4.4.3, the smbstatus utility no longer displays the NetBIOS name of connected clients. On 3.0.37, smbstatus -p looks like this: PID Username Group …
jjlin
  • 209
  • 1
  • 2
  • 7
5
votes
1 answer

Samba TLS Setup

I'm reading this Samba Manpage and according to this, you can setup TLS. I've got 2 questions. On the Server-side, TLS options requires the path of the certificate and keys? How would that work on the client-side? How can I see that it would…
jarvis
  • 2,006
  • 4
  • 18
  • 31
5
votes
5 answers

How can I fix Samba 3.6.25 "the trust relationship between this workstation and the primary domain failed" error?

Today I updated our Ubuntu server which is also the primary (and only) domain controller to the latest Samba packages which fixed a few security vulnerabilities. The following packages were updated: libpam-winbind:amd64 (3.6.3-2ubuntu2.17,…
dummzeuch
  • 607
  • 1
  • 9
  • 20
5
votes
4 answers

update to samba 3.6.23-30 on RedHat server 6.7 breaks connections from clients on AD forest

I have a Samba server (version 3.6.23-30) running on a RedHat Enterprise sever version 6.7. It is joined to Active Directory, and authentifies the users to AD. Winbind is not running ("Winbind is not used; users and groups are local" situation,…
Ale
  • 1,703
  • 17
  • 25
5
votes
2 answers

Groupmapping does not work for AD groups

We have an ActiveDirectory where we get our users from. So authentication on the linux machine works over pam. We managed this part to work so far, but we need all users to be part of the local group "users". This works as far as I understand with…
Alexander Baltasar
  • 109
  • 1
  • 1
  • 6
5
votes
1 answer

When accessing Samba shares from Windows 10, smbstatus is reporting duplicate nobody:nogroup PID entries

When I run Windows programs located on a Samba share from a Windows 10 Pro 64 computer I get duplicate nobody:nogroup PID entries appearing in the smbstatus output. These entries do not go away until the smbd process is terminated. I have noted that…
Ian S
  • 51
  • 1
  • 5
5
votes
1 answer

Samba NT_STATUS_ACCESS_DENIED error on Ubuntu

I set up a Samba server on Ubuntu. Everything goes fine when I allow guest access, but when I try to setup a configuration for a specific user, I receive the error below: $ smbclient //x.x.x.x/john -U john Enter john's password: Domain=[MYDOMAIN]…
Razvan
  • 459
  • 2
  • 6
  • 15
5
votes
1 answer

CIFS/SAMBA Mount still attempts before network is ready even with _netdev

The title gives a pretty good synopsis. I am running a debian derivative (osmc) on a raspberry pi 2 in this case. and am trying to mount a share. It mounts 100% a ok from the command line or just using mount -a with the exact same /etc/fstab but on…
ehiller
  • 251
  • 1
  • 3
  • 10
5
votes
1 answer

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, but my windows users can't write to it. I think I'm…
5
votes
2 answers

Joining a Linux host to Active Directory unattended

I'm trying to setup a block of hosts using kickstart and there's two commands that need the password to be entered. One is kinit, for that one it's easy to just generate a keytab file and pass it using -t, the other is the net join that gets called…
Geoff Johnson
  • 115
  • 2
  • 10
5
votes
1 answer

How to access shared folders on custom ports? (windows)

Possible Duplicate: what’s the syntax for Accessing smb/windows shares via alternative ports? Imagine I have this samba serving on a port different from the default (445). How do windows clients access those files?
Jader Dias
  • 4,705
  • 19
  • 50
  • 51
5
votes
4 answers

Samba will not accept the credentials

I have a Debian computer running Samba. I access the server from another computer running Windows 7. As guest, I can list the share as read-only, force user, etc. But I can not access samba server with any credentials. I only get \\ip\storage is not…
machineaddict
  • 159
  • 2
  • 3
  • 12