[Samba] samba-tool gpo aclcheck error

L.P.H. van Belle belle at bazuin.nl
Thu Dec 12 03:50:39 MST 2013


Ok, 1 step further. 

i found these. ( auth.log ) 

ok, the following commands give the following errors 
samba-tool gpo aclcheck
Dec 12 09:22:54 samba4 python2.7: canonuserfunc error -7
Dec 12 09:22:54 samba4 python2.7: _sasl_plugin_load failed on sasl_canonuser_init for plugin: ldapdb

samba-tool ntacl sysvolcheck
Dec 12 11:46:27 samba4  smbd[24779]: canonuserfunc error -7
Dec 12 11:46:27 samba4  smbd[24779]: _sasl_plugin_load failed on sasl_canonuser_init for plugin: ldapdb

and seen. 
Dec 12 11:41:28 samba4  samba[24716]: canonuserfunc error -7
Dec 12 11:41:28 samba4  samba[24716]: _sasl_plugin_load failed on sasl_canonuser_init for plugin: ldapdb

anyone else seen this. 
Im not a programmer, so a bit help would be nice. 
I've reset my pam to system defaults again, didn't fix it. 

Louis



>-----Oorspronkelijk bericht-----
>Van: belle at bazuin.nl [mailto:samba-bounces at lists.samba.org] 
>Namens L.P.H. van Belle
>Verzonden: donderdag 12 december 2013 9:31
>Aan: samba at lists.samba.org
>Onderwerp: Re: [Samba] samba-tool gpo aclcheck error
>
>ok, forget the kinit. my fault, ( domain not in caps ) 
>
>but message checkes a bit, anybody any idee whats going on? 
>
>after kinit administrator.. ( and tested ok with klist ) 
>
> samba-tool gpo aclcheck
>ERROR(<type 'exceptions.KeyError'>): uncaught exception - 'No 
>such element'
>  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/gpo.py", 
>line 1150, in run
>    ds_sd_ndr = m['nTSecurityDescriptor'][0]
>
>
>samba-tool ntacl sysvolreset
>open: error=2 (No such file or directory)
>ERROR(runtime): uncaught exception - (-1073741823, 
>'Undetermined error')
>  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 1581, 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 1499, 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 154, in setntacl
>    smbd.set_nt_acl(file, security.SECINFO_OWNER | 
>security.SECINFO_GROUP | security.SECINFO_DACL | 
>security.SECINFO_SACL, sd, service=service)
>
>Before the kinit. 
>
>samba-tool gpo aclcheck
>ERROR(runtime): uncaught exception - (-1073741766, 
>'NT_STATUS_OBJECT_PATH_NOT_FOUND')
>  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/gpo.py", 
>line 1148, in run
>    fs_sd = conn.get_acl(sharepath, security.SECINFO_OWNER | 
>security.SECINFO_GROUP | security.SECINFO_DACL, 
>security.SEC_FLAG_MAXIMUM_ALLOWED)
>
>
>samba-tool ntacl sysvolreset
>open: error=2 (No such file or directory)
>ERROR(runtime): uncaught exception - (-1073741823, 
>'Undetermined error')
>  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 1581, 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 1499, 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 154, in setntacl
>    smbd.set_nt_acl(file, security.SECINFO_OWNER | 
>security.SECINFO_GROUP | security.SECINFO_DACL | 
>security.SECINFO_SACL, sd, service=service)
>
>
>
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/options/samba
>
>



More information about the samba mailing list