SMB doesnt start

wenxuan

Cadet
Joined
Jun 14, 2023
Messages
3
Hello,

I have a Problem with the SMB services . if i try start the SMB. Then it says SMB service failed to start.

Version: FreeNAS-11.3-U5
Intel(R) Xeon(R) CPU X5650 @ 2.67GHz

1686731238738.png


smbd -i -d 3

1686731598852.png

there is an error but i dont understand how to fix it.

service samba_server onestatus
1686731793722.png




I read some posts here already but didnt help me to fix it
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
11.3-U5 is very far EOL. You could probably get more info about the error by running smbd -d 10 -i but based on the message it sounds like your guest account is probably broken.
 

wenxuan

Cadet
Joined
Jun 14, 2023
Messages
3
11.3-U5 is very far EOL. You could probably get more info about the error by running smbd -d 10 -i but based on the message it sounds like your guest account is probably broken.
HAVE___SYNC_FETCH_AND_ADD
HAVE___THREAD

--with Options:
WITH_ADS
WITH_AUTOMOUNT
WITH_DNS_UPDATES
WITH_PAM
WITH_PAM_MODULES
WITH_PTHREADPOOL
WITH_QUOTAS
WITH_SYSLOG
WITH_WINBIND

Build Options:
AESNI_INTEL_CFLAGS
BROKEN_NISPLUS_INCLUDE_FILES
BSD_STYLE_STATVFS
CHECK_BUNDLED_SYSTEM_Z
COMPILER_SUPPORTS_LL
CONFIG_H_IS_FROM_SAMBA
DEFAULT_DOS_CHARSET
DEFAULT_UNIX_CHARSET
ENABLE_GNUTLS
FREEBSD
FREEBSD_SENDFILE_API
GETCWD_TAKES_NULL
HEIMDAL_KRB5_TYPES_PATH
INLINE_MACRO
KRB5_CREDS_OPT_FREE_REQUIRES_CONTEXT
KRB5_PRINC_REALM_RETURNS_REALM
LDAP_DEPRECATED
LDAP_SET_REBIND_PROC_ARGS
LIBREPLACE_NETWORK_CHECKS
PACKAGE
REALPATH_TAKES_NULL
RETSIGTYPE
SAMBA4_USES_HEIMDAL
SAMBA_FAM_LIBS
SHLIBEXT
SIZEOF_BLKCNT_T_8
SIZEOF_BOOL
SIZEOF_CHAR
SIZEOF_DEV_T
SIZEOF_INO_T
SIZEOF_INT
SIZEOF_INT16_T
SIZEOF_INT32_T
SIZEOF_INT64_T
SIZEOF_INT8_T
SIZEOF_LONG
SIZEOF_LONG_LONG
SIZEOF_OFF_T
SIZEOF_SHORT
SIZEOF_SIZE_T
SIZEOF_SSIZE_T
SIZEOF_TIME_T
SIZEOF_UINT16_T
SIZEOF_UINT32_T
SIZEOF_UINT64_T
SIZEOF_UINT8_T
SIZEOF_VOID_P
SRCDIR
STAT_STATVFS
STAT_ST_BLOCKSIZE
STDC_HEADERS
STRERROR_R_XSI_NOT_GNU
STRING_STATIC_MODULES
SUMMARY_PASSES
SYSCONF_SC_NGROUPS_MAX
SYSCONF_SC_NPROCESSORS_ONLN
SYSCONF_SC_PAGESIZE
SYSTEM_UNAME_MACHINE
SYSTEM_UNAME_RELEASE
SYSTEM_UNAME_SYSNAME
SYSTEM_UNAME_VERSION
TALLOC_BUILD_VERSION_MAJOR
TALLOC_BUILD_VERSION_MINOR
TALLOC_BUILD_VERSION_RELEASE
TEVENT_NUM_SIGNALS
TIME_WITH_SYS_TIME
USE_SETREUID
USE_TDB_MUTEX_LOCKING
USING_SYSTEM_PARSE_YAPP_DRIVER
USING_SYSTEM_POPT
USING_SYSTEM_ZLIB
VALUEOF_NSIG
VALUEOF_SIGRTMAX
VALUEOF_SIGRTMIN
VOID_RETSIGTYPE
WINEXE_LDFLAGS
XSLTPROC_MANPAGES
_GNU_SOURCE
_HAVE_SENDFILE
_POSIX_FALLOCATE_CAPABLE_LIBC
_SAMBA_BUILD_
_XOPEN_SOURCE_EXTENDED
auth_script_init
idmap_ad_init
idmap_autorid_init
idmap_fruit_init
idmap_hash_init
idmap_ldap_init
idmap_nss_init
idmap_rfc2307_init
idmap_rid_init
idmap_script_init
idmap_tdb2_init
idmap_tdb_init
loff_t
nss_info_hash_init
nss_info_rfc2307_init
nss_info_sfu20_init
nss_info_sfu_init
nss_info_template_init
offset_t
static_decl_auth
static_decl_charset
static_decl_gpext
static_decl_idmap
static_decl_nss_info
static_decl_pdb
static_decl_perfcount
static_decl_rpc
static_decl_vfs
static_init_auth
static_init_charset
static_init_gpext
static_init_idmap
static_init_nss_info
static_init_pdb
static_init_perfcount
static_init_rpc
static_init_vfs
uint_t
vfs_acl_tdb_init
vfs_acl_xattr_init
vfs_aio_fbsd_init
vfs_aio_fork_init
vfs_aio_pthread_init
vfs_aio_spthread_init
vfs_audit_init
vfs_cacheprime_init
vfs_cap_init
vfs_catia_init
vfs_commit_init
vfs_crossrename_init
vfs_default_quota_init
vfs_dirsort_init
vfs_expand_msdfs_init
vfs_extd_audit_init
vfs_fake_perms_init
vfs_fruit_init
vfs_full_audit_init
vfs_ixnas_init
vfs_linux_xfs_sgid_init
vfs_media_harmony_init
vfs_netatalk_init
vfs_noacl_init
vfs_offline_init
vfs_preopen_init
vfs_readahead_init
vfs_readonly_init
vfs_recycle_init
vfs_shadow_copy2_init
vfs_shadow_copy_init
vfs_shadow_copy_zfs_init
vfs_shell_snap_init
vfs_streams_depot_init
vfs_streams_xattr_init
vfs_syncops_init
vfs_time_audit_init
vfs_tmprotect_init
vfs_unityed_media_init
vfs_virusfilter_init
vfs_winmsa_init
vfs_worm_init
vfs_xattr_tdb_init
vfs_zfs_fsrvp_init
vfs_zfs_space_init
vfs_zfsacl_init

