summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused "extern struct current_user" from dir.cVolker Lendecke2008-06-151-2/+0
| | | | (This used to be commit b92cfd19b459caad34229dfe941cf15fd14a5ce0)
* Remove the reference to current_user from file_access.cVolker Lendecke2008-06-151-8/+6
| | | | | conn holds the current user info (This used to be commit 093bc5f2b33ebf90e04bc17e51b1695b1b932bf2)
* Fix an uninitialized variable found by the IBM checkerVolker Lendecke2008-06-151-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)
* Fix group parsing in libwbclient's copy_group_entry()Volker Lendecke2008-06-151-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)
* Move connection-specific vuid cache clear to uid.cVolker Lendecke2008-06-143-16/+25
| | | | (This used to be commit 1025f687910ce40283c7344ed67ebd5bf31217b7)
* Slight refactoring for check_user_ok: It only needs vuid and server_infoVolker Lendecke2008-06-141-20/+18
| | | | (This used to be commit 68944ea1ea7a0a63b08cbfc703f5ee29d2627696)
* Group the access checks together in check_user_ok()Volker Lendecke2008-06-141-6/+8
| | | | (This used to be commit 45662b5e8b3c7bc39cb33c5d7deb7e9a91f30a8b)
* Consistently use snum in check_user_okVolker Lendecke2008-06-141-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)
* Compare the pointer "vuser" to NULL, not 0Volker Lendecke2008-06-141-1/+1
| | | | (This used to be commit 5c916549f002d5e4e06f24d396a2bdca73d384c7)
* Use the correct cups-devel test for HAVE_IPRINT alsoVolker Lendecke2008-06-141-1/+2
| | | | (This used to be commit a42d7e1146e7469062ead2c8f22f549a48154e03)
* Correctly check for presence of cups-develVolker Lendecke2008-06-141-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)
* net_vampire: rename process_database to samsync_process_database.Günther Deschner2008-06-131-19/+19
| | | | | Guenther (This used to be commit cf382a87602a63368587ffa2c95b774f2f97c21b)
* net_vampire: fix ldif_init_context().Günther Deschner2008-06-131-31/+40
| | | | | Guenther (This used to be commit 94d45b1bb97ac2b6025d429389993ac43044f5b8)
* net_vampire: split out rpc_vampire_ldif().Günther Deschner2008-06-133-31/+108
| | | | | Guenther (This used to be commit bcc6d3a0ebdcb904b5a2a4de63d9ed7415e9bb33)
* net_vampire: add samsync_init_context().Günther Deschner2008-06-131-9/+41
| | | | | Guenther (This used to be commit 63ca4414b62657983c27d2930483aa56f9c78ccf)
* net_vampire: add samsync_debug_str().Günther Deschner2008-06-131-30/+52
| | | | | Guenther (This used to be commit bbfe5bcaf5ec5d06ffd110ab362ea3f228867603)
* net_vampire: restructure internal code more.Günther Deschner2008-06-132-312/+456
| | | | | Guenther (This used to be commit 9557504d70fe57098914da131b39212faf4f0a7d)
* net_vampire: start using talloc for the ldif vampire code.Günther Deschner2008-06-132-124/+144
| | | | | Guenther (This used to be commit ae179e4f3faccbf2c9f19b6f070f5daf87cdfc50)
* net_vampire: join dump and process function into one callback.Günther Deschner2008-06-131-96/+54
| | | | | Guenther (This used to be commit e9b79f34d5afe10ee8d9b1e2dd19c8aafa533579)
* net_vampire: let fetch_database and fetch_database_to_ldif use sid pointers.Günther Deschner2008-06-131-12/+12
| | | | | Guenther (This used to be commit 0707d32042b23d615b57b2f955775472b766770e)
* net_vampire: let dump_database() return NTSTATUS.Günther Deschner2008-06-131-6/+8
| | | | | Guenther (This used to be commit b5a0e2d18f8d5c98326fefbda5972c02f898ed82)
* Fix a handle leak for error returns in ldb_try_load_dsoVolker Lendecke2008-06-131-1/+7
| | | | | | Coverity ID 464 (cherry picked from commit 496d44d2f21661c85bf07e8eb7cae6298fefd900) (This used to be commit f30bc6503de6c712101e04fe26c004eeffcd300e)
* Fix a crash in _winreg_QueryValueVolker Lendecke2008-06-131-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)
* samsync: add prototype for samsync_fix_delta_array().Günther Deschner2008-06-131-0/+8
| | | | | Guenther (This used to be commit 6c1904f8be1b4e08b09b64052c1aba24e7a4fb3d)
* net: Fix bug #5542 (samsync contains empty passwords).Günther Deschner2008-06-133-2/+28
| | | | | | Guenther (cherry picked from commit 1a22e975dd1255f3557c1cd873d877aa35822afc) (This used to be commit ad8392cf7c817ee29a03bc6f515bf1cc18a29eda)
* samsync: add samsync_fix_delta_array()Günther Deschner2008-06-132-0/+189
| | | | | | | | This code is vastly based on samba4 code. Guenther (cherry picked from commit 5b68be96996a710988b1fd1c176cd5dff0f2c6af) (This used to be commit 2c53d87de4ecc5ac9c43bc7488a03bceecf35140)
* net: Fix net_ads.c build for the HAVE_ADS == 0 case.Kai Blin2008-06-121-1/+1
| | | | | Thanks to Karolin for catching this one. (This used to be commit 7f52998f5461ed7d976faa2254464336dcf73c02)
* AIX build fixes from William Jojo -- thanksVolker Lendecke2008-06-122-2/+3
| | | | | (cherry picked from commit cb91a47576e820390bc62195702aaae93a2feba6) (This used to be commit 90d7bc6da3c92e104fadd5965a730fbe01be33d5)
* Add -brtl to the AIX linker flagsVolker Lendecke2008-06-121-1/+3
| | | | | | Thanks to William Jojo (cherry picked from commit 74b195b54416d9e3eb46079a71eed31a15c7293a) (This used to be commit 5ffad12d68288eca4756519ec7ab90995a277517)
* net: Fix several typos in comments.Karolin Seeger2008-06-121-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)
* Fix typos.Christoph Zauner2008-06-121-3/+3
| | | | (This used to be commit b2390aa738f6384016600dffb8065bd0bcda6ef1)
* Fix max_fd calculation in event_loop_onceVolker Lendecke2008-06-111-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)
* rpc_client: fix some valgrind warnings.Günther Deschner2008-06-111-2/+4
| | | | | Guenther (This used to be commit 0352682a355b42ced7628a720a6889d8453e7946)
* re-run make idl.Günther Deschner2008-06-114-44/+34
| | | | | Guenther (This used to be commit 3a73fe564f07ef057bfc3b61367acf940067269d)
* idl: fix drsuapi_DsGetNCChanges.Günther Deschner2008-06-111-3/+4
| | | | | Guenther (This used to be commit 652af123b214e30d0edf1d5626849484c6bb5045)
* net: remove some dead code.Günther Deschner2008-06-111-29/+0
| | | | | Guenther (This used to be commit cdd1ce797aefa07780a73d0793c450e2d96f17bb)
* pam_winbind: Update cached creds during password change.Günther Deschner2008-06-111-0/+4
| | | | | | | Fix is from Bo Yang @ Novell. Thanks! (This used to be commit e4eb9d347d14de8c9ba73b07f26fe8fd4f17eab5)
* rpcclient: add more useful comments what sign/seal commands are doing.Günther Deschner2008-06-101-9/+19
| | | | | Guenther (This used to be commit ec278d8bc82e86c98d24277eb50633f8cd4c7600)
* Correctly find a [u]int32_t replacementVolker Lendecke2008-06-101-6/+15
| | | | | (cherry picked from commit 346375cda557a675f8f882ca2ae8edffec725a72) (This used to be commit 15a53945c9563b4517bd8b69a9bb0554eef5edff)
* Fix some scary FC9 warningsVolker Lendecke2008-06-101-39/+41
| | | | | (cherry picked from commit 6b0fed09ea34409d1c61bae9121bdb38d4c68d62) (This used to be commit f1e85ff2bc4eea2c50d7d71caca16b9051ca5e8c)
* socket_wrapper: truncate packets to a 1500 byte payloadStefan Metzmacher2008-06-101-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)
* socket_wrapper: sync missing stuff from v4-0-testStefan Metzmacher2008-06-105-8/+17
| | | | | metze (This used to be commit b03c2793548834a1dc0483b03081d872ab1e17f0)
* Factor out IP marshalling into separate function.Jelmer Vernooij2008-06-101-36/+43
| | | | | (cherry picked from commit 2548c2a1e7dab8abc00f8f49374a08cc0b427552) (This used to be commit e4e015caac88f6e31ca6d8fcda5a97a11aee226d)
* r25783: socket_wrapper: don't include "includes.h"Stefan Metzmacher2008-06-101-12/+5
| | | | | | metze (cherry picked from commit 47f865165e772540334dcbcf80cfc1999b0132fa) (This used to be commit 4d5bfcc731b44267e2c30fccdca72b6058b16bfb)
* r23420: try to make the IBM checker happyStefan Metzmacher2008-06-101-3/+8
| | | | | | metze (cherry picked from commit 96f1a0dfaa18a432fca4b5432d929d8daed0abb1) (This used to be commit 801ed0b79956133f2baa6b2db4a7dd5a68060edc)
* r22236: Update to Heimdal's socket_wrapper, which supports IPv6.Stefan Metzmacher2008-06-101-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)
* r21729: Some more testsJelmer Vernooij2008-06-102-6/+29
| | | | | (cherry picked from commit d2baa8218cf504d6631d610f9fd393ad8c61574c) (This used to be commit cf6d815ba82a25c1e1f1dfdb8548cc588d44d1aa)
* r21671: Add initial simple tests for socket wrapperStefan Metzmacher2008-06-103-1/+84
| | | | | | | (partly cherry picked from commit 872e2ad541478597191ca9e31872d5c8e2bbb832) metze (This used to be commit 8003f00a28bb7237ec1b1f4eb9687c542a86c2b2)
* r19409: Pull in <sys/time.h> for struct timeval for non samba build (don'tLove Hörnquist Åstrand2008-06-101-0/+1
| | | | | | depend on namespace pollution) (cherry picked from commit 5052d2d10693e67f1b7c6c71277c8d1bc9c8b612) (This used to be commit d22701b196bded3294776b144a7a990de23741e9)
* r19367: Solaris needs <sys/filio.h> for FIONREAD.Love Hörnquist Åstrand2008-06-101-0/+1
| | | | | (cherry picked from commit e2866ce78851a84c937408c0781fcc1e7107f663) (This used to be commit 3db8b246c8abfc4efed08d7630e61a81b9d8bf48)