LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-15-2006, 10:50 PM   #1
jeb083079
LQ Newbie
 
Registered: Jul 2004
Distribution: Fedora Core, Red Hat
Posts: 18

Rep: Reputation: 0
Unable to join domain using Net Join command in FC3 client


FROM Fedora Core 3 client

[root@inetlab118 ~]# net join DOMAIN_NAME
root's password:
[2006/08/16 11:44:57, 0] utils/net_ads.c:ads_startup(186)
ads_connect: Transport endpoint is not connected
Create of workstation account failed
Unable to join domain DOMAIN_NAME.
[root@inetlab118 ~]#
 
Old 08-16-2006, 05:58 AM   #2
~=gr3p=~
Member
 
Registered: Feb 2005
Location: ~h3av3n~
Distribution: RHEL 4, Fedora Core 3,6,7 Centos 5, Ubuntu 7.04
Posts: 227

Rep: Reputation: 30
it's:

net ads join -U Administrator

Assuming u configured kerberos and samba properly and joining to Active Directory.

For NT4 style domains it's:
echo "<ip_address> NTSERVERNAME" >> /etc/hosts

net join -S NTSERVERNAME -U Administrator

Last edited by ~=gr3p=~; 08-16-2006 at 06:06 AM.
 
Old 08-16-2006, 08:38 PM   #3
jeb083079
LQ Newbie
 
Registered: Jul 2004
Distribution: Fedora Core, Red Hat
Posts: 18

Original Poster
Rep: Reputation: 0
thanks... do i need to configure the smb.conf of the linux client pc? Gosh, i still need to configure the kerberos thing, where do i find this? i thought i just need to configure the smb.conf of the samba PDC. thanks, i'll try this. will post of the output. thanks again.
 
Old 08-16-2006, 09:37 PM   #4
jeb083079
LQ Newbie
 
Registered: Jul 2004
Distribution: Fedora Core, Red Hat
Posts: 18

Original Poster
Rep: Reputation: 0
Still can't join, after doing the commands in the FC3 client pc:

[root@inetlab118 ~]# net ads join -U Administrator
Administrator's password:
[2006/08/17 10:38:38, 0] utils/net_ads.c:ads_startup(186)
ads_connect: Transport endpoint is not connected
[root@inetlab118 ~]# net ads join DOMAIN_NAME -U Administrator
Administrator's password:
[2006/08/17 10:38:57, 0] utils/net_ads.c:ads_startup(186)
ads_connect: Transport endpoint is not connected
[root@inetlab118 ~]# net join -S linux -U Administrator
Administrator's password:
[2006/08/17 10:42:05, 0] utils/net_ads.c:ads_startup(186)
ads_connect: Transport endpoint is not connected
Create of workstation account failed
Unable to join domain DOMAIN_NAME.
[root@inetlab118 ~]#
 
Old 08-16-2006, 09:38 PM   #5
jeb083079
LQ Newbie
 
Registered: Jul 2004
Distribution: Fedora Core, Red Hat
Posts: 18

Original Poster
Rep: Reputation: 0
by the way, i'm joining a Samba PDC and not NT4 style domains because we are implementing a linux server here. thanks again.
 
Old 08-17-2006, 09:28 AM   #6
~=gr3p=~
Member
 
Registered: Feb 2005
Location: ~h3av3n~
Distribution: RHEL 4, Fedora Core 3,6,7 Centos 5, Ubuntu 7.04
Posts: 227

Rep: Reputation: 30
oh u are joining a linux client to Samba PDC. You don't have to? For what purpose ? Authentication? Then configure LDAP (/etc/ldap.conf) Use command "authconfig" for redhat to configure LDAP or yast in Suse and then add an entry in /etc/nsswitch.conf

passwd: files ldap
shadow: files ldap
group: files ldap

I assume you have a working SAMBA 3.0 PDC (with passdb backend as LDAP) emulation where in u have successfully joined windows clients.

Orelse you should check this walkthrough. I recommend LDAP with Samba 3.0
http://sourceforge.net/project/showf...roup_id=166108

and also refer..

http://gr.samba.org/samba/docs/man/S...tion/type.html
 
Old 08-17-2006, 10:02 AM   #7
jeb083079
LQ Newbie
 
Registered: Jul 2004
Distribution: Fedora Core, Red Hat
Posts: 18

Original Poster
Rep: Reputation: 0
yes, for authentication purposes wherein a user can log into any linux client pc in the computer laboratory. i already added the usernames in the samba PDC. do i need to do it also in the linux client workstations?
actually it is a mixture of window$ and linux client workstations but i'm focusing on the linux clients.

no, i do not have ldap as passdb backend. it's passdb backend = tdbsam that is in my smb.conf

ok, i will have to read the links. thanks, will post my smb.conf tomorrow.
 
Old 08-18-2006, 12:08 AM   #8
~=gr3p=~
Member
 
Registered: Feb 2005
Location: ~h3av3n~
Distribution: RHEL 4, Fedora Core 3,6,7 Centos 5, Ubuntu 7.04
Posts: 227

Rep: Reputation: 30
ok..but i highly recommend u reconfigure ur PDC with Samba LDAP (also becoz u have win clients) ..u won't regret once u have a working PDC

Last edited by ~=gr3p=~; 08-18-2006 at 12:09 AM.
 
Old 07-30-2007, 01:45 AM   #9
jackyowl
LQ Newbie
 
Registered: May 2006
Posts: 9

Rep: Reputation: 0
Join net error

I got this problem....

Kinit command successful, but the net join fails

Here is the error message :

net join awsweeliang
Host is not configured as a member server
Invalid configuration. Exiting....
ADS joining did not work, fall back to rpc...
 
Old 07-30-2007, 02:41 AM   #10
jackyowl
LQ Newbie
 
Registered: May 2006
Posts: 9

Rep: Reputation: 0
Trying to join the windows 2003 AD

In my case is that i try to join the WIndows 2003 AD
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WinXP/Win2K unable to join Samba Domain jgnasser Linux - Networking 6 09-01-2006 10:10 AM
Help using 'net join' to join a windows domain Wapo Linux - Networking 1 04-28-2006 02:30 AM
Unable to join domain using SuSE 10 drjam05 Suse/Novell 12 02-15-2006 07:32 PM
net join ads command Steve1445 Linux - Networking 4 02-25-2005 07:44 AM
Can linux join (as a client) Windows 2000 domain?? halo14 Red Hat 2 11-01-2004 07:40 PM


All times are GMT -5. The time now is 01:14 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration