Displaying 20 results from an estimated 52 matches for "libnetapi".
2012 Jan 08
1
Can't compile 3.6.2 on Solaris 11
...hread -L./bin
DYNEXP =
LDSHFLAGS = -fPIC -shared -lintl -R/opt/samba/lib
-L/usr/ccs/lib -R/usr/ccs/lib -L/usr/sfw/lib -R/usr/sfw/lib
-L/opt/samba/lib -R/opt/samba/lib -lthread -L./bin -lc -Wl,-z,defs
SHLIBEXT = so
SONAMEFLAG = -Wl,-h,
Linking shared library bin/libnetapi.so.0
Undefined first referenced
symbol in file
tdb_jenkins_hash lib/util.o
wbcSidsToUnixIds passdb/lookup_sid.o
tdb_transaction_start_nonblock lib/gencache.o
ld: fatal: symbol referencing errors. No output written to
bin/libn...
2011 Apr 26
0
Build Environment
To Whom this concerns,
In the process of building the latest stable version of Samba, Samba
3.5.8, while compiling from Source3 an error was thrown when the
compiler tried to create the libnetapi.so.0 file. This build was
attempted on a NetBSD computer. Another attempt at configuring the file
it was observed that when checking for the libnetapi.h it is not found
during the ./configure when configuring from Source3 directory. Again
the same build broke at the same point. The following is a...
2011 Apr 28
2
Linker error for Samba 3.5.8 on Solaris 5.8
...sendfile -lresolv -lrt -ldl -lnsl -lsocket -lintl
LDFLAGS = -Wl,-z,ignore -lthread -L./bin
DYNEXP =
LDSHFLAGS = -fPIC -shared -Wl,-z,ignore -lthread -L./bin -lc -Wl,-z,defs
SHLIBEXT = so
SONAMEFLAG = -Wl,-h,
Compiling dynconfig.c
Linking shared library bin/libnetapi.so.0
Undefined first referenced
symbol in file
libiconv_set_relocation_prefix /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/../../../libintl.so
ld: fatal: Symbol referencing errors. No output written to bin/libnetapi.so.0
collect2: ld retu...
2008 Oct 09
1
Problem installing samba
...asename bin/libwbclient.so.0` \
??????????????? //usr/local/samba/lib/`basename bin/libwbclient.so` ; \
fi
sh: test: argument expected
*** Error code 1 (ignored)
./install-sh -c -m 0644 /usr/local/samba/samba-3.2.4/source/nsswitch/libwbclient/wbclient.h //usr/local/samba/include
./install-sh -c bin/libnetapi.so.0 //usr/local/samba/lib
if test -e bin/libnetapi.so.0 ; then \
??????? ln -s -f `basename bin/libnetapi.so.0` \
??????????????? //usr/local/samba/lib/`basename bin/libnetapi.so` ; \
fi
sh: test: argument expected
*** Error code 1 (ignored)
: bin/libnetapi.a //usr/local/samba/lib
./install-sh -c...
2010 Jul 22
0
Build problem
Hi,
Where can I see the minimum build requirements ( gcc, make) for samba
3.5.4. I am using gcc 3.2.2 and make 3.79.1 under Solaris 9 and I get the
following error during make.
--
Compiling lib/privileges_basic.c
Compiling auth/token_util.c
creating /usr/local/samba-3.5.4-src/source3/exports/libnetapi.syms
Linking shared library bin/libnetapi.so.0
Undefined first referenced
symbol in file
ldap_start_tls_s lib/smbldap.o
ber_set_option lib/ldap_debug_handler.o
ld: fatal: Symbol referencing errors. No output...
2009 Aug 19
0
Please help with Samba on Solaris10
...omewhere?
Current try: 3.2.4
make install produces such errors:
/bin/sh: test: argument expected
make: [installlibwbclient] Error 1 (ignored)
/opt/MC/bin/install -c -m 0644 /var/tmp/src/Samba/samba-3.2.4/source/nsswitch/libwbclient/wbclient.h //usr/local/samba/include
/opt/MC/bin/install -c bin/libnetapi.so.0 //usr/local/samba/lib
if test -e bin/libnetapi.so.0 ; then \
ln -s -f `basename bin/libnetapi.so.0` \
//usr/local/samba/lib/`basename bin/libnetapi.so` ; \
fi
smbd cannot find libraries:
ldd /usr/local/samba/sbin/smbd | grep not
libtalloc.so => (file not...
2024 Feb 17
2
Fail kerberos method = secrets and keytab and net offlinejoin requestodj
....so.0(ads_find_machine_acct+0x130)
[0x7f11c7f053a0]
?#6
/usr/lib/x86_64-linux-gnu/samba/libads-samba4.so.0(ads_get_service_principal_names+0x45)
[0x7f11c7f069d5]
?#7
/usr/lib/x86_64-linux-gnu/samba/libads-samba4.so.0(ads_keytab_create_default+0xdd)
[0x7f11c7f104cd]
?#8 /lib/x86_64-linux-gnu/libnetapi.so.1(libnet_Join+0x13c9)
[0x7f11c805ae19]
?#9
/lib/x86_64-linux-gnu/libnetapi.so.1(NetRequestOfflineDomainJoin_l+0x229)
[0x7f11c8029059]
?#10
/lib/x86_64-linux-gnu/libnetapi.so.1(NetRequestOfflineDomainJoin+0xdd)
[0x7f11c8022c6d]
?#11 net(net_offlinejoin_requestodj+0xff) [0x562f957fcdff]
?...
2009 Jul 30
0
Can't compile 3.4.0 Binary on solarisx86
...LDSHFLAGS = -G -L/usr/local/lib -R/usr/local/lib -R/usr/lib -
lthread -L./bin -L/usr/local/lib
SHLIBEXT = so
SONAMEFLAG = -Wl,-soname=
Linking non-shared library bin/libaddns.a
gmake: rc: Command not found
gmake: [bin/libaddns.a] Error 127 (ignored)
Linking non-shared library bin/libnetapi.a
gmake: rc: Command not found
gmake: [bin/libnetapi.a] Error 127 (ignored)
Linking non-shared library bin/libsmbclient.a
gmake: rc: Command not found
gmake: [bin/libsmbclient.a] Error 127 (ignored)
Linking non-shared library bin/libsmbsharemodes.a
gmake: rc: Command not found
gmake: [bin/libsmbsha...
2016 May 24
2
Errors building 3.6.25 after applying security patches
...error: Unable to determine origin of type `struct ist'
Now run ./configure (or ./configure.developer) and then make.
If I go ahead and run ./configure and make I get:
...
Compiling lib/access.c
Compiling lib/smbrun.c
make: *** No rule to make target `../lib/util/bitmap.o', needed by
`bin/libnetapi.so.0'. Stop.
I don't see any other patches listed at samba.org but is there another
patch I'm missing? I can build unpatched 3.6.25 without any errors.
Thanks,
Rob
2024 Feb 19
1
Fail kerberos method = secrets and keytab and net offlinejoin requestodj
...machine_acct+0x130)
[0x7f11c7f053a0]
> #6
/usr/lib/x86_64-linux-gnu/samba/libads-samba4.so.0(ads_get_service_principal_names+0x45)
[0x7f11c7f069d5]
> #7
/usr/lib/x86_64-linux-gnu/samba/libads-samba4.so.0(ads_keytab_create_default+0xdd)
[0x7f11c7f104cd]
> #8 /lib/x86_64-linux-gnu/libnetapi.so.1(libnet_Join+0x13c9)
[0x7f11c805ae19]
> #9
/lib/x86_64-linux-gnu/libnetapi.so.1(NetRequestOfflineDomainJoin_l+0x229)
[0x7f11c8029059]
> #10
/lib/x86_64-linux-gnu/libnetapi.so.1(NetRequestOfflineDomainJoin+0xdd)
[0x7f11c8022c6d]
> #11 net(net_offlinejoin_requestodj+0xff) [0x5...
2009 Aug 07
0
This is happening too
creating /altroot/samba-3.4.0/source3/exports/libnetapi.syms
Linking shared library bin/libnetapi.so.0
Compiling libsmb/libsmb_cache.c
In file included from libsmb/libsmb_cache.c:24:
include/libsmbclient.h:78:25: sys/statvfs.h: No such file or directory
In file included from libsmb/libsmb_cache.c:24:
include/libsmbclient.h:875: warning: `struct statvfs&...
2010 Dec 24
1
reducing smbd memory footprint
...p_ad,idmap_adex,idmap_hash \
--without-automount \
--with-ldap \
--with-ads \
--without-smbmount \
--without-dnsupdate \
--without-libtalloc \
--without-libtdb \
--without-libnetapi \
--with-modulesdir=/usr/lib/samba \
--datarootdir=/usr/share \
--with-lockdir=/var/run/samba \
--disable-avahi \
--disable-swat \
--with-cifsmount \
--without-acl-support \...
2008 Nov 17
0
SAMBA-3.2.4 for Solaris SPARC 9: ld.so.1: net: fatal: libtalloc.so: open failed: No such file or directory
...ocal/samba/sbin
PATH: /usr/wp80/wpbin
PATH: /usr/wp80/shbin10
PATH: /usr/opt/SUNWesm/sbin
************Work Around*********************
cd /usr/local/samba/lib
ln -s libtalloc.so.1 libtalloc.so
ln -s libtdb.so.1 libtdb.so
ln -s libwbclient.so.0 libwbclient.so
#might as well do these as well.
ln -s libnetapi.so.0 libnetapi.so
ln -s libsmbclient.so.0 libsmbclient.so
ln -s libsmbsharemodes.so.0 libsmbsharemodes.so
**********************************************
NOTE: to fix:
net ads join get the error:
ld.so.1: net: fatal: libtalloc.so: open failed: No such file or
directory
Killed
warning: net ads join...
2009 Jan 08
2
Compiling Samba 3.2.7 fails on RHEL 4
...winbind.so.2
+ install -m 755 source/nsswitch/libnss_wins.so
/var/tmp/samba-3.2.7-root/lib/libnss_wins.so.2
+ cd /var/tmp/samba-3.2.7-root/lib
+ ln -sf libnss_winbind.so.2 libnss_winbind.so
+ ln -sf libnss_wins.so.2 libnss_wins.so
/var/tmp/rpm-tmp.61025: line 66: syntax error near unexpected token
`libnetapi'
error: Bad exit status from /var/tmp/rpm-tmp.61025 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.61025 (%install)
++ basename makerpms.sh
+ echo 'makerpms.sh: Done.'
makerpms.sh: Done.
Would you have any suggestions for this one?
Many thanks!
Marc Taylor...
2013 May 17
2
Continued compilation errors with samba 3.6.15
?
Hello.
?I'm trying to compile samba on a?armnas.
?
First I execute:
autogen.sh
configure
make
?
And got the following error:
?
?
?
?
Compiling ../libcli/samsync/decrypt.c
Linking bin/net
utils/net_rpc.o: In function `net_rpc':
net_rpc.c:(.text+0x88): undefined reference to `libnetapi_net_init'
utils/net_rpc.o: In function `net_rpc_file':
net_rpc.c:(.text+0x2d74): undefined reference to `libnetapi_net_init'
utils/net_rpc.o: In function `net_rpc_share':
net_rpc.c:(.text+0x32ec): undefined reference to `libnetapi_net_init'
utils/net_rpc.o: In function `net_rpc_...
2008 Aug 06
8
[ANNOUNCE] Samba 3.2.1 Available for Download.eml
...mbolic links to the libraries. As a result, samba may not start
correctly and generate errors when loading. Packagers have been able to
get around this; but, users installing from source will have a difficult
time or need to create the symbolic links themselves.
The effected files on my build are libnetapi.so.0, libtalloc.so.1,
libtdb.so.1 and libwbclient.so.0. But this depends on the build as
there are other libraries that also need symbolic links added, if built.
Thanks,
James
2013 Nov 05
1
samba-4.1.0 build failure -help with
...request_1.o
default/source4/smb_server/smb/search_1.o default/source4/
smb_server/smb/service_1.o default/source4/smb_server/smb/sesssetup_1.o
default/source4/smb_server/smb/srvtime_1.o
default/source4/smb_server/smb/trans2_1.o
default/source4/smb_server/smb/signing_1.o
default/source4/torture/libnetapi/libnetapi_1.o
default/source4/torture/libnetapi/libnetapi_user_1.o
default/source4/torture/libnetapi/libnetapi_group_1.o
default/source4/torture/libnetapi/libnetapi_server_1.o
default/source4/smb_server/smb2/receive_1.o
default/source4/smb_server/smb2/negprot_1.o
default/source4/smb_server/sm...
2016 May 24
0
Errors building 3.6.25 after applying security patches
...`struct ist'
> Now run ./configure (or ./configure.developer) and then make.
>
> If I go ahead and run ./configure and make I get:
>
> ...
> Compiling lib/access.c
> Compiling lib/smbrun.c
> make: *** No rule to make target `../lib/util/bitmap.o', needed by
> `bin/libnetapi.so.0'. Stop.
>
> I don't see any other patches listed at samba.org but is there another
> patch I'm missing? I can build unpatched 3.6.25 without any errors.
>
> Thanks,
>
> Rob
> --
> To unsubscribe from this list go to the following URL and read the
> in...
2008 Mar 07
0
Samba 3.2.0 and internal shared libraries
...feedback! Thanks a lot!
Here is one major pitfall that you have to be aware of:
Samba 3.2.0 uses shared libraries internally by default
(if shared libraries are supported by the system).
This means that certain subsystems are built and linked
in as shared libs, currently libtalloc.so, libtdbs.so,
libnetapi.so and libwbclient.so.
You can disable using shared libs by specifying
"--disable-shared-libs" as a parameter to configure.
But beware that libwbclient will still be linked in
dynamically (unless you configure with --enable-developer).
If you decide to use the shared libs and in (almost...
2008 Oct 06
1
samba accounts management API
Hello, all
I'd like to create, remove, change samba accounts, groups etc. from my own C program.
How can I do this, without using samba tools, but some samba API (headers and shared objects).
Does samba provide some API (headers and shared objects) for accounts creating etc.?
Thank you