summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
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
2011-01-30s3:registry: in deletekey_recursive, fix return code upon error.Michael Adam1-3/+10
correctly keep the werr from inside the transaction when the opearation inside the transaction fails. What is the correct behaviour if the cancel operation fails?
2011-01-30s3:net registry: fix a debug message.Michael Adam1-1/+1
2011-01-30s3:net registry: fix a debug message.Michael Adam1-1/+1
2011-01-30s3: On FreeBSD, compile zfsacl if sunacl.h is aroundVolker Lendecke3-2/+18
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jan 30 12:17:49 CET 2011 on sn-devel-104
2011-01-29s3: Make _lp_maxprotocol staticVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jan 29 16:07:28 CET 2011 on sn-devel-104
2011-01-29s3: Remove an unneeded checkVolker Lendecke1-1/+1
In many other places we already assume that if asprintf returns !=-1 then the result is allocated. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jan 29 15:00:09 CET 2011 on sn-devel-104
2011-01-28s3: inline get_uid_from_stateVolker Lendecke1-6/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jan 28 23:38:16 CET 2011 on sn-devel-104
2011-01-28s3: Lift winbindd_cli_state from fillup_password_policyVolker Lendecke1-4/+6
2011-01-28s3: Do not use state->mem_ctx in fillup_password_policyVolker Lendecke1-4/+8
2011-01-28s3: Lift winbindd_cli_state from winbindd_dual_pam_auth_samlogonVolker Lendecke1-21/+27
2011-01-28s3: Lift winbindd_cli_state from winbindd_raw_kerberos_loginVolker Lendecke1-18/+26
2011-01-28We need to reply to SMB2_GETINFO_FILE with a class of ↵Jeremy Allison1-1/+32
SMB2_FILE_STANDARD_INFO on an IPC$ share. Otherwise a Win7 client issues this request twice (2xroundtrips) if we return NOT_SUPPORTED. We do the same for SMB1 in call_trans2qpipeinfo() Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jan 28 22:53:18 CET 2011 on sn-devel-104
2011-01-28s3-net: use struct based dcerpc_spoolss_EnumPrinterData_r() call.Günther Deschner1-42/+34
This is a workaround for a string issue we currently have with argument based generated dcerpc client code (see bug #7804 for details). Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jan 28 22:05:20 CET 2011 on sn-devel-104
2011-01-28s3-rpcclient: use struct based dcerpc_spoolss_EnumPrinterData_r() call.Günther Deschner1-43/+38
This is a workaround for a string issue we currently have with argument based generated dcerpc client code (see bug #7804 for details). Guenther
2011-01-28s3-rpc_client: remove some more obsolete cli_X.h header files.Günther Deschner5-5/+5
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jan 28 11:18:44 CET 2011 on sn-devel-104
2011-01-28Add delete-ln test now we can correctly delete hardlinks.Jeremy Allison1-1/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jan 28 01:24:19 CET 2011 on sn-devel-104
2011-01-27Change "security=share" to downgrade to SMB1 from SMB2, rather than trying ↵Jeremy Allison2-9/+12
to fake it.
2011-01-28libwbclient: bump the libwbclient SOVER 0 -> 1 due to ABI changesMichael Adam1-1/+1
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jan 28 00:25:11 CET 2011 on sn-devel-104
2011-01-27s3:registry: fix comments in regdb_store_regdb_version()Michael Adam1-2/+2
2011-01-27s3-build: remove another leftover of -I../source4.Günther Deschner1-1/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Jan 27 13:30:30 CET 2011 on sn-devel-104
2011-01-27Looking into printer driver issues, I ran across some peculiarities inDavid Disseldorp1-8/+11
copy_file(): - Firstly, if the source file is zero bytes, NT_STATUS_DISK_FULL is returned. - Secondly, the conditional lseek is confusing. It fires when OPENX_FILE_EXISTS_OPEN is set and I can't see why the lseek is necessary in this case. - Finally, the lseek error path also results in NT_STATUS_DISK_FULL. Proposed fix for first and third point below. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jan 27 00:59:56 CET 2011 on sn-devel-104
2011-01-27s3-utils: Fixed a resource leak in net_afs.Andreas Schneider1-0/+2
s3-utils: Fixed a resource leak in net_afs. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jan 27 00:12:47 CET 2011 on sn-devel-104
2011-01-26s3-utils: Fixed a resource leak in smbta-util.Andreas Schneider1-0/+1
s3-utils: Fixed a resource leak in smbta-util.
2011-01-26s3-utils: Fixed possible resource leak in net_usershare.Andreas Schneider1-0/+5
s3-utils: Fixed possible resource leak in net_usershare.
2011-01-26s3-utils: Fixed possible resource leak in smbget.Andreas Schneider1-0/+1
s3-utils: Fixed possible resource leak in smbget.
2011-01-26s3-utils: Fixed possible resource leak in smbfilter.Andreas Schneider1-0/+1
s3-utils: Fixed possible resource leak in smbfilter.
2011-01-26s3-modules: Fixed the for-loop code block.Andreas Schneider1-0/+1
s3-modules: Fixed the for-loop code block.
2011-01-26s3-lib: Fixed a missing return value in tldap.Andreas Schneider1-0/+1
s3-lib: Fixed a missing return value in tldap.
2011-01-26errormap: Add unix_to_werror() functionKai Blin1-0/+6
While this function technically is closest to the map_nt_status_from_unix() function, I think it is better to keep the new function in line with our usual fooerror_to_barerror() naming scheme. Signed-off-by: Kai Blin <kai@samba.org> Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Wed Jan 26 23:07:24 CET 2011 on sn-devel-104
2011-01-26Allow "security = share" with SMB2. We already handle this in smb2/smb2_server.cJeremy Allison1-1/+0
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jan 26 20:37:29 CET 2011 on sn-devel-104
2011-01-26From Metze - make sure we're using the same string length for the hash.Jeremy Allison1-1/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jan 26 18:32:15 CET 2011 on sn-devel-104
2011-01-26s3-winbind: share a common winbind_samlogon_retry_loop().Günther Deschner1-168/+147
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jan 26 12:41:14 CET 2011 on sn-devel-104
2011-01-26Revert "s3: These assignments are overwritten immediately"Günther Deschner1-0/+4
This reverts commit 18962ea3852d0d0fc7371e99813bebd54fae0a19.