[Samba] net ads join -U administrator

Karel González Herrera karel.gonzalez at etecsa.cu
Mon Sep 28 20:02:31 UTC 2015


I'm trying to join a samba server to a domain as a member server to 
share files

root at salva-focsa:~#  net ads join -U karel.gonzalez
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.

this is may smb.conf
[global]

   netbios name = salva-focsa
   workgroup =DTNORTE
   security = ADS
   realm = DTNORTE.ETECSA.CU
   dedicated keytab file = /etc/krb5.keytab
   kerberos method = secrets and keytab

   idmap config *:backend = tdb
   idmap config *:range = 2000-9999
   idmap config SAMDOM:backend = ad
   idmap config SAMDOM:schema_mode = rfc2307
   idmap config SAMDOM:range = 10000-99999

   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/samba/test
   read only = no



-- 
Ing. Karel González Herrera
Administrador de Red
Etecsa: Dirección Territorial Norte
e-mail: karel.gonzalez at etecsa.cu
Tel: 8344973 8607483
Mov: 52182690




More information about the samba mailing list