Bluehost.com Web Hosting $6.95

OU vs. CN in LDAP?Re: [Samba] AD Authentication help please?

This is a discussion on OU vs. CN in LDAP?Re: [Samba] AD Authentication help please? within the Samba forums, part of the Networking and Network Related category; I am sorry to post this again, but I need some help on using Active Directory mapping. Jason Gerfen wrote: &...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-21-2005
Jason Gerfen
 
Posts: n/a
Default OU vs. CN in LDAP?Re: [Samba] AD Authentication help please?

I am sorry to post this again, but I need some help on using Active
Directory mapping.

Jason Gerfen wrote:

> When joining the samba box to a domain:
>
> %> net ads join -U <username>
> %> kinit Admin@DOMAIN.COM
> %> net ads join -U <username> <LDAP/AD Container of users>
>
> The last command fails and when doing an strace you can clearly see
> that it is expecting an Organizational Unit (OU) vs. a Common Name
> (CN) which is where the users I need to authenticate are currently
> residing.
>
> Do I need to move these to an OU vs. a CN? Here is the strace output
> I am refering to:
>
> %> strace -o tmp net ads join -U "Admin" "users"
>
> (only inclusing pertinant lines with searching for container to map to)
>
> write(6, "0C\2\1\5c>\4\36ou=users,dc=DOMAIN,dc=COM"..., 69) = 69 <--
> here is the hard coded ou, I am not 100% familiar with the LDAP RFC
> but on a windows Active Directory there are CN and OU containers
>
> See how it is appending the OU=USERS?


This is still the problem, I am able to view users, groups, domains etc
using the wbinfo tool wthout problem. However when attempting to map a
specific CN container within the Active Directory (Win2k) I recieve this
error:
ads_join_realm: organizational unit users does not exist
(dn:ou=users,dc=COM,dc=COM)

After using the ldap tools I find that the "users" container (which is
where the users reside that I need to authenticate) is a CN vs. a OU
which the net ads join command seems to be expecting (note the strace
output from previous post listed above).

If there is anyone on this list that has some more insight into this
problem please help a brother out. =)



>
>
> Edward Brookhouse wrote:
>
>> Not sure I understand your question. What are you trying to map?
>>
>> -----Original Message-----
>> From: samba-bounces+ebroo=healthydirections.com@lists.samba.or g
>> [mailto:samba-bounces+ebroo=healthydirections.com@lists.samba.or g] On
>> Behalf Of Jason Gerfen
>> Sent: Tuesday, September 20, 2005 11:25 AM
>> To: samba@lists.samba.org
>> Subject: [Samba] AD Authentication help please?
>>
>> I am having a problem which with much help from this list I have
>> gotten 90% complete. I am attempting to create a samba server which
>> will authenticate users as a Domain member server using active
>> directory.
>>
>> The question I have is how can I map a specific container which is
>> not an OU but a CN in the active directory?
>>
>> Any help is appreciated.
>>
>>
>>

>
>



--
Jason Gerfen

"My girlfriend threated to
leave me if I went boarding...
I will miss her."
~ DIATRIBE aka FBITKK

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:10 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0