summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* torture/smb2: add missing new line to the new SMB2-DIR.FILE-INDEX testStefan Metzmacher2009-07-151-1/+1
| | | | | | | Without this the subunit formated output would be invalid and make test reports: "UNEXPECTED(error): samba4.smb2.dir (dc).FILE-INDEX" metze
* SMB2-GETINFO: test SMB2_ALL_EASStefan Metzmacher2009-07-151-2/+2
| | | | metze
* s4:libcli/smb2: add smb2_transport_credits_set_charge() to change the ↵Stefan Metzmacher2009-07-153-4/+14
| | | | | | CreditsCharge value for the next request metze
* SMB2-CONNECT: unlink the test file at startupStefan Metzmacher2009-07-151-0/+2
| | | | | | This is needed to get reproducable results... metze
* torture/smb2: fix crash bugs in the new SMB2-DIR testsStefan Metzmacher2009-07-151-2/+2
| | | | metze
* s4-selftest: ok, s4 cant print. add RPC-SPOOLSS-PRINTER to knownfail for now.Günther Deschner2009-07-151-0/+1
| | | | Guenther
* torture/smb2: Adding SMB2 Directory enumeration torture tests.Aravind2009-07-143-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.
* s4-smbtorture: add RPC-SPOOLSS-PRINTER test.Günther Deschner2009-07-142-0/+444
| | | | Guenther
* s4-smbtorture: add some tests to check spoolss_SetPrinter behavior.Günther Deschner2009-07-141-0/+558
| | | | Guenther
* s4-smbtorture: restructure test_OpenPrinter_server in RPC-SPOOLSS a bit.Günther Deschner2009-07-141-5/+7
| | | | Guenther
* remove all '\n' from ldb_debugSumit Bose2009-07-1419-57/+58
|
* libds: merge the UF<->ACB flag mapping functions.Günther Deschner2009-07-138-161/+16
| | | | Guenther
* libds: share UF_ flags between samba3 and 4.Günther Deschner2009-07-1316-152/+15
| | | | Guenther
* s4:dsdb Allow unicodePwd to be set when adding a userAndrew Bartlett2009-07-091-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
* Add constAndrew Bartlett2009-07-091-2/+2
|
* s4:auth/ntlmssp: let _unwrap fallback to seal if sign only doesn't workStefan Metzmacher2009-07-081-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
* Test for schemaUpdateNow commandAnatoliy Atanasov2009-07-081-54/+126
|
* Fix for schemaUpdateNow commandAnatoliy Atanasov2009-07-085-6/+14
|
* s4:auth It is easier to copy the session key than get talloc right.Andrew Bartlett2009-07-071-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
* RAW-LOCK: fix a compiler warning and make a global static constStefan Metzmacher2009-07-061-3/+2
| | | | metze
* RAW-LOCK: fix the run against w2k3, w2k8, win7rc and samba3/4Stefan Metzmacher2009-07-062-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
* SMB2-NOTIFY: windows7 uses a different maximum buffer sizeStefan Metzmacher2009-07-061-12/+21
| | | | metze
* s4:heimdal: readd heimdal/lib/asn1/asn1parse.y which was parse.y before the ↵Stefan Metzmacher2009-07-0610-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
* s4:net Move net_vampire() to net_vampire.cAndrew Bartlett2009-07-062-66/+68
|
* s4:ldb Rework use of talloc and ldif objects in python wrapperAndrew Bartlett2009-07-061-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
* s4:ldb Fix talloc hirarchy in LDIF parsing codeAndrew Bartlett2009-07-061-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
* Fix some nonempty blank linesVolker Lendecke2009-07-051-78/+76
|
* s3/s4:build: honor library path from environmentBjörn Jacke2009-07-041-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
* heimdal: don't include <ifaddrs.h> without knowing it's thereBjörn Jacke2009-07-031-0/+2
| | | | this is 73dbbe0d54 re-added. abartlet, please pick this to lorikeet.
* Restore ABI compatibility for talloc.Simo Sorce2009-07-031-1/+1
|
* s4: Don't install epdump, since it no longer exists.Jelmer Vernooij2009-07-031-2/+1
|
* s4 docs: Git has revision SHA's, not numbers.Jelmer Vernooij2009-07-031-1/+1
|
* s4: Remove stub endpoint mapper script.Jelmer Vernooij2009-07-031-24/+0
|
* s4:libcli: move SMB2 lock flags to smb2_constants.hStefan Metzmacher2009-07-022-7/+8
| | | | metze
* s4-smbtorture: fix getjob test in RPC-SPOOLSS.Günther Deschner2009-07-021-0/+5
| | | | Guenther
* show attribute values in sorted order to make comparison easierAndrew Tridgell2009-07-021-0/+5
|
* we can't use the unique index code for samAccountNameAndrew Tridgell2009-07-022-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
* decrypt all objects in a DRS record, not just the first oneAndrew Tridgell2009-07-021-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
* change talloc to 2.0.0Andrew Tridgell2009-07-021-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
* Changed ldb.ERR_NO_SUCH_OBJECT to LDB_ERR_NO_SUCH_OBJECT.Andrew Tridgell2009-07-021-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 ....
* fixed the pull of drs schema elementsAndrew Tridgell2009-07-023-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.
* the settings structure needs to be initialisedAndrew Tridgell2009-07-021-0/+1
|
* s4:param use talloc_unlink() to free iconv context holding referencesAndrew Bartlett2009-07-021-1/+1
|
* [SAMBA 4 directory] Changes "forceLogoff" and corrects the "subRefs"Matthias Dieter Wallnöfer2009-07-021-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)
* removed a generated fileAndrew Tridgell2009-07-011-74/+0
|
* use a talloc_reparent in a very ugly wayAndrew Tridgell2009-07-011-2/+11
| | | | this works around some terrible use of talloc in the libnet code
* use the new talloc_reparent in two placesAndrew Tridgell2009-07-012-2/+2
|
* gensec_start now steals the auth_contextAndrew Tridgell2009-07-011-1/+3
|
* A rather strange varient of talloc_unlinkAndrew Tridgell2009-07-011-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.
* another case that should use py_talloc_referenceAndrew Tridgell2009-07-011-1/+1
|