1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

4709 Commits

Author SHA1 Message Date
Volker Lendecke
6492ffd8df Fix wb_simple_trans queueing 2009-05-24 13:49:59 +02:00
Volker Lendecke
a8e02b591b Add "err_on_readability" to writev_send
A socket where the other side has closed only becomes readable. To catch
errors early when sitting in a pure writev, we need to also test for
readability.
2009-05-24 13:47:29 +02:00
Volker Lendecke
15424162ca Fix wb_trans_done after conversion to unix calling conventions 2009-05-19 23:09:26 +02:00
Volker Lendecke
f1c093c89f Fix an uninitialized variable in wb_context_init 2009-05-19 23:09:26 +02:00
Volker Lendecke
77819597f3 Use TDB_VOLATILE instead of tdb_set_max_dead() 2009-05-19 14:54:53 +02:00
Volker Lendecke
bbbf9f13ad Fix bug 5681: Do not limit the number of network interfaces
Jeremy as far as I can see there is no real technical reason to limit the
number of interfaces. If you like this patch, can you please merge it to 3.4?
If you don't please tell me :-)

Thanks,

Volker
2009-05-18 13:38:55 +02:00
Volker Lendecke
834fc3786e s3-events: Not only timed, also immediate events generate a timeout return 2009-05-17 11:45:22 +02:00
Volker Lendecke
ad91ef7f96 s3-events: If immediate requests are pending, the timeout is 0 2009-05-16 19:22:03 +02:00
Jelmer Vernooij
6230eb94af Update copies of config.guess and config.sub. 2009-05-16 04:03:12 +02:00
Günther Deschner
dccecdf338 s3-privileges: add privilege_delete_account().
Guenther
2009-05-16 01:27:51 +02:00
Günther Deschner
118f343b05 s3-privileges: remove trailing whitespace from privileges codes.
Guenther
2009-05-16 01:27:51 +02:00
Günther Deschner
d800ee5033 s3-netdomjoin-gui: allow to switch between workgroups/domains with the same name.
Guenther
2009-05-15 19:51:03 +02:00
Günther Deschner
8c74d31962 s3-netdomjoin-gui: cosmetic fix for empty hostnames.
Guenther
2009-05-15 19:51:02 +02:00
Günther Deschner
473bf41d20 s3-netdomjoin-gui: only gray out labels when not root and not connecting to
remote machines.

Guenther
2009-05-15 19:51:02 +02:00
Günther Deschner
8fdb499497 s3-netapi: implement NetShutdownInit_r and NetShutdownAbort_r.
Guenther
2009-05-14 14:18:26 +02:00
Günther Deschner
80f0d819fb s3-netapi: add example code for NetShutdownInit and NetShutdownAbort.
Guenther
2009-05-14 14:18:26 +02:00
Günther Deschner
1ddc4829ae s3-netapi: add NetShutdownInit and NetShutdownAbort to public API.
Guenther
2009-05-14 14:18:26 +02:00
Günther Deschner
8fd3c8902c s3-netapi: add NetShutdownInit and NetShutdownAbort skeletons.
Guenther
2009-05-14 14:18:26 +02:00
Volker Lendecke
979f13b19e Fix some nonempty blank lines 2009-05-14 12:14:57 +02:00
Stefan Metzmacher
b9f3a78169 s3:libsmb: move read_smb_send/recv() static in async_smb.c
metze
2009-05-13 18:27:50 +02:00
Günther Deschner
6154b031f4 s3-netdomjoin-gui: prepare to call out for NetRenameMachineInDomain() to rename computers
in domains.

Guenther
2009-05-13 01:56:39 +02:00
Günther Deschner
d3a9ee689d s3-netdomjoin-gui: Fix join prompt dialog test.
Guenther
2009-05-12 23:52:34 +02:00
Günther Deschner
3e2975b3bd s3-netdomjoin-gui: use NetServerGetInfo() level 101 to get hostname.
Guenther
2009-05-12 22:49:05 +02:00
Günther Deschner
20b5fc02d2 s3-netdomjoin-gui: inspect the correct computername string before
enabling/disabling the change button.

