libsmbclient: Browsing and a URI spec?

Simo Sorce simo.sorce at
Thu Jan 4 08:12:15 GMT 2001

On Thu, 4 Jan 2001, Michael B. Allen wrote:

> On Wed, Jan 03, 2001 at 07:20:03PM -0600, Steve Langasek wrote:
> > By 'associated with', I mean 'bearing the same name as'.  If you have an NT
> > domain called 'FOO', members of that domain will appear in the workgroup 'FOO'
> > on the network.  Win9x machines may also appear in the workgroup 'FOO', but
> > they are not part of the domain.
> Ok, I have talked to one of the NT guys and apparently we don't
> have "workgroups" at all but rather use a "domain model" and "trust"
> something-or-others(relationships?) ...blah, blah, blah. We have a pretty
> big network(1000s across many countries). If I look at the networking
> configuration on my machine I have a domain specified that I thought
> of as my "workgroup". Entering this information will only work if an
> Administrator enables the machine name and my account presumably on the
> domain controller. The "domain" used for authentication purposes(when I'm
> connecting to shares and doing general stuff) is then obtained from the
> domain controller when I log in based on my username and "domain"(the one
> I have been calling workgroup). This is pretty much just a brain dump of
> a fairly casual discussion during chow so don't treat it as anything more.

I suspected a trust relationship!

> Now even having said that I think it's rather inconcequential to the
> question at hand. That is; how and why would the domain(PrimaryDomain
> field in SMB_COM_SESSION_SETUP_ANDX used for user authentication when
> connecting to services) and the workgroup(used for name service and
> browsing but now apparently a kind of "domain" itself) differ? Fact is
> they do in some cases so perhaps there should be a parameter to specify
> that like 'client auth domain =' for smbclient and to use.
> Mike

a piar should be set I think:
client auth domain =
client auth server =

as with trust relationship who is actually authenticating you is your
right domain server, but it will use the "central" domain account by the
trust relationship.

Simo Sorce - Integrazione Sistemi Unix/Windows - Politecnico di Milano
E-mail: simo.sorce at 02 2399 2425 - 02 2399 2451
Be happy, use Linux!

More information about the samba-technical mailing list