ira/wip.git
16 years agoUse rpccli_srvsvc_NetShareAdd in net.
Günther Deschner [Mon, 10 Mar 2008 13:25:45 +0000 (14:25 +0100)]
Use rpccli_srvsvc_NetShareAdd in net.

Guenther

16 years agoMake use of talloc_asprintf_strupper_m in secrets.c
Volker Lendecke [Sun, 9 Mar 2008 10:26:50 +0000 (11:26 +0100)]
Make use of talloc_asprintf_strupper_m in secrets.c

16 years agoAvoid some pointless checks
Volker Lendecke [Sun, 9 Mar 2008 10:21:08 +0000 (11:21 +0100)]
Avoid some pointless checks

secrets_init() makes sure that the tdb is initialized

16 years agoUse talloc_tos() in secrets_init
Volker Lendecke [Sun, 9 Mar 2008 10:17:48 +0000 (11:17 +0100)]
Use talloc_tos() in secrets_init

16 years agoUse rpccli_srvsvc_NetShareGetInfo in 2 places in "net".
Günther Deschner [Mon, 10 Mar 2008 04:17:09 +0000 (05:17 +0100)]
Use rpccli_srvsvc_NetShareGetInfo in 2 places in "net".

Guenther

16 years agoUse rpccli_srvsvc_NetShareEnumAll in smbtree.
Günther Deschner [Mon, 10 Mar 2008 04:05:37 +0000 (05:05 +0100)]
Use rpccli_srvsvc_NetShareEnumAll in smbtree.

Guenther

16 years agoUse rpccli_srvsvc_NetShareEnumAll in libsmbclient.
Günther Deschner [Mon, 10 Mar 2008 03:58:43 +0000 (04:58 +0100)]
Use rpccli_srvsvc_NetShareEnumAll in libsmbclient.

Guenther

16 years agoRemove insane amount of whitespace.
Günther Deschner [Fri, 7 Mar 2008 16:37:07 +0000 (17:37 +0100)]
Remove insane amount of whitespace.

Guenther

16 years agoUse rpccli_srvsvc_NetShareEnumAll in smbclient.
Günther Deschner [Mon, 10 Mar 2008 03:33:06 +0000 (04:33 +0100)]
Use rpccli_srvsvc_NetShareEnumAll in smbclient.

Guenther

16 years agoAdd some srvsvc_NetSessInfo init functions.
Günther Deschner [Sun, 9 Mar 2008 20:28:53 +0000 (21:28 +0100)]
Add some srvsvc_NetSessInfo init functions.

Guenther

16 years agoAdd netsessenum command to rpcclient.
Günther Deschner [Sun, 9 Mar 2008 19:55:19 +0000 (20:55 +0100)]
Add netsessenum command to rpcclient.

Guenther

16 years agoRe-run make idl.
Günther Deschner [Sun, 9 Mar 2008 19:11:07 +0000 (20:11 +0100)]
Re-run make idl.

Guenther

16 years agoFix IDL for srvsvc_NetSessEnum().
Günther Deschner [Sun, 9 Mar 2008 19:10:22 +0000 (20:10 +0100)]
Fix IDL for srvsvc_NetSessEnum().

Guenther

16 years agoAdd netsessdel command to rpcclient.
Günther Deschner [Sun, 9 Mar 2008 19:04:35 +0000 (20:04 +0100)]
Add netsessdel command to rpcclient.

Guenther

16 years agoUse pidl for _srvsvc_NetSessDel().
Günther Deschner [Sun, 9 Mar 2008 17:01:52 +0000 (18:01 +0100)]
Use pidl for _srvsvc_NetSessDel().

Guenther

16 years agoFix return code.
Charles [Sun, 9 Mar 2008 18:52:29 +0000 (19:52 +0100)]
Fix return code.

16 years agoMerge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
Jelmer Vernooij [Sun, 9 Mar 2008 12:51:52 +0000 (13:51 +0100)]
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test

16 years agosmbget: Make global variables static.
Charles [Sun, 9 Mar 2008 12:50:56 +0000 (13:50 +0100)]
smbget: Make global variables static.

