Displaying 20 results from an estimated 10000 matches similar to: "Compile static library (libsmbclient.a)"
2018 Jan 16
3
idmap limit?
Am 16.01.2018 um 17:26 schrieb Rowland Penny via samba:
> On Tue, 16 Jan 2018 16:54:17 +0100
> Andreas Hauffe via samba <samba at lists.samba.org> wrote:
>
>> Ok, you are completely right. Here are the real numbers with changed
>> user names:
>>
>> drwx------ 43 DOM\user1 DOM\domain-user 4096 Jan 10 08:00
>> user1 drwx------ 5 DOM\user2
2019 Nov 12
2
Build some shared libraries, and building exact these libraries directly to binaries at the same time.
As I understood it is 2nd case:
> Or are there specified binaries where the libraries are builtin to, for
examle:
> --nonshared-binary=testparm, smbtorture, smbd and so on ?
But in the case of binaries list, all binaries mentioned at the list will
be linked statically with ALL libraries, not only 3 (in my case) .
Am I right ?
??, 12 ????. 2019 ?. ? 20:19, Andrew Bartlett <abartlet at
2018 Jun 21
0
Issues in building single statically linked binary of smbd
Hello,
I'm new to this mailing list so apologies if this question is asked before. I want to build one single binary of smbd which has all libraries statically linked into it. I tried following options but got different errors or could not get it done. I have tried following things :
1. Compiled samba server code using following options :
* ./configure --bundled-libraries=ALL
2018 Jun 18
0
Building rpcclient statically linked?
On Mon, Jun 18, 2018 at 2:39 PM, Andrew Bartlett <abartlet at samba.org> wrote:
> On Mon, 2018-06-18 at 10:35 -0400, pisymbol via samba wrote:
> > Small addendum, I did try:
> >
> > ./configure --nonshared-binary=ALL
> >
> > ERROR: source source3/smbd/notify_msg.c is in more than one subsystem of
> > target 'smbstatus':
2018 Jun 18
2
Building rpcclient statically linked?
On Mon, Jun 18, 2018 at 3:53 PM, pisymbol <pisymbol at gmail.com> wrote:
>
>
> On Mon, Jun 18, 2018 at 2:39 PM, Andrew Bartlett <abartlet at samba.org>
> wrote:
>
>> On Mon, 2018-06-18 at 10:35 -0400, pisymbol via samba wrote:
>> > Small addendum, I did try:
>> >
>> > ./configure --nonshared-binary=ALL
>> >
>> > ERROR:
2018 Jun 18
2
Building rpcclient statically linked?
On Mon, 2018-06-18 at 10:35 -0400, pisymbol via samba wrote:
> Small addendum, I did try:
>
> ./configure --nonshared-binary=ALL
>
> ERROR: source source3/smbd/notify_msg.c is in more than one subsystem of
> target 'smbstatus': ['smbd_base.objlist', 'smbstatus.objlist']
>
> This is CentOS 7.5.
>
> -aps
Building more than smbd and
2019 Nov 12
2
Build some shared libraries, and building exact these libraries directly to binaries at the same time.
Should I specify _libraries_ what I want to build directly to binaries,
for example:
--nonshared-binary=replace,winbind-client,wbclient ?
Or are there specified binaries where the libraries are builtin to, for
examle:
--nonshared-binary=testparm, smbtorture, smbd and so on ?
??, 12 ????. 2019 ?. ? 02:25, Andrew Bartlett <abartlet at samba.org>:
> On Tue, 2019-11-12 at 02:05 +0300,
2018 Jan 16
2
idmap limit?
Ok, you are completely right. Here are the real numbers with changed
user names:
drwx------ 43 DOM\user1 DOM\domain-user 4096 Jan 10 08:00 user1
drwx------ 5 DOM\user2 DOM\domain-user 4096 Jan 11 08:13 user2
drwx------ 92 DOM\user3 DOM\domain-user 4096 Jan 16 08:39 user3
drwx------ 3 133265 DOM\domain-user 4096 Sep 7 2015 user4
drwx------ 7
2015 Oct 22
2
how to build smbtorture using static linked libraries
Hello all:
I am trying to build smbtorture using static linked libraries.
The samba source code I have is samba-4.1.13
for configure, I did:
waf configure --builtin-libraries=ALL
for build, I did:
waf build --targets=smbtorture (so that it only build target smbtorture)
But, the waf build fails immediately.
Then, I tried to only link with lib talloc and tevent statically, so I did:
waf
2018 Jan 19
1
idmap limit?
Hi,
yes, there are some things. But I have not found a nice complete
documentation.
One main point is the domain name as prefix of the username of the
parent domain, e.g. "DOM\user1", you have to use. I was not able to get
rid of it, as the client is member of the subdomain which is the
default. So you can't use the "default domain" option in smb.conf. The
backslash
2020 Aug 20
2
Making a static build of smbclient
Hello, I'm having troubles with making a static build of smbclient. I've
searched the archives, and it seems like I'm getting close, but I'm not
quite there yet. I've tried:
./configure --nonshared-binary=smbclient
make bin/smbclient
But then when I run `ldd bin/smbclient`, I see a lot of linked libraries
still. And if I copy it to a fresh docker container (to try it in a
2015 Oct 22
1
how to build smbtorture using static linked libraries
Hello all:
I am trying to build smbtorture using static linked libraries.
The samba source code I have is samba-4.1.13
for configure, I did:
waf configure --builtin-libraries=ALL
for build, I did:
waf build --targets=smbtorture (so that it only build target smbtorture)
But, the waf build fails immediately.
Then, I tried to only link with lib talloc and tevent statically, so I did:
waf
2013 Nov 12
1
static link libsmbclient.a got a lot of error, and how to include "smbtree" feature in program
Hi All:
I have some questions when writing a lib with libsmbclient-dev ,my target environment is on any linux system.
1 I want to static link libsmbclient.a instead of using libsmbclient.so, but I got a lot of error , am I able to use libsmbclient-dev using static link?
2 I found that ?smbtree? command is more stable in finding all those domains and servers than
2023 Oct 17
1
smbclient static build
On Tue, 2023-10-17 at 13:08 +0200, banda bassotti via samba wrote:
> hello, has anyone managed to compile static smbclient? it's a
> question that
> is asked from time to time but there are never comprehensive answers:
> if yes
> how, no, too complex :)
>
> thnx a lot.
It may or may not be possible, but if it is then the command should be:
./configure
2015 Oct 26
1
build my own server-side-copy client code using samba4 source code
Hello all:
I am working on implementing server-side-copy client code.
When I checked samba4 source code, I saw that smbtorture has some sort of
function that does server-side-copy client function.
So, I followed the way that smbtorture does, and implemented my own
server-side-copy client code (let's call it cifs_cp).
Basically, my cifs_cp code, calls the functions in the files of:
2017 Sep 25
1
How to build samba-4.6.7 with static linked option?
Hi! everyone!
I am a student from China,my name is Aloha Jack! This is the first time I send a message to the mail lists !
Haha!
When I get the sources from the website,I configure with this options below:
./configure \
--builtin-libraries=replace,smbtorture,smbpasswd,pdbedit,smbd/smbd,nmbd/nmbd \
--without-ldap \
--without-ads \
--disable-cups \
--disable-iprint \
--bundled-libraries=ALL \
2020 Aug 20
0
Making a static build of smbclient
On Thu, 2020-08-20 at 18:05 -0400, David Birks via samba wrote:
> Hello, I'm having troubles with making a static build of smbclient.
> I've
> searched the archives, and it seems like I'm getting close, but I'm
> not
> quite there yet. I've tried:
>
> ./configure --nonshared-binary=smbclient
> make bin/smbclient
>
> But then when I run `ldd
2015 Feb 28
4
Samba internal DNS Problem
Hi,
I'm facing a samba internal dns problem. Every command which starts
with "samba-tool dns" throughs the following exception:
ERROR(runtime): uncaught exception - (-1073741801, 'Memory allocation error')
File
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line
175, in _run
return self.run(*args, **kwargs)
File
2012 May 07
7
How to build Samba4 using static linked libraries
Hi All:
I am building the torture/smbtorture for samba-4.0.0alpha17. After build, I am running the test in another environment.
I not only need to copy the binary smbtorture, I also need to copy the shared libraries. This is HUGE inconvenient for us.
Could somebody tell me how to build the binary using static linked libraries?
Thanks very much
Peixing
libpthread.so.0 =>
2014 Dec 17
4
IDMAP_NSS on member server
I have two Samba 3.6.24 domain controllers (Solaris 10.) On all
machines unix accounts and groups are in the LDAP as well as idmap
entries for trusted domains. Samba accounts on domain controllers are
in LDAP so there is problem with consistency unix/windows id and group
mapping on the domain controllers. The domain controllers are the
main file servers as well.
I am configuring a