[Pkg-samba-maint] Bug#918141: Bug#918141: samba-common: samba-tool domain provision fails due to missing ad-schema files

L.P.H. van Belle belle at bazuin.nl
Mon Jan 7 09:14:45 GMT 2019


Hai, 

Can you verify that the packages "samba" is installed.

https://packages.debian.org/search?suite=buster&arch=any&mode=exactfilename&searchon=contents&keywords=Attributes_for_AD_DS__Windows_Server_2008_R2.ldf 

Package samba contains : 
/usr/share/samba/setup/ad-schema/Attributes_for_AD_DS__Windows_Server_2008_R2.ldf  


Greetz, 

Louis


> -----Oorspronkelijk bericht-----
> Van: Pkg-samba-maint 
> [mailto:pkg-samba-maint-bounces+belle=bazuin.nl at alioth-lists.d
> ebian.net] Namens Bowland
> Verzonden: donderdag 3 januari 2019 20:31
> Aan: Debian Bug Tracking System
> Onderwerp: [Pkg-samba-maint] Bug#918141: samba-common: 
> samba-tool domain provision fails due to missing ad-schema files
> 
> 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__Window
> s_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
> _______________________________________________
> Pkg-samba-maint mailing list
> Pkg-samba-maint at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-s
> amba-maint
> 



More information about the Pkg-samba-maint mailing list