Hello Rowloand,
ok, I just keep "default" for the mounting.
I changed the path of my share :
[homes]
comment = User Home Folder
path = /home/%U
read only = no
follow symlinks = yes
wide links = yes
browseable = no
hide files = /desktop.ini/$RECYCLE.BIN/
I need Wide Links because in the share there are symbolics links to
outside the share.
Anyway, I still get the same error with all this files :
??? mrxsmb :
\.system\Thunderbird\profile.default-release\calendar-data\cache.sqlite-shm
\.system\Thunderbird\profile.default-release\cookies.sqlite-shm
\.system\Thunderbird\profile.default-release\places.sqlite-shm
\.system\Thunderbird\profile.default-release\favicons.sqlite-shm
\.system\Thunderbird\profile.default-release\webappsstore.sqlite-shm
There is new errors in the samba log, like kerberos errors. I don't know
if this errors are normals.
Also, I can see the file favicons.sqlite-shm?in the samba log (@
[2020/01/04 23:59:55.709000,? 2]) with som errors.
Any idea ?
----- samba.log -----
020/01/04 23:59:55.691908,? 2]
../source3/smbd/close.c:802(close_normal_file)
? EXAMPLE\myuser closed file
.system/Thunderbird/profile-release/panacea.dat (numopen=13) NT_STATUS_OK
[2020/01/04 23:59:55.697718,? 3]
../auth/kerberos/kerberos_pac.c:413(kerberos_decode_pac)
? Found account name from PAC: MYPC$ []
[2020/01/04 23:59:55.697764,? 3]
../source3/auth/user_krb5.c:51(get_user_from_kerberos_info)
? Kerberos ticket principal name is [MYPC$@EXAMPLE.DOMAIN.FR]
[2020/01/04 23:59:55.699792,? 3]
../source3/auth/user_krb5.c:164(get_user_from_kerberos_info)
? get_user_from_kerberos_info: Username EXAMPLE\MYPC$ is invalid on
this system
[2020/01/04 23:59:55.699829,? 3]
../source3/auth/auth_generic.c:147(auth3_generate_session_info_pac)
? auth3_generate_session_info_pac: Failed to map kerberos principal to
system user (NT_STATUS_LOGON_FAILURE)
[2020/01/04 23:59:55.699876,? 3]
../source3/smbd/smb2_server.c:3190(smbd_smb2_request_error_ex)
? smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
status[NT_STATUS_ACCESS_DENIED] || at ../source3/smbd/smb2_sesssetup.c:137
[2020/01/04 23:59:55.705555,? 3]
../auth/kerberos/kerberos_pac.c:413(kerberos_decode_pac)
? Found account name from PAC: MYPC$ []
[2020/01/04 23:59:55.705600,? 3]
../source3/auth/user_krb5.c:51(get_user_from_kerberos_info)
? Kerberos ticket principal name is [MYPC$@EXAMPLE.DOMAIN.FR]
[2020/01/04 23:59:55.707583,? 3]
../source3/auth/user_krb5.c:164(get_user_from_kerberos_info)
? get_user_from_kerberos_info: Username EXAMPLE\MYPC$ is invalid on
this system
[2020/01/04 23:59:55.707611,? 3]
../source3/auth/auth_generic.c:147(auth3_generate_session_info_pac)
? auth3_generate_session_info_pac: Failed to map kerberos principal to
system user (NT_STATUS_LOGON_FAILURE)
[2020/01/04 23:59:55.707657,? 3]
../source3/smbd/smb2_server.c:3190(smbd_smb2_request_error_ex)
? smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
status[NT_STATUS_ACCESS_DENIED] || at ../source3/smbd/smb2_sesssetup.c:137
[2020/01/04 23:59:55.709000,? 2] ../source3/smbd/open.c:1447(open_file)
? EXAMPLE\myuser opened file
.system/Thunderbird/profile-release/favicons.sqlite-shm read=No write=No
(numopen=14)
[2020/01/04 23:59:55.709255,? 3]
../source3/smbd/smb2_server.c:3190(smbd_smb2_request_error_ex)
? smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5]
status[NT_STATUS_INVALID_INFO_CLASS] || at
../source3/smbd/smb2_getinfo.c:159
[2020/01/04 23:59:55.714015,? 2]
../source3/smbd/close.c:802(close_normal_file)
? EXAMPLE\myuser closed file
.system/Thunderbird/profile-release/favicons.sqlite-shm (numopen=13)
NT_STATUS_OK
[2020/01/04 23:59:55.719198,? 3]
../auth/kerberos/kerberos_pac.c:413(kerberos_decode_pac)
? Found account name from PAC: MYPC$ []
[2020/01/04 23:59:55.719241,? 3]
../source3/auth/user_krb5.c:51(get_user_from_kerberos_info)
? Kerberos ticket principal name is [MYPC$@EXAMPLE.DOMAIN.FR]
[2020/01/04 23:59:55.721193,? 3]
../source3/auth/user_krb5.c:164(get_user_from_kerberos_info)
? get_user_from_kerberos_info: Username EXAMPLE\MYPC$ is invalid on
this system
[2020/01/04 23:59:55.721224,? 3]
../source3/auth/auth_generic.c:147(auth3_generate_session_info_pac)
? auth3_generate_session_info_pac: Failed to map kerberos principal to
system user (NT_STATUS_LOGON_FAILURE)
[2020/01/04 23:59:55.721273,? 3]
../source3/smbd/smb2_server.c:3190(smbd_smb2_request_error_ex)
? smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
status[NT_STATUS_ACCESS_DENIED] || at ../source3/smbd/smb2_sesssetup.c:137
[2020/01/04 23:59:55.728441,? 3]
../auth/kerberos/kerberos_pac.c:413(kerberos_decode_pac)
? Found account name from PAC: MYPC$ []
[2020/01/04 23:59:55.728489,? 3]
../source3/auth/user_krb5.c:51(get_user_from_kerberos_info)
? Kerberos ticket principal name is [MYPC$@EXAMPLE.DOMAIN.FR]
[2020/01/04 23:59:55.730464,? 3]
../source3/auth/user_krb5.c:164(get_user_from_kerberos_info)
? get_user_from_kerberos_info: Username EXAMPLE\MYPC$ is invalid on
this system
[2020/01/04 23:59:55.730511,? 3]
../source3/auth/auth_generic.c:147(auth3_generate_session_info_pac)
? auth3_generate_session_info_pac: Failed to map kerberos principal to
system user (NT_STATUS_LOGON_FAILURE)
[2020/01/04 23:59:55.730592,? 3]
../source3/smbd/smb2_server.c:3190(smbd_smb2_request_error_ex)
? smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
status[NT_STATUS_ACCESS_DENIED] || at ../source3/smbd/smb2_sesssetup.c:137
[2020/01/04 23:59:55.737587,? 3]
../auth/kerberos/kerberos_pac.c:413(kerberos_decode_pac)
? Found account name from PAC: MYPC$ []
[2020/01/04 23:59:55.737645,? 3]
../source3/auth/user_krb5.c:51(get_user_from_kerberos_info)
? Kerberos ticket principal name is [MYPC$@EXAMPLE.DOMAIN.FR]
[2020/01/04 23:59:55.739571,? 3]
../source3/auth/user_krb5.c:164(get_user_from_kerberos_info)
? get_user_from_kerberos_info: Username EXAMPLE\MYPC$ is invalid on
this system
[2020/01/04 23:59:55.739612,? 3]
../source3/auth/auth_generic.c:147(auth3_generate_session_info_pac)
? auth3_generate_session_info_pac: Failed to map kerberos principal to
system user (NT_STATUS_LOGON_FAILURE)
[2020/01/04 23:59:55.739671,? 3]
../source3/smbd/smb2_server.c:3190(smbd_smb2_request_error_ex)
? smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
status[NT_STATUS_ACCESS_DENIED] || at ../source3/smbd/smb2_sesssetup.c:137
[2020/01/04 23:59:55.740853,? 2] ../source3/smbd/open.c:1447(open_file)
? EXAMPLE\myuser opened file
.system/Thunderbird/profile-release/cache2/index.log read=No write=No
(numopen=14)
[2020/01/04 23:59:55.741070,? 3]
../source3/smbd/smb2_server.c:3190(smbd_smb2_request_error_ex)
? smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5]
status[NT_STATUS_INVALID_INFO_CLASS] || at
../source3/smbd/smb2_getinfo.c:159
[2020/01/04 23:59:55.742622,? 3] ../source3/smbd/dir.c:662(dptr_create)
? creating new dirptr 0 for path
.system/Thunderbird/profile-release/cache2, expect_close = 0
[2020/01/04 23:59:55.742690,? 3]
../source3/smbd/dir.c:1225(smbd_dirptr_get_entry)
? smbd_dirptr_get_entry mask=[*] found
.system/Thunderbird/profile-release/cache2/. fname=. (.)
[2020/01/04 23:59:55.742750,? 3]
../source3/smbd/dir.c:1225(smbd_dirptr_get_entry)
? smbd_dirptr_get_entry mask=[*] found
.system/Thunderbird/profile-release/cache2/.. fname=.. (..)
[2020/01/04 23:59:55.742825,? 3]
../source3/smbd/dir.c:1225(smbd_dirptr_get_entry)
? smbd_dirptr_get_entry mask=[*] found
.system/Thunderbird/profile-release/cache2/index.log fname=index.log
(index.log)
[2020/01/04 23:59:55.742885,? 3]
../source3/smbd/dir.c:1225(smbd_dirptr_get_entry)
? smbd_dirptr_get_entry mask=[*] found
.system/Thunderbird/profile-release/cache2/index fname=index (index)
[2020/01/04 23:59:55.742943,? 3]
../source3/smbd/dir.c:1225(smbd_dirptr_get_entry)
? smbd_dirptr_get_entry mask=[*] found
.system/Thunderbird/profile-release/cache2/entries fname=entries (entries)
[2020/01/04 23:59:55.743002,? 3]
../source3/smbd/dir.c:1225(smbd_dirptr_get_entry)
? smbd_dirptr_get_entry mask=[*] found
.system/Thunderbird/profile-release/cache2/doomed fname=doomed (doomed)
[2020/01/04 23:59:55.743061,? 3]
../source3/smbd/smb2_server.c:3190(smbd_smb2_request_error_ex)
? smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5]
status[STATUS_NO_MORE_FILES] || at
../source3/smbd/smb2_query_directory.c:158
[2020/01/04 23:59:55.745079,? 3] ../source3/smbd/dir.c:662(dptr_create)
? creating new dirptr 0 for path .system/Thunderbird/profile-release,
expect_close = 0
(...)
[2020/01/05 11:21:46.457758,? 3]
../auth/kerberos/kerberos_pac.c:413(kerberos_decode_pac)
? Found account name from PAC: MYPC$ []
[2020/01/05 11:21:46.457822,? 3]
../source3/auth/user_krb5.c:51(get_user_from_kerberos_info)
? Kerberos ticket principal name is [MYPC$@EXAMPLE.DOMAIN.FR]
[2020/01/05 11:21:46.489290,? 3]
../source3/auth/user_krb5.c:164(get_user_from_kerberos_info)
? get_user_from_kerberos_info: Username EXAMPLE\MYPC$ is invalid on
this system
[2020/01/05 11:21:46.489350,? 3]
../source3/auth/auth_generic.c:147(auth3_generate_session_info_pac)
? auth3_generate_session_info_pac: Failed to map kerberos principal to
system user (NT_STATUS_LOGON_FAILURE)
[2020/01/05 11:21:46.489436,? 3]
../source3/smbd/smb2_server.c:3190(smbd_smb2_request_error_ex)
? smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
status[NT_STATUS_ACCESS_DENIED] || at ../source3/smbd/smb2_sesssetup.c:137
[2020/01/05 11:21:46.490916,? 3]
../source3/smbd/smb2_server.c:3190(smbd_smb2_request_error_ex)
? smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
status[NT_STATUS_OBJECT_NAME_NOT_FOUND] || at
../source3/smbd/smb2_create.c:296
Le 03/01/2020 ? 20:29, Rowland penny via samba a ?crit?:> On 03/01/2020 17:53, Ni Co via samba wrote:
>> Hello,
>>
>> First of all : Happy New Year to you all :-)
>>
>> I need your help for a problem.
>>
>> I've 2 servers on CentOS 7: a Samba DC+AD and a Samba Files
Sharing.
>>
>> In the Samba file sharing server, all data is store in a RAID Disk
>> partition wich is mounted in /data/ (fstab :
>> UUID=a47ea879-7072-4e8f-a668-3f5a86e58ef2 /data ext4
>> defaults,user_xattr,acl,barrier=1?? ?1 2).
> The ext4 defaults contain 'user_xattr, acl and barrier=1'? so you
> shouldn't set them.
>> Samba log file :
>>
>> [2019/12/31 23:09:18.415104,? 2]
>> ../source3/smbd/open.c:4032(open_directory)
>> ? ? open_directory: unable to create
>> user/.system/Thunderbird/profile.default-release.
>>
>> smb.conf of files sharing server :
>> ---
>>
>> [users]
>> comment = User Home Folder
>> path = /data/homes/
>> read only = no
>> follow symlinks = yes
>> wide links = yes
>> browseable = no
>> hide files = /desktop.ini/$RECYCLE.BIN/
>> ---
>
> I do not think that path is helping, try it with:
>
> path = /data/homes/%U
>
> Also why do you need 'wide links' ?
>
> Rowland
>
>
>