[Samba] "net join" failed, but it still worked

Rowland Penny rowlandpenny at googlemail.com
Mon Feb 9 01:36:51 MST 2015


On 04/02/15 21:32, Chris Stankevitz wrote:
> Hello,
>
> I am using AD authentication.  When I setup samba on my new server,
> users could not access shares.  However, the following command "fixed"
> the problem:
>
> net join -U XXXXX\\cstankevitz
>
> The command returned what appears to be an error:
>
> kerberos_kinit_password XXXXX\cstankevitz at XXXXX.CORP failed: Client
> not found in Kerberos database
> Failed to join domain: failed to connect to AD: Client not found in
> Kerberos database
> ADS join did not work, falling back to RPC...
> Unable to find a suitable server for domain XXXXX
> Unable to find a suitable server for domain XXXXX
>
> My questions:
>
> 1. Is this command returning an error?  And if so, why is it that
> access is now allowed?
>
> 2. Will "net unjoin" undo the command?  If not, how do I undo it?
>
> Thank you,
>
> Chris

More info needed, What OS, how did you set up samba, what is in your 
smb.conf

Rowland



More information about the samba mailing list