Samba issues upgrading from 9.2.1.8 to 11.2-U6

matt_man22

Cadet
Joined
Mar 7, 2014
Messages
9
I originally posted this under networking, which I realize is the wrong subforum... Anywhere, posting here to see if I can get any assistance.

I did a clean install of version 11.2-U6 and then loaded the config from 9.2.1.8. Everything is actually running and working, except I get continuous errors when reading and writing files. The errors are:

Code:
Sep 28 21:01:10 freenas smbd[28785]:   create_connection_session_info: guest user (from session setup) not permitted to access this share (FREENAS)
Sep 28 21:01:10 freenas smbd[28785]: [2019/09/28 21:01:10.713469,  1] ../source3/smbd/service.c:529(make_connection_snum)
Sep 28 21:01:10 freenas smbd[28785]:   create_connection_session_info failed: NT_STATUS_ACCESS_DENIED


I do not have guest access enabled, but I am browsing the share just fine with my credentials which are the user name and password of my freenas username. And reading and writing the files appears to work. But this error just keeps popping up any time a file is written.

I am the only user accessing the share at this time. Searching around I do not see much on the specific issue. Any easy fixes?

Thank you.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
I originally posted this under networking, which I realize is the wrong subforum... Anywhere, posting here to see if I can get any assistance.

I did a clean install of version 11.2-U6 and then loaded the config from 9.2.1.8. Everything is actually running and working, except I get continuous errors when reading and writing files. The errors are:

Code:
Sep 28 21:01:10 freenas smbd[28785]:   create_connection_session_info: guest user (from session setup) not permitted to access this share (FREENAS)
Sep 28 21:01:10 freenas smbd[28785]: [2019/09/28 21:01:10.713469,  1] ../source3/smbd/service.c:529(make_connection_snum)
Sep 28 21:01:10 freenas smbd[28785]:   create_connection_session_info failed: NT_STATUS_ACCESS_DENIED


I do not have guest access enabled, but I am browsing the share just fine with my credentials which are the user name and password of my freenas username. And reading and writing the files appears to work. But this error just keeps popping up any time a file is written.

I am the only user accessing the share at this time. Searching around I do not see much on the specific issue. Any easy fixes?

Thank you.
Post output of "testparm -s".
 

matt_man22

Cadet
Joined
Mar 7, 2014
Messages
9
Code:
freenas# testparm -s
Load smb config files from /usr/local/etc/smb4.conf
Processing section "[FREENAS]"
Loaded services file OK.
Server role: ROLE_STANDALONE

# Global parameters
[global]
        aio max threads = 2
        bind interfaces only = Yes
        deadtime = 15
        disable spoolss = Yes
        dns proxy = No
        dos charset = CP437
        interfaces = 127.0.0.1 192.168.2.101
        kernel change notify = No
        lm announce = Yes
        load printers = No
        logging = syslog:1
        max log size = 51200
        max open files = 468848
        netbios name = FREENAS
        nsupdate command = /usr/local/bin/samba-nsupdate -g
        obey pam restrictions = Yes
        printcap name = /dev/null
        security = USER
        server min protocol = SMB2_02
        server role = standalone server
        server string = FREENAS
        time server = Yes
        idmap config *: range = 90000001-100000000
        idmap config * : backend = tdb
        acl allow execute always = Yes
        create mask = 0666
        directory mask = 0777
        directory name cache size = 0
        dos filemode = Yes
        strict locking = No


[FREENAS]
        aio write size = 0
        path = "/mnt/NAS/drive"
        read only = No
        veto files = /.snapshot/.windows/.mac/.zfs/
        vfs objects = zfs_space zfsacl streams_xattr
        zfsacl:acesort = dontcare
        nfs4:chown = true
        nfs4:acedup = merge
        nfs4:mode = special


Also receiving the following error every couple hours:

Code:
Oct  2 05:44:18 freenas winbindd[3368]: [2019/10/02 05:44:18.119007,  1] ../lib/tdb_wrap/tdb_wrap.c:64(tdb_wrap_log)
Oct  2 05:44:18 freenas winbindd[3368]:   tdb(/var/db/samba4/winbindd_idmap.tdb): tdb_transaction_commit: transaction error pending
Oct  2 05:44:18 freenas winbindd[3368]: [2019/10/02 05:44:18.119045,  1] ../source3/winbindd/idmap_tdb_common.c:138(idmap_tdb_common_allocate_id)
Oct  2 05:44:18 freenas winbindd[3368]:   Error allocating a new GID
 

matt_man22

Cadet
Joined
Mar 7, 2014
Messages
9
Bumping this hoping someone can help. Still getting this error constantly.

I tried what was shown here: https://superuser.com/questions/1125438/windows-10-password-error-with-samba-share. But that did not help. I am not signing in as a guest, so I am not sure why this error keeps happening. I have no problems accessing the share and opening/saving files. But this error constantly fills the log.

Code:
Nov  2 08:45:54 freenas smbd[69401]:   create_connection_session_info: guest user (from session setup) not permitted to access this share (FREENAS)
Nov  2 08:45:54 freenas smbd[69401]: [2019/11/02 08:45:54.623136,  1] ../source3/smbd/service.c:529(make_connection_snum)
Nov  2 08:45:54 freenas smbd[69401]:   create_connection_session_info failed: NT_STATUS_ACCESS_DENIED
 
Top