Hello list, today I update de the version of samba, 4.2.3, when I run this tool, I have this error. 1) - ./samba-tool gpo aclcheck ldb_wrap open of secrets.ldb GENSEC backend 'gssapi_spnego' registered GENSEC backend 'gssapi_krb5' registered GENSEC backend 'gssapi_krb5_sasl' registered GENSEC backend 'spnego' registered GENSEC backend 'schannel' registered GENSEC backend 'naclrpc_as_system' registered GENSEC backend 'sasl-EXTERNAL' registered GENSEC backend 'ntlmssp' registered GENSEC backend 'http_basic' registered GENSEC backend 'http_ntlm' registered GENSEC backend 'krb5' registered GENSEC backend 'fake_gssapi_krb5' registered resolve_lmhosts: Attempting lmhosts lookup for name _ldap._tcp.ECCMG.CUPET.CU resolve_lmhosts: Attempting lmhosts lookup for name _ldap._tcp.ECCMG.CUPET.CU resolve_lmhosts: Attempting lmhosts lookup for name samba.eccmg.cupet.cu resolve_lmhosts: Attempting lmhosts lookup for name samba.eccmg.cupet.cu ERROR(): uncaught exception - 'No such element' File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/gpo.py", line 1150, in run ds_sd_ndr = m['nTSecurityDescriptor'][0] 2)- ./samba-tool ntacl sysvolcheck lp_load_ex: refreshing parameters Initialising global parameters rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) Processing section "[global]" Processing section "[netlogon]" Processing section "[sysvol]" ldb_wrap open of idmap.ldb ERROR(): uncaught exception - (2, 'No such file or directory') File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/ntacl.py", line 249, in run lp) File "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 1730, in checksysvolacl direct_db_access) File "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 1681, in check_gpos_acl domainsid, direct_db_access) ile "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 1625, in check_dir_acl fsacl = getntacl(lp, path, direct_db_access=direct_db_access, service=SYSVOL_SERVICE) File "/usr/local/samba/lib/python2.7/site-packages/samba/ntacls.py", line 73, in getntacl xattr.XATTR_NTACL_NAME) 3)- ./samba-tool ntacl sysvolreset lp_load_ex: refreshing parameters Initialising global parameters rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) Processing section "[global]" Processing section "[netlogon]" Processing section "[sysvol]" ldb_wrap open of idmap.ldb lp_load_ex: refreshing parameters Processing section "[global]" Processing section "[netlogon]" Processing section "[sysvol]" Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Module 'acl_xattr' loaded Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service Unknown Service (snum == -1) Initialising default vfs hooksconnect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol open: error=2 (No such file or directory) ERROR(runtime): uncaught exception - (-1073741823, 'Undetermined error') File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib/python2.7/site-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 1616, 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 1521, in set_gpos_acl passdb=passdb) File "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 1484, in set_dir_acl setntacl(lp, path, acl, domsid, use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=passdb, service=service) 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, service=service)
most people sadly don't own a crystal ball * what operating system * what was the previous version * self compiled or packages * how does your overall setup look like Am 11.08.2015 um 19:42 schrieb sandy.napoles at eccmg.cupet.cu:> Hello list, today I update de the version of samba, 4.2.3, when I run this tool, I have this error. > > 1) - ./samba-tool gpo aclcheck > ldb_wrap open of secrets.ldb > GENSEC backend 'gssapi_spnego' registered > GENSEC backend 'gssapi_krb5' registered > GENSEC backend 'gssapi_krb5_sasl' registered > GENSEC backend 'spnego' registered > GENSEC backend 'schannel' registered > GENSEC backend 'naclrpc_as_system' registered > GENSEC backend 'sasl-EXTERNAL' registered > GENSEC backend 'ntlmssp' registered > GENSEC backend 'http_basic' registered > GENSEC backend 'http_ntlm' registered > GENSEC backend 'krb5' registered > GENSEC backend 'fake_gssapi_krb5' registered > resolve_lmhosts: Attempting lmhosts lookup for name _ldap._tcp.ECCMG.CUPET.CU > resolve_lmhosts: Attempting lmhosts lookup for name _ldap._tcp.ECCMG.CUPET.CU > resolve_lmhosts: Attempting lmhosts lookup for name samba.eccmg.cupet.cu > resolve_lmhosts: Attempting lmhosts lookup for name samba.eccmg.cupet.cu > ERROR(): uncaught exception - 'No such element' > File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run > return self.run(*args, **kwargs) > File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/gpo.py", line 1150, in run > ds_sd_ndr = m['nTSecurityDescriptor'][0] > > 2)- ./samba-tool ntacl sysvolcheck > lp_load_ex: refreshing parameters > Initialising global parameters > rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) > Processing section "[global]" > Processing section "[netlogon]" > Processing section "[sysvol]" > ldb_wrap open of idmap.ldb > ERROR(): uncaught exception - (2, 'No such file or directory') > File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run > return self.run(*args, **kwargs) > File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/ntacl.py", line 249, in run > lp) > File "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 1730, in checksysvolacl > direct_db_access) > File "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 1681, in check_gpos_acl > domainsid, direct_db_access) > ile "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 1625, in check_dir_acl > fsacl = getntacl(lp, path, direct_db_access=direct_db_access, service=SYSVOL_SERVICE) > File "/usr/local/samba/lib/python2.7/site-packages/samba/ntacls.py", line 73, in getntacl > xattr.XATTR_NTACL_NAME) > > 3)- ./samba-tool ntacl sysvolreset > lp_load_ex: refreshing parameters > Initialising global parameters > rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) > Processing section "[global]" > Processing section "[netlogon]" > Processing section "[sysvol]" > ldb_wrap open of idmap.ldb > lp_load_ex: refreshing parameters > Processing section "[global]" > Processing section "[netlogon]" > Processing section "[sysvol]" > Initialising default vfs hooks > Initialising custom vfs hooks from [/[Default VFS]/] > Initialising custom vfs hooks from [acl_xattr] > Module 'acl_xattr' loaded > Initialising custom vfs hooks from [dfs_samba4] > connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service Unknown Service (snum == -1) > Initialising default vfs hooksconnect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol > open: error=2 (No such file or directory) > ERROR(runtime): uncaught exception - (-1073741823, 'Undetermined error') > File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run > return self.run(*args, **kwargs) > File "/usr/local/samba/lib/python2.7/site-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 1616, 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 1521, in set_gpos_acl > passdb=passdb) > File "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 1484, in set_dir_acl > setntacl(lp, path, acl, domsid, use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=passdb, service=service) > 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, service=service)-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20150811/382821fb/signature.sig>
Sorry 1 * what operating system = Debian 7 2 * what was the previous version = 4.2.1 3 * self compiled or packages = Download the last version from www.samba.org and ./configure & make & make-install
If your using debian, best is to use the sernet packages then imo. Andf without any smb.conf we are still not able to help out. I see : Initialising default vfs hooksconnect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol for sysvol ?? im use-ing for sysvol for example. [sysvol] path = /home/samba/sysvol read only = No acl_xattr:ignore system acls = yes acl_xattr:ignore, because of only windows pc's are connecting to sysvol.. so im saying your smb.conf is setup wrong. Greetz, Louis>-----Oorspronkelijk bericht----- >Van: samba [mailto:samba-bounces at lists.samba.org] Namens >sandy.napoles at eccmg.cupet.cu >Verzonden: dinsdag 11 augustus 2015 20:04 >Aan: samba at lists.samba.org >Onderwerp: Re: [Samba] Error > >Sorry > >1 * what operating system = Debian 7 >2 * what was the previous version = 4.2.1 >3 * self compiled or packages = Download the last >version from www.samba.org and ./configure & make & make-install > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > >
My smb.conf # Global parameters [global] workgroup = domain realm = domain.cu netbios name = SAMBA server role = active directory domain controller server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, ntp_signd, kcc, dnsupdate idmap_ldb:use rfc2307 = yes printcap name = /dev/null load printers = no printing = bsd template shell = /bin/bash #--Debug Logging Information log file = /usr/local/samba/var/LOGS/%U.%m.log log level = 3 debug timestamp = yes syslog = 3 debug uid = Yes debug pid = Yes [netlogon] path = /usr/local/samba/var/locks/sysvol/eccmg.cupet.cu/scripts read only = No [sysvol] path = /usr/local/samba/var/locks/sysvol read only = No> for sysvol ?? > im use-ing for sysvol for example. > [sysvol] > path = /home/samba/sysvol > read only = No > acl_xattr:ignore system acls = yes > acl_xattr:ignore, because of only windows pc's are connecting to sysvol.. > > so im saying your smb.conf is setup wrong. > > Greetz, > > Louis > >> -----Oorspronkelijk bericht----- >> Van: samba [mailto:samba-bounces at lists.samba.org] Namens >> sandy.napoles at eccmg.cupet.cu >> Verzonden: dinsdag 11 augustus 2015 20:04 >> Aan: samba at lists.samba.org >> Onderwerp: Re: [Samba] Error >> >> Sorry >> >> 1 * what operating system = Debian 7 >> 2 * what was the previous version = 4.2.1 >> 3 * self compiled or packages = Download the last >> version from www.samba.org and ./configure & make & make-install >> >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba