+--------------------------------------------------------------------------------+
+                      Domain Controller Status @1522342067                      +
+--------------------------------------------------------------------------------+
Domain Controller is DISABLED
debug finished in 0 seconds for Domain Controller Status
command used:
/usr/local/bin/../libexec/freenas-debug/domain_controller.sh


+--------------------------------------------------------------------------------+
+                     Domain Controller Settings @1522342067                     +
+--------------------------------------------------------------------------------+
Realm:                   
Domain:                  
Role:                    
DNS Backend:             
DNS Forwarder:           
Forst Level:             
Kerberos Realm:          
Kerberos KDC:            
Kerberos Admin Server:   
Kerberos Kpasswd Server: 
debug finished in 0 seconds for Domain Controller Settings
command used:
/usr/local/bin/../libexec/freenas-debug/domain_controller.sh


+--------------------------------------------------------------------------------+
+                           /etc/krb5.conf @1522342067                           +
+--------------------------------------------------------------------------------+
[appdefaults]
            pam = {
                forwardable = true
                ticket_lifetime = 86400
                renew_lifetime = 86400
            }

[libdefaults]
            dns_lookup_realm = true
            dns_lookup_kdc = true
            ticket_lifetime = 24h
            clockskew = 300
            forwardable = yes

[logging]
            default = SYSLOG:INFO:LOCAL7

debug finished in 0 seconds for /etc/krb5.conf
command used:
/usr/local/bin/../libexec/freenas-debug/domain_controller.sh


+--------------------------------------------------------------------------------+
+                         /etc/nsswitch.conf @1522342067                         +
+--------------------------------------------------------------------------------+


group: files
hosts: files mdns dns
networks: files
passwd: files
shells: files
services: files
protocols: files
rpc: files
sudoers: files
debug finished in 0 seconds for /etc/nsswitch.conf
command used:
/usr/local/bin/../libexec/freenas-debug/domain_controller.sh


+--------------------------------------------------------------------------------+
+                      /usr/local/etc/smb4.conf @1522342067                      +
+--------------------------------------------------------------------------------+
[global]
    encrypt passwords = yes
    dns proxy = no
    strict locking = no
    oplocks = yes
    deadtime = 15
    max log size = 51200
    max open files = 231005
    logging = file
    load printers = no
    printing = bsd
    printcap name = /dev/null
    disable spoolss = yes
    getwd cache = yes
    guest account = nobody
    map to guest = Bad User
    obey pam restrictions = yes
    ntlm auth = no
    directory name cache size = 0
    kernel change notify = no
    panic action = /usr/local/libexec/samba/samba-backtrace
    nsupdate command = /usr/local/bin/samba-nsupdate -g
    server string = FreeNAS Server
    ea support = yes
    store dos attributes = yes
    lm announce = yes
    hostname lookups = yes
    time server = yes
    acl allow execute always = true
    dos filemode = yes
    multicast dns register = yes
    domain logons = no
    local master = yes
    idmap config *: backend = tdb
    idmap config *: range = 90000001-100000000
    server role = standalone
    netbios name = NAS
    workgroup = WORKGROUP
    security = user
    create mask = 0666
    directory mask = 0777
    client ntlmv2 auth = yes
    dos charset = CP437
    unix charset = UTF-8
    log level = 1
    

[gen]
    path = "/mnt/nas/win"
    comment = General storage for windows
    printable = no
    veto files = /.snapshot/.windows/.mac/.zfs/
    writeable = yes
    browseable = yes
    access based share enum = no
    vfs objects = zfs_space zfsacl streams_xattr
    hide dot files = yes
    guest ok = no
    nfs4:mode = special
    nfs4:acedup = merge
    nfs4:chown = true
    zfsacl:acesort = dontcare
    

[htpc]
    path = "/mnt/nas/htpc"
    printable = no
    veto files = /.snapshot/.windows/.mac/.zfs/
    writeable = yes
    browseable = yes
    access based share enum = no
    vfs objects = zfs_space zfsacl streams_xattr
    hide dot files = yes
    guest ok = yes
    nfs4:mode = special
    nfs4:acedup = merge
    nfs4:chown = true
    zfsacl:acesort = dontcare
    

