Bug 14665 - samba-gpupdate fails to fetch GPOs due to case-sensitive SysVol path
Summary: samba-gpupdate fails to fetch GPOs due to case-sensitive SysVol path
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Winbind (show other bugs)
Version: 4.14.0rc4
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Karolin Seeger
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-11 10:37 UTC by Stefan Kania
Modified: 2021-04-20 10:09 UTC (History)
1 user (show)

See Also:


Attachments
fix for 4.14, cherry-picked from master (3.47 KB, patch)
2021-03-25 18:11 UTC, Björn Baumbach
bbaumbach: review+
dmulder: review+
bbaumbach: ci-passed+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Kania 2021-03-11 10:37:05 UTC
Testing the new Linux-GPO stuff I found out that the GPOs not working. The problem is, that samba writes the new GPO to "/var/lib/samba/sysvol/example.net/SysVol". The following workaround helps:
mkdir /var/lib/samba/sysvol/example.net/SysVol
cd /var/lib/samba/sysvol/example.net/SysVol
ln -s ../../example.net/ example.net

Then it's possible to read the GPO with "samba-gpupdate --force" on a client
Comment 1 Samba QA Contact 2021-03-11 21:42:04 UTC
This bug was referenced in samba master:

554f2134a9f9638ebd8ac2500e5b6c94b74c27d5
Comment 2 Björn Baumbach 2021-03-25 18:11:18 UTC
Created attachment 16572 [details]
fix for 4.14, cherry-picked from master

CI passed:
https://gitlab.com/samba-team/devel/samba/-/pipelines/276477058
Comment 3 Karolin Seeger 2021-03-31 09:08:03 UTC
Pushed to autobuild-v4-14-test.
Comment 4 Samba QA Contact 2021-03-31 11:11:12 UTC
This bug was referenced in samba v4-14-test:

702e0c55989b9e2975eb761c6776d3b866ee512f
Comment 5 Karolin Seeger 2021-04-01 10:28:26 UTC
Closing out bug report.

Thanks!
Comment 6 Samba QA Contact 2021-04-20 10:09:50 UTC
This bug was referenced in samba v4-14-stable (Release samba-4.14.3):

702e0c55989b9e2975eb761c6776d3b866ee512f