Trying to join linux webserver with samba to active directory domain

Posted on 2006-06-01
Last Modified: 2012-06-27
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 I use this command to try to join the box (followed by the error I rec'):

net join -w -S -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!
Question by:sipher7024
    LVL 11

    Accepted Solution

    Check out this article and see if it helps.

    Do you have the realm defined in smb.conf?



    Author Comment

    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.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
    Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now