[Pkg-samba-maint] Bug#918141: samba-common: samba-tool domain provision fails due to missing ad-schema files
Bowland
bowland at mailbox.org
Thu Jan 3 19:31:16 GMT 2019
Package: samba-common
Version: 2:4.9.4+dfsg-1
Severity: normal
xxx at laptop:/usr/share/samba# samba-tool domain provision
Realm: domain.de
Domain [domain]:
Server Role (dc, member, standalone) [dc]:
DNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE) [SAMBA_INTERNAL]:
DNS forwarder IP address (write 'none' to disable forwarding) [192.168.188.1]:
Administrator password:
Retype password:
Looking up IPv4 addresses
Looking up IPv6 addresses
ERROR(<type 'exceptions.IOError'>): uncaught exception - [Errno 2] No such file or directory: '/usr/share/samba/setup/ad-schema/Attributes_for_AD_DS__Windows_Server_2008_R2.ldf'
File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 177, in _run
return self.run(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 538, in run
backend_store=backend_store)
File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 2218, in provision
schemadn=names.schemadn, base_schema=base_schema)
File "/usr/lib/python2.7/dist-packages/samba/schema.py", line 110, in __init__
setup_path('ad-schema/%s' % Schema.base_schemas[base_schema][1]))
File "/usr/lib/python2.7/dist-packages/samba/ms_schema.py", line 308, in read_ms_schema
attr_ldif = __parse_schema_file(attr_file, "attributeSchema")
File "/usr/lib/python2.7/dist-packages/samba/ms_schema.py", line 294, in __parse_schema_file
f = open(filename, "rU")
-- Package-specific info:
* /etc/samba/smb.conf present, and attached
* /var/lib/samba/dhcp.conf present, and attached
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (1001, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.18.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages samba-common depends on:
ii debconf [debconf-2.0] 1.5.69
ii dpkg 1.19.2
ii ucf 3.0038+nmu1
Versions of packages samba-common recommends:
ii samba-common-bin 2:4.9.4+dfsg-1
samba-common suggests no packages.
-- debconf information:
samba-common/do_debconf: true
samba-common/title:
samba-common/workgroup: WORKGROUP
* samba-common/dhcp: false
-------------- next part --------------
# Global parameters
[global]
dns forwarder = 192.168.188.1
netbios name = LAPTOP
realm = DOMAIN.DE
server role = active directory domain controller
workgroup = DOMAIN
[netlogon]
path = /var/lib/samba/sysvol/domain.de/scripts
read only = No
[sysvol]
path = /var/lib/samba/sysvol
read only = No
More information about the Pkg-samba-maint
mailing list