Networking Forums

Networking Forums > Computer Networking > Linux Networking > Connecting a CentOS 5.3 box to Win2k3 Active Directory

Reply
Thread Tools Display Modes

Connecting a CentOS 5.3 box to Win2k3 Active Directory

 
 
John Aldrich
Guest
Posts: n/a

 
      03-04-2009, 01:06 PM
I'm trying to add a CentOS 5.3 box to the Active Directory and not
having much luck. I've Googled until I'm blue in the face and my
fingers are bleeding from all the typing and mouse clicking. Just
kidding about the blue in the face and bleeding fingers, but I am
frustrated.

I've been trying to add this box to the Active Directory so I can
connect the mail server on there to the Active Directory and not
having much luck. I've found numerous different "how-to" documents and
none of them say the same thing. I've got samba configured, I think,
but whenever I try to do a "net ads join -U <username>" it says
"ads_connect: No logon servers" and if I try to do a "kinit <username>
it says "kinit(v5): KDC reply did not match expectations while getting
initial credentials."

What am I doing wrong? Can someone please provide me with guidance on
how to do this? I'm NOT new to linux, just new to making it connect to
Active Directory. I'd really appreciate some help with this!
 
Reply With Quote
 
 
 
 
Blah Blah Blah
Guest
Posts: n/a

 
      03-04-2009, 05:56 PM
On Wed, 04 Mar 2009 06:06:47 -0800, John Aldrich faxed us with....

> I'm trying to add a CentOS 5.3 box to the Active Directory and not
> having much luck. I've Googled until I'm blue in the face and my fingers
> are bleeding from all the typing and mouse clicking. Just kidding about
> the blue in the face and bleeding fingers, but I am frustrated.
>
> I've been trying to add this box to the Active Directory so I can
> connect the mail server on there to the Active Directory and not having
> much luck. I've found numerous different "how-to" documents and none of
> them say the same thing. I've got samba configured, I think, but
> whenever I try to do a "net ads join -U <username>" it says
> "ads_connect: No logon servers" and if I try to do a "kinit <username>
> it says "kinit(v5): KDC reply did not match expectations while getting
> initial credentials."
>
> What am I doing wrong? Can someone please provide me with guidance on
> how to do this? I'm NOT new to linux, just new to making it connect to
> Active Directory. I'd really appreciate some help with this!


Does this give you any pointers?

https://help.ubuntu.com/community/ActiveDirectoryHowto

Forget the generic 'Ubuntuness' of it - the information is pretty generic
in most parts.

I work with mail appliances that make massive amounts of AD lookups from
a Linux platform on a read only basis. They make use of the OpenLDAP
libraries. This is flawless and has never given me trouble enough beyond
a couple of common gotcha's;

A big common gotcha is metacharacters in the password (" ' being too
evils)

From something not related to AD I can add that 2k3 server does SMB *NOT
CIFS* by default. Now I'm not going to pretend that I really understand
the intimate differences, but CIFS needs to be enabled on 2k3 if you
intent to use it - may be completely useless info - may even be outdated.

--
Replica Watches - TRY LIDL - Cheap meds? Visit your GP
 
Reply With Quote
 
John Aldrich
Guest
Posts: n/a

 
      03-05-2009, 12:51 PM
On Mar 4, 1:56*pm, Blah Blah Blah <b...@bingobangobongo.com> wrote:
> On Wed, 04 Mar 2009 06:06:47 -0800, John Aldrich faxed us with....
>
>
>
> > I'm trying to add a CentOS 5.3 box to the Active Directory and not
> > having much luck. I've Googled until I'm blue in the face and my fingers
> > are bleeding from all the typing and mouse clicking. Just kidding about
> > the blue in the face and bleeding fingers, but I am frustrated.

>
> > I've been trying to add this box to the Active Directory so I can
> > connect the mail server on there to the Active Directory and not having
> > much luck. I've found numerous different "how-to" documents and none of
> > them say the same thing. I've got samba configured, I think, but
> > whenever I try to do a "net ads join -U <username>" it says
> > "ads_connect: No logon servers" and if I try to do a "kinit <username>
> > it says "kinit(v5): KDC reply did not match expectations while getting
> > initial credentials."

>
> > What am I doing wrong? Can someone please provide me with guidance on
> > how to do this? I'm NOT new to linux, just new to making it connect to
> > Active Directory. I'd really appreciate some help with this!

>
> Does this give you any pointers?
>
> https://help.ubuntu.com/community/ActiveDirectoryHowto
>
> Forget the generic 'Ubuntuness' of it - the information is pretty generic
> in most parts.
>
> I work with mail appliances that make massive amounts of AD lookups from
> a Linux platform on a read only basis. They make use of the OpenLDAP
> libraries. This is flawless and has never given me trouble enough beyond
> a couple of common gotcha's;
>
> A big common gotcha is metacharacters in the password (" ' being too
> evils)
>
> From something not related to AD I can add that 2k3 server does SMB *NOT
> CIFS* by default. Now I'm not going to pretend that I really understand
> the intimate differences, but CIFS needs to be enabled on 2k3 if you
> intent to use it - may be completely useless info - may even be outdated.
>

No, I don't think that's going to help. It's pretty Ubuntu-specific.
The files in /etc/pam.d just don't exist in CentOS. All I need to do
is authenticate to the Win2k3 domain, I'm not going to be doing any
file sharing or logging onto the local console as a Win2k3 user. I
just need to authenticate users for mail purposes.
 
Reply With Quote
 
Blah Blah Blah
Guest
Posts: n/a

 
      03-05-2009, 04:39 PM
On Thu, 05 Mar 2009 05:51:29 -0800, John Aldrich faxed us with....

> On Mar 4, 1:56Â*pm, Blah Blah Blah <b...@bingobangobongo.com> wrote:
>> On Wed, 04 Mar 2009 06:06:47 -0800, John Aldrich faxed us with....
>>
>>
>>
>> > I'm trying to add a CentOS 5.3 box to the Active Directory and not
>> > having much luck. I've Googled until I'm blue in the face and my
>> > fingers are bleeding from all the typing and mouse clicking. Just
>> > kidding about the blue in the face and bleeding fingers, but I am
>> > frustrated.

>>
>> > I've been trying to add this box to the Active Directory so I can
>> > connect the mail server on there to the Active Directory and not
>> > having much luck. I've found numerous different "how-to" documents
>> > and none of them say the same thing. I've got samba configured, I
>> > think, but whenever I try to do a "net ads join -U <username>" it
>> > says "ads_connect: No logon servers" and if I try to do a "kinit
>> > <username> it says "kinit(v5): KDC reply did not match expectations
>> > while getting initial credentials."

>>
>> > What am I doing wrong? Can someone please provide me with guidance on
>> > how to do this? I'm NOT new to linux, just new to making it connect
>> > to Active Directory. I'd really appreciate some help with this!

>>
>> Does this give you any pointers?
>>
>> https://help.ubuntu.com/community/ActiveDirectoryHowto
>>
>> Forget the generic 'Ubuntuness' of it - the information is pretty
>> generic in most parts.
>>
>> I work with mail appliances that make massive amounts of AD lookups
>> from a Linux platform on a read only basis. They make use of the
>> OpenLDAP libraries. This is flawless and has never given me trouble
>> enough beyond a couple of common gotcha's;
>>
>> A big common gotcha is metacharacters in the password (" ' being too
>> evils)
>>
>> From something not related to AD I can add that 2k3 server does SMB
>> *NOT CIFS* by default. Now I'm not going to pretend that I really
>> understand the intimate differences, but CIFS needs to be enabled on
>> 2k3 if you intent to use it - may be completely useless info - may even
>> be outdated.
>>

> No, I don't think that's going to help. It's pretty Ubuntu-specific. The
> files in /etc/pam.d just don't exist in CentOS. All I need to do is
> authenticate to the Win2k3 domain, I'm not going to be doing any file
> sharing or logging onto the local console as a Win2k3 user. I just need
> to authenticate users for mail purposes.


Sorry I bothered. Good luck. You may want to stop fu&king around with
Samba if all you are trying to do is authenticate.

--
Replica Watches - TRY LIDL - Cheap meds? Visit your GP
 
Reply With Quote
 
John Aldrich
Guest
Posts: n/a

 
      03-06-2009, 12:31 PM
On Mar 5, 12:39*pm, Blah Blah Blah <b...@bingobangobongo.com> wrote:
> On Thu, 05 Mar 2009 05:51:29 -0800, John Aldrich faxed us with....
>
>
>
> > On Mar 4, 1:56*pm, Blah Blah Blah <b...@bingobangobongo.com> wrote:
> >> On Wed, 04 Mar 2009 06:06:47 -0800, John Aldrich faxed us with....

>
> >> > I'm trying to add a CentOS 5.3 box to the Active Directory and not
> >> > having much luck. I've Googled until I'm blue in the face and my
> >> > fingers are bleeding from all the typing and mouse clicking. Just
> >> > kidding about the blue in the face and bleeding fingers, but I am
> >> > frustrated.

>
> >> > I've been trying to add this box to the Active Directory so I can
> >> > connect the mail server on there to the Active Directory and not
> >> > having much luck. I've found numerous different "how-to" documents
> >> > and none of them say the same thing. I've got samba configured, I
> >> > think, but whenever I try to do a "net ads join -U <username>" it
> >> > says "ads_connect: No logon servers" and if I try to do a "kinit
> >> > <username> it says "kinit(v5): KDC reply did not match expectations
> >> > while getting initial credentials."

>
> >> > What am I doing wrong? Can someone please provide me with guidance on
> >> > how to do this? I'm NOT new to linux, just new to making it connect
> >> > to Active Directory. I'd really appreciate some help with this!

>
> >> Does this give you any pointers?

>
> >>https://help.ubuntu.com/community/ActiveDirectoryHowto

>
> >> Forget the generic 'Ubuntuness' of it - the information is pretty
> >> generic in most parts.

>
> >> I work with mail appliances that make massive amounts of AD lookups
> >> from a Linux platform on a read only basis. They make use of the
> >> OpenLDAP libraries. This is flawless and has never given me trouble
> >> enough beyond a couple of common gotcha's;

>
> >> A big common gotcha is metacharacters in the password (" ' being too
> >> evils)

>
> >> From something not related to AD I can add that 2k3 server does SMB
> >> *NOT CIFS* by default. Now I'm not going to pretend that I really
> >> understand the intimate differences, but CIFS needs to be enabled on
> >> 2k3 if you intent to use it - may be completely useless info - may even
> >> be outdated.

>
> > No, I don't think that's going to help. It's pretty Ubuntu-specific. The
> > files in /etc/pam.d just don't exist in CentOS. All I need to do is
> > authenticate to the Win2k3 domain, I'm not going to be doing any file
> > sharing or logging onto the local console as a Win2k3 user. I just need
> > to authenticate users for mail purposes.

>
> Sorry I bothered. Good luck. You may want to stop fu&king around with
> Samba if all you are trying to do is authenticate.
>

Well, I got it working. It was a problem between the keyboard and the
chair. :-) I didn't understand that domain and domain.com in the
krb5.conf were asking for different things. :-)
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting a remote subnet to Active Directory Main Site Rich Windows Networking 4 02-19-2007 05:25 PM
eap-tls without active directory liolemaire@gmail.com Wireless Internet 2 11-26-2006 07:26 AM
Active Directory and more than 254 IPs Roman Windows Networking 4 11-14-2006 03:14 AM
connect to a share on an Active Directory Win2K3 DC William B. Cattell Linux Networking 3 10-12-2004 05:30 PM
Cannot log into active directory paul Windows Networking 0 08-20-2003 09:32 AM



1 2 3 4 5 6 7 8 9 10 11