Andrew Bartlett
2d9bcc861d
s4:heimdal: import lorikeet-heimdal-201101310455 (commit aa88eb1a05c4985cc23fb65fc1bad75bdce01c1f)
2011-02-02 15:19:03 +11:00
Jeremy Allison
3d4a9ddc24
Based on a conversation with Volker, refactor some of the oplock code to make it comprehensible.
...
delay_for_oplocks() did 4 things.
1). Validation of existing oplock types.
2). Check for compatibility with batch oplocks (pass 1).
3). Check for compatibility with exclusive oplocks (pass 2).
4). Set the correct oplock type from the requested value.
Refactor into 4 separate functions:
1). find_oplock_types() - does validation of oplock types and
returns pointers to specific values.
2). delay_for_batch_oplocks() - the pass 1 phase above.
3). delay_for_exclusive_oplocks() - the pass 2 phase above
4). grant_fsp_oplock_type() - Set the correct oplock type from the requested value.
Now separated out this code should be much easier to understand
and modify. This also fixes an erroneous SMB_ASSERT which was
hidden by the previous complexity of the single delay_for_oplocks()
code.
Jeremy.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Feb 2 01:52:21 CET 2011 on sn-devel-104
2011-02-02 01:52:21 +01:00
Günther Deschner
a19c1cbb8d
s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_list.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 2 00:21:19 CET 2011 on sn-devel-104
2011-02-02 00:21:19 +01:00
Günther Deschner
c7b1432b6e
s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_del_internals.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
95ee07d8ab
s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_add_internals.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
49f08d1d7c
s3-net: prefer dcerpc_samr_X functions in rpc_aliaslist_internals.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
37f2f518be
s3-net: prefer dcerpc_samr_X functions in rpc_fetch_domain_aliases.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
bf10bbc074
s3-net: prefer dcerpc_samr_X functions in rpc_group_members_internals.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
20edb2d48b
s3-net: prefer dcerpc_samr_X functions in rpc_list_alias_members.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
2a63433e94
s3-net: prefer dcerpc_samr_X functions in rpc_list_group_members.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
d280a52fdd
s3-net: prefer dcerpc_samr_X functions in rpc_group_list_internals.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
84e3d14f7a
s3-net: prefer dcerpc_samr_X functions in rpc_del_aliasmem.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
b9b2325f45
s3-net: prefer dcerpc_samr_X functions in rpc_del_groupmem.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
55e042a4f2
s3-net: prefer dcerpc_samr_X functions in rpc_add_aliasmem.
...
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
f8147fbb14
s3-net: prefer dcerpc_samr_X functions in rpc_add_groupmem.
...
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
e14c214ab3
s3-net: prefer dcerpc_samr_X functions in rpc_group_delete_internals.
...
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
54b74c781d
s3-net: prefer dcerpc_samr_X functions in rpc_sh_user_flag_edit_internals.
...
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
1d3b378001
s3-net: prefer dcerpc_samr_X functions in rpc_sh_user_str_edit_internals.
...
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
a87a9fc9ce
s3-net: prefer dcerpc_samr_X functions in rpc_sh_user_show_internals.
...
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
021e0b4cda
s3-net: prefer dcerpc_samr_X functions in rpc_sh_handle_user.
...
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
f140e892f6
s3-net: prefer dcerpc_samr_X functions in rpc_info_internals.
...
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
e3aafb2a7f
s3-net: prefer dcerpc_samr_X functions in net_rpc_sh_acct.c.
...
Guenther
2011-02-01 23:29:12 +01:00
Günther Deschner
fbbe321d19
s3-waf: fix the build after linux netlink changes.
...
Volker, please check.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 1 23:21:50 CET 2011 on sn-devel-104
2011-02-01 23:21:50 +01:00
Volker Lendecke
ba4ec70529
s3: Fix bug 7940 -- fall back for utimes calls
...
There are systems where ./configure has detected advanced utimes calls which
are then not available on other kernels. We should do a proper fallback.
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Feb 1 22:37:35 CET 2011 on sn-devel-104
2011-02-01 22:37:35 +01:00
William Brown
3b948008ce
Added SSL global catalog
...
Reviewed-by: Andrew Bartlett
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Feb 1 20:05:39 CET 2011 on sn-devel-104
2011-02-01 20:05:39 +01:00
Stefan Metzmacher
ff0f63329a
s3:rpcclient/cmd_samr: remove useless ';'
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Feb 1 19:19:24 CET 2011 on sn-devel-104
2011-02-01 19:19:24 +01:00
Stefan Metzmacher
a152f20dd1
s3:libnet/libnet_samsync_display: fix netr_DELTA_* display
...
metze
2011-02-01 18:35:22 +01:00
Stefan Metzmacher
5e4691e70e
s3:rpcclient/cmd_netlogon: fix netr_DELTA_* display
...
metze
2011-02-01 18:35:22 +01:00
Stefan Metzmacher
34b7b552e8
pidl:Samba4/NDR/Parser: fix ndr_pull/ndr_push mismatch
...
metze
2011-02-01 18:35:22 +01:00
Volker Lendecke
1c9cf16c95
s3: Fix the build on sles8
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Feb 1 18:34:33 CET 2011 on sn-devel-104
2011-02-01 18:34:33 +01:00
Günther Deschner
753094d5d2
s3-net: add net_scan_dc non-ad variant.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 1 17:48:40 CET 2011 on sn-devel-104
2011-02-01 17:48:40 +01:00
Günther Deschner
600ff3a74e
s3-lanman: prefer dcerpc_samr_X functions.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 1 16:45:10 CET 2011 on sn-devel-104
2011-02-01 16:45:10 +01:00
Günther Deschner
a51ab04cce
s3-rpcclient: prefer dcerpc_samr_X functions.
...
Guenther
2011-02-01 16:00:22 +01:00
Günther Deschner
a0c1c21916
s3-libnet: prefer dcerpc_samr_X functions.
...
Guenther
2011-02-01 16:00:22 +01:00
Volker Lendecke
23146f9912
s3: Send a dropped_ip message if we lose an IP
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Feb 1 15:59:17 CET 2011 on sn-devel-104
2011-02-01 15:59:17 +01:00
Volker Lendecke
f71c032f16
s3: test addrchange
2011-02-01 15:11:06 +01:00
Volker Lendecke
80acca1ebf
s3: Add support for AF_NETLINK addr notifications
...
Via an AF_NETLINK socket, the Linux kernel can inform us when IP addresses are
added or dropped.
This will first be used in winbind, it was triggered by clustering with ctdb.
When winbind is connected to a domain controller and ctdb decides to move away
the IP address that winbind used locally for the connection to the DC, the next
request will run into a timeout. winbind sends out its request, but the
response will never arrive: The IP is gone.
It will also be interesting for more reliable online/offline detection, but
this is something for future winbind refactoring.
2011-02-01 15:11:06 +01:00
Günther Deschner
f9af242886
s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/user.c.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 1 13:41:42 CET 2011 on sn-devel-104
2011-02-01 13:41:42 +01:00
Günther Deschner
32fb4f5206
s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/samr.c.
...
Guenther
2011-02-01 12:49:58 +01:00
Günther Deschner
b76657f8d9
s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/localgroup.c.
...
Guenther
2011-02-01 12:49:52 +01:00
Günther Deschner
7f63018117
s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/group.c.
...
Guenther
2011-02-01 12:49:44 +01:00
Stefan Metzmacher
9fe4b695fe
pidl:Samba4/NDR/Parser: add support for 'ms_union' style aligment
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Feb 1 12:13:45 CET 2011 on sn-devel-104
2011-02-01 12:13:45 +01:00
Stefan Metzmacher
6124148d66
pidl:Samba4/NDR/Parser: only do the switch type alignment when we have a switch type
...
This doesn't change the logic, it just doesn't call the same aligment function
twice.
metze
2011-02-01 11:21:43 +01:00
Stefan Metzmacher
76f2ddf5a9
pidl:NDR: add support for 'ms_union' property.
...
metze
2011-02-01 11:21:42 +01:00
Stefan Metzmacher
5ae04bca01
midltests: add invalid/midltests_pipe_struct_union_01.idl
...
pipes with unions are not supported by midl,
so we don't need to implement them in pidl:-)
metze
2011-02-01 11:21:42 +01:00
Pavel Shilovsky
6696fd1c1e
Ensure we send the direct levelII oplock break to the correct fid.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Feb 1 00:39:56 CET 2011 on sn-devel-104
2011-02-01 00:39:56 +01:00
Jeremy Allison
e18b8c0730
Add knownfail for s4 for the new oplock test.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Jan 31 22:55:00 CET 2011 on sn-devel-104
2011-01-31 22:55:00 +01:00
Pavel Shilovsky
f453235ce0
smbtorture4 test for bug #7928 - Samba problems with kernel oplocks option set to "no"
2011-01-31 12:03:17 -08:00
Pavel Shilovsky
7690d9d70c
Fix bug #7928 - Samba problems with kernel oplocks option set to "no"
...
We should not grant levelII oplocks on a file with existing
byte range locks.
2011-01-31 12:00:15 -08:00
Stefan Metzmacher
c9027b664b
midltests: add todo/midltests-pipe-sync-ndr32-downgrade-02.idl
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Jan 31 19:45:41 CET 2011 on sn-devel-104
2011-01-31 19:45:41 +01:00