summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-02-02Based on a conversation with Volker, refactor some of the oplock code to ↵Jeremy Allison1-71/+160
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-02s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_list.Günther Deschner1-10/+40
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-01s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_del_internals.Günther Deschner1-15/+58
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_add_internals.Günther Deschner1-11/+31
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_aliaslist_internals.Günther Deschner1-11/+17
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_fetch_domain_aliases.Günther Deschner1-17/+45
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_group_members_internals.Günther Deschner1-18/+37
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_list_alias_members.Günther Deschner1-8/+17
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_list_group_members.Günther Deschner1-13/+26
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_group_list_internals.Günther Deschner1-40/+91
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_del_aliasmem.Günther Deschner1-14/+34
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_del_groupmem.Günther Deschner1-17/+47
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_add_aliasmem.Günther Deschner1-15/+31
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_add_groupmem.Günther Deschner1-13/+40
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_group_delete_internals.Günther Deschner1-43/+117
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_sh_user_flag_edit_internals.Günther Deschner1-7/+16
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_sh_user_str_edit_internals.Günther Deschner1-6/+17
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_sh_user_show_internals.Günther Deschner1-3/+8
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_sh_handle_user.Günther Deschner1-17/+33
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_info_internals.Günther Deschner1-9/+30
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in net_rpc_sh_acct.c.Günther Deschner1-25/+57
Guenther
2011-02-01s3-waf: fix the build after linux netlink changes.Günther Deschner2-0/+16
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-01s3: Fix bug 7940 -- fall back for utimes callsVolker Lendecke1-4/+14
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-01Added SSL global catalogWilliam Brown1-3/+18
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-01s3:rpcclient/cmd_samr: remove useless ';'Stefan Metzmacher1-1/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Feb 1 19:19:24 CET 2011 on sn-devel-104
2011-02-01s3:libnet/libnet_samsync_display: fix netr_DELTA_* displayStefan Metzmacher1-9/+12
metze
2011-02-01s3:rpcclient/cmd_netlogon: fix netr_DELTA_* displayStefan Metzmacher1-11/+14
metze
2011-02-01pidl:Samba4/NDR/Parser: fix ndr_pull/ndr_push mismatchStefan Metzmacher1-1/+1
metze
2011-02-01s3: Fix the build on sles8Volker Lendecke1-0/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Feb 1 18:34:33 CET 2011 on sn-devel-104
2011-02-01s3-net: add net_scan_dc non-ad variant.Günther Deschner1-1/+67
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-01s3-lanman: prefer dcerpc_samr_X functions.Günther Deschner1-83/+237
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-01s3-rpcclient: prefer dcerpc_samr_X functions.Günther Deschner1-500/+880
Guenther
2011-02-01s3-libnet: prefer dcerpc_samr_X functions.Günther Deschner1-45/+141
Guenther
2011-02-01s3: Send a dropped_ip message if we lose an IPVolker Lendecke1-0/+85
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Feb 1 15:59:17 CET 2011 on sn-devel-104
2011-02-01s3: test addrchangeVolker Lendecke4-0/+96
2011-02-01s3: Add support for AF_NETLINK addr notificationsVolker Lendecke4-0/+326
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-01s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/user.c.Günther Deschner1-130/+377
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-01s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/samr.c.Günther Deschner1-14/+48
Guenther
2011-02-01s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/localgroup.c.Günther Deschner1-50/+151
Guenther
2011-02-01s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/group.c.Günther Deschner1-120/+367
Guenther
2011-02-01pidl:Samba4/NDR/Parser: add support for 'ms_union' style aligmentStefan Metzmacher1-2/+12
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Feb 1 12:13:45 CET 2011 on sn-devel-104
2011-02-01pidl:Samba4/NDR/Parser: only do the switch type alignment when we have a ↵Stefan Metzmacher1-7/+8
switch type This doesn't change the logic, it just doesn't call the same aligment function twice. metze
2011-02-01pidl:NDR: add support for 'ms_union' property.Stefan Metzmacher2-46/+54
metze
2011-02-01midltests: add invalid/midltests_pipe_struct_union_01.idlStefan Metzmacher2-0/+296
pipes with unions are not supported by midl, so we don't need to implement them in pidl:-) metze
2011-02-01Ensure we send the direct levelII oplock break to the correct fid.Pavel Shilovsky1-1/+10
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Feb 1 00:39:56 CET 2011 on sn-devel-104
2011-01-31Add knownfail for s4 for the new oplock test.Jeremy Allison1-0/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Jan 31 22:55:00 CET 2011 on sn-devel-104
2011-01-31smbtorture4 test for bug #7928 - Samba problems with kernel oplocks option ↵Pavel Shilovsky1-0/+95
set to "no"
2011-01-31Fix bug #7928 - Samba problems with kernel oplocks option set to "no"Pavel Shilovsky2-8/+32
We should not grant levelII oplocks on a file with existing byte range locks.
2011-01-31midltests: add todo/midltests-pipe-sync-ndr32-downgrade-02.idlStefan Metzmacher1-0/+296
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 31 19:45:41 CET 2011 on sn-devel-104
2011-01-31midltests: test encapsulated unions with 'ms_union'Stefan Metzmacher2-0/+228
metze