16 years agoFix Coverity ID 551
Volker Lendecke [Sat, 8 Mar 2008 22:48:12 +0000 (23:48 +0100)]
Fix Coverity ID 551

Correctly return if we can't create the temporary krb5.conf

Jeremy, please check!

16 years agoRemove unused marshalling for SRV_NET_FILE_SET_SECDESC and SRV_R_NET_FILE_GET_SECDESC.
Günther Deschner [Sat, 8 Mar 2008 00:02:54 +0000 (01:02 +0100)]
Remove unused marshalling for SRV_NET_FILE_SET_SECDESC and SRV_R_NET_FILE_GET_SECDESC.

Guenther

16 years agoUse pidl for _srvsvc_NetGetFileSecurity.
Günther Deschner [Fri, 7 Mar 2008 23:57:52 +0000 (00:57 +0100)]
Use pidl for _srvsvc_NetGetFileSecurity.

Guenther

16 years agoUse pidl for _srvsvc_NetSetFileSecurity.
Günther Deschner [Fri, 7 Mar 2008 23:42:40 +0000 (00:42 +0100)]
Use pidl for _srvsvc_NetSetFileSecurity.

Guenther

16 years agoAdd netfilegetsec command to rpcclient.
Günther Deschner [Sat, 8 Mar 2008 22:00:09 +0000 (23:00 +0100)]
Add netfilegetsec command to rpcclient.

Guenther

16 years agoPrint out the used seed in smbtorture
Volker Lendecke [Sat, 8 Mar 2008 21:29:35 +0000 (22:29 +0100)]
Print out the used seed in smbtorture

16 years agoCorrectly calculate the max read size
Volker Lendecke [Sat, 8 Mar 2008 21:28:01 +0000 (22:28 +0100)]
Correctly calculate the max read size

16 years agoMove inbuf handling to before the PDU handling
Volker Lendecke [Fri, 7 Mar 2008 14:03:20 +0000 (15:03 +0100)]
Move inbuf handling to before the PDU handling

In an error case, correctly discard the offending PDU

16 years agoPass specific packets to build_nmb and build_dgram
Volker Lendecke [Sun, 2 Mar 2008 08:43:19 +0000 (09:43 +0100)]
Pass specific packets to build_nmb and build_dgram

To me it was not clear what parts of struct packet_struct are actually used in
build_packet(). This makes it a bit more clear that only the specific parts are
used.

16 years agoFix some typos
Volker Lendecke [Sat, 1 Mar 2008 18:54:17 +0000 (19:54 +0100)]
Fix some typos

16 years agoBuild aio_fork by default
Volker Lendecke [Sat, 1 Mar 2008 09:22:04 +0000 (10:22 +0100)]
Build aio_fork by default

... only when --with-aio-support and we can pass file descriptors

16 years agoRe-run make idl.
Günther Deschner [Fri, 7 Mar 2008 23:28:38 +0000 (00:28 +0100)]
Re-run make idl.

Guenther

16 years agoFix IDL for srvsvc_NetSetFileSecurity and srvsvc_NetGetFileSecurity.
Günther Deschner [Fri, 7 Mar 2008 23:27:41 +0000 (00:27 +0100)]
Fix IDL for srvsvc_NetSetFileSecurity and srvsvc_NetGetFileSecurity.

Guenther

16 years agoUse pidl for _srvsvc_NetShareAdd.
Günther Deschner [Fri, 7 Mar 2008 23:22:44 +0000 (00:22 +0100)]
Use pidl for _srvsvc_NetShareAdd.

Guenther

16 years agoRe-run make idl.
Günther Deschner [Fri, 7 Mar 2008 22:55:52 +0000 (23:55 +0100)]
Re-run make idl.

Guenther

16 years agoFix IDL for srvsvc_NetShareAdd().
Günther Deschner [Fri, 7 Mar 2008 22:55:01 +0000 (23:55 +0100)]
Fix IDL for srvsvc_NetShareAdd().

Guenther