Cluster support features:
NONE

Type sizes:
sizeof(char): 1
sizeof(int): 4
sizeof(long): 8
sizeof(long long): 8
sizeof(uint8_t): 1
sizeof(uint16_t): 2
sizeof(uint32_t): 4
sizeof(short): 2
sizeof(void*): 8
sizeof(size_t): 8
sizeof(off_t): 8
sizeof(ino_t): 4
sizeof(dev_t): 4

Builtin modules:
vfs_default vfs_not_implemented vfs_posixacl auth_builtin auth_sam auth_winbind pdb_smbpasswd pdb_tdbsam auth_unix idmap_passdb pdb_ldapsam
lp_load_ex: refreshing parameters
Initialising global parameters
INFO: Current debug levels:
all: 10
tdb: 10
printdrivers: 10
lanman: 10
smb: 10
rpc_parse: 10
rpc_srv: 10
rpc_cli: 10
passdb: 10
sam: 10
auth: 10
winbind: 10
vfs: 10
idmap: 10
quota: 10
acls: 10
locking: 10
msdfs: 10
dmapi: 10
registry: 10
scavenger: 10
dns: 10
ldb: 10
tevent: 10
auth_audit: 10
auth_json_audit: 10
kerberos: 10
drs_repl: 10
smb2: 10
smb2_credits: 10
dsdb_audit: 10
dsdb_json_audit: 10
dsdb_password_audit: 10
dsdb_password_json_audit: 10
dsdb_transaction_audit: 10
dsdb_transaction_json_audit: 10
dsdb_group_audit: 10
dsdb_group_json_audit: 10
Processing section "[global]"
doing parameter dns proxy = No
doing parameter aio max threads = 2
doing parameter max log size = 51200
doing parameter allocation roundup size = 0
doing parameter load printers = No
doing parameter printing = bsd
doing parameter disable spoolss = Yes
doing parameter dos filemode = Yes
doing parameter kernel change notify = No
doing parameter directory name cache size = 0
doing parameter nsupdate command = /usr/local/bin/samba-nsupdate -g
doing parameter unix charset = UTF-8
doing parameter log level = 1
doing parameter obey pam restrictions = False
doing parameter enable web service discovery = True
doing parameter logging = file
doing parameter server min protocol = SMB2_02
doing parameter unix extensions = No
doing parameter guest account = VM\guest
doing parameter map to guest = Bad User
doing parameter server string = FreeNAS Server
doing parameter directory mask = 0777
doing parameter bind interfaces only = Yes
doing parameter netbios name = vnas
doing parameter netbios aliases =
doing parameter server role = member server
doing parameter kerberos method = secrets and keytab
doing parameter workgroup = VM
doing parameter realm = VM.MERE.LOCAL
doing parameter security = ADS
doing parameter local master = No
doing parameter domain master = No
doing parameter preferred master = No
doing parameter winbind cache time = 7200
doing parameter winbind max domain connections = 10
doing parameter winbind status fifo = Yes
doing parameter client ldap sasl wrapping = sign
doing parameter template shell = /bin/sh
doing parameter template homedir = /home/%D/%U
doing parameter ads dns update = Yes
doing parameter allow trusted domains = Yes
doing parameter winbind enum users = Yes
doing parameter winbind enum groups = Yes
doing parameter winbind use default domain = Yes
doing parameter idmap config VM: backend = rid
doing parameter idmap config VM: range = 20000-90000000
doing parameter idmap config *: backend = tdb
doing parameter idmap config *: range = 90000001-100000000
doing parameter include = /usr/local/etc/smb4_share.conf
pm_process() returned Yes
lp_servicenumber: couldn't find homes
get_current_groups: user is in 1 groups: 0
messaging_dgm_ref: messaging_dgm_init returned No error: 0
messaging_dgm_ref: unique = 7611862531864450527
Registering messaging pointer for type 2 - private_data=0x0
Registering messaging pointer for type 9 - private_data=0x0
Registered MSG_REQ_POOL_USAGE
Registering messaging pointer for type 11 - private_data=0x0
Registering messaging pointer for type 12 - private_data=0x0
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
Registering messaging pointer for type 1 - private_data=0x0
Registering messaging pointer for type 5 - private_data=0x0
Registering messaging pointer for type 51 - private_data=0x0
messaging_init_internal: my id: 6033
INFO: Current debug levels:
all: 10
tdb: 10
printdrivers: 10
lanman: 10
smb: 10
rpc_parse: 10
rpc_srv: 10
rpc_cli: 10
passdb: 10
sam: 10
auth: 10
winbind: 10
vfs: 10
idmap: 10
quota: 10
acls: 10
locking: 10
msdfs: 10
dmapi: 10
registry: 10
scavenger: 10
dns: 10
ldb: 10
tevent: 10
auth_audit: 10
auth_json_audit: 10
kerberos: 10
drs_repl: 10
smb2: 10
smb2_credits: 10
dsdb_audit: 10
dsdb_json_audit: 10
dsdb_password_audit: 10
dsdb_password_json_audit: 10
dsdb_transaction_audit: 10
dsdb_transaction_json_audit: 10
dsdb_group_audit: 10
dsdb_group_json_audit: 10
lp_load_ex: refreshing parameters
Freeing parametrics:
Initialising global parameters
INFO: Current debug levels:
all: 10
tdb: 10
printdrivers: 10
lanman: 10
smb: 10
rpc_parse: 10
rpc_srv: 10
rpc_cli: 10
passdb: 10
sam: 10
auth: 10
winbind: 10
vfs: 10
idmap: 10
quota: 10
acls: 10
locking: 10
msdfs: 10
dmapi: 10
registry: 10
scavenger: 10
dns: 10
ldb: 10
tevent: 10
auth_audit: 10
auth_json_audit: 10
kerberos: 10
drs_repl: 10
smb2: 10
smb2_credits: 10
dsdb_audit: 10
dsdb_json_audit: 10
dsdb_password_audit: 10
dsdb_password_json_audit: 10
dsdb_transaction_audit: 10
dsdb_transaction_json_audit: 10
dsdb_group_audit: 10
dsdb_group_json_audit: 10
Processing section "[global]"
doing parameter dns proxy = No
doing parameter aio max threads = 2
doing parameter max log size = 51200
doing parameter allocation roundup size = 0
doing parameter load printers = No
doing parameter printing = bsd
doing parameter disable spoolss = Yes
doing parameter dos filemode = Yes
doing parameter kernel change notify = No
doing parameter directory name cache size = 0
doing parameter nsupdate command = /usr/local/bin/samba-nsupdate -g
doing parameter unix charset = UTF-8
doing parameter log level = 1
doing parameter obey pam restrictions = False
doing parameter enable web service discovery = True
doing parameter logging = file
doing parameter server min protocol = SMB2_02
doing parameter unix extensions = No
doing parameter guest account = VM\guest
doing parameter map to guest = Bad User
doing parameter server string = FreeNAS Server
doing parameter directory mask = 0777
doing parameter bind interfaces only = Yes
doing parameter netbios name = vnas
doing parameter netbios aliases =
doing parameter server role = member server
doing parameter kerberos method = secrets and keytab
doing parameter workgroup = VM
doing parameter realm = VM.MERE.LOCAL
doing parameter security = ADS
doing parameter local master = No
doing parameter domain master = No
doing parameter preferred master = No
doing parameter winbind cache time = 7200
doing parameter winbind max domain connections = 10
doing parameter winbind status fifo = Yes
doing parameter client ldap sasl wrapping = sign
doing parameter template shell = /bin/sh
doing parameter template homedir = /home/%D/%U
doing parameter ads dns update = Yes
doing parameter allow trusted domains = Yes
doing parameter winbind enum users = Yes
doing parameter winbind enum groups = Yes
doing parameter winbind use default domain = Yes
doing parameter idmap config VM: backend = rid
doing parameter idmap config VM: range = 20000-90000000
doing parameter idmap config *: backend = tdb
doing parameter idmap config *: range = 90000001-100000000
doing parameter include = /usr/local/etc/smb4_share.conf
Processing section "[HyperSpace]"
add_a_service: Creating snum = 0 for HyperSpace
hash_a_service: creating servicehash
hash_a_service: hashing index 0 for service name HyperSpace
doing parameter read only = no
doing parameter guest ok = yes
doing parameter vfs objects = streams_xattr zfs_space zfsacl
doing parameter nfs4:chown = true
doing parameter nfs4:acedup = merge
doing parameter aio write size = 0
doing parameter mangled names = illegal
doing parameter ea support = false
doing parameter path = /mnt/MoreSpace
pm_process() returned Yes
lp_servicenumber: couldn't find homes
add_a_service: Creating snum = 1 for IPC$
hash_a_service: hashing index 1 for service name IPC$
adding IPC service
INFO: Current debug levels:
all: 10
tdb: 10
printdrivers: 10
lanman: 10
smb: 10
rpc_parse: 10
rpc_srv: 10
rpc_cli: 10
passdb: 10
sam: 10
auth: 10
winbind: 10
vfs: 10
idmap: 10
quota: 10
acls: 10
locking: 10
msdfs: 10
dmapi: 10
registry: 10
scavenger: 10
dns: 10
ldb: 10
tevent: 10
auth_audit: 10
auth_json_audit: 10
kerberos: 10
drs_repl: 10
smb2: 10
smb2_credits: 10
dsdb_audit: 10
dsdb_json_audit: 10
dsdb_password_audit: 10
dsdb_password_json_audit: 10
dsdb_transaction_audit: 10
dsdb_transaction_json_audit: 10
dsdb_group_audit: 10
dsdb_group_json_audit: 10
lp_file_list_changed()
file /usr/local/etc/smb4_share.conf -> /usr/local/etc/smb4_share.conf last mod_time: Wed Jun 14 09:08:20 2023

