[Samba] Re: Authentication against AD?

Dimitri Yioulos dyioulos at firstbhph.com
Thu Sep 15 19:59:16 GMT 2005


On Thursday 15 September 2005 3:32 pm, you wrote:
> </snip>
>
> Ok I think I have found my problem.  I need to find a way to map Samba
> to an active directory common name:
>
> %> net ads join -U"Administrator" "cn=users,dc=domain,dc=com"  (example,
> I know the syntax is incorrect)
>
> As far as I can tell it is hard coded in the net ads join routine to
> tack on the ou=users vs. cn=users, anyone shed some light on this?

Uh, I must be missing something here. This is a pretty straightforward set-up, 
right?  You want to join this Samba box to a Win2k3 server for file- or 
print-serving purposes?  I've always felt that you get a basic set-up working 
first, then start to get fancy.

AFAIK:

1. kinit Administrator at MYDOMAIN.COM
(You'll be prompted for a password.  My systems simply return me to a prompt 
if I'm successful.)
2. net ads join -U Administrator at MYDOMAIN.COM
(Again, you'll be prompted for a password. Info about the machine joining the 
AD is returned)

Beyond this, someone else will have to help out.

Best,

Dimitri


More information about the samba mailing list