|
Other than getdomainname() is there any way to get the domain name on Linux without having to open and parse files in /etc?
Code is appreciated.
Thanks
Started by wonderer on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
For future reference, Linux and some other systems have a getdomainname() function which should do { printf("No domain name available through gethostbyname().\n"); } return 0; }
It seems that getdomainname() will only tell you a NIS or YP....
|
|
If I understand email correctly, I need to setup the smtp configuration before my client can send email to outside domain? If that is the case, where do I set this up in linux's mail/mailx command?
Started by erotsppa on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
There are many to choose from, most Linux distros set one up for you, usually postfix.
For sending mail.
|
|
Assume a legacy Linux application listening on a UNIX domain socket /tmp/foo .
In addition to communicating with this legacy application over the UNIX domain socket mechanism I want to be able to connect to it via a TCP-connection on port say 1234.
What...
Started by knorv on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Note that this will only accept.
To the Unix domain socket /tmp/foo , and writes its input to that socket.
|
Ask your Facebook Friends
|
In a small office setup (5-6 employees) we have seven Windows XP and Windows Vista clients, as well as a couple of linux servers.
Is it possible to set up a linux machine to act as the domain controller to provide single signon and AD-like capabilities...
Started by kdmurray on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at serverfault):
If you don't ....
I believe that taking part in an AD based domain is being actively worked on but not yet ready with the latest releases .
A Linux machine act as an NT-style domain controller (this has been the case for some time).
|
|
I have setup a RHEL5 server that is running samba & winbind. I am also using the 'username map' feature to map all my Linux user accounts to their AD user accounts. The Windows users can map to the Samba share and everything works as it should.
The only...
Started by Mike Gargano on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
It makes it extremely easy to add domain users into local groups, and UID/GIDs it was to finally have it just work....
User accounts the same uid as the DOMAIN+user equivalent? In that case when you log on as the linux of this for me.
|
|
Sorry if I am misusing terms here; I actually don't know much about Active Directory and the related technologies. Basically I have a Linux computer and I'd like it (or my user on that computer) to be associated with my user on the Domain, so that I can...
Started by Frew on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at serverfault):
Likewise - Likewise is basically Samba-in-a-box; easier to set up-i-join-a-windows-200... .
Join Linux to an Active Directory Domain
There are four main options:
Kerberos plus LDAP a Linux machine to a Windows domain.
Started.
|
|
I am using checkdnsrr() function in PHP to check for available or parked domains but the result is not 100% accurate.
Is there any other method to check a domain name availabilty?
Answer Snippets (Read the full thread at stackoverflow):
Maybe phpWhois would be a more reliable source of information?
Use command :- dig [url name] .
|
|
Using any member of the Windows Server family, I can set up an active directory, and have a single pool of users for a large scale of computers; access can be given / removed for any shared resources in the given domain (including access to client computers...
Started by Silver Dragon on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Use myself and had no ....
Not sure if this is what you had in mind, but Linux w/Samba can act as a domain controller for WindowsSupposedly Linux computers can use Likewise Open to connect to Active Directory Domains.
|
|
I've got a network set up in the house with a Windows 2003 DC, a Windows 7 Workstation and a host of VMs doing various tasks running either XP Pro, Ubuntu or FreeBSD. Ideally I would love to have domain credentials work across all machines so that I could...
Started by kdmurray on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
Password authentication against the domain can be done with pam.
This is great this to register a machine on a windows domain.
Linux has PAM.
I have found likewise open works well and is easy to install .
|
|
I'm seeing a very low percentage of misdelivered emails from my sendmail host. My sendmail server will try to email an address like "john.dough@johndoughs.own.domain.example.com" and the email will actually be delivered to "john.dough@myexample.com" (...
Started by MikeN on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
What may be happening is that the original domain has a broken MX record that points.
That Sendmail is considering the original domain as a local domain and the server should be the final destination.
|