16 years agoRemove unused marshalling for SRV_NET_NAME_VALIDATE.
Günther Deschner [Fri, 7 Mar 2008 22:50:00 +0000 (23:50 +0100)]
Remove unused marshalling for SRV_NET_NAME_VALIDATE.

Guenther

16 years agoRemove unused marshalling for SRV_NET_SHARE_DEL.
Günther Deschner [Fri, 7 Mar 2008 22:47:40 +0000 (23:47 +0100)]
Remove unused marshalling for SRV_NET_SHARE_DEL.

Guenther

16 years agoUse rpccli_srvsvc_NetShareDel in net.
Günther Deschner [Fri, 7 Mar 2008 22:45:39 +0000 (23:45 +0100)]
Use rpccli_srvsvc_NetShareDel in net.

Guenther

16 years agoUse pidl for _srvsvc_NetNameValidate.
Günther Deschner [Fri, 7 Mar 2008 22:40:00 +0000 (23:40 +0100)]
Use pidl for _srvsvc_NetNameValidate.

Guenther

16 years agoAdd netnamevalidate command to rpcclient.
Günther Deschner [Fri, 7 Mar 2008 22:39:34 +0000 (23:39 +0100)]
Add netnamevalidate command to rpcclient.

Guenther

16 years agoconfigure: fix quotation in SMB_LIBRARY for help output.
Michael Adam [Fri, 7 Mar 2008 22:41:05 +0000 (23:41 +0100)]
configure: fix quotation in SMB_LIBRARY for help output.

Michael

16 years agoUse pidl for _srvsvc_NetShareDel and _srvsvc_NetShareDelSticky.
Günther Deschner [Fri, 7 Mar 2008 22:26:00 +0000 (23:26 +0100)]
Use pidl for _srvsvc_NetShareDel and _srvsvc_NetShareDelSticky.

Guenther

16 years agoUse pidl generated NetShareGet/SetInfo and Enum calls in rpcclient.
Günther Deschner [Fri, 7 Mar 2008 21:55:33 +0000 (22:55 +0100)]
Use pidl generated NetShareGet/SetInfo and Enum calls in rpcclient.

Guenther

16 years agoUse pidl for _srvsvc_NetShareGetInfo, _srvsvc_NetShareEnum and srvsvc_NetShareEnumAll.
Günther Deschner [Fri, 7 Mar 2008 15:19:43 +0000 (16:19 +0100)]
Use pidl for _srvsvc_NetShareGetInfo, _srvsvc_NetShareEnum and srvsvc_NetShareEnumAll.

Fixing resume handling while we are there.

Guenther

16 years agoEnable libnetjoin debugging for now but avoid printing passwords.
Günther Deschner [Fri, 7 Mar 2008 17:18:35 +0000 (18:18 +0100)]
Enable libnetjoin debugging for now but avoid printing passwords.

The gen_ndr needs proper fixing still.

Guenther

16 years agoEnable use of Relocations Read-Only, if supported, for enhanced security.
Simo Sorce [Fri, 7 Mar 2008 16:33:26 +0000 (11:33 -0500)]
Enable use of Relocations Read-Only, if supported, for enhanced security.

16 years agoTime to confess...
Michael Adam [Fri, 7 Mar 2008 13:24:53 +0000 (14:24 +0100)]
Time to confess...

Michael

16 years agoAdd some more init_srvsvc_NetShareInfoX functions.
Günther Deschner [Fri, 7 Mar 2008 01:59:58 +0000 (02:59 +0100)]
Add some more init_srvsvc_NetShareInfoX functions.

Guenther

16 years agoRe-run make idl.
Günther Deschner [Fri, 7 Mar 2008 01:59:01 +0000 (02:59 +0100)]
Re-run make idl.

Guenther

16 years agoFix IDL for srvsvc_NetShareEnum and srvsvc_NetShareEnumAll.
Günther Deschner [Fri, 7 Mar 2008 01:57:29 +0000 (02:57 +0100)]
Fix IDL for srvsvc_NetShareEnum and srvsvc_NetShareEnumAll.

Guenther

16 years agoFix debug statement (missing \n).
Günther Deschner [Thu, 6 Mar 2008 22:23:08 +0000 (23:23 +0100)]
Fix debug statement (missing \n).

