summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
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
2009-07-01use py_talloc_reference instead of py_talloc_importAndrew Tridgell1-1/+1
This is one of the few cases where we want the object to be owned by both the python object and C code
2009-07-01py_talloc_import now uses a steal, so this free is incorrectAndrew Tridgell1-1/+0
2009-07-01use a talloc_unlink() as ops may have a referenceAndrew Tridgell1-1/+1
2009-07-01fixed the reference to the global_schemaAndrew Tridgell1-2/+3
2009-07-01removed a redundent talloc_stealAndrew Tridgell1-2/+0
2009-07-01fixed the use of talloc_steal in ntlmssp_server Andrew Tridgell1-3/+2
The previous use of talloc_steal could cause a steal of a pointer that had references. This ensures that doesn't happen
2009-07-01fixed rpc smb code to not reply on talloc_free being a function pointerAndrew Tridgell2-2/+13
The upcoming talloc_free/talloc_reference changes change talloc_free to be a macro. These two bits of code relied on it being a function pointer
2009-07-01[SAMBA 4 directory] Corrects the "systemFlags" attributesMatthias Dieter Wallnöfer7-32/+39
Set the values like Windows Server 2003 R2.
2009-07-01[SAMBA 4 directory] Adds the complete "objectclass path" to our self-created ↵Matthias Dieter Wallnöfer1-0/+4
DC object Found after some comparisons against Windows Server 2003 R2.
2009-07-01[SAMBA 4 directory] Adds the object version and "systemFlags" attribute to ↵Matthias Dieter Wallnöfer1-0/+2
the display specifiers The object version showed up in the Windows 2003 Server R2 AD. The "systemFlags" attribute has been set to the right value.