summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-06-28Fix a file descriptor leak in add_port_hookVolker Lendecke1-4/+1
This was probably cut&paste from add_printer_hook which further down has the unconditional close(fd). In add_port_hook() we're not interested in the output of 'addport command', so don't create the out fd. (cherry picked from commit 0c5ca2127ac6e3c71e369242376d27429c3aee5e) (This used to be commit 9fe09398b79ae7c5e78182112a8cd2c9b5f99ad3)
2008-06-28Return NULL in sitename_fetch() if gencache_init() fails. Not falseGerald W. Carter1-1/+1
(This used to be commit 8704c2ab37479236788c0a99465d73643d3d555a)
2008-06-28Let send_trans_reply work on only the inbufVolker Lendecke3-54/+57
It does not really need the whole smb_request (This used to be commit d3facf4cbdb2915168e91d64c2d8320f67524df8)
2008-06-28Factor out create_outbuf, creating an outbuf just given an inbufVolker Lendecke2-9/+22
(This used to be commit 50427cbf6345d3f671e9ea321089c4b4244df972)
2008-06-28Fix the buildVolker Lendecke1-3/+4
(This used to be commit 242077f714c738642edd125449ab5c89748bcecd)
2008-06-27Fix bug #5568 net rpc trustdom add broken !Jeremy Allison2-3/+24
net rpc trustdom add was broken. The default 10second timeout can be too short to create an account on a Samba DC (calling out to a script), error message reporting was poor, and more importantly the new marshalling code for user_info23 was broken (maps onto a user_info21 but doesn't clear the user_info23 struct before marshalling, leaving an uninitialized size field - give "alloc failure"). Jeremy. (This used to be commit e072b3667e590ba6dd1d9a47fb616a53753fa83e)
2008-06-27Fix usage message for net rpc trustdom add.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 20e59faf6efce01887cd01f0cafb197cc2f4742e)
2008-06-27Do not segfault if corepath is not set up properlyVolker Lendecke1-0/+5
(This used to be commit 41d1b9541ccb802f01f12038b3b81853b3b7c32d)
2008-06-27libads: Add API call to connect to a global catalog server.Gerald W. Carter5-9/+148
Extends ads_connect() to a new call ads_connect_gc() which connects on port 3268 rather than port 389. Also makes ads_try_connect() static and only used internally to ldap.c (This used to be commit f4c37dbe2c986fb7bfe510cdff3b4a9fbc06d079)
2008-06-27Fix warnings on SuSE 9.0.Karolin Seeger2-0/+16
The macros "[un]likely" are already defined on SuSE 9.0. Patch from Volker. (This used to be commit 30d181c92463aecd6e649330d3645d86d5a17e43)
2008-06-27Revert "build: add symbol versioning when we build with gnu ld"Karolin Seeger6-69/+16
This reverts commit cb5492978b6b157f529806afb2f5fc6202888129. For more information, please have a look at the discussion on samba-technical starting with [1]. [1] http://lists.samba.org/archive/samba-technical/2008-June/059511.html Karolin (cherry picked from commit 1e5aeb96f92fef8056ec9010e125f4d0d31dd90e) (This used to be commit d06baf0e744d779b836783f61ec97d3a6d380eb5)
2008-06-27Fix two IBM checker warningsVolker Lendecke1-2/+2
Steve, please check! Thanks, Volker (This used to be commit 5222b8db3fb692e5071bfd1b41849a8eb0a17995)
2008-06-27Fix an "invalid operation involving NULL pointer" found by the IBM checkerVolker Lendecke1-1/+5
Jerry, please check! Volker (This used to be commit eb6096a2d488d64cfa86e01be2a97e14e5773fe3)
2008-06-27Remove a strlen check that will never kick inVolker Lendecke1-2/+1
strlen(str)<2 will be caught by the explicit tests for str[0] and str[1] in the lines above this. Jerry, please check! Volker (This used to be commit 44a9e5b713c25ff2cc7215635a516f25359b045b)
2008-06-26Fix the non-LDAP, non-krb5 build, fix gcc -O3 warnings.Jeremy Allison4-4/+11
Jeremy. (This used to be commit 9e2ab30d3cf6950fc79152b2169e7aeae8d6a366)
2008-06-27libnet_dssync: add last_query flag to processing routine.Günther Deschner2-4/+17
Guenther (This used to be commit 22bdee7fe0cdcd95e0bade70cacb095e0b348abf)
2008-06-27libnet_dssync: add output filename and dns_domain_name to dssync struct.Günther Deschner2-0/+8
Guenther (This used to be commit c16e1820f86f105853aa855eda322ba6cbff3a84)
2008-06-27net_vampire: use bool for last_query information in samsync.Günther Deschner6-19/+26
Guenther (This used to be commit fa1976e23a33bd3fab17c3f6ab5573ee1fdf9e31)
2008-06-27net_vampire: separate keytab code from samsync code.Günther Deschner6-154/+212
Guenther (This used to be commit 69d8442bf3248f97ad23def424901d7fa87bfe48)
2008-06-26From Steve Danneman @ Isilon.Jeremy Allison7-217/+220
Attached is the companion patch to (037b9689d9042a398cb91e4628a82fcdfa913c21), which made handling of WINBINDD_LIST_GROUPS asynchronous. Because most all of the list_groups code was reusable, I abstracted it, and implemented both list_groups and list_users on top of it. On my large test domain a "wbinfo -u" call went from 70 seconds to 30 seconds with this patch. Plus, the parent process is no longer blocked from receiving new requests during that time. Steven Danneman | Software Development Engineer Isilon Systems P +1-206-315-7500 F +1-206-315-7501 www.isilon.com (This used to be commit 5188f2861137ff06d5399561d55d7d00c3a08644)
2008-06-26Fix return of uninitialized variable.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 384052f546af8c1c6848c03cad4f2ba618ba7209)
2008-06-26libnet_dssync: pass down drsuapi_DsReplicaOIDMapping_Ctr to callback.Günther Deschner2-0/+3
Guenther (This used to be commit cbff970facae295650742d12768f23c7f67380a6)
2008-06-26libnet_dssync: always decrypt attributes before passing them to the ↵Günther Deschner1-0/+127
processing routine. Guenther (This used to be commit 6eedd167e77969e2ab7d5abe7311de62fc413d17)
2008-06-26Fix valgrind errors in _spoolss_addprinterdriverVolker Lendecke1-0/+11
Jerry, this was dropped as part of your SVN r15309 (037f9f83). Can you please check? Thanks, Volker (cherry picked from commit 5aa2411f0b3720b790439359a2dadb23008e936e) (This used to be commit 8e7effd58f7790d6e71e38c990f6cb05456e47e1)
2008-06-26Fix a segfault in rpcclient adddriverVolker Lendecke1-12/+13
(cherry picked from commit d4b5a9d67389578f531527b339f6feead62f082d) (This used to be commit 8573032877317fe1f5c69e9ced5b19a33d8aefb0)
2008-06-26Fix a debug messageVolker Lendecke1-1/+1
(This used to be commit 8dd94d448bc5ad067024c56c6ef498bc88a396b2)
2008-06-26remove unused extern current_user from nt_printing.cVolker Lendecke1-2/+0
(This used to be commit b34283adeffaa6e481c57926709ea80d48733ef0)
2008-06-26Remove current_user reference from printfsp.cVolker Lendecke4-7/+5
(This used to be commit 510f45d01a19ce1c226755ac42a328241098b2e0)
2008-06-26remove unused extern current_user from lanman.cVolker Lendecke1-2/+0
(This used to be commit e2009c0b8dc229faf98ce189d2a906e58d3e1e63)
2008-06-26Change print_access_check to take auth_serversupplied_info instead of ↵Volker Lendecke6-77/+94
current_user Reason: This is the main user of p->current_user which I would like to remove (This used to be commit fd43059b3dfa8cdac9814de1c76f963ba5de9bcb)
2008-06-26Remove p->vuidVolker Lendecke4-20/+6
The users can use p->server_info. Now pipes_struct is decoupled from the SMB transport. (This used to be commit d4cf5a131919530317cd457006b4df5af2c69fa7)
2008-06-26Remove a check on p->vuid in _netr_LogonSamLogon/offVolker Lendecke1-6/+0
This is in preparation of removing p->vuid completely. I don't think this check here makes any sort of sense, it only proves that the user having done the session setup on its way to the schannel bind (ususally anonymous) did not do a logoff in between. But this would have been caught way before this in reply_pipe_write_and_X. (This used to be commit fbc00460f8deaa57bfbf16b12d29acec56578b63)
2008-06-26Now that we have p->server_info, use p->server_info->user_session_keyVolker Lendecke5-41/+47
(This used to be commit aefad64e3a5c86d2f988d47e6215ed2085b8fc47)
2008-06-26Fix typoVolker Lendecke1-1/+1
(This used to be commit 41d2daeaa5a87da82a0debc4c9cfe14976215bd8)
2008-06-26Add server_info to pipes_structVolker Lendecke5-0/+39
(This used to be commit d621867bb8767e1c4236d28dd9294a61db6cbb10)
2008-06-26ctdbd_connect: bump debug level to 1 for "connect failed" message.Michael Adam1-1/+1
Leave level 0 message for higher level callers. Michael (This used to be commit fee770e5d080b0513418e61e469f2824a1d771ec)
2008-06-26messages: bump debug level to 1 for "messaging_ctdb_init failed".Michael Adam1-2/+2
Leave level 0 messages to higher level callers. Michael (This used to be commit 7bbf29137bf051044cbf0db8d9fe564a7c9d7a29)
2008-06-26nmbd: untangle logic in nmbd_messaging_context() slightly.Michael Adam1-2/+5
Michael (This used to be commit 3baf9eb6a2cc6a4a153303b457d3a7067948495e)
2008-06-26nmbd: don't panic if messaging_init() fails - return NULL instead.Michael Adam1-1/+1
Michael (This used to be commit e6a403209c29bd2ec2242d654ad45276de02cb44)
2008-06-26winbind: remove duplicate debug message for failing messaging_init().Michael Adam1-1/+0
Leave the message inside winbind_messaging_context() for now. There might be callers, where this debug message could prove useful... Michael (This used to be commit e9177ec56a8fe596d6fcfc4a95df87e39f757818)
2008-06-26winbind: untangle logic in winbind_messaging_context() slightly.Michael Adam1-2/+5
Michael (This used to be commit e710a9b73ea2fd176de7093125bc5f3f3f3a9404)
2008-06-26winbindd: don't panic if messaging_init() fails - return NULL instead.Michael Adam1-1/+1
Leave appropriate handling to the callers. Michael (This used to be commit 3e0c24323af5f10fa68ae8aad552b7346536c908)
2008-06-26smbd: untangle logic in smbd_messaging_context() slightly.Michael Adam1-2/+5
Michael (This used to be commit fae4c21b14b9d288e06f6b4b4e1527e2c6d58dca)
2008-06-26smbd: don't panic if messaging_init() fails but return NULLMichael Adam1-1/+1
leaving panic or more appropriate action to callers. This can for instance happen in a clustered setup, when ctdb is not running. This allows for a more defined behaviour, reducing chicken-egg-problems. Michael (This used to be commit 3b6541ff483d5fea4fd30bb6a01a560c05028d4e)
2008-06-26drsuapi: rerun make idl and add drsblobs generated files.Günther Deschner4-1/+3741
Guenther (This used to be commit 6725b751d88b4bacac5171efe4f5193bc1125f19)
2008-06-26drsuapi: add drsblobs.idl from samba4.Günther Deschner2-1/+403
Guenther (This used to be commit 58dc161ac91d018dfb02acac2aa2a45841478412)
2008-06-26net_vampire: add some error output to libnet_dssync.Günther Deschner1-1/+16
Guenther (This used to be commit 891d4cca0ca5ccb075940517af25f3760a315219)
2008-06-26errors: add WERR_DS_DRA_BAD_NC and WERR_DS_DRA_BAD_DN.Günther Deschner2-0/+7
Guenther (This used to be commit 2efe18f7c96d8d122943342b9af1db62a1432771)
2008-06-25Merge branch 'v3-3-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison5-36/+187
v3-3-test (This used to be commit 9075c5f2ada8f96ae8d6cbcfc36663969e9bf34f)
2008-06-25Part of fix for #5551. Split out the group enumeration functions to a ↵Jeremy Allison1-15/+27
BUILTIN and a Domain specific version. Stops the domain groups appearing twice. Jeremy. (This used to be commit 77b99530e0ce0ab0f335d8b22774548d30690550)