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

samba.x.eliezer613 at spamgourmet.com samba.x.eliezer613 at spamgourmet.com
Wed Feb 20 18:06:10 UTC 2019


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20190220/5cb99c92/signature.sig>


More information about the samba mailing list