summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-06-13samsync: add samsync_fix_delta_array()Günther Deschner2-0/+189
This code is vastly based on samba4 code. Guenther (cherry picked from commit 5b68be96996a710988b1fd1c176cd5dff0f2c6af) (This used to be commit 2c53d87de4ecc5ac9c43bc7488a03bceecf35140)
2008-06-12net: Fix net_ads.c build for the HAVE_ADS == 0 case.Kai Blin1-1/+1
Thanks to Karolin for catching this one. (This used to be commit 7f52998f5461ed7d976faa2254464336dcf73c02)
2008-06-12AIX build fixes from William Jojo -- thanksVolker Lendecke2-2/+3
(cherry picked from commit cb91a47576e820390bc62195702aaae93a2feba6) (This used to be commit 90d7bc6da3c92e104fadd5965a730fbe01be33d5)
2008-06-12Add -brtl to the AIX linker flagsVolker Lendecke1-1/+3
Thanks to William Jojo (cherry picked from commit 74b195b54416d9e3eb46079a71eed31a15c7293a) (This used to be commit 5ffad12d68288eca4756519ec7ab90995a277517)
2008-06-12net: Fix several typos in comments.Karolin Seeger1-398/+398
-argc -> argv (where argv is meant) -destoyed -> destroyed -compleation -> completion -aquired -> acquired -Unify spelling of some words like rpc-server -> RPC server. -Add missing punctuation marks. Karolin (This used to be commit f4850c37df166c3ab4ec3c532aefd87b5c7e2ad8)
2008-06-12Fix typos.Christoph Zauner1-3/+3
(This used to be commit b2390aa738f6384016600dffb8065bd0bcda6ef1)
2008-06-11Fix max_fd calculation in event_loop_onceVolker Lendecke1-1/+1
For some bugs I really wonder how they can go undetected for so long. Fix a bug reported by Mathias Dietz. No samba bugzilla entry, but still 100% needed for 3-2-stable. Volker (cherry picked from commit 82c994dabc47bb4755c883a1f3651bb5d65cf2c5) (This used to be commit 91c73e093a03b10426b671cb3e1dffb8a2455d47)
2008-06-11rpc_client: fix some valgrind warnings.Günther Deschner1-2/+4
Guenther (This used to be commit 0352682a355b42ced7628a720a6889d8453e7946)
2008-06-11re-run make idl.Günther Deschner4-44/+34
Guenther (This used to be commit 3a73fe564f07ef057bfc3b61367acf940067269d)
2008-06-11idl: fix drsuapi_DsGetNCChanges.Günther Deschner1-3/+4
Guenther (This used to be commit 652af123b214e30d0edf1d5626849484c6bb5045)
2008-06-11net: remove some dead code.Günther Deschner1-29/+0
Guenther (This used to be commit cdd1ce797aefa07780a73d0793c450e2d96f17bb)
2008-06-11pam_winbind: Update cached creds during password change.Günther Deschner1-0/+4
Fix is from Bo Yang @ Novell. Thanks! (This used to be commit e4eb9d347d14de8c9ba73b07f26fe8fd4f17eab5)
2008-06-10rpcclient: add more useful comments what sign/seal commands are doing.Günther Deschner1-9/+19
Guenther (This used to be commit ec278d8bc82e86c98d24277eb50633f8cd4c7600)
2008-06-10Correctly find a [u]int32_t replacementVolker Lendecke1-6/+15
(cherry picked from commit 346375cda557a675f8f882ca2ae8edffec725a72) (This used to be commit 15a53945c9563b4517bd8b69a9bb0554eef5edff)
2008-06-10Fix some scary FC9 warningsVolker Lendecke1-39/+41
(cherry picked from commit 6b0fed09ea34409d1c61bae9121bdb38d4c68d62) (This used to be commit f1e85ff2bc4eea2c50d7d71caca16b9051ca5e8c)
2008-06-10socket_wrapper: truncate packets to a 1500 byte payloadStefan Metzmacher1-0/+8
Truncate sendto(), recvfrom(), send() and recv() to 1500 bytes so that're getting a correctly formatted pcap file and the result look more like real network traffic. metze (cherry picked from commit 5b01206f1bb2e62c08bda34b45904ec4f83ac5de) (This used to be commit eb8c37a1ca97b41de00ec937a90bfdbe9cd21531)
2008-06-10socket_wrapper: sync missing stuff from v4-0-testStefan Metzmacher5-8/+17
metze (This used to be commit b03c2793548834a1dc0483b03081d872ab1e17f0)
2008-06-10Factor out IP marshalling into separate function.Jelmer Vernooij1-36/+43
(cherry picked from commit 2548c2a1e7dab8abc00f8f49374a08cc0b427552) (This used to be commit e4e015caac88f6e31ca6d8fcda5a97a11aee226d)
2008-06-10r25783: socket_wrapper: don't include "includes.h"Stefan Metzmacher1-12/+5
metze (cherry picked from commit 47f865165e772540334dcbcf80cfc1999b0132fa) (This used to be commit 4d5bfcc731b44267e2c30fccdca72b6058b16bfb)
2008-06-10r23420: try to make the IBM checker happyStefan Metzmacher1-3/+8
metze (cherry picked from commit 96f1a0dfaa18a432fca4b5432d929d8daed0abb1) (This used to be commit 801ed0b79956133f2baa6b2db4a7dd5a68060edc)
2008-06-10r22236: Update to Heimdal's socket_wrapper, which supports IPv6.Stefan Metzmacher1-161/+391
To make this pass, I needed to add support for 6 and 17 as valid protocol values to socket(). Andrew Bartlett (partly cherry picked from commit 2254e61a1e5b29a64c5a24aac029ace193057e24) metze (This used to be commit 66b9f6f3722defd0863b055916b302478715704b)
2008-06-10r21729: Some more testsJelmer Vernooij2-6/+29
(cherry picked from commit d2baa8218cf504d6631d610f9fd393ad8c61574c) (This used to be commit cf6d815ba82a25c1e1f1dfdb8548cc588d44d1aa)
2008-06-10r21671: Add initial simple tests for socket wrapperStefan Metzmacher3-1/+84
(partly cherry picked from commit 872e2ad541478597191ca9e31872d5c8e2bbb832) metze (This used to be commit 8003f00a28bb7237ec1b1f4eb9687c542a86c2b2)
2008-06-10r19409: Pull in <sys/time.h> for struct timeval for non samba build (don'tLove Hörnquist Åstrand1-0/+1
depend on namespace pollution) (cherry picked from commit 5052d2d10693e67f1b7c6c71277c8d1bc9c8b612) (This used to be commit d22701b196bded3294776b144a7a990de23741e9)
2008-06-10r19367: Solaris needs <sys/filio.h> for FIONREAD.Love Hörnquist Åstrand1-0/+1
(cherry picked from commit e2866ce78851a84c937408c0781fcc1e7107f663) (This used to be commit 3db8b246c8abfc4efed08d7630e61a81b9d8bf48)
2008-06-10net: Rename functable3 to functable, get rid of old functablesKai Blin24-168/+102
(This used to be commit bb7c5fc4ec77db4073d3beccf12af12910b6bd07)