[movies]
    path = "/mnt/nas/htpc/movies"
    printable = no
    veto files = /.snapshot/.windows/.mac/.zfs/
    writeable = yes
    browseable = yes
    access based share enum = no
    vfs objects = zfs_space zfsacl streams_xattr
    hide dot files = yes
    guest ok = yes
    nfs4:mode = special
    nfs4:acedup = merge
    nfs4:chown = true
    zfsacl:acesort = dontcare
    

[photos]
    path = "/mnt/nas/photos"
    printable = no
    veto files = /.snapshot/.windows/.mac/.zfs/
    writeable = yes
    browseable = yes
    access based share enum = no
    vfs objects = zfs_space zfsacl streams_xattr
    hide dot files = yes
    guest ok = no
    nfs4:mode = special
    nfs4:acedup = merge
    nfs4:chown = true
    zfsacl:acesort = dontcare
    

[tv]
    path = "/mnt/nas/htpc/tv"
    printable = no
    veto files = /.snapshot/.windows/.mac/.zfs/
    writeable = yes
    browseable = yes
    access based share enum = no
    vfs objects = zfs_space zfsacl streams_xattr
    hide dot files = yes
    guest ok = yes
    nfs4:mode = special
    nfs4:acedup = merge
    nfs4:chown = true
    zfsacl:acesort = dontcare
debug finished in 0 seconds for /usr/local/etc/smb4.conf
command used:
/usr/local/bin/../libexec/freenas-debug/domain_controller.sh


+--------------------------------------------------------------------------------+
+                     Kerberos Tickets - 'klist' @1522342067                     +
+--------------------------------------------------------------------------------+
klist: No ticket file: /tmp/krb5cc_0
debug finished in 0 seconds for Kerberos Tickets - 'klist'
command used:
/usr/local/bin/../libexec/freenas-debug/domain_controller.sh


+--------------------------------------------------------------------------------+
+                   /usr/local/etc/sssd/sssd.conf @1522342067                    +
+--------------------------------------------------------------------------------+
debug finished in 0 seconds for /usr/local/etc/sssd/sssd.conf
command used:
/usr/local/bin/../libexec/freenas-debug/domain_controller.sh


+--------------------------------------------------------------------------------+
+           Domain Controller Domain Info - 'net ads info' @1522342067           +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
ads_connect: No logon servers are currently available to service the logon request.
ads_connect: No logon servers are currently available to service the logon request.
Didn't find the ldap server!
debug finished in 2 seconds for Domain Controller Domain Info - 'net ads info'
command used:
/usr/local/bin/../libexec/freenas-debug/domain_controller.sh


+--------------------------------------------------------------------------------+
+            Active Directory Trust Secret - 'wbinfo -t' @1522342069             +
+--------------------------------------------------------------------------------+
wbcCheckTrustCredentials(WORKGROUP): error code was NT_STATUS_NO_SUCH_DOMAIN (0xc00000df)
failed to call wbcCheckTrustCredentials: WBC_ERR_AUTH_ERROR
Could not check secret
checking the trust secret for domain WORKGROUP via RPC calls failed
debug finished in 1 seconds for Active Directory Trust Secret - 'wbinfo -t'
command used:
/usr/local/bin/../libexec/freenas-debug/domain_controller.sh


+--------------------------------------------------------------------------------+
+         Active Directory NETLOGON connection - 'wbinfo -P' @1522342070         +
+--------------------------------------------------------------------------------+
failed to call wbcPingDc: WBC_ERR_DOMAIN_NOT_FOUND
checking the NETLOGON for domain[WORKGROUP] dc connection to "" failed
debug finished in 0 seconds for Active Directory NETLOGON connection - 'wbinfo -P'
command used:
/usr/local/bin/../libexec/freenas-debug/domain_controller.sh