Guenther
2009-05-12 22:49:04 +02:00
Jeremy Allison
ad9d64ee1b Clean up assignments to iov_base, ensure it's always cast to void *. This should quieten some warnings with picky compilers on the buildfarm.
Jeremy.
2009-05-12 11:45:37 -07:00
Volker Lendecke
c9efd454c5 Fix bug 6157
This patch picks the alphabetically smallest one of the multi-value attribute
"uid". This fixes a regression against 3.0 and also becomes deterministic.
2009-05-12 15:21:46 +02:00
Jeremy Allison
8a785a6047 Add checks for non_root mode to help buildfarm spoolss tests.
Reviewed by Guenther.
Jeremy.
2009-05-11 09:42:08 -07:00
Volker Lendecke
46dea8c247 wb_int_trans -> wb_simple_trans in wbclient.c 2009-05-09 21:50:24 +02:00
Volker Lendecke
af2189cfed Add wb_simple_trans_send/recv 2009-05-09 21:50:24 +02:00
Volker Lendecke
b475a1e7eb Convert lib/wb_reqtrans.c to unix calling conventions 2009-05-07 22:52:33 +02:00
Volker Lendecke
6f320d0208 Adapt wb_reqtrans to "recent" coding conventions 2009-05-07 22:52:33 +02:00
Jeremy Allison
4cbd0c77e4 Make cli_getatr() async.
Jeremy.
2009-05-05 20:59:22 -07:00
Jeremy Allison
e091fdc565 Make cli_getattrE async.
Jeremy.
2009-05-05 16:28:44 -07:00
Volker Lendecke
7070256f5e Do not crash in ctdbd_traverse if ctdbd is not around 2009-05-04 14:46:17 +02:00
Geza Gemes
5c2404fb86 Fix bug 6136: New AFS syscall conventions
Haven't checked this myself, but as I've already got several reports that Samba
won't compile against current OpenAFS anymore, I just believe Geza Gemes. This
patch only affects AFS code, so it should not hurt anything else.

Volker
2009-05-03 22:16:01 +02:00
Volker Lendecke
79f33674c6 Fix a malloc/talloc mixup 2009-05-02 12:44:31 +02:00
Volker Lendecke
9713476f65 Many build farm boxes do not have clock_gettime 2009-05-01 21:43:25 +02:00
Volker Lendecke
5b7b47f015 Add getaddrinfo_send/recv 2009-05-01 12:30:59 +02:00
Volker Lendecke
8cf75770cf Add fncall_send/recv 2009-05-01 12:30:59 +02:00
Volker Lendecke
db2cc8c9f2 Add thread pool
Included if pthreads are found, can be disabled with --enable-pthreadpool=no

Tim, Steven, I haven't yet seen comments from you. You have been asking for
such a thing at SambaXP. Do you like this? :-)
2009-05-01 12:30:58 +02:00
Günther Deschner
ab4b8c9c04 s3-netapi: Fix Bug #6309: support remote unjoining of Windows 2003 or greater.
Found by David Markey <admin@dmarkey.com>. Thanks!

Guenther
2009-04-30 23:40:09 +02:00
Volker Lendecke
f4fcf2c1c0 Re-import the v3-3 version of str_list_make().
The merged version behaves differently: "Domain Users" is parsed into two
values, as it does not look at quotes. Samba3 users depend on the ability do
say for example

valid users = "domain users"

which would not work anymore with the merged version.

Thanks to Björn Jacke for testing this!

Volker
2009-04-30 13:42:12 +02:00
Günther Deschner
d9805878e2 s3-auth-charcnv: fix push_string(). Don't push to ucs2 and ascii after another.
This fixes all kinds of encrypted passwords used in the shared auth code naturally.
Andrew B., please check.

Guenther
2009-04-27 21:05:40 +02:00
Michael Adam
65527216f1 s3:libsmbconf: fix a comment typo
Michael
2009-04-27 13:25:07 +02:00
Michael Adam
e935d8616b s3:registry: replace typedef REGISTRY_OPS by struct registry_ops
Michael
2009-04-27 11:21:04 +02:00
Jelmer Vernooij
b6981e79df samba3/ldb: Update the ldb_dn API to match that of the Samba 4 LDB:
* ldb_dn_new() now takes an initial DN string
 * ldb_dn_string_compose() -> ldb_dn_new_fmt()
 * dummy ldb_dn_validate(), since LDB DNs in the current implementation
   are always valid if they could be created.
2009-04-23 18:27:32 +02:00
Jelmer Vernooij
9b64073cf7 ldb/samba3: Support event context argument to ldb_init().
This argument is ignored (Samba3's LDB is synchronous) but having it
there is useful for API compatibility with the LDB used by Samba 4 and
available on some systems.
2009-04-23 18:27:31 +02:00
Jelmer Vernooij
598f78bd1f charcnv: Import push_codepoint(). 2009-04-23 17:50:18 +02:00
Volker Lendecke
2146310fb7 Fix a couple of warnings 2009-04-23 14:35:50 +02:00
Volker Lendecke
d7208577f2 Fix a type-punned warning 2009-04-23 14:35:50 +02:00