Spencer York
2015-Apr-06 03:58 UTC
[Samba] smbclient not installed with apt-get install samba
Hello, debian jessie. I'm following https://wiki.samba.org/index.php/Setup_a_Samba_AD_Member_Server 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? Am I missing something here? If this has already been answered I apologize in advance. Don't think this is relevant but here is my smb.conf [global] workgroup = HOME realm = HOME.YORKSERV.COM netbios name = HONEYPOT idmap_ldb:use rfc2307 = yes dedicated keytab file = /etc/krb5.keytab kerberos method = secrets and keytab client ldap sasl wrapping = sign #log level = 3 passdb:2 auth:2 winbind:2 syslog = 1 syslog only = yes idmap config HOME:backend = ad idmap config HOME:schema_mode = rfc2307 idmap config HOME:range = 10000-40000 idmap config *:backend =tdb idmap config *:range = 2000-9999 winbind nss info = rfc2307 winbind trusted domains only = no winbind use default domain = yes winbind enum users = yes winbind enum groups = yes winbind refresh tickets = yes [demoshare] path = /srv/home/ read only = no Thanks Spencer
Andrey Repin
2015-Apr-06 04:25 UTC
[Samba] smbclient not installed with apt-get install samba
Greetings, Spencer York!> debian jessie.> I'm following > https://wiki.samba.org/index.php/Setup_a_Samba_AD_Member_ServerNot 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.confsmb.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. -- With best regards, Andrey Repin Monday, April 6, 2015 07:17:24 Sorry for my terrible english...
Spencer York
2015-Apr-06 05:10 UTC
[Samba] smbclient not installed with apt-get install samba
Andrey, 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! Spencer 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. > >
Maybe Matching Threads
- smbclient not installed with apt-get install samba
- pam_winbind vs. pam_ldap ?
- Winbind idmap partially fails to load attributes with 4.6.7 (Ubuntu 17.10)
- Member server - winbind unable to resolve users/groups
- Winbind idmap partially fails to load attributes with 4.6.7 (Ubuntu 17.10)