Jarosław Kłopotek - INTERDUO
2024-Apr-19 07:59 UTC
[Samba] Samba-tool gpo manage - The authenticated user does not have sufficient privileges
W dniu 18.04.2024 o?18:11, David Mulder via samba pisze:> On 4/18/24 1:03 AM, Jaros?aw K?opotek - INTERDUO via samba wrote: >> Hi all, >> >> I run cmd: >> samba-tool gpo manage scripts startup add \ >> {31B2F340-016D-11D2-945F-00C04FB984F9} \ >> /var/lib/samba/sysvol/fartest.local/scripts/startup.bat >> >> with result: >> [cut] >> ERROR: The authenticated user does not have sufficient privileges >> ? File "/usr/lib/python3/dist-packages/samba/netcmd/gpo.py", line >> 3230, in run >> ??? create_directory_hier(conn, vgp_dir) >> ? File "/usr/lib/python3/dist-packages/samba/netcmd/gpo.py", line >> 383, in create_directory_hier >> ??? conn.mkdir(path) >> signed SMB2 message (sign_algo_id=2) > > You've authenticated an SMB session, and your user is attempting to > create a directory on the share, but is getting a permissions error. > If this is happening for the Administrator, then you clearly have a > permissions issue on your sysvol share. Try running `samba-tool ntacl > sysvolreset`.This not helped ... but adding read only = no in [sysvol] share helped. Thanks for leading to solution. -- Jaros?aw K?opotek, kom. +48 607 893 111
Jarosław Kłopotek - INTERDUO
2024-Apr-19 08:33 UTC
[Samba] Samba-tool gpo manage - The authenticated user does not have sufficient privileges
W dniu 19.04.2024 o?09:59, Jaros?aw K?opotek - INTERDUO via samba pisze:> W dniu 18.04.2024 o?18:11, David Mulder via samba pisze: >> On 4/18/24 1:03 AM, Jaros?aw K?opotek - INTERDUO via samba wrote: >>> Hi all, >>> >>> I run cmd: >>> samba-tool gpo manage scripts startup add \ >>> {31B2F340-016D-11D2-945F-00C04FB984F9} \ >>> /var/lib/samba/sysvol/fartest.local/scripts/startup.bat >>> >>> with result: >>> [cut] >>> ERROR: The authenticated user does not have sufficient privileges >>> ? File "/usr/lib/python3/dist-packages/samba/netcmd/gpo.py", line >>> 3230, in run >>> ??? create_directory_hier(conn, vgp_dir) >>> ? File "/usr/lib/python3/dist-packages/samba/netcmd/gpo.py", line >>> 383, in create_directory_hier >>> ??? conn.mkdir(path) >>> signed SMB2 message (sign_algo_id=2) >> >> You've authenticated an SMB session, and your user is attempting to >> create a directory on the share, but is getting a permissions error. >> If this is happening for the Administrator, then you clearly have a >> permissions issue on your sysvol share. Try running `samba-tool ntacl >> sysvolreset`. > This not helped ... but adding read only = no in [sysvol] share helped. > Thanks for leading to solution.And I also changed -UAdministrator to -Uadministrator. -- Jaros?aw K?opotek, kom. 607 893 111
Apparently Analagous Threads
- Samba-tool gpo manage - The authenticated user does not have sufficient privileges
- Samba-tool gpo manage - The authenticated user does not have sufficient privileges
- Samba-tool gpo manage - The authenticated user does not have sufficient privileges
- Samba-tool gpo manage - The authenticated user does not have sufficient privileges
- Samba-tool gpo manage - The authenticated user does not have sufficient privileges