Displaying 20 results from an estimated 105 matches for "s4_passdb".
2013 Mar 26
1
Samba 4 LDAP NTLM password nightly injection
...y Python is rudimentary at best.
Here we go anyway... I've looked at the 'upgrade.py' but I can't seem to figure out how to connect to the Samba4 passwd database.
In the script I see these lines:
#######################################################
# Connect to samba4 backend
s4_passdb = passdb.PDB(new_lp_ctx.get("passdb backend"))
########################################################
I would appreciate a hint on how to connect to the database please. Where is the 'passdb' object referenced from?
Once that's done, from what I understand, I should be ab...
2016 Jun 10
2
Rsync GPOs Erro Sysvol
...2.7/site-packages/samba/netcmd/ntacl.py",
line 239, in run
lp, use_ntvfs=use_ntvfs)
File
"/opt/samba/lib/python2.7/site-packages/samba/provision/__init__.py",
line 1618, in setsysvolacl
set_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp,
use_ntvfs, passdb=s4_passdb)
File
"/opt/samba/lib/python2.7/site-packages/samba/provision/__init__.py",
line 1523, in set_gpos_acl
passdb=passdb)
File
"/opt/samba/lib/python2.7/site-packages/samba/provision/__init__.py",
line 1486, in set_dir_acl
setntacl(lp, path, acl, domsid, use_ntvf...
2013 Aug 30
1
Error on classicupgrade - Unable to get id for sid
...5, in upgrade_from_samba3
result.names.domaindn, result.lp, use_ntvfs)
File "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 1562, in setsysvolacl
setntacl(lp,sysvol, SYSVOL_ACL, str(domainsid), use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=s4_passdb)
File "/usr/local/samba/lib/python2.7/site-packages/samba/ntacls.py", line 154, in setntacl
smbd.set_nt_acl(file, security.SECINFO_OWNER | security.SECINFO_GROUP | security.SECINFO_DACL | security.SECINFO_SACL, sd)
Seems to be a problem with SID S-1-5-32-544 right?
router1:/usr/lo...
2016 Jun 14
4
Rsync GPOs Erro Sysvol
...; 239, in run
>> lp, use_ntvfs=use_ntvfs)
>> File
>> "/opt/samba/lib/python2.7/site-packages/samba/provision/__init__.py",
>> line 1618, in setsysvolacl
>> set_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp,
>> use_ntvfs, passdb=s4_passdb)
>> File
>> "/opt/samba/lib/python2.7/site-packages/samba/provision/__init__.py",
>> line 1523, in set_gpos_acl
>> passdb=passdb)
>> File
>> "/opt/samba/lib/python2.7/site-packages/samba/provision/__init__.py",
>> line 1486,...
2018 Sep 11
2
samba-tool ntacl sysvolreset, - open: error=2 (No such file or directory)
.../python2.7/site-packages/samba/netcmd/ntacl.py", line
239, in run
lp, use_ntvfs=use_ntvfs)
File "/usr/lib/python2.7/site-packages/samba/provision/__init__.py",
line 1686, in setsysvolacl
set_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp,
use_ntvfs, passdb=s4_passdb)
File "/usr/lib/python2.7/site-packages/samba/provision/__init__.py",
line 1579, in set_gpos_acl
use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=passdb,
service=SYSVOL_SERVICE)
File "/usr/lib/python2.7/site-packages/samba/ntacls.py", line 162, in
setntacl
...
2018 Jul 23
4
sysvolreset error '{Operation Failed} The requested operation was unsuccessful.'
.../python2.7/dist-packages/samba/netcmd/ntacl.py", line
239, in run
lp, use_ntvfs=use_ntvfs)
File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py",
line 1609, in setsysvolacl
set_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp,
use_ntvfs, passdb=s4_passdb)
File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py",
line 1502, in set_gpos_acl
use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=passdb,
service=SYSVOL_SERVICE)
File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", line 162, in
setntacl
...
2017 Jan 13
2
Problems joining a Samba DC to an existing active directory
...ite-packages/samba/netcmd/ntacl.py", line
239, in run
lp, use_ntvfs=use_ntvfs)
File
"/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py"
, line 1609, in setsysvolacl
set_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp,
use_ntvfs, passdb=s4_passdb)
File
"/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py"
, line 1502, in set_gpos_acl
use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=passdb,
service=SYSVOL_SERVICE)
File "/usr/local/samba/lib64/python2.7/site-packages/samba/ntacls.py",...
2017 May 16
3
Problems with sysvolcheck
...n2.7/site-packages/samba/netcmd/ntacl.py",
l
ine 239, in run lp, use_ntvfs=use_ntvfs) File
"/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py",
line 1618, in setsysvolacl set_gpos_acl(sysvol, dnsdomain,
domainsid, domaindn, samdb, lp, use_ntvfs, passdb=s4_passdb) File
"/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py",
line 1523, in set_gpos_acl
passdb=passdb) File
"/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.
py", line 1486, in set_dir_acl
setntacl(lp, path, acl, domsid, u...
2016 Jun 11
0
Rsync GPOs Erro Sysvol
...tacl.py",
> line 239, in run
> lp, use_ntvfs=use_ntvfs)
> File
> "/opt/samba/lib/python2.7/site-packages/samba/provision/__init__.py",
> line 1618, in setsysvolacl
> set_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp,
> use_ntvfs, passdb=s4_passdb)
> File
> "/opt/samba/lib/python2.7/site-packages/samba/provision/__init__.py",
> line 1523, in set_gpos_acl
> passdb=passdb)
> File
> "/opt/samba/lib/python2.7/site-packages/samba/provision/__init__.py",
> line 1486, in set_dir_acl
> setn...
2016 Jun 14
0
Rsync GPOs Erro Sysvol
...t; lp, use_ntvfs=use_ntvfs)
>>> File
>>> "/opt/samba/lib/python2.7/site-packages/samba/provision/__init__.py",
>>> line 1618, in setsysvolacl
>>> set_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp,
>>> use_ntvfs, passdb=s4_passdb)
>>> File
>>> "/opt/samba/lib/python2.7/site-packages/samba/provision/__init__.py",
>>> line 1523, in set_gpos_acl
>>> passdb=passdb)
>>> File
>>> "/opt/samba/lib/python2.7/site-packages/samba/provision/__init__.py"...
2017 Nov 13
2
Setting up Second Samba DC samba-tool ntacl sysvolreset fails
....7/site-packages/samba/netcmd/ntacl.py",
line 239, in run
lp, use_ntvfs=use_ntvfs)
File "/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py",
line 1609, in setsysvolacl
set_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp,
use_ntvfs, passdb=s4_passdb)
File "/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py",
line 1502, in set_gpos_acl
use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=passdb,
service=SYSVOL_SERVICE)
File "/usr/local/samba/lib64/python2.7/site-packages/samba/ntacls.py",
line...
2018 Mar 14
3
sysvolreset - open: error=40 (Too many levels of symbolic links)
...ot;, line
176, in _run
return self.run(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/ntacl.py", line 239,
in run
lp, use_ntvfs=use_ntvfs)
File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line
1600, in setsysvolacl
passdb=s4_passdb, service=SYSVOL_SERVICE)
File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", line 162, in
setntacl
smbd.set_nt_acl(file, security.SECINFO_OWNER | security.SECINFO_GROUP |
security.SECINFO_DACL | security.SECINFO_SACL, sd, service=service)
root at dc3:/etc/samba# samba-tool dbc...
2017 Dec 15
3
UID/GID -> SID -> NAME mapping across multiple DCs
Danke!
On Fri, Dec 15, 2017 at 1:03 PM, Rowland Penny via samba <
samba at lists.samba.org> wrote:
> On Fri, 15 Dec 2017 11:56:25 -0600
> Taylor Hammerling <thammerling at tcsbasys.com> wrote:
>
> > Interesting... How do I go about getting them/keeping them in sync?
> >
>
> see here:
>
> https://wiki.samba.org/index.php/Joining_a_Samba_DC_to_an_
>
2015 May 21
2
Problems with joining a second DC to AD
...ib64/python2.6/site-packages/samba/netcmd/ntacl.py", line 218, in run
??? lp, use_ntvfs=use_ntvfs)
? File "/usr/lib64/python2.6/site-packages/samba/provision/__init__.py", line 1612, in setsysvolacl
??? set_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp, use_ntvfs, passdb=s4_passdb)
? File "/usr/lib64/python2.6/site-packages/samba/provision/__init__.py", line 1505, in set_gpos_acl
??? use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=passdb, service=SYSVOL_SERVICE)
? File "/usr/lib64/python2.6/site-packages/samba/ntacls.py", line 154, in setntacl
??? sm...
2015 Feb 20
1
sysvolcheck results in 'No such file or directory'
...te-packages/samba/netcmd/ntacl.py",
line 218, in run
lp, use_ntvfs=use_ntvfs)
File
"/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py",
line 1612, in setsysvolacl
set_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp,
use_ntvfs, passdb=s4_passdb)
File
"/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py",
line 1505, in set_gpos_acl
use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=passdb,
service=SYSVOL_SERVICE)
File "/usr/local/samba/lib/python2.7/site-packages/samba/ntacls.py",
l...
2013 Dec 17
1
Samba classicupgrade problem
...ine 932,
in upgrade_from_samba3
result.names.domaindn, result.lp, use_ntvfs)
File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py",
line 1562, in setsysvolacl
setntacl(lp,sysvol, SYSVOL_ACL, str(domainsid),
use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=s4_passdb)
File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", line 154, in
setntacl
smbd.set_nt_acl(file, security.SECINFO_OWNER |
security.SECINFO_GROUP | security.SECINFO_DACL | security.SECINFO_SACL, sd)
Since I already had a good practice-classicupgrade, I compared my
"lo...
2017 Dec 15
1
UID/GID -> SID -> NAME mapping across multiple DCs
...ages/samba/netcmd/ntacl.py", line
> 239, in run
> lp, use_ntvfs=use_ntvfs)
> File
> "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line
> 1609, in setsysvolacl set_gpos_acl(sysvol, dnsdomain, domainsid,
> domaindn, samdb, lp, use_ntvfs, passdb=s4_passdb)
> File
> "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line
> 1514, in set_gpos_acl passdb=passdb)
> File
> "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line
> 1477, in set_dir_acl setntacl(lp, path, acl, domsid,
> u...
2019 Mar 26
5
Problem achieving manual synchronisation of idmap.ldb and the associated User and Group ID mappings between two Samba 4 AD DCs
.../python2.7/dist-packages/samba/netcmd/ntacl.py", line
239, in run
lp, use_ntvfs=use_ntvfs)
File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py",
line 1609, in setsysvolacl
set_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp,
use_ntvfs, passdb=s4_passdb)
File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py",
line 1502, in set_gpos_acl
use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=passdb,
service=SYSVOL_SERVICE)
File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", line 162, in
setntacl
...
2015 Apr 06
1
samba4 gpo update problem
....py",
> line 218, in run
> lp, use_ntvfs=use_ntvfs)
> File
> "/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py",
> line 1616, in setsysvolacl
> set_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp,
> use_ntvfs, passdb=s4_passdb)
> File
> "/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py",
> line 1509, in set_gpos_acl
> use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=passdb,
> service=SYSVOL_SERVICE)
> File "/usr/local/samba/lib64/python2.7/site-packag...
2017 May 19
0
Problems with sysvolcheck
.../ntacl.py",
> line 239, in run
> lp, use_ntvfs=use_ntvfs) File
> "/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py",
> line 1618, in setsysvolacl set_gpos_acl(sysvol, dnsdomain,
> domainsid, domaindn, samdb, lp, use_ntvfs, p
> assdb=s4_passdb)
> File
> "/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py",
> line 1523, in set_gpos_acl
> passdb=passdb) File
> "/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.
> py", line 1486, in set_dir_acl set...