Jeremy Allison
6fa81523f8
Ensure we don't access an uninitialized variable
...
(CID 535 - actually false but easy to shut up :-).
Jeremy.
(This used to be commit 4038bb3a9485943db58d9fe30947e11522ce283d)
2008-01-11 22:44:33 -08:00
Günther Deschner
45db92cc72
Fix some indents.
...
Guenther
(This used to be commit 57368f883fb217b4196858bb2255c0eea59a8917)
2008-01-12 02:26:08 +01:00
Günther Deschner
afb163efb7
Call dsgetdcname when we have no specific dc defined for joining.
...
Guenther
(This used to be commit 40e8caa2d81168be3e48ececf5746d8f659a96d6)
2008-01-12 02:25:57 +01:00
Günther Deschner
d4e5cadc1a
Fix some error strings in libnet_join.
...
Guenther
(This used to be commit 8af80976a3a8dd9d02a6763e48b2c1d8003ae4dd)
2008-01-12 02:25:47 +01:00
Günther Deschner
21ccb47044
Add appropriate error code when pre-creating accounts in ous isnt supported by DC.
...
Guenther
(This used to be commit 4a7acf4a2374138b20a5cdebdcc721668bbd865b)
2008-01-12 02:25:37 +01:00
Günther Deschner
bc629c6faf
For libnet_join error string functions, make sure not to overwrite last status string.
...
Guenther
(This used to be commit a9b76c9e2d93c8aa482dbee54f29d7e1503abe4f)
2008-01-12 02:25:25 +01:00
Günther Deschner
e69c82eb44
Merge all ads related calls in libnet_join_post_processing_ads().
...
Guenther
(This used to be commit b76250f1cf7238613658901b961d68a0da592712)
2008-01-12 02:25:15 +01:00
Günther Deschner
a05edb57e7
Use WITH_ADS define in libnet_join, hopefully not breaking the build.
...
Guenther
(This used to be commit 48f638a45525c01db9855e3ef809f08ce65da8d8)
2008-01-12 02:10:17 +01:00
Günther Deschner
8921b2222a
Auto-add missing shares in libnet_conf_set_parameter().
...
Michael, please have a look.
Guenther
(This used to be commit 9f4506e5e2828e0f23bc37586770995c3424b208)
2008-01-12 01:36:04 +01:00
Günther Deschner
9d164c4094
Add debug bool flag for libnetjoin ctx.
...
Guenther
(This used to be commit 93084487952f4ef23209401d689b3be3af6c9e6e)
2008-01-12 01:35:57 +01:00
Günther Deschner
fbd6d14fc8
Use domain_is_ad one more time in libnetjoin.
...
Guenther
(This used to be commit 82bd6322b691506ddea2b274973e614fa8c6ee5e)
2008-01-12 01:35:51 +01:00
Jeremy Allison
2ec41571a3
Sync tdb with the tdb changes in ctdb. Spoke to tridge about
...
this. Fixes insidious problem with order n^2 freelist merging.
Jeremy.
(This used to be commit c6609c042b128e7d63eb64cfdfb0f6b65cb59d76)
2008-01-11 15:08:37 -08:00
Michael Adam
9cd7430347
Remove code accidentially submittet with last commit 83aed537c16f63.
...
This is ist still in preparation and will follow soon. Soory!
Michael
(This used to be commit 75acdb54a454ffda9d422fcafb573c8f5581d2e8)
2008-01-11 19:02:26 +01:00
Michael Adam
618f9a60cc
Fix panic in "net conf": Fix logic in error condition.
...
Michael
(This used to be commit 83aed537c16f632599484f60c5ccebc3ab713801)
2008-01-11 18:55:26 +01:00
Günther Deschner
2539cf0739
Fix a build warning.
...
Guenther
(This used to be commit 88874a501d0c086f796e4838af8c9399d3cccc1f)
2008-01-11 18:47:03 +01:00
Günther Deschner
c79ce2ffa3
As long as DsGetDcName is not part of libnetapi, lowercase the fn name.
...
Guenther
(This used to be commit 19a980f52044a170618629e5b0484c1f6b586e5f)
2008-01-11 15:32:20 +01:00
Günther Deschner
efcf285e27
Fix libnetapi error string callers.
...
Guenther
(This used to be commit 1ad7a0a361edfa5ac738f011db1d6a9db256ac2c)
2008-01-11 15:28:24 +01:00
Günther Deschner
026b2a8d0a
Remove '\n' from error strings in libnet_join context.
...
Guenther
(This used to be commit 9cc0d874f6c064e8752d36e72fcc85bf4c85e656)
2008-01-11 15:10:29 +01:00
Günther Deschner
55b642c312
Set error string when ads_leave_realm() has failed in libnetjoin.
...
Guenther
(This used to be commit 01690f85bc7d052d4c57181d74aef27d1776169c)
2008-01-11 15:10:21 +01:00
Günther Deschner
7a87256cd1
Include some basic headers in netapi.h.
...
Guenther
(This used to be commit 23b92a6fa57858c8a23c737a9cd00c076ef5dadd)
2008-01-11 15:10:15 +01:00
Günther Deschner
4eed7883bb
Refactor libnetapi error string functions a bit.
...
Guenther
(This used to be commit 3b450a8bcc97b6d03c4b7b9373a3a382c0fcea30)
2008-01-11 15:09:54 +01:00
Günther Deschner
2bcba87572
Ignore result of libnet_conf_delete_parameter here, as realm may be not there.
...
Guenther
(This used to be commit 2e2d058b7e90a158612af4b0a489578431f748e5)
2008-01-11 15:09:20 +01:00
Günther Deschner
2c591e05c9
Remove some more references to global_myname() in libnet_join.
...
Guenther
(This used to be commit ed4960baccf687b77c2b0f4ee64cbce2005f3abb)
2008-01-11 15:09:01 +01:00
Günther Deschner
136b02de5e
Use domain_is_ad bool.
...
Guenther
(This used to be commit 9707a5eb008788460937104575b7afd733a9f741)
2008-01-11 15:08:52 +01:00
Günther Deschner
28b852a893
Add domain_is_ad bool to libnetjoin ctx.
...
Guenther
(This used to be commit 16ca8d2746a5c2fc7a583d1cf2ebb4d3aa003842)
2008-01-11 15:08:41 +01:00
Jeremy Allison
6a8fad084c
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
...
(This used to be commit 767e0164adf8803df50b0b7bd8e81d25af72bb78)
2008-01-10 16:36:05 -08:00
Jeremy Allison
f33f4ef4a2
Don't switch user contexts unless you have to. Saves
...
a bunch of syscalls on close. Noticed by Volker.
Jeremy.
(This used to be commit 3caeeaea162e2083a087c242b850c107a3be1bf9)
2008-01-10 16:35:54 -08:00
Michael Adam
fef9cf00e1
Combine fsp and tofd to tofsp in SMB_VFS_RECVFILE().
...
Michael
(This used to be commit 3958abffaf2866c69ad9e13ec345364fde5c78bb)
2008-01-11 01:27:05 +01:00
Michael Adam
14d45bedfa
Remove now redundant parameter fd from prime_cache().
...
Michael
(This used to be commit 63acaf1b9755cd5be5342929e1210afa06e170f3)
2008-01-11 01:27:05 +01:00
Michael Adam
4caab9ca25
Combine fsp and fromfd to fromfsp in SMB_VFS_SENDFILE().
...
Michael
(This used to be commit a52cfb7d777157c93c9dc26c67f457be592dd537)
2008-01-11 01:27:05 +01:00
Jeremy Allison
13785d5c62
Don't print out debug messages at level 0 if we can't
...
bind to a socket if we've already bound to one (this
prevents :
bind failed on port 445 socket_addr = 0.0.0.0.
Error = Address already in use
bind failed on port 139 socket_addr = 0.0.0.0.
Error = Address already in use
messages when trying to bind to an IPv4 address
when we've already bound to the IPv6 equivalent.
Jeremy.
(This used to be commit 3936de735a7bb548df8ce7f06f2cc8f7ffdf56cd)
2008-01-10 15:15:01 -08:00
Michael Adam
e17642e849
Fix the build of the cacheprime VFS module after API changes.
...
Sorry, that had escaped my attention.
Michael
(This used to be commit 88102b5b7c4eaad5445e9cb96e547dd918abc0c2)
2008-01-10 23:40:13 +01:00
Volker Lendecke
0bfa867159
--enable-libwbclient-shared
...
This patch adds the configure option --enable-libwbclient-shared that defaults
to yes. If you set --enable-developer=yes, then you can say
--enable-libwbclient-shared=no to avoid problems you might have with the wrong
shared libaries.
Jerry, is this acceptable to you? If yes, please push.
Thanks!
Volker
(This used to be commit 7a88cd61e09f6db9db38916704ae65e03b33139c)
2008-01-10 22:15:19 +01:00
Volker Lendecke
b7d222c690
Tiny cosmetic fix
...
(This used to be commit c82c1d462be6ddccd6e395b4a9630df91dacbda2)
2008-01-10 22:12:57 +01:00
Michael Adam
e9a3a62e74
Remove redundant parameter fd from SMB_VFS_WRITE().
...
Michael
(This used to be commit c8ae7d095a2a6a7eac920a68ca7244e3a423e1b1)
2008-01-10 15:49:35 +01:00
Michael Adam
1d66f4d58b
Remove redundant parameter fd from SMB_VFS_READ().
...
Michael
(This used to be commit a8fc2ddad8d5f7c6c00cb36c74a32a02d69d1d04)
2008-01-10 15:33:51 +01:00
Michael Adam
ba2a255282
Move transfer_file and transfer_file_internal to a module of their own.
...
Also, don't auto-generate prototypes of the (two) exported functions
but make a start in having handwritten prototypes in dedicated header
files (not in includes.h ... :-)
Michael
(This used to be commit 395f29d8b768a56af20b37f185eccdc5f37b68d5)
2008-01-10 14:31:25 +01:00
Michael Adam
386caead47
Reformat some code I just touched.
...
Michael
(This used to be commit 4ed238b1e46f7680a29ebdbfe9500d16718f9057)
2008-01-10 14:28:12 +01:00
Michael Adam
10da70325b
Make casts to (void *) explicit to remove compiler warnings.
...
Michael
(This used to be commit cbbfbd7a63fe0fc479a1b63b4552c713633dd6be)
2008-01-10 14:28:12 +01:00
Michael Adam
9f6d0479d7
Fix a really silly typo.
...
Michael
(This used to be commit 7b0af7cdc97d4bbcbd73a9474871217511b92c3a)
2008-01-10 14:18:46 +01:00
Michael Adam
5661ac6a38
Correctly abstract the transfer_file mechanism with callbacks and void ptrs.
...
This removes the in_fsp and out_fsp global variables hack from smbd/vfs.c.
Michael
(This used to be commit b2e7cdc6e899ca3c16edbb6c8786ff9aa999fa6e)
2008-01-10 13:30:46 +01:00
Volker Lendecke
9f67ee6334
use talloc_tos() in share_access_check()
...
(This used to be commit ac2bb838d537ca563ad2fe770b3e1c2fe8b1d9e7)
2008-01-10 13:19:59 +01:00
Volker Lendecke
5ddb2abf76
Some more talloc_tos()
...
(This used to be commit 444e35e7df1f13fc285183da8fb41b30ad99a3fa)
2008-01-10 13:19:58 +01:00
Volker Lendecke
3cc3b9e187
use talloc_tos in a few more places
...
(This used to be commit 65dd869bea351010c67f02046ae4134bdada1a4c)
2008-01-10 13:19:58 +01:00
Günther Deschner
83b1751615
Remove unused string.
...
Guenther
(This used to be commit 88d6683872f4bb9c3074280f385f73c7af9de784)
2008-01-10 13:02:10 +01:00
Volker Lendecke
138954e70e
Fix a c++ warning
...
(This used to be commit ee905a085fff5410d02c3e5fa2664e989de4afd4)
2008-01-10 12:28:20 +01:00
Volker Lendecke
97a50593fe
talloc_free_children can only reset pool if it's empty
...
(This used to be commit 0272b46515b4c4515d5cad8e86fab61d8e91e29e)
2008-01-10 12:28:20 +01:00
Volker Lendecke
4803cc5d3c
Mark talloc_pool memory for valgrind
...
(This used to be commit d89e42f1d2faa018c584025296d6be8195cbcf20)
2008-01-10 12:28:20 +01:00
Volker Lendecke
e8909e2840
Fix suspicious Makefile line
...
If @WINBIND_KRB5_LOCATOR@ is not defined, this leads to a line with just one
tab in.
(This used to be commit af07adaf4293899fcbded666289ffa7479ca0501)
2008-01-10 10:55:38 +01:00
Volker Lendecke
7579e08599
Form a proper hierarchy in talloc_stack
...
This way talloc_stackframe() can benefit from a pool put on the stack further
up. No need to remove talloc_stackframe().
(This used to be commit be6fe381168321ae62e079cd977cbef675c532d4)
2008-01-10 09:54:06 +01:00