Guenther

16 years agoFix bug #5267 - nmbd shuts down when network interfaces go down.
Jeremy Allison [Fri, 7 Mar 2008 01:43:25 +0000 (17:43 -0800)]
Fix bug #5267 - nmbd shuts down when network interfaces go down.
Cause nmbd to wait for an interface, in a mode where SIGTERM
will kills us (same way we wait on startup for an interface).
Jeremy.

16 years agoclient[ADDR_INDEX] is an IPv4 mapped to IPv6, but
Jeremy Allison [Thu, 6 Mar 2008 22:44:07 +0000 (14:44 -0800)]
client[ADDR_INDEX] is an IPv4 mapped to IPv6, but
the list item is not. Try and match the IPv4 part of
address only. This will happen a lot on IPv6 enabled
systems with IPv4 allow/deny lists in smb.conf.
Bug #5311.
Jeremy.

16 years agoFix _dssetup_DsRoleGetPrimaryDomainInformation().
Günther Deschner [Thu, 6 Mar 2008 19:44:28 +0000 (20:44 +0100)]
Fix _dssetup_DsRoleGetPrimaryDomainInformation().

Guenther

16 years agoFix the build of cifs.spnego.
Günther Deschner [Thu, 6 Mar 2008 18:47:28 +0000 (19:47 +0100)]
Fix the build of cifs.spnego.

Guenther

16 years agoRevert "Build: Add an rpath of $(LIBDIR) to binary targets."
Michael Adam [Thu, 6 Mar 2008 16:49:07 +0000 (17:49 +0100)]
Revert "Build: Add an rpath of $(LIBDIR) to binary targets."

This reverts commit 3a0f781352f364ce625a35ffd78257b27d984c47.

This needs more thought.

Setting RPATH like this does not work on all supported
platforms (Linux, Solaris and AIX seem to work, HP-UX,
Tru64 and MacOS don't, MacOS doesn't even seem to have
an rpath at all prior to 10.4).

What is more, rpath also has some bad effects (when
updating libraries, e.g.), so it should not be set
unconditionally.

I will come up with a confiugure mechanism to control this.

For now, just use the LDFLAGS environment variable if
you want to use an rpath.

Sorry for any inconveniences.

Michael

16 years agoRe-run make idl.
Günther Deschner [Thu, 6 Mar 2008 15:43:05 +0000 (16:43 +0100)]
Re-run make idl.

Guenther

16 years agoIgnore Kerberos PAC type 12.
Günther Deschner [Thu, 6 Mar 2008 15:41:24 +0000 (16:41 +0100)]
Ignore Kerberos PAC type 12.

Until we worked out the PAC_TYPE_UNKNOWN_12 format (or received documentation)
ignore it so that the PAC parsing can proceed.

Guenther

16 years agoEliminate global variable in_client and a plethora of extern declarations.
Derrell Lipman [Thu, 6 Mar 2008 15:41:42 +0000 (10:41 -0500)]
Eliminate global variable in_client and a plethora of extern declarations.

Derrell

16 years agoFix a "nested extern declaration" warning
Volker Lendecke [Thu, 6 Mar 2008 11:44:41 +0000 (12:44 +0100)]
Fix a "nested extern declaration" warning

16 years agoCheck for NULL pointers before dereferencing them.
Derrell Lipman [Thu, 6 Mar 2008 14:00:37 +0000 (09:00 -0500)]
Check for NULL pointers before dereferencing them.

16 years agoBuild: Add an rpath of $(LIBDIR) to binary targets.
Michael Adam [Thu, 6 Mar 2008 13:50:52 +0000 (14:50 +0100)]
Build: Add an rpath of $(LIBDIR) to binary targets.

This removes the need of setting LD_LIBRARY_PATH.

Michael

16 years agoRe-run make idl.
Günther Deschner [Thu, 6 Mar 2008 13:47:21 +0000 (14:47 +0100)]
Re-run make idl.

Guenther

16 years agoSlowly making progress on PAC_UNKNOWN_12.
Günther Deschner [Thu, 6 Mar 2008 13:15:07 +0000 (14:15 +0100)]
Slowly making progress on PAC_UNKNOWN_12.

