LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 05-12-2009, 03:54 PM   #1
chackercon
Member
 
Registered: Jan 2008
Location: Oklahoma
Distribution: Slackware, QNX, Centos 5.2, Dream Linux, BackTrack, Fedora
Posts: 53

Rep: Reputation: 18
net join = NT_STATUS_INVALID_COMPUTER_NAME slackware samba 3.3.4


I am attempting to join my slackware 12.2 server to a winodws 2003 domain. I get the following error.

net join -S myserver -W CORP.mydomain.COM -U admin

[2009/05/12 15:39:15, 0] utils/net_rpc_join.c:net_rpc_join_newstyle(393)
Error in domain join verification (credential setup failed): NT_STATUS_INVALID_COMPUTER_NAME

Unable to join domain CORP.


krb5.conf output

[libdefaults]
default_realm = CORP.mydomain.COM

[realms]
CORP.mydomain.COM = {
kdc = myserver.CORP.mydomain.COM
}

[domain_realms]
.CORP.mydomain.COM = CORP.mydomain.COM
.kerberos.server = myserver.CORP.mydomain.COM

smbd.conf out put


[global]
# realm = CORP.mydomain.COM
workgroup = CORP.mydomain.COM
security = domain
# encrypt passwords = yes
password server = myserver
domain master = No
winbind gid = 10000-60000
winbind use default domain = yes
wins server = myserver
wins support = Yes
netbios name = newserver
interfaces = eth0


Any help is always apreciated.
 
Old 05-13-2009, 04:28 AM   #2
chitambira
Member
 
Registered: Oct 2008
Location: Online
Distribution: RHEL, Centos
Posts: 373
Blog Entries: 1

Rep: Reputation: 51
on the machine that you want to join to domain, do:
Quote:
net rpc join -S yourworkgroupname -U admin
 
Old 05-13-2009, 07:46 AM   #3
chackercon
Member
 
Registered: Jan 2008
Location: Oklahoma
Distribution: Slackware, QNX, Centos 5.2, Dream Linux, BackTrack, Fedora
Posts: 53

Original Poster
Rep: Reputation: 18
Thank you for the reply however I get the same result.
 
Old 05-13-2009, 08:22 AM   #4
chackercon
Member
 
Registered: Jan 2008
Location: Oklahoma
Distribution: Slackware, QNX, Centos 5.2, Dream Linux, BackTrack, Fedora
Posts: 53

Original Poster
Rep: Reputation: 18
Ok I have played with the commands abit and I get a different error.


root@mylinuxbox:/etc/samba# net rpc join -S server -n myname -U admin "Server/OU/TST"
Enter p1723646's password:
[2009/05/13 08:17:08, 0] rpc_client/cli_pipe.c:get_schannel_session_key_common(2449)
get_schannel_session_key: could not fetch trust account password for domain 'CORP'
[2009/05/13 08:17:08, 0] utils/net_rpc_join.c:net_rpc_join_ok(87)
net_rpc_join_ok: failed to get schannel session key from server CDC-ENT-04 for domain CORP. Error was NT_STATUS_CANT_ACCESS_DOMAIN_INFO
Unable to join domain CORP.

Not sure what I am doing wrong. I have also attempted to put this in with the account not created but it tells me that I dont have permissions. I can creat the account in the AD users and computers mmc.
 
Old 05-13-2009, 10:02 AM   #5
chackercon
Member
 
Registered: Jan 2008
Location: Oklahoma
Distribution: Slackware, QNX, Centos 5.2, Dream Linux, BackTrack, Fedora
Posts: 53

Original Poster
Rep: Reputation: 18
This issue is now resolved. I had to make a few changes to my config and then it worked
one was I removed the fdnq from the workgroup and then removed the wins server name. worked like a charm.
 
Old 08-01-2009, 06:39 PM   #6
tgriffit
LQ Newbie
 
Registered: Aug 2009
Posts: 1

Rep: Reputation: 0
Thanks for this post! I was having the same issue and would have never thought of taking out the FQDN from my workgroup entry!! Saved me a ton of time!!
 
  


Reply



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
Can't join Windows 2000 domain using net ads join The Cat Linux - Networking 2 09-23-2008 11:41 AM
Unable to join domain using Net Join command in FC3 client jeb083079 Linux - Networking 9 07-30-2007 02:41 AM
Help using 'net join' to join a windows domain Wapo Linux - Networking 1 04-28-2006 02:30 AM
Samba 3.0.0 installed on RH WS3, but "net join" command not found chloevu Linux - Networking 0 07-13-2004 03:20 PM
"net ads join" command not found with samba 3.0.2a tisource Linux - Networking 2 04-15-2004 03:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:01 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration