summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2011-02-02s3:rpc_server/netlogon: add _netr_LogonSamLogon_check()Stefan Metzmacher1-14/+87
We need to check for invalid parameters before we check for access denied. metze
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-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-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-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-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-31s3:lib/events: use DLIST_DEMOTE() for fd eventsStefan Metzmacher1-0/+1
This makes sure that fd events doesn't dry out, because a fd with a lower number is busy. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 31 16:59:44 CET 2011 on sn-devel-104
2011-01-31s3:smbd: let smbd_server_connection_loop_once() check for select errorsStefan Metzmacher1-0/+4
metze
2011-01-31s3:lib/events: don't loop over fd events is select gave -1Stefan Metzmacher1-1/+1
metze
2011-01-31Revert "s3: Fix starving the echo responder"Stefan Metzmacher1-17/+0
This reverts commit d5cf6482ed0cd9a11448ca04944b2e01200a7c89. I'll add a more generic fix for this problem. metze
2011-01-31Revert "s3:events: Call all ready fd event handlers on each iteration of the ↵Stefan Metzmacher5-40/+35
main loop" This reverts commit 455fccf86b6544cd17a2571c63a88f8aebff3f74. I'll add a more generic fix for this problem. metze
2011-01-31s3-waf: On FreeBSD, compile zfsacl if sunacl.h is around.Günther Deschner2-1/+10
Volker, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Jan 31 10:51:10 CET 2011 on sn-devel-104
2011-01-31s3-waf: these libs are not private libs.Günther Deschner1-3/+3
Guenther
2011-01-30s3:libsmb: display NT_STATUS_RPC_SEC_PKG_ERROR in error stringsStefan Metzmacher1-0/+1
metze
2011-01-30s3:net registry: ignore WERR_BADFILE when --force is given in ↵Michael Adam1-1/+3
deletekey[_recursive] Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sun Jan 30 14:53:13 CET 2011 on sn-devel-104