NTDB progress!

rajZ support at remsnet.de
Fri Jan 3 13:29:06 MST 2014


Dear Rusty,

I am trying to fiddleing with an system-build ntdb 1.0  with rpmbuild on
opensuse 13.1 .
Maybe i am to far head-away and too fast :-).
I am preparing my osc based ( 10x RPI ) autobuild for pre samba 4.2.

self writen spec file at
https://github.com/remsnet/samba-dc-opensuse-RPi/blob/master/ntdb-1.0-oss13.1.spec
ntdb sources used from GIT git://git.debian.org/pkg-samba/ntdb.git

comparing the samba-4.1.3 ntdb( 0.9 ) with what i got at ntdb.git( ~1.0 ) :

when i install the  that system-ntdb rpm , 
and usee exclude ntdb from the buildin libaries ,
 samba-4.1.3   find the  ntdb.h  libs , 
 but at linking that failed  due the system-ntdb build miss the
libutil_ntdb.so due not build.

------------------------------------------------------------
ad1:/srv/PROJ/samba4.1/sources/ntdb # rpm --nodeps --noscripts --force -U
--root /srv/PROJ/samba4.1/sources/ntdb/a
/usr/src/packages/RPMS/armv6hl/ntdb-1.0-oss13.1.armv6hl.rpm
ad1:/srv/PROJ/samba4.1/sources/ntdb #  rpm --nodeps --noscripts --force -U
--root /srv/PROJ/samba4.1/sources/ntdb/a 
/usr/src/packages/RPMS/armv6hl/ntdb-utils-1.0-oss13.1.armv6hl.rpm
ad1:/srv/PROJ/samba4.1/sources/ntdb # rpm --nodeps --noscripts --force -U
--root /srv/PROJ/samba4.1/sources/ntdb/a
/usr/src/packages/RPMS/armv6hl/pyntdb-1.0-oss13.1.armv6hl.rpm
ad1:/srv/PROJ/samba4.1/sources/ntdb # rpm --nodeps --noscripts --force -U
--root /srv/PROJ/samba4.1/sources/ntdb/a
/usr/src/packages/RPMS/armv6hl/ntdb-devel-1.0-oss13.1.armv6hl.rpm
ad1:/srv/PROJ/samba4.1/sources/ntdb # ls -laR a >b
ad1:/srv/PROJ/samba4.1/sources/ntdb # less b
a:
total 16
drwxr-xr-x 4 root root 4096 Jan  3 20:18 .
drwxr-xr-x 5 root root 4096 Jan  3 20:20 ..
drwxr-xr-x 6 root root 4096 Jan  3 20:19 usr
drwxr-xr-x 3 root root 4096 Jan  3 20:18 var

a/usr:
total 24
drwxr-xr-x 6 root root 4096 Jan  3 20:19 .
drwxr-xr-x 4 root root 4096 Jan  3 20:18 ..
drwxr-xr-x 2 root root 4096 Jan  3 20:19 bin
drwxr-xr-x 2 root root 4096 Jan  3 20:19 include
drwxr-xr-x 4 root root 4096 Jan  3 20:19 lib
drwxr-xr-x 4 root root 4096 Jan  3 20:19 share

a/usr/bin:
total 76
drwxr-xr-x 2 root root  4096 Jan  3 20:19 .
drwxr-xr-x 6 root root  4096 Jan  3 20:19 ..
-rwxr-xr-x 1 root root 13605 Dec 29 19:31 ntdbbackup
-rwxr-xr-x 1 root root  8858 Dec 29 19:31 ntdbdump
-rwxr-xr-x 1 root root 13261 Dec 29 19:31 ntdbrestore
-rwxr-xr-x 1 root root 23258 Dec 29 19:31 ntdbtool

a/usr/include:
total 40
drwxr-xr-x 2 root root  4096 Jan  3 20:19 .
drwxr-xr-x 6 root root  4096 Jan  3 20:19 ..
-rw-r--r-- 1 root root 31261 Dec 21 17:21 ntdb.h

a/usr/lib:
total 120
drwxr-xr-x 4 root root  4096 Jan  3 20:19 .
drwxr-xr-x 6 root root  4096 Jan  3 20:19 ..
lrwxrwxrwx 1 root root    14 Jan  3 20:18 libntdb.so -> libntdb.so.1.0
lrwxrwxrwx 1 root root    14 Jan  3 20:18 libntdb.so.1 -> libntdb.so.1.0
-rwxr-xr-x 1 root root 98948 Dec 29 19:31 libntdb.so.1.0
drwxr-xr-x 2 root root  4096 Jan  3 20:19 pkgconfig
drwxr-xr-x 3 root root  4096 Jan  3 20:19 python2.7

a/usr/lib/pkgconfig:
total 12
drwxr-xr-x 2 root root 4096 Jan  3 20:19 .
drwxr-xr-x 4 root root 4096 Jan  3 20:19 ..
-rw-r--r-- 1 root root  246 Dec 29 19:27 ntdb.pc

a/usr/lib/python2.7:
total 12
drwxr-xr-x 3 root root 4096 Jan  3 20:19 .
drwxr-xr-x 4 root root 4096 Jan  3 20:19 ..
drwxr-xr-x 2 root root 4096 Jan  3 20:19 site-packages

a/usr/lib/python2.7/site-packages:
total 36
drwxr-xr-x 2 root root  4096 Jan  3 20:19 .
drwxr-xr-x 3 root root  4096 Jan  3 20:19 ..
-rwxr-xr-x 1 root root 25049 Dec 29 19:31 ntdb.so

a/usr/share:
total 16
drwxr-xr-x 4 root root 4096 Jan  3 20:19 .
drwxr-xr-x 6 root root 4096 Jan  3 20:19 ..
drwxr-xr-x 3 root root 4096 Jan  3 20:19 doc
drwxr-xr-x 4 root root 4096 Jan  3 20:19 man

a/usr/share/doc:
ad1:/srv/PROJ/samba4.1/sources/ntdb # find /usr/lib -name ntdb
ad1:/srv/PROJ/samba4.1/sources/ntdb # ^C
ad1:/srv/PROJ/samba4.1/sources/ntdb # find /usr/lib -name "*ntdb*"
/usr/lib/samba/libntdb.so.0.9
/usr/lib/samba/libutil_ntdb.so
/usr/lib/samba/libntdb.so.0
------------------------------------------------------------

any hints to fix this issue are appreciated

Kind regards 


RayZ



--
View this message in context: http://samba.2283325.n4.nabble.com/NTDB-progress-tp4632531p4658741.html
Sent from the Samba - samba-technical mailing list archive at Nabble.com.


More information about the samba-technical mailing list