• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 594
  • Last Modified:

Trying to join linux webserver with samba to active directory domain

Overall I'm trying to figure-out how to allow active directory users access file shares on a linux box (that has samba installed). Our AD is called ad.xxx.edu. I use this command to try to join the box (followed by the error I rec'):

net join -w ad.xxx.edu -S 128.255.255.49 -U frank
frank's password:
realm must be set in in smb.conf for ADS join to succeed.
ADS join did not work, falling back to RPC...
[2006/06/01 21:32:14, 0] rpc_client/cli_netlogon.c:cli_nt_setup_creds(256)
  cli_nt_setup_creds: request challenge failed
[2006/06/01 21:32:14, 0] rpc_client/cli_netlogon.c:cli_nt_setup_creds(256)
  cli_nt_setup_creds: request challenge failed
[2006/06/01 21:32:14, 0] utils/net_rpc_join.c:net_rpc_join_newstyle(319)
  Error domain join verification (reused connection): NT_STATUS_INVALID_COMPUTER_NAME

Unable to join domain AD.


Suggestions? I've gotten pretty familiar with the krb5.conf and smb.conf files. Thanks!
0
sipher7024
Asked:
sipher7024
1 Solution
 
grsteedCommented:
Check out this article and see if it helps.

http://lilly.csoft.net/~vdebaere/handleiding/samba-activedirectory/index_en.html

Do you have the realm defined in smb.conf?

Cheers,

Gary
0
 
sipher7024Author Commented:
Thanks Gary. That resource was VERY helpful. I'm not sure why I couldn't find it earlier.

I already had defined the realm, it was actually an issue with kerberos not working correctly.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now