LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Windows APPCRASH when opening security tab on Samba share (https://www.linuxquestions.org/questions/linux-server-73/windows-appcrash-when-opening-security-tab-on-samba-share-4175731863/)

mfoley 12-16-2023 11:26 AM

Windows APPCRASH when opening security tab on Samba share
 
I don't know if this is a Windows or Linux question, but I'll start here as LQ people usually have the answers.

I have a new Samba file server. In Windows (10) Explorer, I can open the share with \\dc1.hprs.locl, and I see my folders. One folder is named 'Users' I can put files into that folder, no problem. However if I right-click on 'Users > Properties > Security, Explorer crashes. This does not happen on the other two folder (sysvol and netlogin). I find nothing in the Linux log files. The Windows event log gives
Code:

- System 
 - Provider 
  [ Name]  Windows Error Reporting 
 - EventID 1001 
  [ Qualifiers]  0 
  Version 0 
  Level 4 
  Task 0 
  Opcode 0 
  Keywords 0x80000000000000 
 
 - TimeCreated 
  [ SystemTime]  2023-12-16T17:11:01.0393392Z 
  EventRecordID 86110 
  Correlation 
 
 - Execution 
  [ ProcessID]  0 
  [ ThreadID]  0 
 
  Channel Application 
  Computer doris.hprs.locl 
  Security 

- EventData 
  1935668344092221582 
  4 
  APPCRASH 
  Not available 
  0 
  explorer.exe 
  10.0.19041.3758 
  bf79d152 
  StackHash_7047 
  10.0.19041.3636 
  9b64aa6f 
  c0000374 
  PCH_BD_FROM_ntdll+0x000000000009DB34 
   
  \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERF6C4.tmp.WERInternalMetadata.xml 
  \\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_explorer.exe_d4d12b826a305761b6bd859c52427f8942c15b2_6609badb_bc335dbb-a943-4c33-8a8f-e3db68dd5f27 
   
  0 
  4f823e91-a71f-49cd-93c3-351731eb5759 
  268435456 
  f22130602afd3cca5adce01a7495e08e 
  0

Permissions on the share are:
Code:

# ls -l -R /redirectedFolders/
/redirectedFolders/:
total 4
drwxrwxr-x 2 root root 4096 2023-12-16 11:47 Users/

/redirectedFolders/Users:
total 8
-rwxrwxr-x+ 1 3000000 users 17 2023-12-16 11:47 testing.txt*

Note that the testing.txt file is one I created from the Windows computer, so it would appear at least write permissions exist.

Any idea what's up with this?

mfoley 12-17-2023 12:22 AM

I got this fixed! Since sysvol and netlogin folders didn't crash when I selected their Properties > Security, I reasoned there must be something about permissions or ownership afoot. Sure enough:
Code:

# ls -ld /var/lib/samba/sysvol/

drwxrwx---+ 3 root 3000000 4096 2023-11-29 21:16 /var/lib/samba/sysvol/

Both of those directories, created by provisioning, are members of group 3000000 which I presume is some administrative group.

Cloning sysvol to Users solved the problem!
Code:

drwxrwx---+ 2 root 3000000 4096 2023-12-17 00:13 Users/


All times are GMT -5. The time now is 02:22 AM.