summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s4:gensec expose gensec_set_target_principal for use outside GENSECAndrew Bartlett2010-05-144-3/+8
| | | | | | | | This allows for the rare case where the caller knows the target principal. The check for lp_client_use_spnego_principal() is moved to the spengo code to make this work. Andrew Bartlett
* s4:winbindd Rework some winbind structures to make s3compat easierAndrew Bartlett2010-05-143-178/+185
| | | | | | | | By making the winbindd_request and winbindd_response structures pointers, we can more easily integrate with the winbindd from source3/winbindd Andrew Bartlett
* s4:process_model Fix process_standard and process_onefork not to useAndrew Bartlett2010-05-142-55/+19
| | | | | | | | | | | multiple event contexts It is NEVER valid to free an event context that anybody else may have a reference to, and never normally valid to have two 'live' at once. We must instead call tevent_re_initialise() to wipe clean an existing pointer. Andrew Bartlett
* s4:process_modals Add another process modal - 'onefork'Andrew Bartlett2010-05-143-0/+183
| | | | | | | | This will fork off exactly one child to handle some task, ensuring that if it dies or changes global state, that this does not change everything. Andrew Bartlett
* s4:credentials Allow setting of an empty Kerberos CCACHEAndrew Bartlett2010-05-141-18/+12
| | | | | | | This allows us to tell the credentials code where we want the credentials put. Andrew Bartlett
* s4:ntvfs Prepare for a possible future sharing of notify.idlAndrew Bartlett2010-05-141-0/+4
| | | | | | | | I would love for notify.idl to be shared between Samba4 and Samba3 some day, and this seems to be the point at which the structure is initialised. Andrew Bartlett
* waf: Make waf handle IDL files from Samba3Andrew Bartlett2010-05-141-4/+8
| | | | | | | | | | | | For s3compat, we need to handle IDL files not in the current directory (so the incoming file names have a directory prefix - so we must use os.path.basename()). We also need to be able to disable the addition of some IDL files into the tables.c/tables.h - some of the Samba3 IDL files are in conflict with Samba4. Andrew Bartlett
* s3compat: use right variable for STATEDIRAndrew Tridgell2010-05-141-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dynconfig: make dynconfig more compatible with s3Andrew Tridgell2010-05-142-54/+55
|
* Revert "s4: remove unused references to swat"Andrew Bartlett2010-05-146-0/+10
| | | | | | | This reverts most of commit 1765732f82719a4bc925f21ef4999bd19a8d1f6c. The s3compat build needs the SWAT location to be compatible with Samba3.
* Revert "wafsamba: use -D_XOPEN_SOURCE=700 for the build"Stefan Metzmacher2010-05-141-1/+0
| | | | | | | | | | | This reverts commit 3408c942ab09387c399dad03e22233e33fe1e2fc. This seems to cause more problems than it tries to solve. And Mac OS 10.4 doesn't need it anymore (after commit bd6d76d77621c1dc92262c48204b65455a214b62). metze
* s4-libndr: fix ndr_pull_string_array() for non utf16 arrays in s4 as well.Günther Deschner2010-05-141-1/+1
| | | | Guenther
* s3-printing: explicitly include "printing/pcap.h" as there is ↵Günther Deschner2010-05-147-7/+7
| | | | | | | | /usr/include/pcap.h. Thanks metze for pointing this out. Simo, please check. Guenther
* lib/util: fix waf configure tests for xattr functions on Mac OS 10.Stefan Metzmacher2010-05-141-4/+6
| | | | metze
* Make pcap headers privateSimo Sorce2010-05-1411-36/+60
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* Move standard printcap parsing to print_standard.cSimo Sorce2010-05-144-93/+135
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* ntprinting: add ntprinting.idl.Günther Deschner2010-05-143-0/+246
| | | | | | | This generates convenient unmarshalling routines for pulling out spoolss related information out of ntprinters.tdb, ntforms.tdb and ntdrivers.tdb. Guenther
* wafsamba: use -D_XOPEN_SOURCE=700 for the buildStefan Metzmacher2010-05-141-0/+1
| | | | | | | Some systems set this automaticly via -D_GNU_SOURCE=1, but on others we need to set it ourself (e.g. Mac OS 10.4) metze
* s3-libsmb: fix typo in remote_password_change().Günther Deschner2010-05-141-1/+1
| | | | Guenther
* s3-libndr: make sure ndr_pull_string_array() only inspects string ↵Günther Deschner2010-05-141-1/+1
| | | | | | | | | | | termination flags. Otherwise the NOTERM case is not reachable for ascii strings (only utf16). With this patch we now can have: [flag(STR_ASCII|STR_NOTERM|NDR_REMAINING)] string_array array_name; Guenther
* s4:heimdal_build: move #undef __APPLE__ to the end of roken.hStefan Metzmacher2010-05-142-5/+5
| | | | | | Some system includes need __APPLE__ defined. metze
* Now we behave as Windows does, remove a Samba3 specific test return.Jeremy Allison2010-05-131-1/+7
| | | | Jeremy.
* Fix bug 7399 - SMB2: QUERY_DIRECTORY is returning invalid values.Jeremy Allison2010-05-132-1/+15
| | | | | | | | | The end_data argument to smbd_dirptr_lanman2_entry() must include the safety margin, as internally it's actually used to allow detection of string name pushes that were truncated. Ensure space_remaining can never go negative due to padding. Jeremy.
* s4:domainlevel - handle exceptions more preciselyMatthias Dieter Wallnöfer2010-05-131-2/+2
| | | | | | | | | LDB_ERR_UNWILLING_TO_PERFORM should be the right error code when the "msDS-Behavior-Version" was already raised by the first change as it is on Windows Server. When s4 itself does implement this trigger then we don't need to do the second write operation anymore (they're kept in sync).
* Be more forgiving on client oplock break failure (as Windows does). Remove a ↵Jeremy Allison2010-05-136-9/+2
| | | | | | global. Jeremy.
* Treat an open of stream ::$DATA as an open of the base file.Jeremy Allison2010-05-132-1/+50
| | | | | | This fixes a class of SMB_ASSERT failures when doing stream tests. Jeremy.
* s3:build: build smbtorture4 when the merged build is selectedStefan Metzmacher2010-05-132-2/+3
| | | | metze
* buildtools/wafsamba: fix build group orderingThomas Nagy2010-05-131-2/+5
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4: Do not display by default the message Failed to send DsReplicaSync is ↵Matthieu Patou2010-05-131-1/+6
| | | | | | other host is just unreachable Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:dsdb: fix samdb_result_logon_hours() and don't hardcode units_per_weekStefan Metzmacher2010-05-131-4/+11
| | | | metze
* ldb:ldb_msg.c - use result constantMatthias Dieter Wallnöfer2010-05-131-1/+1
|
* s4:domainlevel.py - update the script to handle both domain level ↵Matthias Dieter Wallnöfer2010-05-131-0/+25
| | | | | | | occourrences on s4 The second "modify" is located under a try-catch block to ignore the change failure against Windows Server (there only the first change is required).
* s4:domain functional level - it is also specified in the domain object under ↵Matthias Dieter Wallnöfer2010-05-132-1/+3
| | | | | | partitions Discovered by the "ldapcmp" tool
* s4:provision_configuration.ldif - add more extended rights objectsMatthias Dieter Wallnöfer2010-05-131-0/+60
|
* s4:provision_users.ldif - fix up and reorder the well-known security principalsMatthias Dieter Wallnöfer2010-05-131-5/+10
|
* s4:provision_configuration.ldif - add more Windows 2008 forest operationsMatthias Dieter Wallnöfer2010-05-131-0/+120
|
* s4:provision_configuration.ldif - the revision level of "Windows2003Update" ↵Matthias Dieter Wallnöfer2010-05-131-1/+1
| | | | | | should obviously be 10 Compared against my Windows Server 2008 and Zahari's output.
* s4:provision_configuration.ldif - "CN=94fdebc6-8eeb-4640-80de-ec52b9ca17fa" ↵Matthias Dieter Wallnöfer2010-05-131-0/+1
| | | | operation is of version 3
* s4:provision*.ldif - always set the "msDS-NcType" attribute correctlyMatthias Dieter Wallnöfer2010-05-132-1/+2
|
* s4:provision_configuration.ldif - set the right schedule on the default site ↵Matthias Dieter Wallnöfer2010-05-131-0/+1
| | | | in the NTDS site settings
* s4:provision_configuration.ldif - The "NTDS Quotas" object is system-criticalMatthias Dieter Wallnöfer2010-05-131-0/+1
|
* s4:provision_configuration.ldif - "sites" objectMatthias Dieter Wallnöfer2010-05-131-6/+2
| | | | | - The default site doesn't contain a licensing object - Adequate two other values (a "showInAdvancedViewOnly" and a "systemFlags" one)
* s4:provision.ldif - add IP security objects as they exist on Windows ServerMatthias Dieter Wallnöfer2010-05-131-0/+282
|
* s4:provision.ldif - add more Windows 2008 domain operationsMatthias Dieter Wallnöfer2010-05-131-0/+72
|
* s4:provision_users.ldif - On Windows Server >= 2008 security principal ↵Matthias Dieter Wallnöfer2010-05-131-6/+0
| | | | S-1-5-20 doesn't exist anymore
* s4:provision.ldif - "passwordSettingsContainer" add "showInAdvancedViewOnly"Matthias Dieter Wallnöfer2010-05-131-0/+1
|
* s4:provision.ldif - fix up "NTDS Quotas" "systemFlags"Matthias Dieter Wallnöfer2010-05-131-1/+1
|
* s4:provision_users.ldif - fix up Administrator's "userAccountControl"Matthias Dieter Wallnöfer2010-05-131-1/+1
|
* s4:provision_basedn_modify.ldif - fix up "maxPwdAge"Matthias Dieter Wallnöfer2010-05-131-2/+2
|
* s4:provision_users.ldif - Fix typos in user/group objectsMatthias Dieter Wallnöfer2010-05-131-13/+13
|