Hi everybody, having set up Samba 4.12.6 as DC on Debian 10.5 "smbclient -L dc" give me this: Enter PA\root's password: Anonymous login successful ??????? Sharename?????? Type????? Comment ??????? ---------?????? ----????? ------- ??????? sysvol????????? Disk ??????? netlogon??????? Disk ??????? IPC$??????????? IPC?????? IPC Service (Samba 4.12.6-Debian) SMB1 disabled -- no workgroup available testparm: Load smb config files from /etc/samba/smb.conf Loaded services file OK. Server role: ROLE_ACTIVE_DIRECTORY_DC Press enter to see a dump of your service definitions # Global parameters [global] ??????? bind interfaces only = Yes ??????? dns forwarder = 172.16.4.10 ??????? interfaces = 172.16.4.1 ??????? passdb backend = samba_dsdb ??????? realm = PA.NEU ??????? server role = active directory domain controller ??????? workgroup = PA ??????? rpc_server:tcpip = no ??????? rpc_daemon:spoolssd = embedded ??????? rpc_server:spoolss = embedded ??????? rpc_server:winreg = embedded ??????? rpc_server:ntsvcs = embedded ??????? rpc_server:eventlog = embedded ??????? rpc_server:srvsvc = embedded ??????? rpc_server:svcctl = embedded ??????? rpc_server:default = external ??????? winbindd:use external pipes = true ??????? idmap config * : backend = tdb ??????? map archive = No ??????? vfs objects = dfs_samba4 acl_xattr [sysvol] ??????? path = /var/lib/samba/sysvol ??????? read only = No [netlogon] ??????? path = /var/lib/samba/sysvol/pa.neu/scripts ??????? read only = No What am I doing wrong? Thank you Lothar Schilling
On 25/08/2020 10:56, Lothar Schilling via samba wrote:> Hi everybody, > > having set up Samba 4.12.6 as DC on Debian 10.5 "smbclient -L dc" give > me this: > > Enter PA\root's password: > Anonymous login successful > ??????? Sharename?????? Type????? Comment > ??????? ---------?????? ----????? ------- > ??????? sysvol????????? Disk > ??????? netlogon??????? Disk > ??????? IPC$??????????? IPC?????? IPC Service (Samba 4.12.6-Debian) > SMB1 disabled -- no workgroup available > > testparm: > > What am I doing wrong?Well, apart from using 'testparm' instead of 'samba-tool testparm', nothing ;-) Your output is expected. Rowland
Am 25.08.2020 um 13:30 schrieb Rowland penny via samba:> On 25/08/2020 10:56, Lothar Schilling via samba wrote: >> Hi everybody, >> >> having set up Samba 4.12.6 as DC on Debian 10.5 "smbclient -L dc" give >> me this: >> >> Enter PA\root's password: >> Anonymous login successful >> ???????? Sharename?????? Type????? Comment >> ???????? ---------?????? ----????? ------- >> ???????? sysvol????????? Disk >> ???????? netlogon??????? Disk >> ???????? IPC$??????????? IPC?????? IPC Service (Samba 4.12.6-Debian) >> SMB1 disabled -- no workgroup available >> >> testparm: >> >> What am I doing wrong? > > Well, apart from using 'testparm' instead of 'samba-tool testparm', > nothing ;-) > > Your output is expected. > > RowlandI was following the recommendations for Samba 4.8.3. Now I got it that SMB1 has been disabled by default as of 4.11 :-). But still, "smbclient -m SMB2|3 -L dc" will lead to the same result "SMB1 disabled - no workgroup available".