summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-06-17Fix a segfault in wbcLookupRidsVolker Lendecke1-16/+21
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-17Fix a segfault in wbcLookupSidVolker Lendecke1-19/+29
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-17Merge branch 'v3-3-test' of ssh://git.samba.org/data/git/samba into 3-3-abartletAndrew Bartlett1-1/+1
(This used to be commit a09ed6016a41a9ed45716579e59a646545054f63)
2008-06-17Without stdlib.h we don't get a prototype for free().Andrew Bartlett1-0/+1
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-17Replace a very unusual variable declaration by a more conventional oneVolker Lendecke1-1/+1
(This used to be commit 9c1f334af3111e93bb8dceb661e1bc5519aa94c6)
2008-06-17man pages: Move 'smbsh' man page to the examples directory.Karolin Seeger3-0/+311
smbsh.c is located in the examples directory. It does not make sense to install a man page without installing the tool itself. This fixes bug #4724. Karolin (This used to be commit 797ed744b15c94fa4831d9796b40bb0ab5df55b7)
2008-06-17Fix a memleak in wbcAuthenticateUserEx()Volker Lendecke1-0/+2
(cherry picked from commit 72b381689af9cae83ab08532cffd0188f2da4807) (This used to be commit 20110ee5f181168dc1cbc08b7c22820d68204960)
2008-06-17Revert "Fix a memleak caused by a crappy get_sorted_dc_list() API"Volker Lendecke1-14/+1
This reverts commit 2ea03a1e95a30e321e390bef9408a1215711de07. (This used to be commit 80c2e8295a00c3d88372b55b81d03b455feb69b2)
2008-06-17Revert "Fix a memleak in ads_find_dc() in case get_sorted_dc_list() fails"Volker Lendecke1-1/+0
This reverts commit df8d089bc63c2a52cbdf3504cded8df620a59902. (This used to be commit 342f8858200ed7c446516c270e1b4284d92010d8)
2008-06-17netapi: Fix Bug #5545 (libnetapi_init without $USER)Günther Deschner1-2/+6
Based on patch from Erik van Pienbroek. Guenther (This used to be commit 71f4cf773022525ba617f09c495dbff97f8eb2d5)
2008-06-17net_vampire: fix samsync_process_database().Günther Deschner1-1/+1
Turns out the password hashes are not rid encrypted in the samsync reply. Guenther (This used to be commit 7d8d60bcbae79f3cdd55b27217145ffbd19f161d)
2008-06-17net_vampire: fix build warning.Günther Deschner1-1/+0
Guenther (This used to be commit eb4232fec05cd87ea85a781b84a3fbe85f469703)
2008-06-17net_vampire: use generic output filename and use correct argv element.Günther Deschner3-3/+3
Guenther (This used to be commit e0843e631e379645296a5fe34dfc83bc265ebef3)
2008-06-17net_vampire: move ldif code out of net_rpc_samsync.cGünther Deschner4-1183/+1217
Guenther (This used to be commit 1d5758ec3a5160e5649242c42f6e4a7b39eb6199)
2008-06-17net_vampire: move some samsync functions to libnet.Günther Deschner6-205/+241
Guenther (This used to be commit b3b6af0a3e25fab0a14c9c802dbabd3d03448ebe)
2008-06-17Add some debug to notifyVolker Lendecke1-0/+6
(This used to be commit 4394235378f85ccb911d662d95f1545a14240bdf)
2008-06-17Remove references to SVN.Karolin Seeger2-4/+4
Karolin (This used to be commit 9d69a809e370f98057e514a3c755b0b86ee5f610)
2008-06-17Remove reference to current_user from modules/nfs4_acls.c .Michael Adam1-2/+1
Michael (This used to be commit 50fbfa03483de0059d85967dc96f2896e55e6d04)
2008-06-17idmap: Fix typos in comments.Karolin Seeger1-3/+3
Karolin (This used to be commit 94a4d7fa3209eb668161b8110af6f877b4833fa7)
2008-06-17Fix typo.Karolin Seeger2-13/+13
arguements -> arguments Karolin (This used to be commit 16b5b772d216d10613d433884634b1215efbd6e6)
2008-06-16winbind cache: Don't create SN cache entries during name-to-sid queries.Karolin Seeger1-6/+6
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-16Fix bug 5500 -- thanks to mathion at thorrovydeti.com for reportingVolker Lendecke1-0/+2
(cherry picked from commit 996c3ce6f0dbe79b0679ae30afd873c24fe5b1eb) (This used to be commit 1f86c7a2a19e66948c9b51572d3c078b6e03ef52)
2008-06-15Add forgotten protoypesVolker Lendecke1-1/+2
(This used to be commit dee60935d443bd215e384e626d1114ae65c1a62d)
2008-06-15Remove the current_user references from open.cVolker Lendecke1-6/+4
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-15Remove the current_user reference from fake_file.cVolker Lendecke3-5/+6
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-15Remove unused "extern struct current_user" from dir.cVolker Lendecke1-2/+0
(This used to be commit b92cfd19b459caad34229dfe941cf15fd14a5ce0)
2008-06-15Remove the reference to current_user from file_access.cVolker Lendecke1-8/+6
conn holds the current user info (This used to be commit 093bc5f2b33ebf90e04bc17e51b1695b1b932bf2)
2008-06-15Fix an uninitialized variable found by the IBM checkerVolker Lendecke1-5/+5
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-15Fix group parsing in libwbclient's copy_group_entry()Volker Lendecke1-4/+6
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-14Move connection-specific vuid cache clear to uid.cVolker Lendecke3-16/+25
(This used to be commit 1025f687910ce40283c7344ed67ebd5bf31217b7)
2008-06-14Slight refactoring for check_user_ok: It only needs vuid and server_infoVolker Lendecke1-20/+18
(This used to be commit 68944ea1ea7a0a63b08cbfc703f5ee29d2627696)
2008-06-14Group the access checks together in check_user_ok()Volker Lendecke1-6/+8
(This used to be commit 45662b5e8b3c7bc39cb33c5d7deb7e9a91f30a8b)
2008-06-14Consistently use snum in check_user_okVolker Lendecke1-2/+2
Most already used it, these two still used SNUM(conn), where the only caller of this routine (change_to_user) had set snum = SNUM(conn). (This used to be commit b14e59bfdbfb62494002e22d0665c4d420484245)
2008-06-14Compare the pointer "vuser" to NULL, not 0Volker Lendecke1-1/+1
(This used to be commit 5c916549f002d5e4e06f24d396a2bdca73d384c7)
2008-06-14Use the correct cups-devel test for HAVE_IPRINT alsoVolker Lendecke1-1/+2
(This used to be commit a42d7e1146e7469062ead2c8f22f549a48154e03)
2008-06-14Correctly check for presence of cups-develVolker Lendecke1-1/+15
On SuSE at least cups-config belongs to cups-libs which does not contain the headers which are in cups-devel. (This used to be commit 2408d2493f7c6e0beee58febd547516bbeb0929d)
2008-06-13net_vampire: rename process_database to samsync_process_database.Günther Deschner1-19/+19
Guenther (This used to be commit cf382a87602a63368587ffa2c95b774f2f97c21b)
2008-06-13net_vampire: fix ldif_init_context().Günther Deschner1-31/+40
Guenther (This used to be commit 94d45b1bb97ac2b6025d429389993ac43044f5b8)
2008-06-13net_vampire: split out rpc_vampire_ldif().Günther Deschner3-31/+108
Guenther (This used to be commit bcc6d3a0ebdcb904b5a2a4de63d9ed7415e9bb33)
2008-06-13net_vampire: add samsync_init_context().Günther Deschner1-9/+41
Guenther (This used to be commit 63ca4414b62657983c27d2930483aa56f9c78ccf)
2008-06-13net_vampire: add samsync_debug_str().Günther Deschner1-30/+52
Guenther (This used to be commit bbfe5bcaf5ec5d06ffd110ab362ea3f228867603)
2008-06-13net_vampire: restructure internal code more.Günther Deschner2-312/+456
Guenther (This used to be commit 9557504d70fe57098914da131b39212faf4f0a7d)
2008-06-13net_vampire: start using talloc for the ldif vampire code.Günther Deschner2-124/+144
Guenther (This used to be commit ae179e4f3faccbf2c9f19b6f070f5daf87cdfc50)
2008-06-13net_vampire: join dump and process function into one callback.Günther Deschner1-96/+54
Guenther (This used to be commit e9b79f34d5afe10ee8d9b1e2dd19c8aafa533579)
2008-06-13net_vampire: let fetch_database and fetch_database_to_ldif use sid pointers.Günther Deschner1-12/+12
Guenther (This used to be commit 0707d32042b23d615b57b2f955775472b766770e)
2008-06-13net_vampire: let dump_database() return NTSTATUS.Günther Deschner1-6/+8
Guenther (This used to be commit b5a0e2d18f8d5c98326fefbda5972c02f898ed82)
2008-06-13Fix a handle leak for error returns in ldb_try_load_dsoVolker Lendecke1-1/+7
Coverity ID 464 (cherry picked from commit 496d44d2f21661c85bf07e8eb7cae6298fefd900) (This used to be commit f30bc6503de6c712101e04fe26c004eeffcd300e)
2008-06-13Fix a crash in _winreg_QueryValueVolker Lendecke1-0/+4
Coverity ID 474, value_length and type are both unique, not ref pointers and can thus be NULL. Karolin, please merge this to -stable. Thanks, Volker (cherry picked from commit 999533c0ccced59141d8baff5bc248d63e2a966f) (This used to be commit 7e07ec68f15908a998f83d615a1b4d1349935a54)
2008-06-13samsync: add prototype for samsync_fix_delta_array().Günther Deschner1-0/+8
Guenther (This used to be commit 6c1904f8be1b4e08b09b64052c1aba24e7a4fb3d)
2008-06-13net: Fix bug #5542 (samsync contains empty passwords).Günther Deschner3-2/+28
Guenther (cherry picked from commit 1a22e975dd1255f3557c1cd873d877aa35822afc) (This used to be commit ad8392cf7c817ee29a03bc6f515bf1cc18a29eda)