unknown1 and unknown2 are offset headers for the strings.

Guenther

16 years agoChange default bufsize to 512k
Volker Lendecke [Sat, 1 Mar 2008 11:11:22 +0000 (12:11 +0100)]
Change default bufsize to 512k

I did not do any scientific tests, but the dummy test on my laptop against a
w2k3 vmware shows that in this specific situation going beyond 512k seems not
to gain anything anymore.

smb: \> iosize 64512
iosize is now 64512
smb: \> lcd /dev
smb: \> get random null
getting file \random of size 104857600 as null (33453,1 kb/s) (average 19718,5 kb/s)
smb: \> get random null
getting file \random of size 104857600 as null (34236,0 kb/s) (average 20509,1 kb/s)
smb: \> iosize 524288
iosize is now 524288
smb: \> get random null
getting file \random of size 104857600 as null (49042,1 kb/s) (average 22521,9 kb/s)
smb: \> get random null
getting file \random of size 104857600 as null (49420,8 kb/s) (average 23432,9 kb/s)
smb: \> iosize 1048576
iosize is now 1048576
smb: \> get random null
getting file \random of size 104857600 as null (49420,8 kb/s) (average 24284,2 kb/s)
smb: \> get random null
getting file \random of size 104857600 as null (49136,3 kb/s) (average 25076,9 kb/s)

16 years agoUse io_bufsize as window size in smbclient get command
Volker Lendecke [Sat, 1 Mar 2008 11:05:09 +0000 (12:05 +0100)]
Use io_bufsize as window size in smbclient get command

16 years agoConvert cli_read to use cli_pull
Volker Lendecke [Thu, 28 Feb 2008 14:26:01 +0000 (15:26 +0100)]
Convert cli_read to use cli_pull

16 years agoAdd async cli_pull support
Volker Lendecke [Thu, 28 Feb 2008 14:21:33 +0000 (15:21 +0100)]
Add async cli_pull support

This is the big (and potentially controversial) one. It took a phone call to
explain to metze what is going on inside cli_pull_read_done, but I would really
like everybody to understand this function. It is a very good and reasonably
complex example of async programming. If we want more asynchronism in s3, this
is what we will have to deal with :-)

Make use of it in the smbclient "get" command.

Volker

16 years agoAdd infrastructure to support async SMB requests
Volker Lendecke [Thu, 28 Feb 2008 13:41:25 +0000 (14:41 +0100)]
Add infrastructure to support async SMB requests

16 years agoAdd basic infrastructure for general async requests
Volker Lendecke [Thu, 28 Feb 2008 12:55:53 +0000 (13:55 +0100)]
Add basic infrastructure for general async requests

16 years agoMerge commit 'origin/v3-2-stable' into v3-2-test
Stefan Metzmacher [Thu, 6 Mar 2008 12:16:30 +0000 (13:16 +0100)]
Merge commit 'origin/v3-2-stable' into v3-2-test

This brings the release-3-2-0pre2 tag into the v3-2-test history.

I skipped the source/VERSION changes.

metze

16 years agoBe more verbose why create local token has failed during
Günther Deschner [Thu, 6 Mar 2008 11:24:37 +0000 (12:24 +0100)]
Be more verbose why create local token has failed during
NTLMSSP and Kerberos session setup

Guenther

16 years agoFix an uninitialized variable, Coverity ID 481
Volker Lendecke [Thu, 6 Mar 2008 10:42:48 +0000 (11:42 +0100)]
Fix an uninitialized variable, Coverity ID 481

16 years agoFix a memleak
Volker Lendecke [Thu, 6 Mar 2008 10:37:01 +0000 (11:37 +0100)]
Fix a memleak

Fixes Coverity ID 557

16 years agoCheck the right pointer for non-NULL
Volker Lendecke [Thu, 6 Mar 2008 10:27:49 +0000 (11:27 +0100)]
Check the right pointer for non-NULL

Fix Coverity ID 558, 559

16 years agoMake test: set LD_LIBRARY_PATH for make test_shlibs and friends.
Michael Adam [Thu, 6 Mar 2008 09:26:29 +0000 (10:26 +0100)]
Make test: set LD_LIBRARY_PATH for make test_shlibs and friends.

Michael
(cherry picked from commit 21a527569bccff8e8cb6e751c9f3fce6ff598204)

16 years agoFix build targets for bin/net.
Günther Deschner [Wed, 5 Mar 2008 21:21:10 +0000 (22:21 +0100)]
Fix build targets for bin/net.

Guenther
(cherry picked from commit 5159e3dafa9f9bb85cde6681052d8f54b8bf8a2e)

16 years agoAnother build fix for pam_smbpass: make sure libwbclient is there.
Günther Deschner [Wed, 5 Mar 2008 18:54:34 +0000 (19:54 +0100)]
Another build fix for pam_smbpass: make sure libwbclient is there.

Guenther
(cherry picked from commit f6762f9cd0b2ace46e16d246adf2e386749650f9)

16 years agoRespect FAMChanged -- attempt to fix bug 5307
Volker Lendecke [Thu, 6 Mar 2008 06:19:46 +0000 (07:19 +0100)]
Respect FAMChanged -- attempt to fix bug 5307

Thanks to Ricardo Santos
(cherry picked from commit 8ef57a34ebf24e577ba7bca57a5456c1f78a3659)

16 years agoBuild: fix bin/net on Solaris - use -ltdb instead of bin/libtdb.so
Michael Adam [Wed, 5 Mar 2008 22:47:59 +0000 (23:47 +0100)]
Build: fix bin/net on Solaris - use -ltdb instead of bin/libtdb.so

Reported by Christian McHugh <christian.mchugh@nau.edu> on the samba ML.

Michael
(cherry picked from commit 3398403c22c0f39b0d91621d81e31004fc8d28bc)

16 years agoMakefile: reformat - break long target lines.
Michael Adam [Wed, 5 Mar 2008 14:04:28 +0000 (15:04 +0100)]
Makefile: reformat - break long target lines.

Michael
(cherry picked from commit e26133808469cb7e9acc41cb15219d7b736d228a)

16 years agoMakefile: untangle -ltalloc from LIBS, making use of libtalloc explicit.
Michael Adam [Wed, 5 Mar 2008 13:16:46 +0000 (14:16 +0100)]
Makefile: untangle -ltalloc from LIBS, making use of libtalloc explicit.

Michael
(cherry picked from commit 237ea62a49fbf47634b55795c1065250d5148600)

16 years agoMake test: set LD_LIBRARY_PATH for make test_shlibs and friends.
Michael Adam [Thu, 6 Mar 2008 09:26:29 +0000 (10:26 +0100)]
Make test: set LD_LIBRARY_PATH for make test_shlibs and friends.

Michael

16 years agoRespect FAMChanged -- attempt to fix bug 5307
Volker Lendecke [Thu, 6 Mar 2008 06:19:46 +0000 (07:19 +0100)]
Respect FAMChanged -- attempt to fix bug 5307

Thanks to Ricardo Santos

16 years agoIn libnetapi, point out that lp_load has failed.
Günther Deschner [Wed, 5 Mar 2008 23:45:20 +0000 (00:45 +0100)]
In libnetapi, point out that lp_load has failed.

Guenther
(cherry picked from commit be673bfc61559f661040c6fb1ba7d2e4552967f2)

16 years agoFix lp_load with an empty registry and "config backend = registry". Michael, please...
Günther Deschner [Wed, 5 Mar 2008 23:51:20 +0000 (00:51 +0100)]
Fix lp_load with an empty registry and "config backend = registry". Michael, please check.

Guenther
(cherry picked from commit d9f4060c660da0ad671e061b123df71d109d51b9)

16 years agoFix lp_load with an empty registry and "config backend = registry". Michael, please...
Günther Deschner [Wed, 5 Mar 2008 23:51:20 +0000 (00:51 +0100)]
Fix lp_load with an empty registry and "config backend = registry". Michael, please check.

Guenther

