I have encountered a problem so I am posting this question to both the technical list as well as the normal user list for a solution. When I initially joined the samba box to the Win2k domain as a member server I followed the Samba 3 HOWTO and specified the OU in the Active Directory. After speaking with our boss this is not the correct OU for the users we need to authenticate. My question is once I run these series of commands: %> net ads join -U admin %> kinit admin %> net ads join "path\to\OU" How can I change the "path\to\OU" back to the default Organizational Unit? Any and all tips, pointers etc are appreciated. What I have done in an attempt to resolve: 1. Removed samba, winbind packages 2. removed samba cache 3. removed /tmp directory contents 4. attempted to remove any and all other pertinant files pertaining to samba 5. reinstalled the samba, winbind packages 6. rejoined box to domain (worked fine), omitting the specification of a OU for authenticated users -- Jason Gerfen "My girlfriend threated to leave me if I went boarding... I will miss her." ~ DIATRIBE aka FBITKK
Yeah I have tried that as well. Kaplan, Marc wrote:>Can't you just do an net ads leave followed by a net ads join? Net ads >join should join you back to the default OU if done after a net ads >leave, or at least it does for me... > > -Marc > > > >>-----Original Message----- >>From: samba-bounces+marc_kaplan=adaptec.com@lists.samba.org >> >> >[mailto:samba- > > >>bounces+marc_kaplan=adaptec.com@lists.samba.org] On Behalf Of Jason >> >> >Gerfen > > >>Sent: Monday, September 26, 2005 8:43 AM >>To: samba@lists.samba.org; samba-technical@lists.samba.org >>Subject: [Samba] Samba/AD/Winbbind OU vs. CN? >> >>I have encountered a problem so I am posting this question to both the >>technical list as well as the normal user list for a solution. >> >>When I initially joined the samba box to the Win2k domain as a member >>server I followed the Samba 3 HOWTO and specified the OU in the Active >>Directory. After speaking with our boss this is not the correct OU >> >> >for > > >>the users we need to authenticate. >> >>My question is once I run these series of commands: >> >>%> net ads join -U admin >>%> kinit admin >>%> net ads join "path\to\OU" >> >>How can I change the "path\to\OU" back to the default Organizational >>Unit? Any and all tips, pointers etc are appreciated. >> >>What I have done in an attempt to resolve: >>1. Removed samba, winbind packages >>2. removed samba cache >>3. removed /tmp directory contents >>4. attempted to remove any and all other pertinant files pertaining to >>samba >>5. reinstalled the samba, winbind packages >>6. rejoined box to domain (worked fine), omitting the specification of >> >> >a > > >>OU for authenticated users >> >>-- >>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 >> >>-- Jason Gerfen "My girlfriend threated to leave me if I went boarding... I will miss her." ~ DIATRIBE aka FBITKK
On Mon, 2005-09-26 at 09:42 -0600, Jason Gerfen wrote:> I have encountered a problem so I am posting this question to both the > technical list as well as the normal user list for a solution. > > When I initially joined the samba box to the Win2k domain as a member > server I followed the Samba 3 HOWTO and specified the OU in the Active > Directory. After speaking with our boss this is not the correct OU for > the users we need to authenticate. > > My question is once I run these series of commands: > > %> net ads join -U admin > %> kinit admin > %> net ads join "path\to\OU" > > How can I change the "path\to\OU" back to the default Organizational > Unit? Any and all tips, pointers etc are appreciated.Simply delete the account on the server, and start again. The 'net ads' command is finding the existing entry and reusing it if at all possible. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Samba Developer, SuSE Labs, Novell Inc. http://suse.de Authentication Developer, Samba Team http://samba.org Student Network Administrator, Hawker College http://hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20050927/51e31525/attachment.bin