Re: Getting workgroup of mac
Re: Getting workgroup of mac
- Subject: Re: Getting workgroup of mac
- From: Andre-John Mas <email@hidden>
- Date: Sat, 22 Dec 2007 10:29:14 -0500
On 22-Dec-07, at 02:03 , parag vibhute wrote:
Thanks for wishing to help. But can u provide help regarding Mac
domain(i.e. Mac OS X server) as Samba deals with Windows domain/
server?
The notion of a domain will depend on the protocol that you are using.
In addition to
SMB domains, Appletalk and TCP/IP also have a notion of a domain.
Other protocols
may define their own notion of domain. Basically how you discover the
domain will
depend on the protocol being used, so knowing what you want will help
you work out
which API to look at.
I am not an expert in this field, but the getdomainname() function,
which is part
of libc will give you the (TCP)/IP domain name.
For Appletalk, what is called a domain elsewhere is called a 'zone'. I
don't know
enough here to tell you what API you need to be looking at, though
there is bound
to be something at: http://developer.apple.com/
Andre
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden