Michael Adam
ecd7479be2
registry: don't leak to talloc stack in regdb_fetch_keys().
...
Michael
(This used to be commit 3a1d79116b
)
2008-03-17 08:22:33 +01:00
Michael Adam
3b250d17d9
registry: explicitly use talloc context instead of talloc_tos()
...
in regdb_fetch_keys().
Michael
(This used to be commit 93ea27a3e2
)
2008-03-17 08:22:33 +01:00
Michael Adam
46ea0d333e
registry: don't leak on success path in regdb_store_keys().
...
Michael
(This used to be commit 331d7fd2ea
)
2008-03-17 08:22:33 +01:00
Michael Adam
a0d4c1e127
registry: allocate tempory data in talloc stack in regdb_store_keys().
...
Michael
(This used to be commit a99b51159a
)
2008-03-17 08:22:33 +01:00
Michael Adam
78adf71669
registry: separate cancel and failur exit paths in regdb_store_keys().
...
Michael
(This used to be commit e1d4a2fa5b
)
2008-03-17 08:22:33 +01:00
Michael Adam
e64825e620
registry: don't leak memory on transaction fail in regdb_store_keys().
...
Michael
(This used to be commit 9315de4048
)
2008-03-17 08:22:33 +01:00
Michael Adam
ba8607acc1
registry: don't leak (to talloc_tos()) in regdb_store_keys().
...
use talloc_stackframe() and free on error path.
Michael
(This used to be commit 95525772f2
)
2008-03-17 08:22:33 +01:00
Michael Adam
a37811727a
registry: reformat regdb_store_keys_internal(), killing long lines.
...
Michael
(This used to be commit 966b2414cb
)
2008-03-17 08:22:32 +01:00
Michael Adam
a446378e7a
registry: don't leak (to talloc_tos()) in regdb_store_keys_internal().
...
Michael
(This used to be commit 76e4cdc25f
)
2008-03-17 08:22:32 +01:00
Michael Adam
8432f7f8cf
registry: reformat init_registry_data() some, killing long lines.
...
Michael
(This used to be commit f357b1ddd3
)
2008-03-17 08:22:32 +01:00
Michael Adam
0a98b3ce1d
registry: explicitly use talloc context instead of talloc_tos()
...
in init_registry_data().
Michael
(This used to be commit 8b0dd1e758
)
2008-03-17 08:22:32 +01:00
Michael Adam
0ca465f054
registry: don't leak (to talloc_tos()) in init_registry_data().
...
Michael
(This used to be commit 7fd0ae3edc
)
2008-03-17 08:22:32 +01:00
Michael Adam
7c6de9b0bd
registry: rename tdb_refcount to regdb_refcount after change to dbwrap.
...
Michael
(This used to be commit d39957e2c9
)
2008-03-17 08:22:32 +01:00
Michael Adam
62556cd6f0
registry: rename tdb_reg to regdb after change to dbwrap.
...
Michael
(This used to be commit 79f37d4765
)
2008-03-17 08:22:32 +01:00
Michael Adam
178f3afe41
registry: migrate tdb registry backend to dbwrap.
...
Michael
(This used to be commit 3c42d8ee16
)
2008-03-17 08:22:32 +01:00
Volker Lendecke
a5e1910f82
Fix Coverity ID 567
...
Jeremy, please push it if you like it and mark the bug as fixed on the Coverity
site.
Thanks,
Volker
(This used to be commit 2fd2542370
)
2008-03-16 12:23:44 -07:00
Volker Lendecke
5aec381434
Need to close the /dev/zero fd
...
(This used to be commit c2b2a9303d
)
2008-03-16 11:58:33 +01:00
Volker Lendecke
2157f67e38
Fix Coverity ID 554
...
(This used to be commit 471b1b0c58
)
2008-03-15 22:30:25 +01:00
Volker Lendecke
e2ab1a0f98
Fix Coverity ID 555
...
(This used to be commit 44122f06d0
)
2008-03-15 22:30:25 +01:00
Volker Lendecke
82117aaaea
Fix Coverity ID 563
...
dirmask is always set here, we've dereferenced it before anyway
(This used to be commit e6787aa133
)
2008-03-15 22:30:25 +01:00
Volker Lendecke
fa495ce1c1
Fix Coverity ID 564
...
finfo1==NULL just does not happen in current code
(This used to be commit 9ea0078c31
)
2008-03-15 22:30:25 +01:00
Volker Lendecke
3351bdeb23
Allocate one 0-byte in asprintf replacement when len==0
...
Some S3 code depends on this.
(This used to be commit dc3d5e1645
)
2008-03-15 21:50:55 +01:00
Günther Deschner
0bdba8d59a
Fix typo.
...
Guenther
(This used to be commit e12721f73d
)
2008-03-15 12:56:09 +01:00
Volker Lendecke
6b2da4d2f4
Fix bug 5317
...
Thanks to oster@cs.usask.ca
(This used to be commit f18a805759
)
2008-03-14 22:23:44 +01:00
Volker Lendecke
f3856d074f
Fix bug 4901
...
(This used to be commit 1dd8fa9a52
)
2008-03-14 18:01:23 +01:00
Michael Adam
59d6feb469
libreplace: fix samba4 build (by not setting global LIBS).
...
This corrects the earlier fix of the standalone build, by setting
LIBS to the desired value only in configure.ac but not in getifaddrs.m4.
Not that this changes the standalone build in that it adds these libs
undconditionally and not only if they are needed by the getifaddrs
replacement functions.
Michael
(cherry picked from commit ff3af1703d
)
(This used to be commit 2546da817f
)
2008-03-14 11:33:02 +01:00
Michael Adam
fd6513fc42
libreplace: add -I$libreplacedir to CPPFLAGS for getifaddrs tests.
...
This is needed, otherwise $libreplacedir/system/network.h does not
find $libreplacedir/getaddrinfo.h on some systems (solaris, e.g.).
Michael
(cherry picked from commit 297c3bece0
)
(This used to be commit ddd564e8bf
)
2008-03-14 11:32:54 +01:00
Michael Adam
27517ea5bb
libreplace: add an inet_aton() function that calls inet_pton().
...
inet_aton() is even needed inside libreplace, in the implementation
of rep_getaddrinfo().
Michael
(cherry picked from commit bcb2f3a880
)
(This used to be commit 83baff78ce
)
2008-03-14 11:32:34 +01:00
Michael Adam
439002b1c6
Allow parameter "include" in registry based configuration (again).
...
This is for instance important to allow includes with %I to setup
individual logging (e.g.) for certain clients.
Michael
(This used to be commit 8dad80b471
)
2008-03-13 23:08:25 +01:00
Michael Adam
21ea0edec8
Fix %I macro expansion for IPv4 mapped IPv6 addresses.
...
On some systems (linux e.g.), when listening on ipv6 and ipv4,
addresses of ipv4 clients are printed as mapped ipv4 addresses
by getnameinfo (e.g. ::ffff:127.0.0.1). This re-establishes
the original behaviour of %I to expand to the plain ipv4 address
for an ipv4 client.
Michael
(This used to be commit 0abc8863f8
)
2008-03-13 23:08:25 +01:00
Günther Deschner
fd62e5688b
Use existing srv_name_slash.
...
Guenther
(This used to be commit 5f2b3145fc
)
2008-03-12 16:35:41 +01:00
Günther Deschner
5e86a172a5
For convenience reasons, always create cli->srv_name_slash in the rpc_client.
...
Guenther
(This used to be commit 6363c383d6
)
2008-03-12 16:19:56 +01:00
Günther Deschner
08188dc72e
Remove unused marshalling for SRV_NET_DISK_ENUM.
...
Guenther
(This used to be commit 4928f1efce
)
2008-03-12 16:18:54 +01:00
Günther Deschner
25eb3e3d12
Ignore some unneeded autogenerated cli_ and srv_ functions.
...
Guenther
(This used to be commit c8ea359c19
)
2008-03-12 16:17:27 +01:00
Michael Adam
16f4e059f7
init_srv_share_info_ctr: fix counting of services.
...
The number of services was recorded too early leading to
registry shares not showing up in browse lists.
Guenther - please check.
Michael
(This used to be commit 737e470e02
)
2008-03-12 02:12:34 +01:00
Michael Adam
b371db93bb
init_srv_share_info_ctr: Add debug messages.
...
Michael
(This used to be commit 8b2cc36ffc
)
2008-03-12 02:12:34 +01:00
Michael Adam
6476313b6d
Add a debug message.
...
Michael
(This used to be commit a398070448
)
2008-03-12 02:12:34 +01:00
Michael Adam
646f3b6fec
loadparm: add a debug message.
...
Michael
(This used to be commit ce943aeb58
)
2008-03-12 02:12:34 +01:00
Michael Adam
7af7afc594
loadparm: remove services read from smb.conf when starting over for config backend registry.
...
Michael
(This used to be commit b942ff6b7f
)
2008-03-12 02:12:34 +01:00
Michael Adam
90fd5082a2
loadparm: add convenience wrapper lp_kill_all_services()
...
Michael
(This used to be commit 32bfd131e3
)
2008-03-12 02:12:34 +01:00
Michael Adam
a3eae3039d
loadparm: add a comment
...
Michael
(This used to be commit 05eda12525
)
2008-03-12 02:12:34 +01:00
Michael Adam
e14e348d06
loadparm: fix a comment typo.
...
Michael
(This used to be commit 0a619d4dc4
)
2008-03-12 02:12:33 +01:00
Michael Adam
62c9c6be22
loadparm: add utility function to check for config backend file.
...
Michael
(This used to be commit 288495ec1a
)
2008-03-12 02:12:33 +01:00
Michael Adam
4f739abea5
loadparm: use a function to check for the registry config backend.
...
Michael
(This used to be commit 4ac52a5a1d
)
2008-03-12 02:12:33 +01:00
Jeremy Allison
2e2302259f
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
...
(This used to be commit 1de05f1a87
)
2008-03-11 15:26:22 -07:00
Jeremy Allison
7d2c9c67fd
Using Metze's S4 nttrans rename test, the nttrans rename
...
behaves the same as the trans2 one.
Jeremy.
(This used to be commit c4fa4917da
)
2008-03-11 15:26:02 -07:00
Stefan Metzmacher
5d3a31fbe1
selftest: samba3 passes RAW-SEARCH now
...
As the resume key tests are skipped against samba3.
metze
(This used to be commit c765090871
)
2008-03-11 22:08:24 +01:00
Jeremy Allison
792c972538
Metze pointed out this we don't need FILE_ATTRIBUTE_READ here.
...
Jeremy.
(This used to be commit 923aa9f330
)
2008-03-11 13:59:04 -07:00
Jeremy Allison
b7a014a6ee
Allow us to pass RAW-RENAME by testing that the connection struct
...
connection paths are equal, not just the conn structs themselves.
Jeremy.
(This used to be commit 632f3fe66f
)
2008-03-11 13:38:25 -07:00
Jeremy Allison
bac7b5b19e
Try and fix bug #5315 , as well as S4 torture tests RAW-OPLOCK BATCH19,
...
BATCH20 and RAW-RENAME.
Jeremy.
(This used to be commit 9065792d4b
)
2008-03-11 13:27:33 -07:00