[Samba] smbclient not installed with apt-get install samba

Andrey Repin anrdaemon at yandex.ru
Sun Apr 5 22:25:51 MDT 2015

Greetings, Spencer York!

> debian jessie.

> I'm following
> https://wiki.samba.org/index.php/Setup_a_Samba_AD_Member_Server

Not seems to be so.
The instructions are rather explicit and to the point.

> ran apt-get install samba

> # samba -V
> Version 4.1.17-Debian
> # smbclient -V
> bash: smbclient: command not found

> Also if I try to perform the net ads join
> I get the error
> Host is not configured as a member server.
> Invalid configuration.  Exiting....
> Failed to join domain: This operation is only allowed for the PDC of the
> domain.

> I am assuming this is due to the missing smbclient?

No, this is due to missing configuration.

> Am I missing something here?

At the very least, add

    security = ADS

to global scope.
And read the wiki article again.

> If this has already been answered I apologize in advance.

> Don't think this is relevant but here is my smb.conf

smb.conf is useless. It only show what you put into it, but in no way reflect,
what sense the server made out of it.

Provide `samba-tool testparm`
But first read it yourself.

smbclient is a separate package.
You might also need krb5-user and libpam-krb5.

With best regards,
Andrey Repin
Monday, April 6, 2015 07:17:24

Sorry for my terrible english...

More information about the samba mailing list