missing DisplaySpecifiers

Bug #592882 reported by Dawid Olesinski on 2010-06-11
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
samba
Fix Released
High
Jelmer Vernooij
samba4 (Ubuntu)
Undecided
Jelmer Vernooij

Bug Description

Binary package hint: samba4

As long as copy DisplaySpecifiers from source code into /usr/share/samba/setup solves the problem i cant make operational.so module to work. Also provision.py needs to be edited in order to find setup folder. operational.so complaint about undefined symbol: samdb_search_count.

Description: Ubuntu 10.04 LTS
Release: 10.04

4.0.0~alpha8+git20090912-1

someuser@somehost:/usr/share/samba$ sudo ./setup/provision --realm=somedomain.somehost.org --domain=somedom --adminpass=xxxxxxxx --server-role='domain controller'
[sudo] password for somehost:
Setting up secrets.ldb
unable to load operational from /usr/lib/samba/ldb/operational.so: /usr/lib/samba/ldb/operational.so: undefined symbol: samdb_search_count
WARNING: Module [operational] not found
Setting up the registry
Setting up idmap db
Setting up SAM db
Setting up sam.ldb partitions and settings
Setting up sam.ldb rootDSE
Pre-loading the Samba 4 and AD schema
unable to load operational from /usr/lib/samba/ldb/operational.so: /usr/lib/samba/ldb/operational.so: undefined symbol: samdb_search_count
WARNING: Module [operational] not found
naming_fsmo_init: no partitions dn present: (skip loading of naming contexts details)

pdc_fsmo_init: no domain object present: (skip loading of domain details)

Erasing data from partitions
Adding DomainDN: DC=somedomain,DC=somehost,DC=org
Modifying DomainDN: DC=somedomain,DC=somehost,DC=org
Adding configuration container
Modifying configuration container
Setting up sam.ldb schema
Setting up sam.ldb configuration data
Setting up display specifiers
Adding users container
Modifying users container
Adding computers container
Modifying computers container
Setting up sam.ldb data
Traceback (most recent call last):
  File "./setup/provision", line 201, in <module>
    ldap_dryrun_mode=opts.ldap_dryrun_mode)
  File "/usr/lib/python2.6/dist-packages/samba/provision.py", line 1172, in provision
    serverrole=serverrole, ldap_backend=provision_backend)
  File "/usr/lib/python2.6/dist-packages/samba/provision.py", line 974, in setup_samdb
    "POLICYGUID_DC": policyguid_dc
  File "/usr/lib/python2.6/dist-packages/samba/provision.py", line 262, in setup_add_ldif
    ldb.add_ldif(data)
  File "/usr/lib/python2.6/dist-packages/samba/__init__.py", line 244, in add_ldif
    self.add(msg)
_ldb.LdbError: (68, 'Entry CN=Builtin,DC=somedomain,DC=somehost,DC=org already exists')

Yu - Sian , Liu (thomasysliu) wrote :

liu@ysliu-desktop:/usr/lib/python2.6/dist-packages/samba$ sudo /usr/share/samba/setup/provision --realm=SAMBA4.MYDOMAIN.ORG --domain=SAMBA4DOM --adminpass=samba4 --server-role='domain controller'
Setting up secrets.ldb
unable to load operational from /usr/lib/samba/ldb/operational.so: /usr/lib/samba/ldb/operational.so: undefined symbol: samdb_search_count
WARNING: Module [operational] not found
Setting up the registry
Setting up idmap db
Setting up SAM db
Setting up sam.ldb partitions and settings
Setting up sam.ldb rootDSE
Pre-loading the Samba 4 and AD schema
unable to load operational from /usr/lib/samba/ldb/operational.so: /usr/lib/samba/ldb/operational.so: undefined symbol: samdb_search_count
WARNING: Module [operational] not found
naming_fsmo_init: no partitions dn present: (skip loading of naming contexts details)

pdc_fsmo_init: no domain object present: (skip loading of domain details)

Erasing data from partitions
Adding DomainDN: DC=samba4,DC=mydomain,DC=org
Modifying DomainDN: DC=samba4,DC=mydomain,DC=org
Adding configuration container
Modifying configuration container
Setting up sam.ldb schema
Setting up sam.ldb configuration data
Setting up display specifiers
Traceback (most recent call last):
  File "/usr/share/samba/setup/provision", line 201, in <module>
    ldap_dryrun_mode=opts.ldap_dryrun_mode)
  File "/usr/lib/python2.6/dist-packages/samba/provision.py", line 1172, in provision
    serverrole=serverrole, ldap_backend=provision_backend)
  File "/usr/lib/python2.6/dist-packages/samba/provision.py", line 950, in setup_samdb
    display_specifiers_ldif = read_ms_ldif(setup_path('display-specifiers/DisplaySpecifiers-Win2k8R2.txt'))
  File "/usr/lib/python2.6/dist-packages/samba/ms_display_specifiers.py", line 173, in read_ms_ldif
    f = open(filename, "rU")
IOError: [Errno 2] No such file or directory: '/usr/share/samba/setup/display-specifiers/DisplaySpecifiers-Win2k8R2.txt'

Jelmer Vernooij (jelmer) on 2010-10-15
Changed in samba:
status: New → Fix Released
assignee: nobody → Jelmer Vernooij (jelmer)
importance: Undecided → High
Jelmer Vernooij (jelmer) on 2011-01-02
summary: - Samba4 "operational.so" bug + missing DisplaySpecifiers
+ missing DisplaySpecifiers
Changed in samba4 (Ubuntu):
assignee: nobody → Jelmer Vernooij (jelmer)
status: New → In Progress
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package samba4 - 4.0.0~alpha15~git20110124.dfsg1-2

---------------
samba4 (4.0.0~alpha15~git20110124.dfsg1-2) experimental; urgency=low

  * Build-depend on newer version of heimdal-multidev with fixed kdc.h.
  * Build-depend on versioned libkdc2-heimdal which includes kdc_log. Closes: #611112

samba4 (4.0.0~alpha15~git20110124.dfsg1-1) experimental; urgency=low

  * New upstream snapshot.
   + Removes unresolved symbols from libraries.
     Closes: #596690, #599075, #602855. LP: #658116, #592882, #646042
  * Add dependency on comerr-dev.
  * Update Spanish Debconf translation. Thanks Ricardo Fraile. Closes: #596075
  * Update Danish debconf translation. Thanks Joe Dalton. Closes:
    #598779
  * Re-remove non-free IETF RFCs, add test to prevent future regression.
    Closes: #547280
  * Depend on libreadline-dev rather than libreadline5-dev. Closes: #553846
  * Upgrade provision data between releases. Closes: #600117
 -- Jelmer Vernooij <email address hidden> Tue, 25 Jan 2011 09:22:16 -0800

Changed in samba4 (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers