+--------------------------------------------------------------------------------+
+                            Domain Controller Status                            +
+--------------------------------------------------------------------------------+
Domain Controller is DISABLED


+--------------------------------------------------------------------------------+
+                           Domain Controller Settings                           +
+--------------------------------------------------------------------------------+
Realm:                   
Domain:                  
Role:                    
DNS Backend:             
DNS Forwarder:           
Forst Level:             
Kerberos Realm:          
Kerberos KDC:            
Kerberos Admin Server:   
Kerberos Kpasswd Server: 


+--------------------------------------------------------------------------------+
+                                 /etc/krb5.conf                                 +
+--------------------------------------------------------------------------------+
[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



+--------------------------------------------------------------------------------+
+                               /etc/nsswitch.conf                               +
+--------------------------------------------------------------------------------+
services: files
rpc: files
group: files
shells: files
passwd: files
hosts: files dns
sudoers: files
networks: files
protocols: files


+--------------------------------------------------------------------------------+
+                            /usr/local/etc/smb4.conf                            +
+--------------------------------------------------------------------------------+
[global]
    server max protocol = SMB2
    encrypt passwords = yes
    dns proxy = no
    strict locking = no
    oplocks = yes
    deadtime = 15
    max log size = 51200
    max open files = 470315
    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
    directory name cache size = 0
    kernel change notify = no
    dfree command = /usr/local/libexec/samba/dfree
    panic action = /usr/local/libexec/samba/samba-backtrace
    nsupdate command = /usr/local/bin/samba-nsupdate -g
    server string = FreeNAS Server 2
    ea support = yes
    store dos attributes = yes
    acl allow execute always = true
    acl check permissions = true
    dos filemode = yes
    multicast dns register = yes
    domain logons = no
    idmap config *: backend = tdb
    idmap config *: range = 90000001-100000000
    server role = standalone
    netbios name = HAUGUR2
    workgroup = WORKGROUP
    security = user
    pid directory = /var/run/samba
    smb passwd file = /var/etc/private/smbpasswd
    private dir = /var/etc/private
    create mask = 0666
    directory mask = 0777
    client ntlmv2 auth = yes
    dos charset = CP437
    unix charset = UTF-8
    log level = 1
    

[homes]
    valid users = %U
    path = /mnt/vol1/home/%U
    comment = Home Directories
    printable = no
    veto files = /.snapshot/.windows/.mac/.zfs/
    writeable = yes
    browseable = no
    recycle:repository = .recycle/%U
    recycle:keeptree = yes
    recycle:versions = yes
    recycle:touch = yes
    recycle:directory_mode = 0777
    recycle:subdir_mode = 0700
    vfs objects = zfsacl aio_pthread streams_xattr
    hide dot files = yes
    guest ok = no
    nfs4:mode = special
    nfs4:acedup = merge
    nfs4:chown = true
    zfsacl:acesort = dontcare
    

[cbdp]
    path = /mnt/vol1/cbdp
    comment = Haugur 2 - cbdp
    printable = no
    veto files = /.snapshot/.windows/.mac/.zfs/
    writeable = yes
    browseable = yes
    recycle:repository = .recycle/%U
    recycle:keeptree = yes
    recycle:versions = yes
    recycle:touch = yes
    recycle:directory_mode = 0777
    recycle:subdir_mode = 0700
    shadow:snapdir = .zfs/snapshot
    shadow:sort = desc
    shadow:localtime = yes
    shadow:format = auto-%Y%m%d.%H%M-1m
    shadow:snapdirseverywhere = yes
    vfs objects = shadow_copy2 zfsacl aio_pthread streams_xattr
    hide dot files = no
    hosts allow = 192.168.1.0/24
    guest ok = no
    nfs4:mode = special
    nfs4:acedup = merge
    nfs4:chown = true
    zfsacl:acesort = dontcare
    

[hurd_ehf]
    path = /mnt/vol1/hurd_ehf
    comment = Hurð ehf
    printable = no
    veto files = /.snapshot/.windows/.mac/.zfs/
    writeable = no
    browseable = yes
    recycle:repository = .recycle/%U
    recycle:keeptree = yes
    recycle:versions = yes
    recycle:touch = yes
    recycle:directory_mode = 0777
    recycle:subdir_mode = 0700
    vfs objects = zfsacl aio_pthread streams_xattr
    hide dot files = no
    hosts allow = 192.168.1.0/24
    guest ok = no
    nfs4:mode = special
    nfs4:acedup = merge
    nfs4:chown = true
    zfsacl:acesort = dontcare
    

[pakkhus]
    path = /mnt/vol1/pakkhus
    comment = Haugur 2 - Pakkhus
    printable = no
    veto files = /.snapshot/.windows/.mac/.zfs/
    writeable = no
    browseable = yes
    recycle:repository = .recycle/%U
    recycle:keeptree = yes
    recycle:versions = yes
    recycle:touch = yes
    recycle:directory_mode = 0777
    recycle:subdir_mode = 0700
    vfs objects = zfsacl aio_pthread streams_xattr
    hide dot files = no
    hosts allow = 192.168.1.0/24
    guest ok = no
    nfs4:mode = special
    nfs4:acedup = merge
    nfs4:chown = true
    zfsacl:acesort = dontcare
    

[webserver]
    path = /mnt/vol1/webserver
    comment = Haugur 2 - webserver
    printable = no
    veto files = /.snapshot/.windows/.mac/.zfs/
    writeable = yes
    browseable = yes
    recycle:repository = .recycle/%U
    recycle:keeptree = yes
    recycle:versions = yes
    recycle:touch = yes
    recycle:directory_mode = 0777
    recycle:subdir_mode = 0700
    vfs objects = zfsacl aio_pthread streams_xattr
    hide dot files = yes
    hosts allow = 192.168.1.0/24
    guest ok = no
    nfs4:mode = special
    nfs4:acedup = merge
    nfs4:chown = true
    zfsacl:acesort = dontcare
    

[zfsrep]
    path = /mnt/vol1/home/zfsrep
    comment = zfsrep home
    printable = no
    veto files = /.snapshot/.windows/.mac/.zfs/
    writeable = yes
    browseable = yes
    recycle:repository = .recycle/%U
    recycle:keeptree = yes
    recycle:versions = yes
    recycle:touch = yes
    recycle:directory_mode = 0777
    recycle:subdir_mode = 0700
    vfs objects = zfsacl aio_pthread streams_xattr
    hide dot files = yes
    hosts allow = 192.168.1.0/24
    guest ok = no
    nfs4:mode = special
    nfs4:acedup = merge
    nfs4:chown = true
    zfsacl:acesort = dontcare


+--------------------------------------------------------------------------------+
+                                Kerberos Tickets                                +
+--------------------------------------------------------------------------------+
klist: No ticket file: /tmp/krb5cc_0


+--------------------------------------------------------------------------------+
+                         /usr/local/etc/sssd/sssd.conf                          +
+--------------------------------------------------------------------------------+
[sssd]
config_file_version = 2
full_name_format = %2$s\%1$s
re_expression = (((?P<domain>[^\\]+)\\(?P<name>.+$))|((?P<name>[^@]+)@(?P<domain>.+$))|(^(?P<name>[^@\\]+)$))
services = nss,pam
[nss]
[pam]


+--------------------------------------------------------------------------------+
+                         Domain Controller Domain Info                          +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
ads_connect: No logon servers
ads_connect: No logon servers
Didn't find the ldap server!


+--------------------------------------------------------------------------------+
+                         Domain Controller Trust Secret                         +
+--------------------------------------------------------------------------------+
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


+--------------------------------------------------------------------------------+
+                     Domain Controller NETLOGON connection                      +
+--------------------------------------------------------------------------------+
checking the NETLOGON dc connection to "" succeeded


+--------------------------------------------------------------------------------+
+                       Domain Controller trusted domains                        +
+--------------------------------------------------------------------------------+
BUILTIN
HAUGUR2


+--------------------------------------------------------------------------------+
+                         Domain Controller all domains                          +
+--------------------------------------------------------------------------------+
BUILTIN
HAUGUR2


+--------------------------------------------------------------------------------+
+                          Domain Controller own domain                          +
+--------------------------------------------------------------------------------+
WORKGROUP




+--------------------------------------------------------------------------------+
+                        Domain Controller online status                         +
+--------------------------------------------------------------------------------+
BUILTIN : online
HAUGUR2 : online


+--------------------------------------------------------------------------------+
+                         Domain Controller domain info                          +
+--------------------------------------------------------------------------------+
failed to call wbcDomainInfo: WBC_ERR_DOMAIN_NOT_FOUND
Could not get domain info


+--------------------------------------------------------------------------------+
+                           Domain Controller DC name                            +
+--------------------------------------------------------------------------------+
Could not find dc for WORKGROUP


+--------------------------------------------------------------------------------+
+                           Domain Controller DC info                            +
+--------------------------------------------------------------------------------+
Could not find dc info WORKGROUP


+--------------------------------------------------------------------------------+
+                       Domain Controller Users and Groups                       +
+--------------------------------------------------------------------------------+
+--------------------------------------------------------------------------------+
+                                  Using wbinfo                                  +
+--------------------------------------------------------------------------------+
+--------------------------------------------------------------------------------+
+                                     Users                                      +
+--------------------------------------------------------------------------------+
HAUGUR2\root
HAUGUR2\cbdp
+--------------------------------------------------------------------------------+
+                                     Groups                                     +
+--------------------------------------------------------------------------------+
+--------------------------------------------------------------------------------+
+                                  Using getent                                  +
+--------------------------------------------------------------------------------+
+--------------------------------------------------------------------------------+
+                                     Users                                      +
+--------------------------------------------------------------------------------+
root:$6$PYkxqmco90kCbA7C$griYmrTWfiDbsPqftKEvQFc1cOayzkda83yY5mNpcQQCvqQMyt8ix2l/ngJTI4JE4HMDBx7i3C7MKC3xIlcR0/: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
cbdp:$6$kBEHBLRMNinDAzxp$gyNJbItV3teGmDuMWvra7PPM4TC6DvdjIFvvbm2azVW3jQcpAXP2a2ZB/ch95YtzTxVcHUsCsRbwLZ3hrw.Za0:1001:1001:Carl Brynjar Dietersson:/mnt/vol1/home/cbdp:/bin/csh
zfsrep:*:818:818:ZFS Replication Process:/mnt/vol1/home/zfsrep:/bin/csh
hurd_ehf:*:1002:1002:Hurd ehf:/nonexistent:/bin/csh
crw:*:1003:1003:Caroline Weir:/mnt/vol1/crw:/bin/csh
vod:*:1004:1004:Viktor Orri Dietersson:/mnt/vol1/vod:/bin/csh
hk:*:1005:1005:Halldora Kristjansdottir:/mnt/vol1/hk:/bin/csh
gk:*:1006:1006:Gisli Kristjansson:/mnt/vol1/gk:/bin/csh
bokhald:*:1007:1007:Hurd ehf Bokhald:/nonexistent:/bin/csh
www-data:*:33:33:www-data:/nonexistent:/bin/csh
backup:*:1008:1008:Backup:/nonexistent:/sbin/nologin
pakk:*:1009:1009:Pakk:/nonexistent:/bin/csh
ladvd:*:79:78:ladvd user:/var/empty:/usr/sbin/nologin
webdav:*:666:666:WebDAV Anonymous User:/var/empty:/usr/sbin/nologin
+--------------------------------------------------------------------------------+
+                                     Groups                                     +
+--------------------------------------------------------------------------------+
wheel:*:0:cbdp
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:cbdp
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
cbdp:*:1001:cbdp
hurd_ehf:*:1002:cbdp
zfsrep:*:818
crw:*:1003:cbdp
vod:*:1004:cbdp
hk:*:1005:cbdp
gk:*:1006:cbdp
bokhald:*:1007:cbdp
www-data:*:33:cbdp
backup:*:1008
pakk:*:1009:cbdp
ladvd:*:78
webdav:*:666


