[Samba] gpo update problem
Bob of Donelson Trophy
bob at donelsontrophy.net
Mon Feb 16 05:41:03 MST 2015
More searching and I have found this however it did not connect to a
solution:
https://lists.samba.org/archive/samba/2013-December/177406.html
Still searching . . .
---
-------------------------
Bob Wooden of Donelson Trophy
615.885.2846 (main)
www.donelsontrophy.com [1]
"Everyone deserves an award!!"
On 2015-02-15 21:07, Bob of Donelson Trophy wrote:
> I have setup 'profiles' and 'home share' per the instructions on Samba
> wiki. That seemed to go fine.
>
> When I moved on to 'folder re-direction' I tried to open GPO management
> on my W7 client and received a "User policy could not be updated
> successfully . . ." on the windows CP console. Started googling the
> error and ran into "samba-tool ntacl sysvolcheck" so, I ran it and got
> this:
>
> root at dc01:~# samba-tool ntacl sysvolcheck
> ERROR(<type 'exceptions.TypeError'>): uncaught exception - (2, 'No such
> file or directory')
> File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line
> 175, in _run
> return self.run(*args, **kwargs)
> File "/usr/lib/python2.7/dist-packages/samba/netcmd/ntacl.py", line
> 249, in run
> lp)
> File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py",
> line 1717, in checksysvolacl
> fsacl = getntacl(lp, dir_path, direct_db_access=direct_db_access,
> service=SYSVOL_SERVICE)
> File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", line 73, in
> getntacl
> xattr.XATTR_NTACL_NAME)
>
> I see "py" which is python so, I am scratching my head. I ran:
>
> root at dc01:~# samba-tool ntacl sysvolreset
> ERROR(<type 'exceptions.OSError'>): uncaught exception - [Errno 2] No
> such file or directory: '/home/samba/sysvol/sysvol/tmpzhDFKI'
> File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line
> 175, in _run
> return self.run(*args, **kwargs)
> File "/usr/lib/python2.7/dist-packages/samba/netcmd/ntacl.py", line
> 218, in run
> lp, use_ntvfs=use_ntvfs)
> File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py",
> line 1539, in setsysvolacl
> file = tempfile.NamedTemporaryFile(dir=os.path.abspath(sysvol))
> File "/usr/lib/python2.7/tempfile.py", line 454, in NamedTemporaryFile
> (fd, name) = _mkstemp_inner(dir, prefix, suffix, flags)
> File "/usr/lib/python2.7/tempfile.py", line 235, in _mkstemp_inner
> fd = _os.open(file, flags, 0600)
>
> Anyone got an idea what this means? Maybe I am running the command
> incorrectly? But, I don't think so.
>
> --
>
> -------------------------
>
> Bob Wooden of Donelson Trophy
>
> 615.885.2846 (main)
> www.donelsontrophy.com [1] [1 [1]]
>
> "Everyone deserves an award!!"
>
> Links:
> ------
> [1] http://www.donelsontrophy.com [1]
Links:
------
[1] http://www.donelsontrophy.com
More information about the samba
mailing list