summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-02-04s4:mark the SYSTEM control always as non-criticalMatthias Dieter Wallnöfer1-0/+29
It is needed to not break the various LDAP backends. For reference look at bug #7040.
2010-02-04s3:nsswitch: also use pthread CFLAGS for the nsswitch modules that might ↵Björn Jacke1-1/+1
require it
2010-02-04s3: fix build on Tru64 after it broke with deactivating pthread pool supportBjörn Jacke1-3/+6
2010-02-04s3:vfs_scannedonly: fix build on HP-UXBjörn Jacke1-0/+6
2010-02-03net: Fix python 2.4 compatibility.Jelmer Vernooij1-0/+5
2010-02-03s3: Simplify the code a bit: Catch (len==0) earlyVolker Lendecke1-7/+4
2010-02-03update samba schema for IBM Directory ServerChristian Ambach1-2/+2
this increases the sambapasswordhistory field length to 64 and fixes a warning about a wrong booleanmatch setting Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2010-02-02Fix bug 7081 - vfs_expand_msdfs doesn't work correctly (with fix identified)Jeremy Allison1-3/+16
Fix inspired by idea from Eric Horst <erich@cac.washington.edu>. Jeremy.
2010-02-02Fix bug 7063 - Samba 3.4.5 on ubuntu 8.04 64 bit - Core dumps.Jeremy Allison1-2/+9
Reported and found by Martin Hochreiter <linuxbox@wavenet.at>. Ensure we copy the right amount of registry data into the outgoing buffer. Jeremy.
2010-02-02s3:configure: check complete set of EA functions only when we found at least oneBjörn Jacke1-28/+18
this saves us some time in configure
2010-02-02Change uint_t to unsigned int in source4Matt Kraai61-290/+290
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02Change uint_t to unsigned int in source3Matt Kraai2-8/+8
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02Change uint_t to unsigned int in pidlMatt Kraai1-1/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02Change uint_t to unsigned int in libcliMatt Kraai5-5/+5
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02Change uint_t to unsigned int in lib/utilMatt Kraai4-6/+6
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02Change uint_t to unsigned int in lib/tallocMatt Kraai2-6/+6
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02Change uint_t to unsigned int in lib/cryptoMatt Kraai1-4/+4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02Change uint_t to unsigned int in lib/replaceMatt Kraai4-4/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02s4:NBT-WINSREPLICATION: don't mark a local variable as staticStefan Metzmacher1-1/+1
This was somehow introduced in commit 8773e743c518578584d07d35ffdafdd598af88b0. metze
2010-02-01Add debug to make it clear when EA dosmode set is invoked.Jeremy Allison1-0/+5
Jeremy.
2010-02-01Fix bug #7084 - Create time on directories not stored properly in an EA in ↵Jeremy Allison1-7/+0
new create time code. Remove erroneous optimisation that caused no EA to be set if calculated btime matched st_ex btime, and calculated DOS attribute matched existing file attribute. Jeremy.
2010-02-01Torture test for bug 7084 - Create time on directories not stored properly ↵Jeremy Allison2-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-01Arg. Got the sense of the test reversed to fix bug #7080 - Quota only shown ↵Jeremy Allison1-1/+1
when logged as root.. Doh ! Jeremy.
2010-02-01Fix bug #7080 - Quota only shown when logged as root.Jeremy Allison1-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-01s4:NBT-WINS: test large scopesStefan Metzmacher1-0/+37
metze
2010-02-01s4:NBT-WINS: pass the expected rcode of the name registration to the test codeStefan Metzmacher1-18/+39
metze
2010-02-01s4:NBT-WINSREPLICATION: test replication with names including scopesStefan Metzmacher1-1/+51
metze
2010-02-01s4:NBT-WINSREPLICATION: fix compiler warningsStefan Metzmacher1-8/+16
metze
2010-02-01s4:NBT-WINSREPLICATION: use an array of nbt_names to loop over different namesStefan Metzmacher1-10/+7
metze
2010-02-01s4:winsserver: reject name registrations with a scope length > 237Stefan Metzmacher1-0/+9
This matches Windows 2008 behavior. Name releases are just ignored. metze
2010-02-01s4:wrepl_server: truncate the scope of a netbios name to 237 bytes as ↵Stefan Metzmacher1-0/+14
Windows 2008 does metze
2010-02-01libcli/nbt: fix ndr_push_nbt_string() string labels with a length of 63 ↵Stefan Metzmacher1-2/+2
(0x3F) are allowed metze
2010-02-01s4/ldif: Handle Schema:prefixMap blobs in W2K3 and W2K8Kamen Mazdrashki1-6/+16
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-01s4/ldif: Better control on ldif_write_NDR() errors processingKamen Mazdrashki1-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-01s4/idl: drsblobs IDL regenerationKamen Mazdrashki3-0/+120
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-01s4/drsblobs: Custom ndr_print_ implementation for drsuapi_MSPrefixMap_EntryKamen Mazdrashki2-1/+26
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-01s4/idl: PrefixMap description for W2K3 and W2K8 Schema:prefixMap attributeKamen Mazdrashki1-0/+22
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-01tdb: fix an early release of the global lock that can cause data corruptionVolker Lendecke1-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-31s4-smbtorture: check for RouterReplyPrinterEx packets inside backchannel in ↵Günther Deschner1-6/+147
RPC-SPOOLSS-NOTIFY. Guenther
2010-01-31s4-smbtorture: also test RouterRefreshPrinterChangeNotify call in ↵Günther Deschner1-0/+25
RPC-SPOOLSS-NOTIFY. Guenther
2010-01-31s4-smbtorture: rework spoolss_NotifyOption handling in RPC-SPOOLSS-NOTIFY.Günther Deschner1-19/+31
Guenther
2010-01-31testprogs: also print printer info during GetPrinter spoolss test.Günther Deschner1-0/+4
Guenther
2010-01-31s4:kdc streamline context initializationSimo Sorce2-37/+58
Allow other plugins to init the context without having it try to grab sockets or set samba specific logging.
2010-01-31s4:kdc Streamline client access verification callSimo Sorce3-70/+129
Move the core to pac-glue so that other plugins can use it.
2010-01-31s4:kdc Fix netbios name retrievalSimo Sorce1-2/+2
The code was looping but always checking only the first address.
2010-01-31s4:ldb quiet down rootdse control registrationSimo Sorce1-1/+1
2010-01-31s3: Fix some DEBUG messagesVolker Lendecke1-3/+3
2010-01-30Fix bug #7079 - cliconnect gets realm wrong with trusted domains.Jeremy Allison4-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-30s3/smbd: Fix string buffer overflow causing heap corruptionSteven Danneman1-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-30s4:ldb Fix check made conditional by mistakeSimo Sorce1-7/+11