Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-02-01 | Torture test for bug 7084 - Create time on directories not stored properly ↵ | Jeremy Allison | 2 | -1/+88 | |
in an EA in new create time code. Ensure new files in a directory don't reset the create time. Jeremy. | |||||
2010-02-01 | Arg. Got the sense of the test reversed to fix bug #7080 - Quota only shown ↵ | Jeremy Allison | 1 | -1/+1 | |
when logged as root.. Doh ! Jeremy. | |||||
2010-02-01 | Fix bug #7080 - Quota only shown when logged as root. | Jeremy Allison | 1 | -1/+1 | |
conn->server_info->utok.uid == 0 isn't the correct check to see if we're root anymore. As rpc_samr_nt.c does, the correct check is : geteuid() == sec_initial_uid() Jeremy. | |||||
2010-02-01 | s4:NBT-WINS: test large scopes | Stefan Metzmacher | 1 | -0/+37 | |
metze | |||||
2010-02-01 | s4:NBT-WINS: pass the expected rcode of the name registration to the test code | Stefan Metzmacher | 1 | -18/+39 | |
metze | |||||
2010-02-01 | s4:NBT-WINSREPLICATION: test replication with names including scopes | Stefan Metzmacher | 1 | -1/+51 | |
metze | |||||
2010-02-01 | s4:NBT-WINSREPLICATION: fix compiler warnings | Stefan Metzmacher | 1 | -8/+16 | |
metze | |||||
2010-02-01 | s4:NBT-WINSREPLICATION: use an array of nbt_names to loop over different names | Stefan Metzmacher | 1 | -10/+7 | |
metze | |||||
2010-02-01 | s4:winsserver: reject name registrations with a scope length > 237 | Stefan Metzmacher | 1 | -0/+9 | |
This matches Windows 2008 behavior. Name releases are just ignored. metze | |||||
2010-02-01 | s4:wrepl_server: truncate the scope of a netbios name to 237 bytes as ↵ | Stefan Metzmacher | 1 | -0/+14 | |
Windows 2008 does metze | |||||
2010-02-01 | libcli/nbt: fix ndr_push_nbt_string() string labels with a length of 63 ↵ | Stefan Metzmacher | 1 | -2/+2 | |
(0x3F) are allowed metze | |||||
2010-02-01 | s4/ldif: Handle Schema:prefixMap blobs in W2K3 and W2K8 | Kamen Mazdrashki | 1 | -6/+16 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-02-01 | s4/ldif: Better control on ldif_write_NDR() errors processing | Kamen Mazdrashki | 1 | -6/+21 | |
Current implementation mask NDR_ errors implicitly. Thus the caller has no opportunity handle such an error. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-02-01 | s4/idl: drsblobs IDL regeneration | Kamen Mazdrashki | 3 | -0/+120 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-02-01 | s4/drsblobs: Custom ndr_print_ implementation for drsuapi_MSPrefixMap_Entry | Kamen Mazdrashki | 2 | -1/+26 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-02-01 | s4/idl: PrefixMap description for W2K3 and W2K8 Schema:prefixMap attribute | Kamen Mazdrashki | 1 | -0/+22 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-02-01 | tdb: fix an early release of the global lock that can cause data corruption | Volker Lendecke | 1 | -5/+10 | |
There was a bug in tdb where the tdb_brlock(tdb, GLOBAL_LOCK, F_UNLCK, F_SETLKW, 0, 1); (ending the transaction-"mutex") was done before the /* remove the recovery marker */ This means that when a transaction is committed there is a window where another opener of the file sees the transaction marker while the transaction committer is still fully functional and working on it. This led to transaction being rolled back by that second opener of the file while transaction_commit() gave no error to the caller. This patch moves the F_UNLCK to after the recovery marker was removed, closing this window. | |||||
2010-01-31 | s4-smbtorture: check for RouterReplyPrinterEx packets inside backchannel in ↵ | Günther Deschner | 1 | -6/+147 | |
RPC-SPOOLSS-NOTIFY. Guenther | |||||
2010-01-31 | s4-smbtorture: also test RouterRefreshPrinterChangeNotify call in ↵ | Günther Deschner | 1 | -0/+25 | |
RPC-SPOOLSS-NOTIFY. Guenther | |||||
2010-01-31 | s4-smbtorture: rework spoolss_NotifyOption handling in RPC-SPOOLSS-NOTIFY. | Günther Deschner | 1 | -19/+31 | |
Guenther | |||||
2010-01-31 | testprogs: also print printer info during GetPrinter spoolss test. | Günther Deschner | 1 | -0/+4 | |
Guenther | |||||
2010-01-31 | s4:kdc streamline context initialization | Simo Sorce | 2 | -37/+58 | |
Allow other plugins to init the context without having it try to grab sockets or set samba specific logging. | |||||
2010-01-31 | s4:kdc Streamline client access verification call | Simo Sorce | 3 | -70/+129 | |
Move the core to pac-glue so that other plugins can use it. | |||||
2010-01-31 | s4:kdc Fix netbios name retrieval | Simo Sorce | 1 | -2/+2 | |
The code was looping but always checking only the first address. | |||||
2010-01-31 | s4:ldb quiet down rootdse control registration | Simo Sorce | 1 | -1/+1 | |
2010-01-31 | s3: Fix some DEBUG messages | Volker Lendecke | 1 | -3/+3 | |
2010-01-30 | Fix bug #7079 - cliconnect gets realm wrong with trusted domains. | Jeremy Allison | 4 | -3/+91 | |
Passing NULL as dest_realm for cli_session_setup_spnego() was always using our own realm (as for a NetBIOS name). Change this to look for the mapped realm using krb5_get_host_realm() if the destination machine name is a DNS name (contains a '.'). Could get fancier with DNS name detection (length, etc.) but this will do for now. Jeremy. | |||||
2010-01-30 | s3/smbd: Fix string buffer overflow causing heap corruption | Steven Danneman | 1 | -1/+2 | |
The destname malloc size was not taking into account the 1 extra byte needed if a string without a leading '/' was passed in and that slash was added. This would cause the '\0' byte to be written past the end of the malloced destname string and corrupt whatever heap memory was there. This problem would be hit if a share name was given in smb.conf without a leading '/' and if it was the exact size of the allocated STRDUP memory which in some implementations of malloc is a power of 2. | |||||
2010-01-30 | s4:ldb Fix check made conditional by mistake | Simo Sorce | 1 | -7/+11 | |
2010-01-30 | s4:ldb add support for permissive modify control | Simo Sorce | 1 | -24/+96 | |
2010-01-29 | Fix a really interesting problem found by Volker's conversion of ↵ | Jeremy Allison | 1 | -3/+3 | |
sessionsetup SPNEGO to asynchronous code. Normally clistr_push_fn() can depend upon cli->outbuf being initialized by negprot and sessionsetup packets, and cli->outbuf[smb_flgs2] being correctly set with FLAGS2_UNICODE_STRINGS when cli_setup_packet() is called. When all the sessionsetups are async, then cli_setup_packet() is never called, the async code uses cli_setup_packet_buf() - which initializes the allocated async buffer, not the cli->outbuf one. So the first time clistr_push_fn() is called is from libsmb/clidfs.c:cli_dfs_get_referral(), just after the connection and tconX. In this case cli->outbuf has never been initialized, and cli->outbuf[smb_flgs2] = 0 so the DFS query pushes ASCII on the wire, which is not what we want :-). Remove the dependency on cli->outbuf[smb_flgs2] in clistr_push_fn(), and fake up a SVAL(cli->outbuf, smb_flg2) value using cli_ucs2(cli) function instead, which has been initialized. We only care about the FLAGS2_UNICODE_STRINGS bit anyway. I don't think this is an issue for 3.5.0 as the sessionsetup is still synchronous there, but Volker PLEASE CHECK ! Jeremy. | |||||
2010-01-29 | Fix const warning. | Jeremy Allison | 1 | -1/+1 | |
Jeremy | |||||
2010-01-29 | Revert "s4:include/includes.h - Need to include "system/network.h"" | Matthias Dieter Wallnöfer | 1 | -1/+0 | |
This reverts commit 97fd03a15a694450e80310fc776a58c6fde58a52. This obviously broke the build. Revert it for now. | |||||
2010-01-29 | s4:include/includes.h - Need to include "system/network.h" | Matthias Dieter Wallnöfer | 1 | -0/+1 | |
Otherwise I don't get the definition of "struct in_addr" for "lib/util/util.h" on CentOS 4. | |||||
2010-01-29 | s4:libcli/util/tstream.c - Need to include "system/network.h" | Matthias Dieter Wallnöfer | 1 | -0/+1 | |
Otherwise I don't get "struct iovec" through "<sys/uio.h>" on CentOS 4. | |||||
2010-01-29 | libcli/nbt: fix off-by-one bug in ndr_pull_wrepl_nbt_name() | Stefan Metzmacher | 1 | -2/+2 | |
The scope starts at byte 17 with index 16. metze | |||||
2010-01-29 | libcli/nbt: fix ndr_pull/push_wrepl_nbt_name() | Stefan Metzmacher | 1 | -0/+25 | |
[MS-WINSRA] — v20091104 was wrong regarding section "2.2.10.1 Name Record" If the name buffer is already 4 byte aligned Windows (at least 2003 SP1 and 2008) add 4 extra bytes. This can happen when the name has a scope. metze | |||||
2010-01-29 | s3: link thread objects in libsmbclient only and adjust linker flags | Björn Jacke | 1 | -8/+10 | |
2010-01-29 | AIX doesn't have MSG_DONTWAIT | olivier | 1 | -1/+1 | |
2010-01-29 | Fixed a bug caused by a typo. Infrastructure role didn't work. | Nadezhda Ivanova | 1 | -1/+1 | |
2010-01-29 | s4/ldap: Test to expoit ldb_ildap bug in case of nested search requests | Kamen Mazdrashki | 3 | -1/+205 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-01-29 | s4/ldap: Fix nested searches SEGFAULT bug | Kamen Mazdrashki | 2 | -0/+15 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-01-29 | s4: Ignore few more auto-generated files | Kamen Mazdrashki | 1 | -0/+2 | |
2010-01-29 | librpc: rerun 'make idl' | Stefan Metzmacher | 1 | -0/+3 | |
metze | |||||
2010-01-29 | security.idl: add wellknown TrustedInstaller SID | Stefan Metzmacher | 1 | -0/+7 | |
metze | |||||
2010-01-29 | s3: by default don't use pthread pool support | Björn Jacke | 1 | -5/+5 | |
2010-01-29 | lib/util: remove data_blob_talloc_reference() | Stefan Metzmacher | 2 | -23/+0 | |
We want to avoid the usage of talloc_reference() in Samba. metze | |||||
2010-01-29 | s4:auth_sam: avoid usage of data_blob_talloc_reference() and copy the ↵ | Stefan Metzmacher | 1 | -4/+14 | |
session keys metze | |||||
2010-01-29 | s4:libcli: remove unneeded talloc_reference() usage | Stefan Metzmacher | 1 | -4/+1 | |
metze | |||||
2010-01-28 | s4:kdc remove dead code and comments | Simo Sorce | 1 | -5/+0 | |