I have parent domain NETLANTEK.NET and child NETCHILD.NETLANTEK.NET. The parent has two domain controllers, one is called win3k-pdc.netlantek.net. and the other one is called ccpqdl320-srv1.netlantek.net. I am joined to the parent domain, NETLANTEK.NET. x228:200> wbinfo --sequence NETCHILD : 80998 ccpqdl320-srv1 : DISCONNECTED BUILTIN : 1187402313 X228 : 1187402313 NETLANTEK : 441295 But: x228:201> wbinfo --domain=NETLANTEK --sequence x228:202> Returns nothing at all. x228:202> wbinfo -D NETLANTEK Name : NETLANTEK Alt_Name : netlantek.net SID : S-1-5-21-1305906595-1791979575-428400569 Active Directory : Yes Native : Yes Primary : Yes Sequence : 441295
Tis is by design. The --domain is for -u & -g only.
I took a quick look in the code for --domain, and it;s being propagated to the call in winbindd. If this is by design we need to document it I think, or fix it so it works as people expect (a 3.2 project IMHO). Jeremy.
It's all yours.
Jeremy, would you like to fix that for Samba 3.5?
This command (--sequence) has been deprecated, please use wbinfo --online-status to check status of your domains.