This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

[SOLVED] Samba and forest of MS Domain

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
romanov.df
NewUser
NewUser
Posts: 11
Joined: 22 Jul 2012 20:58
Location: Moscow
Contact:
Status: Offline

[SOLVED] Samba and forest of MS Domain

Post by romanov.df »

Hello gentlemen!
There are two domains - D1 and D2
Between them, a trust relationship, ie users can log in to the same domain on the account of another.

Server on 9.1.0.1 - Sandstorm (457). Samba 3.6.9
When logging in the domain D1 through command "net join" in the output of wbinfo-u-g no user and group D2. And just the opposite, when they log in D2 do not have any of the D1.

Immediately after logging into the domain

Code: Select all

# Wbinfo-m
BUILTIN
SHD
D1
Before it was set to SentOS 5, like in Kerberos - worked fine in both domains.

Now checked on CentOS 6.3 with configs from NAS4Free.

Code: Select all

$ Wbinfo-m
BUILTIN
SHD_LOGON
D2
D1

Code: Select all

$ Wbinfo-u
terentyev_du
palkus_va
romanov
new_test
testuser
D1 + krt1 $
D1 + administrator
D1 + pasha
D1 + guest
D1 + krbtgt
I apologize for the translation.
Last edited by romanov.df on 23 Nov 2012 13:13, edited 2 times in total.

User avatar
daoyama
Developer
Developer
Posts: 394
Joined: 25 Aug 2012 09:28
Location: Japan
Status: Offline

Re: Samba and forest of MS Domain

Post by daoyama »

romanov.df wrote:There are two domains - D1 and D2
Between them, a trust relationship, ie users can log in to the same domain on the account of another.
I don't have two ADs, but the config have by default:

allow trusted domains = No

Please, try to add following to Auxiliary parameters:

allow trusted domains = Yes

Thanks,
Daisuke Aoyama
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1

romanov.df
NewUser
NewUser
Posts: 11
Joined: 22 Jul 2012 20:58
Location: Moscow
Contact:
Status: Offline

Re: Samba and forest of MS Domain

Post by romanov.df »

Thanks, all good.

In http://www.samba.org/samba/docs/man/man ... onf.5.html says that by default this option is enabled.

Post Reply

Return to “CIFS/SMB (Samba)”