+--------------------------------------------------------------------------------+
+           Active Directory trusted domains - 'wbinfo -m' @1522342070           +
+--------------------------------------------------------------------------------+
BUILTIN
NAS
debug finished in 0 seconds for Active Directory trusted domains - 'wbinfo -m'
command used:
/usr/local/bin/../libexec/freenas-debug/domain_controller.sh


+--------------------------------------------------------------------------------+
+       Active Directory all domains - 'wbinfo --all-domains' @1522342070        +
+--------------------------------------------------------------------------------+
BUILTIN
NAS
debug finished in 0 seconds for Active Directory all domains - 'wbinfo --all-domains'
command used:
/usr/local/bin/../libexec/freenas-debug/domain_controller.sh


+--------------------------------------------------------------------------------+
+        Active Directory own domain - 'wbinfo --own-domain' @1522342070         +
+--------------------------------------------------------------------------------+
WORKGROUP
debug finished in 0 seconds for Active Directory own domain - 'wbinfo --own-domain'
command used:
/usr/local/bin/../libexec/freenas-debug/domain_controller.sh


+--------------------------------------------------------------------------------+
+     Active Directory online status - 'wbinfo --online-status' @1522342070      +
+--------------------------------------------------------------------------------+
BUILTIN : online
NAS : online
debug finished in 0 seconds for Active Directory online status - 'wbinfo --online-status'
command used:
/usr/local/bin/../libexec/freenas-debug/domain_controller.sh


+--------------------------------------------------------------------------------+
+  Active Directory domain info - 'wbinfo --domain-info=WORKGROUP' @1522342070   +
+--------------------------------------------------------------------------------+
failed to call wbcDomainInfo: WBC_ERR_DOMAIN_NOT_FOUND
Could not get domain info
debug finished in 0 seconds for Active Directory domain info - 'wbinfo --domain-info=WORKGROUP'
command used:
/usr/local/bin/../libexec/freenas-debug/domain_controller.sh


+--------------------------------------------------------------------------------+
+    Active Directory DC name - 'wbinfo --dsgetdcname=WORKGROUP' @1522342070     +
+--------------------------------------------------------------------------------+
Could not find dc for WORKGROUP
debug finished in 2 seconds for Active Directory DC name - 'wbinfo --dsgetdcname=WORKGROUP'
command used:
/usr/local/bin/../libexec/freenas-debug/domain_controller.sh


+--------------------------------------------------------------------------------+
+      Active Directory DC info - 'wbinfo --dc-info=WORKGROUP' @1522342072       +
+--------------------------------------------------------------------------------+
Could not find dc info WORKGROUP
debug finished in 0 seconds for Active Directory DC info - 'wbinfo --dc-info=WORKGROUP'
command used:
/usr/local/bin/../libexec/freenas-debug/domain_controller.sh