file /usr/local/etc/smb4.conf -> /usr/local/etc/smb4.conf last mod_time: Wed Jun 14 09:18:40 2023

INFO: Current debug levels:
all: 10
tdb: 10
printdrivers: 10
lanman: 10
smb: 10
rpc_parse: 10
rpc_srv: 10
rpc_cli: 10
passdb: 10
sam: 10
auth: 10
winbind: 10
vfs: 10
idmap: 10
quota: 10
acls: 10
locking: 10
msdfs: 10
dmapi: 10
registry: 10
scavenger: 10
dns: 10
ldb: 10
tevent: 10
auth_audit: 10
auth_json_audit: 10
kerberos: 10
drs_repl: 10
smb2: 10
smb2_credits: 10
dsdb_audit: 10
dsdb_json_audit: 10
dsdb_password_audit: 10
dsdb_password_json_audit: 10
dsdb_transaction_audit: 10
dsdb_transaction_json_audit: 10
dsdb_group_audit: 10
dsdb_group_json_audit: 10
added interface em0 ip=172.24.252.210 bcast=172.24.252.255 netmask=255.255.255.0
loaded services
Netbios name list:-
my_netbios_names[0]="VNAS"
INFO: Profiling support unavailable in this build.
Process with PID=5964 does not exist.
msg_dgm_ref_destructor: refs=0x0
messaging_dgm_ref: messaging_dgm_init returned No error: 0
messaging_dgm_ref: unique = 16187006894931132837
Attempting to register passdb backend smbpasswd
Successfully added passdb backend 'smbpasswd'
Attempting to register passdb backend tdbsam
Successfully added passdb backend 'tdbsam'
Attempting to register passdb backend ldapsam
Successfully added passdb backend 'ldapsam'
Attempting to register passdb backend NDS_ldapsam
Successfully added passdb backend 'NDS_ldapsam'
Attempting to find a passdb backend to match tdbsam (tdbsam)
Found pdb backend tdbsam
pdb backend tdbsam has a valid init
dbwrap_lock_order_lock: check lock order 1 for /var/run/samba4/smbXsrv_version_global.tdb
lock order: 1:/var/run/samba4/smbXsrv_version_global.tdb 2:<none> 3:<none>
db_tdb_log_key: Locking key 736D62587372765F7665
db_tdb_fetch_locked_internal: Allocated locked data 0x814047660
db_tdb_log_key: Unlocking key 736D62587372765F7665
dbwrap_lock_order_unlock: release lock order 1 for /var/run/samba4/smbXsrv_version_global.tdb
smbXsrv_version_global_init
&global_blob: struct smbXsrv_version_globalB
version : SMBXSRV_VERSION_0 (0)
seqnum : 0x00000001 (1)
info : union smbXsrv_version_globalU(case 0)
info0 : *
info0: struct smbXsrv_version_global0
db_rec : NULL
num_nodes : 0x00000001 (1)
nodes: ARRAY(1)
nodes: struct smbXsrv_version_node0
server_id: struct server_id
pid : 0x0000000000001791 (6033)
task_id : 0x00000000 (0)
vnn : 0xffffffff (4294967295)
unique_id : 0xe0a3cd022d2b41a5 (-2259737178778418779)
min_version : SMBXSRV_VERSION_0 (0)
max_version : SMBXSRV_VERSION_0 (0)
current_version : SMBXSRV_VERSION_0 (0)
Registering messaging pointer for type 794 - private_data=0x81406b230
Registering messaging pointer for type 795 - private_data=0x81406b230
Registering messaging pointer for type 796 - private_data=0x81406b230
Registering messaging pointer for type 13 - private_data=0x81406b400
Registering messaging pointer for type 788 - private_data=0x81406b400
Registering messaging pointer for type 785 - private_data=0x0
Registering messaging pointer for type 789 - private_data=0x81403d200
regdb_init: registry db openend. refcount reset (1)
reghook_cache_init: new tree with default ops 0x8045d4410 for key []
regdb_fetch_values: Looking for values of key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ports]
regdb_unpack_values: value[0]: name[Samba Printer Port] len[2]
regdb_fetch_values: Looking for values of key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers]
regdb_unpack_values: value[0]: name[DefaultSpoolDirectory] len[70]
regdb_fetch_values: Looking for values of key [HKLM\SYSTEM\CurrentControlSet\Services\Eventlog]
regdb_unpack_values: value[0]: name[DisplayName] len[20]
regdb_unpack_values: value[1]: name[ErrorControl] len[4]
regdb_fetch_values: Looking for values of key [HKLM\SYSTEM\CurrentControlSet\Services\Eventlog]
regdb_unpack_values: value[0]: name[DisplayName] len[20]
regdb_unpack_values: value[1]: name[ErrorControl] len[4]
reghook_cache_add: Adding ops 0x801d25f88 for key [\HKLM\SYSTEM\CurrentControlSet\Control\Print\Printers]
pathtree_add: Enter
pathtree_add: Successfully added node [HKLM\SYSTEM\CurrentControlSet\Control\Print\Printers] to tree
pathtree_add: Exit
reghook_cache_add: Adding ops 0x8045d4410 for key [\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers]
pathtree_add: Enter
pathtree_add: Successfully added node [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers] to tree
pathtree_add: Exit
reghook_cache_add: Adding ops 0x8045d4410 for key [\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ports]
pathtree_add: Enter
pathtree_add: Successfully added node [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ports] to tree
pathtree_add: Exit
reghook_cache_add: Adding ops 0x8045d4410 for key [\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\PackageInstallation]
pathtree_add: Enter
pathtree_add: Successfully added node [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\PackageInstallation] to tree
pathtree_add: Exit
reghook_cache_add: Adding ops 0x801d25fe0 for key [\HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares]
pathtree_add: Enter
pathtree_add: Successfully added node [HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares] to tree
pathtree_add: Exit
reghook_cache_add: Adding ops 0x8045d4260 for key [\HKLM\SOFTWARE\Samba\smbconf]
pathtree_add: Enter
pathtree_add: Successfully added node [HKLM\SOFTWARE\Samba\smbconf] to tree
pathtree_add: Exit
reghook_cache_add: Adding ops 0x801d26038 for key [\HKLM\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters]
pathtree_add: Enter
pathtree_add: Successfully added node [HKLM\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters] to tree
pathtree_add: Exit
reghook_cache_add: Adding ops 0x801d26090 for key [\HKLM\SYSTEM\CurrentControlSet\Control\ProductOptions]
pathtree_add: Enter
pathtree_add: Successfully added node [HKLM\SYSTEM\CurrentControlSet\Control\ProductOptions] to tree
pathtree_add: Exit
reghook_cache_add: Adding ops 0x801d260e8 for key [\HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
pathtree_add: Enter
pathtree_add: Successfully added node [HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters] to tree
pathtree_add: Exit
reghook_cache_add: Adding ops 0x801d26140 for key [\HKPT]
pathtree_add: Enter
pathtree_add: Successfully added node [HKPT] to tree
pathtree_add: Exit
reghook_cache_add: Adding ops 0x801d26198 for key [\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion]
pathtree_add: Enter
pathtree_add: Successfully added node [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion] to tree
pathtree_add: Exit
reghook_cache_add: Adding ops 0x801d261f0 for key [\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib]
pathtree_add: Enter
pathtree_add: Successfully added node [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib] to tree
pathtree_add: Exit
regdb_close: decrementing refcount (1->0)
Could not convert SID S-1-5-18 to gid, ignoring it
Security token SIDs (1):
SID[ 0]: S-1-5-18
Privileges (0xFFFFFFFFFFFFFFFF):
Privilege[ 0]: SeMachineAccountPrivilege
Privilege[ 1]: SeTakeOwnershipPrivilege
Privilege[ 2]: SeBackupPrivilege
Privilege[ 3]: SeRestorePrivilege
Privilege[ 4]: SeRemoteShutdownPrivilege
Privilege[ 5]: SePrintOperatorPrivilege
Privilege[ 6]: SeAddUsersPrivilege
Privilege[ 7]: SeDiskOperatorPrivilege
Privilege[ 8]: SeSecurityPrivilege
Privilege[ 9]: SeSystemtimePrivilege
Privilege[ 10]: SeShutdownPrivilege
Privilege[ 11]: SeDebugPrivilege
Privilege[ 12]: SeSystemEnvironmentPrivilege
Privilege[ 13]: SeSystemProfilePrivilege
Privilege[ 14]: SeProfileSingleProcessPrivilege
Privilege[ 15]: SeIncreaseBasePriorityPrivilege
Privilege[ 16]: SeLoadDriverPrivilege
Privilege[ 17]: SeCreatePagefilePrivilege
Privilege[ 18]: SeIncreaseQuotaPrivilege
Privilege[ 19]: SeChangeNotifyPrivilege
Privilege[ 20]: SeUndockPrivilege
Privilege[ 21]: SeManageVolumePrivilege
Privilege[ 22]: SeImpersonatePrivilege
Privilege[ 23]: SeCreateGlobalPrivilege
Privilege[ 24]: SeEnableDelegationPrivilege
Rights (0x 0):
UNIX token of user 0
Primary group is 0 and contains 1 supplementary groups
Group[ 0]: 0
Finding user VM\guest
Trying _Get_Pwnam(), username as lowercase is vm\guest
Get_Pwnam_internals did find user [VM\guest]!
Finding user VNAS\guest
Trying _Get_Pwnam(), username as lowercase is vnas\guest
Trying _Get_Pwnam(), username as given is VNAS\guest
Trying _Get_Pwnam(), username as uppercase is VNAS\GUEST
Checking combinations of 0 uppercase letters in vnas\guest
Get_Pwnam_internals didn't find user [VNAS\guest]!
Finding user guest
Trying _Get_Pwnam(), username as lowercase is guest
Get_Pwnam_internals did find user [guest]!
Create local NT token for guest
Finding user VM\guest
Trying _Get_Pwnam(), username as lowercase is vm\guest
Get_Pwnam_internals did find user [VM\guest]!
sys_getgrouplist: user [guest]
Opening cache file at /var/run/samba4/gencache.tdb
xid_to_sid: GID 20513 -> S-1-5-21-3736964599-1212148531-3681722345-513 from cache
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
Security token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
Security token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
get_privileges: No privileges assigned to SID [S-1-5-21-4294843833-1472063355-2289634060-501]
get_privileges: No privileges assigned to SID [S-1-5-21-4294843833-1472063355-2289634060-514]
get_privileges: No privileges assigned to SID [S-1-5-21-3736964599-1212148531-3681722345-513]
get_privileges_for_sids: sid = S-1-1-0
Privilege set: 0x0
get_privileges: No privileges assigned to SID [S-1-5-2]
get_privileges: No privileges assigned to SID [S-1-5-32-545]
Parsing value for key [IDMAP/SID2XID/S-1-5-21-4294843833-1472063355-2289634060-501]: value=[20501:U]
Parsing value for key [IDMAP/SID2XID/S-1-5-21-4294843833-1472063355-2289634060-501]: id=[20501], endptr=[:U]
gencache_set_data_blob: Adding cache entry with key=[IDMAP/SID2XID/S-1-5-21-4294843833-1472063355-2289634060-514] and timeout=[Thu Jan 1 01:00:00 1970 CET] (-1686742225 seconds in the past)
Parsing value for key [IDMAP/SID2XID/S-1-5-21-3736964599-1212148531-3681722345-513]: value=[20513:B]
Parsing value for key [IDMAP/SID2XID/S-1-5-21-3736964599-1212148531-3681722345-513]: id=[20513], endptr=[:B]
Parsing value for key [IDMAP/SID2XID/S-1-1-0]: value=[90000003:G]
Parsing value for key [IDMAP/SID2XID/S-1-1-0]: id=[90000003], endptr=[:G]
Parsing value for key [IDMAP/SID2XID/S-1-5-2]: value=[90000004:G]
Parsing value for key [IDMAP/SID2XID/S-1-5-2]: id=[90000004], endptr=[:G]
Parsing value for key [IDMAP/SID2XID/S-1-5-32-545]: value=[90000002:G]
Parsing value for key [IDMAP/SID2XID/S-1-5-32-545]: id=[90000002], endptr=[:G]
wbcSidsToUnixIds returned WBC_ERR_DOMAIN_NOT_FOUND
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
Security token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
lookup_global_sam_rid: looking up RID 514.
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
push_conn_ctx(0) : conn_ctx_stack_ndx = 1
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
Security token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
tdbsam_open: successfully opened /var/db/system/samba4/private/passdb.tdb
pdb_getsampwrid (TDB): error looking up RID 514 by key RID_00000202.
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
Can't find a unix id for an unmapped group
SID S-1-5-21-4294843833-1472063355-2289634060-514 belongs to our domain, but there is no corresponding object in the database.
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
LEGACY: mapping failed for sid S-1-5-21-4294843833-1472063355-2289634060-514
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
Security token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
lookup_global_sam_rid: looking up RID 514.
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
push_conn_ctx(0) : conn_ctx_stack_ndx = 1
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
Security token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
pdb_getsampwrid (TDB): error looking up RID 514 by key RID_00000202.
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
Can't find a unix id for an unmapped group
SID S-1-5-21-4294843833-1472063355-2289634060-514 belongs to our domain, but there is no corresponding object in the database.
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
LEGACY: mapping failed for sid S-1-5-21-4294843833-1472063355-2289634060-514
Could not convert SID S-1-5-21-4294843833-1472063355-2289634060-514 to gid, ignoring it
Security token SIDs (11):
SID[ 0]: S-1-5-21-4294843833-1472063355-2289634060-501
SID[ 1]: S-1-5-21-4294843833-1472063355-2289634060-514
SID[ 2]: S-1-5-21-3736964599-1212148531-3681722345-513
SID[ 3]: S-1-1-0
SID[ 4]: S-1-5-2
SID[ 5]: S-1-5-32-545
SID[ 6]: S-1-22-1-20501
SID[ 7]: S-1-22-2-20513
SID[ 8]: S-1-22-2-90000003
SID[ 9]: S-1-22-2-90000004
SID[ 10]: S-1-22-2-90000002
Privileges (0x 0):
Rights (0x 0):
UNIX token of user 20501
Primary group is 20513 and contains 4 supplementary groups
Group[ 0]: 20513
Group[ 1]: 90000003
Group[ 2]: 90000004
Group[ 3]: 90000002
Finding user VM\guest
Trying _Get_Pwnam(), username as lowercase is vm\guest
Get_Pwnam_internals did find user [VM\guest]!
Parsing value for key [IDMAP/SID2XID/S-1-5-7]: value=[90000008:G]
Parsing value for key [IDMAP/SID2XID/S-1-5-7]: id=[90000008], endptr=[:G]
Parsing value for key [IDMAP/SID2XID/S-1-1-0]: value=[90000003:G]
Parsing value for key [IDMAP/SID2XID/S-1-1-0]: id=[90000003], endptr=[:G]
Parsing value for key [IDMAP/SID2XID/S-1-5-2]: value=[90000004:G]
Parsing value for key [IDMAP/SID2XID/S-1-5-2]: id=[90000004], endptr=[:G]
auth3_session_info_create failed: NT_STATUS_INVALID_TOKEN
ERROR: failed to setup guest info.
talloc report on 'null_context' (total 29364 bytes in 564 blocks)
struct auth_session_info contains 578 bytes in 15 blocks (ref 0) 0x8140477e0
struct auth_serversupplied_info contains 613 bytes in 6 blocks (ref 0)0x8140574e0
struct auth_session_info contains 1175 bytes in 12 blocks (ref 0) 0x814047a20
struct db_context contains 257 bytes in 5 blocks (ref 0) 0x8140d9e60
struct db_context contains 257 bytes in 5 blocks (ref 0) 0x8140d9d60
struct db_context contains 256 bytes in 5 blocks (ref 0) 0x8140d9c60
struct tdb_wrap contains 69 bytes in 3 blocks (ref 0) 0x814045030
struct auth_session_info contains 455 bytes in 18 blocks (ref 0) 0x814047720
struct db_context contains 253 bytes in 5 blocks (ref 0) 0x8140d9960
struct sorted_tree contains 1543 bytes in 70 blocks (ref 0) 0x814043b30
struct smbd_scavenger_state contains 56 bytes in 1 blocks (ref 0) 0x81403d200
struct db_context contains 243 bytes in 5 blocks (ref 0) 0x8140d9760
struct db_context contains 192 bytes in 2 blocks (ref 0) 0x8140d9660
struct db_context contains 420 bytes in 7 blocks (ref 0) 0x8140d9560
struct db_context contains 243 bytes in 5 blocks (ref 0) 0x8140d9360
struct db_context contains 256 bytes in 5 blocks (ref 0) 0x8140d9260
struct db_context contains 435 bytes in 7 blocks (ref 0) 0x8140d9160
struct db_context contains 258 bytes in 5 blocks (ref 0) 0x814051f60
struct db_context contains 259 bytes in 5 blocks (ref 0) 0x814051b60
struct pdb_methods contains 544 bytes in 1 blocks (ref 0) 0x814063ce0
struct tevent_sig_state contains 5312 bytes in 3 blocks (ref 2) 0x8140b7060
struct messaging_dgm_context contains 312 bytes in 2 blocks (ref 0) 0x814057060
struct db_context contains 258 bytes in 5 blocks (ref 0) 0x814051c60
../../source3/lib/substitute.c:61 contains 5 bytes in 1 blocks (ref 0) 0x814043200
struct memcache contains 429 bytes in 15 blocks (ref 0) 0x8140465e0
struct db_context contains 360 bytes in 4 blocks (ref 0) 0x814051d60
struct loadparm_service * contains 2069 bytes in 38 blocks (ref 0) 0x814042550
struct file_lists contains 94 bytes in 3 blocks (ref 0) 0x814046760
struct parmlist_entry contains 89 bytes in 3 blocks (ref 0) 0x814068680
struct parmlist_entry contains 86 bytes in 3 blocks (ref 0) 0x814068380
struct parmlist_entry contains 77 bytes in 3 blocks (ref 0) 0x814063580
struct file_lists contains 82 bytes in 3 blocks (ref 0) 0x814046ce0
struct parmlist_entry contains 77 bytes in 3 blocks (ref 0) 0x814063300
char * contains 151 bytes in 2 blocks (ref 0) 0x814051960
char * contains 168 bytes in 2 blocks (ref 0) 0x814051460
char * contains 167 bytes in 2 blocks (ref 0) 0x814051660
char * contains 168 bytes in 2 blocks (ref 0) 0x814051760
char * contains 162 bytes in 2 blocks (ref 0) 0x814051a60
char * contains 244 bytes in 14 blocks (ref 0) 0x814051560
char * contains 213 bytes in 14 blocks (ref 0) 0x814051360
char * contains 144 bytes in 3 blocks (ref 0) 0x814051260
char * contains 145 bytes in 2 blocks (ref 0) 0x814051860
char * contains 152 bytes in 3 blocks (ref 0) 0x814051160
char contains 1029 bytes in 58 blocks (ref 0) 0x8140c4c00
struct messaging_context contains 2492 bytes in 41 blocks (ref 0) 0x81404a300
struct tevent_context contains 912 bytes in 13 blocks (ref 0) 0x814052060
struct tevent_ops_list contains 32 bytes in 1 blocks (ref 0) 0x814046be0
struct tevent_ops_list contains 32 bytes in 1 blocks (ref 0) 0x814046de0
struct tevent_ops_list contains 32 bytes in 1 blocks (ref 0) 0x814046560
char * contains 25 bytes in 2 blocks (ref 0) 0x8140421d0
char * contains 48 bytes in 2 blocks (ref 0) 0x814042160
char * contains 32 bytes in 3 blocks (ref 0) 0x814046ae0
char * contains 189 bytes in 14 blocks (ref 0) 0x81404a220
char * contains 42 bytes in 2 blocks (ref 0) 0x814041a60
char * contains 31 bytes in 2 blocks (ref 0) 0x814041980
char * contains 40 bytes in 3 blocks (ref 0) 0x8140469e0
char * contains 45 bytes in 3 blocks (ref 0) 0x8140468e0
char * contains 64 bytes in 5 blocks (ref 0) 0x81403c4e0
char * contains 47 bytes in 2 blocks (ref 0) 0x814041600
char * contains 48 bytes in 2 blocks (ref 0) 0x814041590
char * contains 220 bytes in 14 blocks (ref 0) 0x81404a140
VNAS contains 5 bytes in 1 blocks (ref 0) 0x8140402c0
char * contains 152 bytes in 3 blocks (ref 0) 0x814051060
char contains 128 bytes in 1 blocks (ref 0) 0x81404a060
struct smb_iconv_handle contains 444 bytes in 4 blocks (ref 0) 0x814063060
../../source3/lib/substitute.c:115 contains 5 bytes in 1 blocks (ref0) 0x814040090
struct lp_stored_option contains 45 bytes in 3 blocks (ref 0) 0x814046360
10 contains 3 bytes in 1 blocks (ref 0) 0x81403fed0
unsigned int contains 1988 bytes in 1 blocks (ref 0) 0x81408a060
/var/log/samba4/log.smbd contains 25 bytes in 1 blocks (ref 0) 0x814046460
char * contains 686 bytes in 39 blocks (ref 0) 0x81405a060
struct debug_class contains 912 bytes in 1 blocks (ref 0) 0x814072060
TALLOC_CTX * contains 285 bytes in 19 blocks (ref 0) 0x8141284c0
root@vnas:~ #

i cant copy everything. but here is the output
 
Top