16 years agoIn libnetapi, point out that lp_load has failed.
Günther Deschner [Wed, 5 Mar 2008 23:45:20 +0000 (00:45 +0100)]
In libnetapi, point out that lp_load has failed.

Guenther

16 years agoTest: Properly track current test binary for tracking crashes.
Michael Adam [Thu, 6 Mar 2008 08:25:38 +0000 (09:25 +0100)]
Test: Properly track current test binary for tracking crashes.

Make sure the panic action always has the right test binary set.

Michael

16 years agoGive a better error message why NetServerSetInfo() may fail in the gui.
Günther Deschner [Wed, 5 Mar 2008 14:21:43 +0000 (15:21 +0100)]
Give a better error message why NetServerSetInfo() may fail in the gui.

Guenther
(cherry picked from commit 1bbbebb7767b8a25532e8be3dbd274c211e34bbd)

16 years agoAdd PICFLAG to libnetapi Makefile.
Günther Deschner [Wed, 5 Mar 2008 12:20:32 +0000 (13:20 +0100)]
Add PICFLAG to libnetapi Makefile.

Guenther
(cherry picked from commit 29fca3c0353f2be4577613d7e38fbc51d2a370fa)

16 years agoFix coverity ID 525, 526, 527, 528, 529 and 530
Volker Lendecke [Wed, 5 Mar 2008 15:20:34 +0000 (16:20 +0100)]
Fix coverity ID 525, 526, 527, 528, 529 and 530

Upon failure to allocate one of the arrays, further down the TALLOC_FREE would
have looked at the variables given to it without initizalizing.
(cherry picked from commit 6cac3127312acaac65fcd54280605605765787ad)

16 years agoBuild: fix bin/net on Solaris - use -ltdb instead of bin/libtdb.so
Michael Adam [Wed, 5 Mar 2008 22:47:59 +0000 (23:47 +0100)]
Build: fix bin/net on Solaris - use -ltdb instead of bin/libtdb.so

Reported by Christian McHugh <christian.mchugh@nau.edu> on the samba ML.

Michael

16 years agoFix coverity ID 525, 526, 527, 528, 529 and 530
Volker Lendecke [Wed, 5 Mar 2008 15:20:34 +0000 (16:20 +0100)]
Fix coverity ID 525, 526, 527, 528, 529 and 530

Upon failure to allocate one of the arrays, further down the TALLOC_FREE would
have looked at the variables given to it without initizalizing.

16 years agoFix build targets for bin/net.
Günther Deschner [Wed, 5 Mar 2008 21:21:10 +0000 (22:21 +0100)]
Fix build targets for bin/net.

Guenther

16 years agoAnother build fix for pam_smbpass: make sure libwbclient is there.
Günther Deschner [Wed, 5 Mar 2008 18:54:34 +0000 (19:54 +0100)]
Another build fix for pam_smbpass: make sure libwbclient is there.

Guenther

16 years agoMerge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
Jelmer Vernooij [Wed, 5 Mar 2008 18:42:15 +0000 (19:42 +0100)]
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test

16 years agoFix Coverity ID 565
Volker Lendecke [Wed, 5 Mar 2008 16:20:01 +0000 (17:20 +0100)]
Fix Coverity ID 565

This would crash safely

16 years agoFix a memleak -- Coverity ID 222
Volker Lendecke [Wed, 5 Mar 2008 15:28:43 +0000 (16:28 +0100)]
Fix a memleak -- Coverity ID 222
(cherry picked from commit a40781bafa3a8f0c7737164bca6cf74b0a452e72)

16 years agoFix formatting.
Jelmer Vernooij [Wed, 5 Mar 2008 16:30:18 +0000 (17:30 +0100)]
Fix formatting.

16 years agoRevert "Make sure to generate pkgconfig files for libtdb and libtalloc."
Günther Deschner [Wed, 5 Mar 2008 15:31:04 +0000 (16:31 +0100)]
Revert "Make sure to generate pkgconfig files for libtdb and libtalloc."

This uses incorrect version numbers for tdb and talloc.

Guenther

This reverts commit df97fb019b89a147a0a2c560003d74c354fcc4b6.