+--------------------------------------------------------------------------------+
+                 Active Directory Users and Groups @1522342072                  +
+--------------------------------------------------------------------------------+
+--------------------------------------------------------------------------------+
+                        Users - 'wbinfo -u' @1522342072                         +
+--------------------------------------------------------------------------------+
Error looking up domain users
+--------------------------------------------------------------------------------+
+                        Groups - 'wbinfo -g' @1522342072                        +
+--------------------------------------------------------------------------------+
failed to call wbcListGroups: WBC_ERR_DOMAIN_NOT_FOUND
Error looking up domain groups
+--------------------------------------------------------------------------------+
+                            Using getent @1522342073                            +
+--------------------------------------------------------------------------------+
+--------------------------------------------------------------------------------+
+                      Users - 'getent passwd' @1522342073                       +
+--------------------------------------------------------------------------------+
root:$6$0fEL44vati0MH9jB$MID.SR17uEpm5oVL/oakk5G61XapKKcZOC6jAQ/UXeKOmXt3opdSgSIPxgznDF5jhpwRNQKkTUx.VGtUP1ap..:0:0:root:/root:/bin/csh
daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5:System &:/:/usr/sbin/nologin
bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin
tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin
kmem:*:5:2:KMem Sandbox:/:/usr/sbin/nologin
games:*:7:13:Games pseudo-user:/:/usr/sbin/nologin
news:*:8:8:News Subsystem:/:/usr/sbin/nologin
man:*:9:9:Mister Man Pages:/usr/share/man:/usr/sbin/nologin
sshd:*:22:22:Secure Shell Daemon:/var/empty:/usr/sbin/nologin
smmsp:*:25:25:Sendmail Submission User:/var/spool/clientmqueue:/usr/sbin/nologin
mailnull:*:26:26:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin
bind:*:53:53:Bind Sandbox:/:/usr/sbin/nologin
proxy:*:62:62:Packet Filter pseudo-user:/nonexistent:/usr/sbin/nologin
_pflogd:*:64:64:pflogd privsep user:/var/empty:/usr/sbin/nologin
_dhcp:*:65:65:dhcp programs:/var/empty:/usr/sbin/nologin
uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin
www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
avahi:*:200:200:avahi user:/nonexistent:/usr/sbin/nologin
messagebus:*:201:201:messagebus user:/nonexistent:/usr/sbin/nologin
ftp:*:14:14::/nonexistent:/bin/csh
auditdistd:*:78:77:Auditdistd unprivileged user:/var/empty:/usr/sbin/nologin
hast:*:845:845:HAST unprivileged user:/var/empty:/usr/sbin/nologin
ladvd:*:79:78:ladvd user:/var/empty:/usr/sbin/nologin
webdav:*:666:666:WebDAV Anonymous User:/var/empty:/usr/sbin/nologin
media:*:8675309:8675309:Media User:/var/empty:/usr/sbin/nologin
consul:*:469:469:Consul Daemon:/var/tmp/consul:/usr/sbin/nologin
nomad:*:472:472:Nomad Daemon:/var/tmp/nomad:/usr/sbin/nologin
minio:*:473:473:Minio Daemon:/var/tmp/minio:/usr/sbin/nologin
netdata:*:302:302:NetData Daemon:/var/cache/netdata:/usr/sbin/nologin
fox:$6$5otIX9gnIi6PIkA1$srQV6uMn7heNydx.H/XogFRu794UhF9r2sJTQi/uKoWWzTV.o7Z/fpiPpanktx2tqWSm67y2hnKk.SIFxHVjt.:1000:1000:Mr Fox:/nonexistent:/bin/csh
kodi:$6$ZfMYNPAOD6kkI9k5$ydq3biXohWrQlEda245qZoyFMkfdXiVF785Zwg91M.HS9AYIgjhrvgh2dzNrF3jLq1aqjlfhYiBO7ww9xhc3R0:1001:1001:Kodi:/nonexistent:/bin/csh
test:$6$oKP4b4AJV58iTCDE$muP0Ao1vlxNkh1czNMo98V6sy1FYRttTIM3E5kuEc895nJa/GXSuRnaeRpFM9jf0Q5NcM1yRuYk./XNN0H8A21:1002:1002:test:/nonexistent:/bin/csh
+--------------------------------------------------------------------------------+
+                      Groups - 'getent group' @1522342073                       +
+--------------------------------------------------------------------------------+
wheel:*:0
daemon:*:1
kmem:*:2
sys:*:3
tty:*:4
operator:*:5:uucp
mail:*:6
bin:*:7
news:*:8
man:*:9
games:*:13
ftp:*:14
staff:*:20
sshd:*:22
smmsp:*:25
mailnull:*:26
guest:*:31
bind:*:53
proxy:*:62
authpf:*:63
_pflogd:*:64
_dhcp:*:65
uucp:*:66
dialer:*:68
network:*:69
audit:*:77
www:*:80
nogroup:*:65533
nobody:*:65534
avahi:*:200
messagebus:*:201
hast:*:845
ladvd:*:78
webdav:*:666
media:*:8675309
consul:*:469
nomad:*:472
minio:*:473
netdata:*:302
thefoxes:*:1000
htpc:*:1001:test
test:*:1002
debug finished in 0 seconds for Groups - 'getent group'
command used:
/usr/local/bin/../libexec/freenas-debug/domain_controller.sh


