summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2009-07-15torture/smb2: add missing new line to the new SMB2-DIR.FILE-INDEX testStefan Metzmacher1-1/+1
Without this the subunit formated output would be invalid and make test reports: "UNEXPECTED(error): samba4.smb2.dir (dc).FILE-INDEX" metze
2009-07-15SMB2-GETINFO: test SMB2_ALL_EASStefan Metzmacher1-2/+2
metze
2009-07-15s4:libcli/smb2: add smb2_transport_credits_set_charge() to change the ↵Stefan Metzmacher3-4/+14
CreditsCharge value for the next request metze
2009-07-15SMB2-CONNECT: unlink the test file at startupStefan Metzmacher1-0/+2
This is needed to get reproducable results... metze
2009-07-15torture/smb2: fix crash bugs in the new SMB2-DIR testsStefan Metzmacher1-2/+2
metze
2009-07-15s4-selftest: ok, s4 cant print. add RPC-SPOOLSS-PRINTER to knownfail for now.Günther Deschner1-0/+1
Guenther
2009-07-14torture/smb2: Adding SMB2 Directory enumeration torture tests.Aravind3-26/+1265
* Most of the tests were ported from SMB torture tests. * Added one new tests which checks the behavior of the file_index field present in SMB2_FIND struct. * Added one new test to check the enumeration of directories containing lots of files (~2000 files) with name lengths varying from 1 to 200 char.
2009-07-14s4-smbtorture: add RPC-SPOOLSS-PRINTER test.Günther Deschner2-0/+444
Guenther
2009-07-14s4-smbtorture: add some tests to check spoolss_SetPrinter behavior.Günther Deschner1-0/+558
Guenther
2009-07-14s4-smbtorture: restructure test_OpenPrinter_server in RPC-SPOOLSS a bit.Günther Deschner1-5/+7
Guenther
2009-07-14remove all '\n' from ldb_debugSumit Bose19-57/+58
2009-07-13libds: merge the UF<->ACB flag mapping functions.Günther Deschner8-161/+16
Guenther
2009-07-13libds: share UF_ flags between samba3 and 4.Günther Deschner16-152/+15
Guenther
2009-07-09s4:dsdb Allow unicodePwd to be set when adding a userAndrew Bartlett1-85/+84
Windows 7 sets it's join password using the unicodePwd attribute (as a quoted, utf16 string), and does so during the LDAPAdd of the object. Previously, this code only handled unicodePwd for modifies. Andrew Bartlett
2009-07-09Add constAndrew Bartlett1-2/+2
2009-07-08s4:auth/ntlmssp: let _unwrap fallback to seal if sign only doesn't workStefan Metzmacher1-6/+57
s4:auth/ntlmssp: let _unwrap fallback to seal if sign only doesn't work Windows always uses SEAL with NTLMSSP on LDAP connection even if not negotiated. metze
2009-07-08Test for schemaUpdateNow commandAnatoliy Atanasov1-54/+126
2009-07-08Fix for schemaUpdateNow commandAnatoliy Atanasov5-6/+14
2009-07-07s4:auth It is easier to copy the session key than get talloc right.Andrew Bartlett1-4/+3
The session keys as supplied already have a reference on them, so stealing them creates challenges. For 16 bytes, it is just easier to be consistant and copy them. Andrew Bartlett
2009-07-06RAW-LOCK: fix a compiler warning and make a global static constStefan Metzmacher1-3/+2
metze
2009-07-06RAW-LOCK: fix the run against w2k3, w2k8, win7rc and samba3/4Stefan Metzmacher2-35/+52
We now allow --target=w2k8. The strange thing is that w2k8 and win7rc only do half of the timeout that was given by the client. metze
2009-07-06SMB2-NOTIFY: windows7 uses a different maximum buffer sizeStefan Metzmacher1-12/+21
metze
2009-07-06s4:heimdal: readd heimdal/lib/asn1/asn1parse.y which was parse.y before the ↵Stefan Metzmacher10-177/+1187
last import Also commit the regenerated files for systems without yacc and lex. This fixes the build with automatic dependecies for me. metze
2009-07-06s4:net Move net_vampire() to net_vampire.cAndrew Bartlett2-66/+68
2009-07-06s4:ldb Rework use of talloc and ldif objects in python wrapperAndrew Bartlett1-3/+18
The talloc hirarchy here was a bit odd - we would both steal the parsed ldif onto 'NULL', then reference it onto a python talloc wrapper. Now we just leave the reference, after we complete building the object. Andrew Bartlett
2009-07-06s4:ldb Fix talloc hirarchy in LDIF parsing codeAndrew Bartlett1-3/+3
The problem here was that some parts of the ldb_message were still attached to the ldb_ldif structure, and when only the message was taken (and the ldif free'ed to reclaim memory) we refereced free'ed memory. Andrew Bartlett
2009-07-05Fix some nonempty blank linesVolker Lendecke1-78/+76
2009-07-04s3/s4:build: honor library path from environmentBjörn Jacke1-1/+1
we may not throw away LD_LIBRARY_PATH and friends as they sometimes contain important information. Some of the build farm machines for example have the python lib path in there - we can't run make test when we suddenly forget how to use python
2009-07-03heimdal: don't include <ifaddrs.h> without knowing it's thereBjörn Jacke1-0/+2
this is 73dbbe0d54 re-added. abartlet, please pick this to lorikeet.
2009-07-03Restore ABI compatibility for talloc.Simo Sorce1-1/+1
2009-07-03s4: Don't install epdump, since it no longer exists.Jelmer Vernooij1-2/+1
2009-07-03s4 docs: Git has revision SHA's, not numbers.Jelmer Vernooij1-1/+1
2009-07-03s4: Remove stub endpoint mapper script.Jelmer Vernooij1-24/+0
2009-07-02s4:libcli: move SMB2 lock flags to smb2_constants.hStefan Metzmacher2-7/+8
metze
2009-07-02s4-smbtorture: fix getjob test in RPC-SPOOLSS.Günther Deschner1-0/+5
Guenther
2009-07-02show attribute values in sorted order to make comparison easierAndrew Tridgell1-0/+5
2009-07-02we can't use the unique index code for samAccountNameAndrew Tridgell2-8/+75
Using ldb unique indexes for samAccountName doesn't work with DRS as the other DC may send us a deleted record (tombstone record), which has the same samAccountName as an existing record. That would then create two records in the same partition with the same samAccountName. So we needed to put back the logic in samldb.c which explicitly checked whether a samAccountName already exists on add
2009-07-02decrypt all objects in a DRS record, not just the first oneAndrew Tridgell1-2/+5
We found this as an object came across from w2k3 with zero values, which caused a segv when we tried to decrypt the first value
2009-07-02change talloc to 2.0.0Andrew Tridgell1-1/+1
This is needed to prevent samba3 and samba4 from using an ABI incompatible system version of talloc See ongoing discussion on the samba-technical mailing list
2009-07-02Changed ldb.ERR_NO_SUCH_OBJECT to LDB_ERR_NO_SUCH_OBJECT.Andrew Tridgell1-5/+5
The LDB_ERR_NO_SUCH_OBJECT varient is not a defined variable. This should improve error handling in our python code on some systems. Unfortunately it still doesn't work on mine. I need to trap Jelmer somewhere where he can't escape some day and force him to divulge the deep druid secrets of python exception handling ....
2009-07-02fixed the pull of drs schema elementsAndrew Tridgell3-33/+108
The previous code incorrectly assumed that attributes such as subClassOf come over the wire as strings. In fact they come over as 32 bit integers which refer to goversIDs. We have to post-process these as it sometimes happens that a governsID comes over the wire before the record that defines what it means.
2009-07-02the settings structure needs to be initialisedAndrew Tridgell1-0/+1
2009-07-02s4:param use talloc_unlink() to free iconv context holding referencesAndrew Bartlett1-1/+1
2009-07-02[SAMBA 4 directory] Changes "forceLogoff" and corrects the "subRefs"Matthias Dieter Wallnöfer1-2/+4
- This changes the attribute "forceLogoff" to its' default values according to Windows Server 2003 R2 - Also this corrects the "subRefs" attribute of the base-DN which only refers to direct child partitions (and therefore not to the complete transitive closure)
2009-07-01removed a generated fileAndrew Tridgell1-74/+0
2009-07-01use a talloc_reparent in a very ugly wayAndrew Tridgell1-2/+11
this works around some terrible use of talloc in the libnet code
2009-07-01use the new talloc_reparent in two placesAndrew Tridgell2-2/+2
2009-07-01gensec_start now steals the auth_contextAndrew Tridgell1-1/+3
2009-07-01A rather strange varient of talloc_unlinkAndrew Tridgell1-1/+1
A dcerpc request may have a reference from a still completing async callback, but we now consider the request to be complete. We want to lose the main parent, leaving just the reference, if any.
2009-07-01another case that should use py_talloc_referenceAndrew Tridgell1-1/+1