Samba issues upgrading from 9.2.1.8 to 11.2-U6

matt_man22

Cadet
Joined
Mar 7, 2014
Messages
9
Hello,

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.
 

melloa

Wizard
Joined
May 22, 2016
Messages
1,749
I did a clean install of version 11.2-U6 and then loaded the config from 9.2.1.8

Lot of water has gone under the bridge between 9.2 and 11.2, from samba version upgrades, ZFS upgrades, FreeBSD upgrades, etc.

It could be a dataset permission or samba parameters from 9.2 SMB version.

You can test by creating a new dataset, give your user rights, create a new samba share, and try to write a file in it. If that's successful you can set the permissions for your dataset, recursively, to the user you want to have access and perhaps delete/recreate the samba share.

I'm sure you have seen the resources regarding how to create samba shares in the Resources' tab above, but if not, take a look.
 

matt_man22

Cadet
Joined
Mar 7, 2014
Messages
9
You can test by creating a new dataset, give your user rights, create a new samba share, and try to write a file in it. If that's successful you can set the permissions for your dataset, recursively, to the user you want to have access and perhaps delete/recreate the samba share.

I recreated the share from scratch and reset all permissions on the dataset. The same error persists and I am now seeing this every hour or so even when not using the share:

Code:
Sep 29 06:57:25 freenas winbindd[3368]: [2019/09/29 06:57:25.176911,  1] ../lib/tdb_wrap/tdb_wrap.c:64(tdb_wrap_log)
Sep 29 06:57:25 freenas winbindd[3368]:   tdb(/var/db/samba4/winbindd_idmap.tdb): tdb_transaction_commit: transaction error pending
Sep 29 06:57:25 freenas winbindd[3368]: [2019/09/29 06:57:25.176932,  1] ../source3/winbindd/idmap_tdb_common.c:138(idmap_tdb_common_allocate_id)
Sep 29 06:57:25 freenas winbindd[3368]:   Error allocating a new GID
 
Top