summaryrefslogtreecommitdiffstats
path: root/source4/client/smbspool.c
Commit message (Collapse)AuthorAgeFilesLines
* r12531: 'make quicktest' was taking 15 minutes on my system due to failing DNSAndrew Tridgell2007-10-101-2/+0
| | | | | | | | | | | | | | | | | | lookups in load_interfaces(). The reason was my eth0 interface was down, and it was being interpreted as a DNS name. This patch changes load_interfaces() to happening automatically when interfaces are first needed instead of on the startup of every samba binary. This means that (for example) ldbadd doesn't call load_interfaces(), which means no slow DNS lookups. I also reduced the number of static globals in interface.c to 1, and changed from malloc to talloc When you want to force a reload of the interfaces list, you now call unload_interfaces(), which means the next call that needs the interfaces list will reload it (This used to be commit f79d90bd1364b970adb2981b2572e77066431f1e)
* r8678: setup for gdb backtrace in 'make test'Andrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit acf8c8fd4995acef47390df5a7d4e611c597367d)
* r8643: - make lp_configfile() work againAndrew Tridgell2007-10-101-4/+3
| | | | | | | | | | - get rid of redundeny dyn_CONFIGFILE argument to lp_load() - fixed provisioning to work with completely pristine install, creating an initial smb.conf is none is present - added lp.set() and lp.reload() to loadparm ejs object interface (This used to be commit c2691ef7126ddcee5f95970b78759b40a049d0a7)
* r7916: - got rid of the in_client globalAndrew Tridgell2007-10-101-9/+0
| | | | | | | - make not finding smb.conf a level 1 message, not level 0. Most of our tools handle no smb.conf, and those that don't should check for the specific parameters they need, or use the defaults (This used to be commit 8c17b61f8e0f6eefa6a1f853abc06d023627bbbb)
* r7704: - fixed open_nbt_connection() to return NULL when the connection failedAndrew Tridgell2007-10-101-1/+1
| | | | | - got rid of smbcli_shutdown() and use talloc_free() instead. (This used to be commit 1011b1bf51d420d6702ef448c894ea8ebeafa284)
* r7633: this patch started as an attempt to make the dcerpc code use a givenAndrew Tridgell2007-10-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | event_context for the socket_connect() call, so that when things that use dcerpc are running alongside anything else it doesn't block the whole process during a connect. Then of course I needed to change any code that created a dcerpc connection (such as the auth code) to also take an event context, and anything that called that and so on .... thus the size of the patch. There were 3 places where I punted: - abartlet wanted me to add a gensec_set_event_context() call instead of adding it to the gensec init calls. Andrew, my apologies for not doing this. I didn't do it as adding a new parameter allowed me to catch all the callers with the compiler. Now that its done, we could go back and use gensec_set_event_context() - the ejs code calls auth initialisation, which means it should pass in the event context from the web server. I punted on that. Needs fixing. - I used a NULL event context in dcom_get_pipe(). This is equivalent to what we did already, but should be fixed to use a callers event context. Jelmer, can you think of a clean way to do that? I also cleaned up a couple of things: - libnet_context_destroy() makes no sense. I removed it. - removed some unused vars in various places (This used to be commit 3a3025485bdb8f600ab528c0b4b4eef0c65e3fc9)
* r7530: Simply calling convention of lp_load().Andrew Bartlett2007-10-101-1/+1
| | | | | | | | This always loads all the services, as we now don't have an easy way to split out smbd. Andrew Bartlett (This used to be commit 990e061939c76b559c4f5914c5fc6ca1b13e19dd)
* r4758: - added async support to the session request codeAndrew Tridgell2007-10-101-2/+2
| | | | | | | | | | - added async support to the negprot client code - removed two unused parameters from smbcli_full_connection() code - converted smbclient to use smbcli_full_connection() rather than reinventing everything itself (This used to be commit 71cbe2873473e039b4511511302cb63f1c50bce8)
* r2710: continue with the new style of providing a parent context wheneverAndrew Tridgell2007-10-101-1/+1
| | | | | | possible to a structure creation routine. This makes for much easier global cleanup. (This used to be commit e14ee428ec357fab76a960387a9820a673786e27)
* r1654: rename cli_ -> smbcli_Stefan Metzmacher2007-10-101-14/+14
| | | | | | | rename CLI_ -> SMBCLI_ metze (This used to be commit 8441750fd9427dd6fe477f27e603821b4026f038)
* more fixes from the IRIX compiler (thanks herb!)Andrew Tridgell2003-08-151-1/+1
| | | | (This used to be commit 4cf3839b727c77a727abb558bd9473119a092913)
* first public release of samba4 codeAndrew Tridgell2003-08-131-0/+362
(This used to be commit b0510b5428b3461aeb9bbe3cc95f62fc73e2b97f)