summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2011-01-24libcli/ldap: use lib/ldb_compat.h for the s3 buildStefan Metzmacher1-0/+13
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 24 14:55:50 CET 2011 on sn-devel-104
2011-01-24s3-winbind: fix winbindd_dual_pam_auth_samlogon() for NT4 domains.Günther Deschner1-0/+1
After failing the netr_LogonSamLogonEx, we failed to retry with netr_LogonSamLogon. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Jan 24 12:35:42 CET 2011 on sn-devel-104
2011-01-24Revert "s3: Fix an infinite loop"Volker Lendecke1-4/+0
This reverts commit 61f7d7cdeccb1f733590e8bdb8229b32363a815e. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Jan 24 10:10:43 CET 2011 on sn-devel-104
2011-01-23s3: Fix an infinite loopVolker Lendecke1-0/+4
If select returns EBADF (which should NEVER happen), then we loop infinitely because the select masks seem all active. I've been given an strace where smbd floods syslog with inotify-related error messages. The strace shows that select returns EBADF, and we're calling the inotify event callback. It then complains there's no data on the inotify fd. Metze, please check! We might need to fix this in 3.4 and 3.5 as well. And we need to find the deeper reason where we close a file descriptor and don't tell the events system about it. Volker Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jan 23 10:05:39 CET 2011 on sn-devel-104
2011-01-22s3: Fix connecting to port-139 only serversVolker Lendecke1-3/+5
When the TCP RST came before the 5 msecs timeout kicked in, we viewed this as final, as state->req_139 was not set yet. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jan 22 17:42:41 CET 2011 on sn-devel-104
2011-01-21s3-torture: fix uninitialized status code.Günther Deschner1-1/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jan 21 16:52:34 CET 2011 on sn-devel-104
2011-01-21s3-rpc_client: fix dcerpc_try_samr_connects().Günther Deschner1-2/+2
Only return when both results are ok. Guenther
2011-01-21s3-rpc_client: no need to include gen_ndr/cli_samr.h anymore.Günther Deschner1-1/+1
Guenther
2011-01-21s3-rpc_client: fix uninitialized variable found by -O3.Günther Deschner1-1/+1
Guenther
2011-01-21s3-waf: remove RPCCLI_SPOOLSS subsystem.Günther Deschner1-5/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jan 21 16:06:40 CET 2011 on sn-devel-104
2011-01-21s3-build: remove RPCCLI_SPOOLSS subsystem.Günther Deschner1-2/+1
Guenther
2011-01-21s3-rpcclient: prefer dcerpc_spoolss_X functions.Günther Deschner1-74/+205
Guenther
2011-01-21s3-rpc_client: prefer dcerpc_spoolss_X functions.Günther Deschner1-37/+149
Guenther
2011-01-21s3-lanman: remove trailing whitespace.Günther Deschner1-30/+30
Guenther
2011-01-21s3-rpc_client: Added dcerpc_try_samr_connects.Andreas Schneider2-11/+67
Autobuild-User: Andreas Schneider <asn@samba.org> Autobuild-Date: Fri Jan 21 15:19:01 CET 2011 on sn-devel-104
2011-01-21s3-rpc_client: Rename get_query_dispinfo_params.Andreas Schneider5-10/+28
2011-01-21s3-rpc_client: Added dcerpc_samr_chgpasswd_user3.Andreas Schneider2-9/+75
2011-01-21s3-rpc_client: Added dcerpc_samr_chng_pswd_auth_crap.Andreas Schneider2-7/+73
2011-01-21s3-rpc_client: Added dcerpc_samr_chgpasswd_user2.Andreas Schneider2-10/+65
2011-01-21s3-rpc_client: Added dcerpc_samr_chgpasswd_user.Andreas Schneider2-6/+54
2011-01-21s3-rpc_client: Added header information to cli_samr.h.Andreas Schneider1-0/+30
2011-01-21s3-rpc_client: Added header information to cli_lsarpc.h.Andreas Schneider1-0/+30
2011-01-21s3:winbind: Fork multiple children per domainVolker Lendecke24-28/+117
This makes us scale better with many simultaneous winbind requests, some of which might be slow. This implementation breaks offline logons, as the cached credentials are maintained in a child (this needs fixing). So, if the offline logons are active, only allow one DC connection. Probably the offline logon and the scalable file server cases are separate enough so that this patch is useful even with the restriction.
2011-01-21s3:printing: use dcerpc_spoolss_X() functionsStefan Metzmacher2-47/+84
metze Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@samba.org> Autobuild-Date: Fri Jan 21 13:14:49 CET 2011 on sn-devel-104
2011-01-21s3:srv_spoolss: use dcerpc_spoolss_X() functionsStefan Metzmacher1-10/+27
metze Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-21s3:smbd: use dcerpc_spoolss_X() functionsStefan Metzmacher2-32/+50
metze Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-21s3:net: use dcerpc_spoolss_X() functionsStefan Metzmacher2-64/+155
metze Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-21s3:libads: use dcerpc_spoolss_X() functionsStefan Metzmacher1-2/+4
metze Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-21s3: Fix a deadlock between smbd and ctdbdVolker Lendecke1-4/+18
Do the notification after we released the share mode lock. Inside notify_fname we take out another tdb lock. With ctdb also accessing our databases, this can lead to deadlocks. Putting this notify after the TALLOC_FREE(lck) above we avoid locking two records simultaneously. Notifies are async and informational only, so calling the notify_fname without holding the share mode lock should not do any harm. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jan 21 12:29:21 CET 2011 on sn-devel-104
2011-01-21s3-spoolss: make it more obvious what winreg_create_printer() does.Günther Deschner1-5/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jan 21 11:43:29 CET 2011 on sn-devel-104
2011-01-21s3-rpcclient: rename duplicate enumkey command to winreg_enumkey.Günther Deschner1-1/+1
Guenther
2011-01-21s3-spoolss: as smbtorture testing proves: devmode size is the size of the ↵Günther Deschner1-1/+1
devicemode minus the driverdata extra size. Jeremy, please check. Guenther
2011-01-21s3-spoolss: disallow storing an invalid devmode size.Günther Deschner1-0/+6
Guenther
2011-01-21s3:vfs:shadow_copy2: fix indentation in _SHADOW2_NEXT_SMB_FNAMEMichael Adam1-2/+2
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jan 21 10:57:45 CET 2011 on sn-devel-104
2011-01-21s3:vfs:shadow_copy2: Fix shadow-copy module for drag&drop from a snapshotVolker Lendecke1-0/+4
We have to return NT_STATUS_NOT_SAME_DEVICE to trigger the Windows client to start a copy itself. Unbeknownst to us via the ACLs snapshots are read-only, so a rename would trigger a EACCES. Unfortunately the MacOS/X finder does not do the smart NOT_SAME_DEVICE fallback that Windows does.
2011-01-21s3:registry correct a debug levelChristian Ambach1-1/+1
this is not a level 0 message, move it to 10
2011-01-21s3:winbind: Protect against invalid winbindd_cache entries in lookupridsVolker Lendecke1-1/+2
2011-01-21s3-net: add roundtrip tests for registry import/exportGregor Beck1-0/+88
2011-01-21s3: Fix the code to immediately disconnect from a non-working ctdbdVolker Lendecke1-0/+1
2011-01-21s3:vfs:gpfs: fix logic when gpfs:winattr is false (the default!)Rusty Russell1-1/+11
On my autocluster setup, it's not set. Maybe it should be? Otherwise smbclient and some Windows client programs will get errors like: # smbclient //localhost/data -Uadministrator%XXX Domain=[VSOFS1] OS=[Unix] Server=[Samba 3.4.2-ctdb-10] smb: \> put /etc/resolv.conf resolv.conf NT_STATUS_ACCESS_DENIED closing remote file \resolv.conf smb: \> Caused by attempting to update the time on close. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Michael Adam <obnox@samba.org>
2011-01-21s3:librpc: remove prototype of dcerpc_binding_handle_set_ref_alloc()Stefan Metzmacher1-3/+0
This function doesn't exist anymore. metze
2011-01-21Remove all uses of "./" in pathnames - make canonical. This will become ↵Jeremy Allison1-50/+78
important when we need to guarantee canonical names for hashing. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jan 21 02:59:56 CET 2011 on sn-devel-104
2011-01-20Ensure we don't use "./" in findfirst pathnames. Use a directory open of "." ↵Jeremy Allison1-4/+8
instead.
2011-01-20Make processing of incoming stream rename paths common between reply_mv and ↵Jeremy Allison3-23/+48
ntrename. Ensure we don't depend on "./" in the streams module.
2011-01-20s3:smbd: use anonymous_shared_free() for shared memory signing stateStefan Metzmacher1-0/+7
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jan 20 07:48:29 CET 2011 on sn-devel-104
2011-01-20lib/util: s/allocate_anonymous_shared/anonymous_shared_allocate/Stefan Metzmacher1-1/+1
metze
2011-01-19s3-param: Fixed code block in max_open_files().Andreas Schneider1-1/+1
When the HAVE_GETRLIMIT and RLIMIT_NOFILE macros are defined the block isn't closed. Autobuild-User: Andreas Schneider <asn@samba.org> Autobuild-Date: Wed Jan 19 23:10:50 CET 2011 on sn-devel-104
2011-01-19s3-smbd: Fixed a possible null pointer dereference.Andreas Schneider1-1/+3
2011-01-19s3: Add wbinfo --dc-infoVolker Lendecke4-0/+148
wbinfo --dc-info prints the current DC name and IP address. This helps diagnosing problems that might happen when a later wbinfo --ping-dc fails. This patch started out by using the SAF and NBT cache entires, but those are relatively short-lived. So I decided to invent a new gencache entry with a very long timeout. We need to go via the gencache because when for some reason a winbind child process is stuck, we can't query it for the current DC it's connected to. This must eventually go away again when we have a fully async winbind. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jan 19 08:40:28 CET 2011 on sn-devel-104
2011-01-19Add DELETE-LN test to show bug #7863 - Unlink may unlink wrong file when ↵Jeremy Allison1-0/+111
hardlinks are involved Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jan 19 03:06:32 CET 2011 on sn-devel-104