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

Spencer York spence1534 at gmail.com
Sun Apr 5 23:10:54 MDT 2015


That did it. I don't know how I missed that. Also missed the smbclient 
when I first performed the apt-cache search. Must be the lack of sleep :)

Thanks for the help!


On 4/5/15 11:25 PM, Andrey Repin wrote:
> 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.
> P.S.
> smbclient is a separate package.
> You might also need krb5-user and libpam-krb5.

More information about the samba mailing list