Web lists-archives.com

[Samba] samba installed but smbclient -L localhost -N fails




Hi,
Finally have samba installed in ubuntu 18.04. Ran dc setup..
Server Role:           active directory domain controller
Hostname:              dc1
NetBIOS Domain:        REDACTED
DNS Domain:            internal
DOMAIN SID:            S-1-5-21-3313626214-3140439515-2095946098

smbstatus:
Samba version 4.7.6-Ubuntu
PID     Username     Group       
Machine                                   Protocol Version 
Encryption           Signing             
----------------------------------------------------------------------------------------------------------------------------------------

Service      pid     Machine       Connected at                    
Encryption   Signing    
---------------------------------------------------------------------------------------------

No locked files

# smbclient -L localhost -N
session setup failed: NT_STATUS_INVALID_SID

smb.conf:
[global]
        dns forwarder = 192.168.25.1
        netbios name = DC1
        realm = INTERNAL
        server role = active directory domain controller
        workgroup = REDACTED
        idmap_ldb:use rfc2307 = yes

[netlogon]
        path = /var/lib/samba/sysvol/internal/scripts
        read only = No

[sysvol]
        path = /var/lib/samba/sysvol
        read only = No

smbclient //localhost/netlogon -UAdministrator -c 'ls'
Enter REDACTED\Administrator's password:
session setup failed: NT_STATUS_INVALID_SID

What is missing?

Thanks.

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba