1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

24658 Commits

Author SHA1 Message Date
Volker Lendecke
c8dfed63a6 Fix a brown paper bag segfault in clitar
Thanks to "No Body is Perfect" from gmail, whoever that is :-)

Volker
(cherry picked from commit 679d8dfa390601f777bfb43c02cd921eae5edcf4)
(This used to be commit b8e1d62b8e8f724b855c8ab9801abee0b2791e36)
2008-06-17 21:14:47 +02:00
Günther Deschner
8fd045f918 rpcclient: add more generic internal dscracknames call.
Guenther
(This used to be commit 2351b0845ca78707901daca6a6d0425959c6f28e)
2008-06-17 20:01:51 +02:00
Günther Deschner
44e153e3c1 netapi: use NetUserEnum filter in example code.
Guenther
(This used to be commit ad105177686da823ef9cce1c1bedaf0f84a49b8c)
2008-06-17 20:00:11 +02:00
Günther Deschner
b330ea29c7 netapi: add NetUserEnum filter constants to public headers.
Guenther
(This used to be commit 32a66131eb56e1c66b89e348141047c6b98cf35e)
2008-06-17 20:00:00 +02:00
Günther Deschner
d0b7bccf6d netapi: implement NetUserEnum filters.
Guenther
(This used to be commit 0bd69df7704789888eba2a07aba505dce037c4eb)
2008-06-17 19:59:50 +02:00
Günther Deschner
68064b8101 re-run make idl.
Guenther
(This used to be commit 383636aaca0e59fef8a010ba697e5edf9ce2648b)
2008-06-17 19:59:38 +02:00
Günther Deschner
a040b8be7d netapi: add NetUserEnum filter constants to IDL.
Guenther
(This used to be commit 12669b12c25a64b02c0e49b3ef96cf317992b18c)
2008-06-17 19:59:22 +02:00
Günther Deschner
08cf0bb878 netapi: some IDL cosmetics.
Guenther
(This used to be commit 4fd6bc61d0034659c5a89bf2eae188a04a3b41eb)
2008-06-17 19:58:39 +02:00
Günther Deschner
ffba83d22d netapi: add NetRemoteTOD example code.
Guenther
(This used to be commit 2b82779a401dd1d14f5842872ac37b2454efc92b)
2008-06-17 19:58:11 +02:00
Günther Deschner
a2290e5e00 netapi: implement NetRemoteTOD().
Guenther
(This used to be commit 76877680a8a6400bc2d3b5e3b788b7d5fc683850)
2008-06-17 19:58:01 +02:00
Günther Deschner
feca006232 netapi: make NetRemoteTOD() headers public.
Guenther
(This used to be commit 1262ab1843a8a8cb794f6bbfb113bd2d99ffba22)
2008-06-17 19:57:06 +02:00
Günther Deschner
ebbeddfdcd netapi: add NetRemoteTOD() skeleton.
Guenther
(This used to be commit 78bc98cb55e36ef175f9c0f6fcd943781a514005)
2008-06-17 19:56:44 +02:00
Günther Deschner
de7de69530 re-run make idl.
Guenther
(This used to be commit 782ab0f1c1c0957a1111a76c2c1ea7bd99d38311)
2008-06-17 19:56:27 +02:00
Günther Deschner
db1db7da92 netapi: add NetRemoteTOD() to IDL.
Guenther
(This used to be commit 8dd1a5fabffaea847a348d1467a75d005a16b0bd)
2008-06-17 19:56:16 +02:00
Günther Deschner
fefcb70f87 net_vampire: add error and result_message to samsync_context.
Guenther
(This used to be commit e0b117200441f842fbc11cc817ab2cde4d63a22e)
2008-06-17 19:55:16 +02:00
Günther Deschner
49b269f50f net_vampire: add domain_name to samsync_context.
Guenther
(This used to be commit 7e7f07ec59d23e909809ed32adc8fc399826310d)
2008-06-17 19:55:10 +02:00
Günther Deschner
0447e6a0a7 libads: add ads_get_machine_kvno() to make ads_get_kvno() a bit more generic.
Guenther
(This used to be commit cb7ace209c2051ae02647188715fa6ee324c2bf6)
2008-06-17 19:54:09 +02:00
Günther Deschner
fd288b4110 clikrb5: remove unrequired create_kerberos_key_from_string_direct() prototype.
Guenther
(This used to be commit ec86852fc6ce2d88ad5835c8fcb337c68fd6f6bc)
2008-06-17 19:51:52 +02:00
Günther Deschner
513bc4e791 dsgetdcname: allow to use NULL mem_ctx.
Guenther
(This used to be commit d20353d30c2e08a6c6d67ae8b8c2faa26004249c)
2008-06-17 19:51:24 +02:00
Günther Deschner
3688eeafa3 libads: fix logic error in ads_get_kvno().
Guenther
(This used to be commit 132b038581a1a91b4e70c7c44f97f52866609812)
2008-06-17 19:51:14 +02:00
Volker Lendecke
04e697891b Fix a memleak in svcctl_init_keys()
(This used to be commit 675bb53398ba29c53d2dcf3c7122cf4770c2f938)
2008-06-17 16:09:22 +02:00
Volker Lendecke
6f66dbcda6 Fix a segfault in wbcLookupRids
The done: part could access uninitialized memory if intermediate
BAIL_ON_WBC_ERROR fire.

Jerry, please check!

Thanks,

Volker
(cherry picked from commit 31f4c33dcc744e81be54389756378e25aa2bb75e)
(This used to be commit 5b12d8aa510689114e5413be5afe6aeb6ec2d9db)
2008-06-17 15:22:13 +02:00
Volker Lendecke
7f9acfae73 Fix a segfault in wbcLookupSid
If the BAIL_ON_WBC_ERROR directly after wbcRequestResponse kicks in, *domain
and *name have not been initialized yet. So the cleanup routine in the done:
part of the routine (which did not check for domain!=NULL etc) would access
uninitialized memory.

Jerry, please check!

Thanks,

Volker
(cherry picked from commit 3d7e0cc40b1992f4555807acec4f00450e30e2de)
(This used to be commit ac5ba26bb0488c3fb95072d84898c02b72c5b819)
2008-06-17 15:22:04 +02:00
Andrew Bartlett
08d63adc61 Merge branch 'v3-3-test' of ssh://git.samba.org/data/git/samba into 3-3-abartlet
(This used to be commit a09ed6016a41a9ed45716579e59a646545054f63)
2008-06-17 22:46:34 +10:00
Andrew Bartlett
086de4ddb5 Without stdlib.h we don't get a prototype for free().
This test fails if GCC emits any warnings (presumably to detect the
function propertly), but unless we include this message then free()
fail.  Why we need to call free in a configure test is probably
something to blame on valgrind...

Andrew Bartlett
(This used to be commit d013f6fadc3e80fabb4a1784207dabc84f9b7dc2)
2008-06-17 22:45:29 +10:00
Volker Lendecke
c8ac22111e Replace a very unusual variable declaration by a more conventional one
(This used to be commit 9c1f334af3111e93bb8dceb661e1bc5519aa94c6)
2008-06-17 14:35:44 +02:00
Volker Lendecke
8349e02b0b Fix a memleak in wbcAuthenticateUserEx()
(cherry picked from commit 72b381689af9cae83ab08532cffd0188f2da4807)
(This used to be commit 20110ee5f181168dc1cbc08b7c22820d68204960)
2008-06-17 13:10:18 +02:00
Volker Lendecke
ee281b7479 Revert "Fix a memleak caused by a crappy get_sorted_dc_list() API"
This reverts commit 2ea03a1e95a30e321e390bef9408a1215711de07.
(This used to be commit 80c2e8295a00c3d88372b55b81d03b455feb69b2)
2008-06-17 12:21:03 +02:00
Volker Lendecke
aaa2a4f447 Revert "Fix a memleak in ads_find_dc() in case get_sorted_dc_list() fails"
This reverts commit df8d089bc63c2a52cbdf3504cded8df620a59902.
(This used to be commit 342f8858200ed7c446516c270e1b4284d92010d8)
2008-06-17 12:20:54 +02:00
Günther Deschner
4500f1d584 netapi: Fix Bug #5545 (libnetapi_init without $USER)
Based on patch from Erik van Pienbroek.

Guenther
(This used to be commit 71f4cf773022525ba617f09c495dbff97f8eb2d5)
2008-06-17 10:49:38 +02:00
Günther Deschner
45bce6e505 net_vampire: fix samsync_process_database().
Turns out the password hashes are not rid encrypted in the samsync reply.

Guenther
(This used to be commit 7d8d60bcbae79f3cdd55b27217145ffbd19f161d)
2008-06-17 10:49:14 +02:00
Günther Deschner
0d0043697d net_vampire: fix build warning.
Guenther
(This used to be commit eb4232fec05cd87ea85a781b84a3fbe85f469703)
2008-06-17 10:49:14 +02:00
Günther Deschner
16eb846fa5 net_vampire: use generic output filename and use correct argv element.
Guenther
(This used to be commit e0843e631e379645296a5fe34dfc83bc265ebef3)
2008-06-17 10:49:13 +02:00
Günther Deschner
51fec7863b net_vampire: move ldif code out of net_rpc_samsync.c
Guenther
(This used to be commit 1d5758ec3a5160e5649242c42f6e4a7b39eb6199)
2008-06-17 10:49:13 +02:00
Günther Deschner
ccdcbc2efe net_vampire: move some samsync functions to libnet.
Guenther
(This used to be commit b3b6af0a3e25fab0a14c9c802dbabd3d03448ebe)
2008-06-17 10:49:13 +02:00
Volker Lendecke
d314f7eab5 Add some debug to notify
(This used to be commit 4394235378f85ccb911d662d95f1545a14240bdf)
2008-06-17 10:48:40 +02:00
Karolin Seeger
99e73df8e8 Remove references to SVN.
Karolin
(This used to be commit 9d69a809e370f98057e514a3c755b0b86ee5f610)
2008-06-17 10:43:19 +02:00
Michael Adam
e1732fae33 Remove reference to current_user from modules/nfs4_acls.c .
Michael
(This used to be commit 50fbfa03483de0059d85967dc96f2896e55e6d04)
2008-06-17 10:33:12 +02:00
Karolin Seeger
a7cf0bd32a idmap: Fix typos in comments.
Karolin
(This used to be commit 94a4d7fa3209eb668161b8110af6f877b4833fa7)
2008-06-17 10:30:19 +02:00
Karolin Seeger
98ed31a107 Fix typo.
arguements -> arguments

Karolin
(This used to be commit 16b5b772d216d10613d433884634b1215efbd6e6)
2008-06-17 09:46:17 +02:00
Karolin Seeger
13eab02679 winbind cache: Don't create SN cache entries during name-to-sid queries.
Clients can request name-to-sid queries for different combinations of
upper and lower case names. We don't want to create the reverse caching
entries for each combination used.

This avoids inconsistent answers on sid-to-name queries.

Please review!

Karolin
(This used to be commit b58e4f6b3d73294d8448c0dff4341183c52e5b7c)
2008-06-16 15:21:28 +02:00
Volker Lendecke
fdcf760d1c Fix bug 5500 -- thanks to mathion at thorrovydeti.com for reporting
(cherry picked from commit 996c3ce6f0dbe79b0679ae30afd873c24fe5b1eb)
(This used to be commit 1f86c7a2a19e66948c9b51572d3c078b6e03ef52)
2008-06-16 13:27:47 +02:00
Volker Lendecke
9c1f5894a5 Add forgotten protoypes
(This used to be commit dee60935d443bd215e384e626d1114ae65c1a62d)
2008-06-15 18:46:10 +02:00
Volker Lendecke
b6c125e4e0 Remove the current_user references from open.c
current_user_info was "only" used in a debug msg, and current_user.ut.uid is
also available via conn->server_info
(This used to be commit d0386914ff0f7b0f1edc3302fdc6a25f211712fa)
2008-06-15 13:41:16 +02:00
Volker Lendecke
d49de28f11 Remove the current_user reference from fake_file.c
The current vuid is not only available there, it is also in the current
smb_request structure.
(This used to be commit c8fd5eef32a86888c7a28317f0fdf717a26b7d4c)
2008-06-15 13:37:53 +02:00
Volker Lendecke
3a5e1cacf1 Remove unused "extern struct current_user" from dir.c
(This used to be commit b92cfd19b459caad34229dfe941cf15fd14a5ce0)
2008-06-15 11:40:33 +02:00
Volker Lendecke
704c99f340 Remove the reference to current_user from file_access.c
conn holds the current user info
(This used to be commit 093bc5f2b33ebf90e04bc17e51b1695b1b932bf2)
2008-06-15 11:39:31 +02:00
Volker Lendecke
3fde7f5979 Fix an uninitialized variable found by the IBM checker
BAIL_ON_PTR_ERROR jumps to done: which will access extra_data before it's
initialized.

Stefan, please check!

Volker
(cherry picked from commit b59636f78d351ed6d52c4a9fdccdb7850388526c)
(This used to be commit 5663587e5e4703f9e3ff6d78d1f3248053ccd4c0)
2008-06-15 00:24:18 +02:00
Volker Lendecke
cd7d7e1e82 Fix group parsing in libwbclient's copy_group_entry()
This (also) fixes a flaw pointed out by the IBM checker. When verifying that I
found out that the parsing was not working as I would have expected it to.

Jerry, please check!
(cherry picked from commit c2c7790155ab02e1e351caf2bed192ce72913663)
(This used to be commit 26c05a52b73763dad5ad0525dab6e20014c3f8d6)
2008-06-15 00:17:27 +02:00
Volker Lendecke
101162257c Move connection-specific vuid cache clear to uid.c
(This used to be commit 1025f687910ce40283c7344ed67ebd5bf31217b7)
2008-06-14 19:49:49 +02:00