summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-05-18s3-registry: only include registry headers when really needed.Günther Deschner49-225/+271
Guenther
2010-05-18s3-tldap: only include tldap when actually needed.Günther Deschner4-2/+5
Guenther
2010-05-18s3-includes: remove completely unused util_getent.h header.Günther Deschner2-61/+0
Guenther
2010-05-18s3-crypto: only include crypto headers when crypto is done.Günther Deschner16-5/+21
Guenther
2010-05-18s3-samr: move samr helper prototypes outside of proto.hGünther Deschner4-40/+65
Guenther
2010-05-18s3-services: move services.h to where it is actually used.Günther Deschner8-1/+7
Guenther
2010-05-18security: merge builtin rid tables.Günther Deschner4-49/+39
Guenther
2010-05-18s3-rpc_misc: clean out include/rpc_misc.h.Günther Deschner21-65/+45
Well known rids don't really belong into an rpc header, just use the ones defined in security.idl. Guenther
2010-05-17Refactor the sessionsetup SMB2 code to make it easy to addJeremy Allison1-140/+293
krb5. Fix a memory leak in returning security blobs. Jeremy
2010-05-17s3-libgpo: move group policy protos to where they belong.Günther Deschner16-85/+102
Guenther
2010-05-17s3-includes: remove some unused defines.Günther Deschner1-7/+0
Guenther
2010-05-17s3-kerberos: temporary fix for ipv6 in print_kdc_line().Günther Deschner1-5/+20
Currently no krb5 lib supports "kdc = ipv6 address" at all, so for now just fill in just the kdc_name if we have it and let the krb5 lib figure out the appropriate ipv6 address ipv6 gurus, please check. Guenther
2010-05-17s3-kerberos: pass down kdc_name to create_local_private_krb5_conf_for_domain().Günther Deschner4-12/+22
Guenther
2010-05-17s3-winbind: make the getpeername() checks in cm_prepare_connection IPv6 aware.Günther Deschner1-5/+25
Note that this failure was hard to track, as winbind did only log a super helpful "cm_prepare_connection: Success" debug message. IPv6 gurus, please check Successfully tested in two independent IPv6 networks now. Guenther
2010-05-17s4-rodc: Set am_rodc flag during provisionAnatoliy Atanasov3-11/+16
2010-05-17s4-rodc: Cache am_rodc flagAnatoliy Atanasov2-0/+51
2010-05-17s3:winbind:idmap_tdb: don't check ranges when an invalid entry was found.Michael Adam1-0/+1
There is no point in checking the ranges this if the record found had an invalid/unknown type: the mapping is not filled in. If it were initialized to some defaults before, the check just might replace the status NT_STATUS_INTERNAL_DB_ERROR with a NT_STATUS_NONE_MAPPED, which is not as precise.
2010-05-17wbinfo: Add better libwbclient error reportingKai Blin1-3/+101
2010-05-17added documentation for the -I flagMatthew McGillis1-0/+14
2010-05-17added support for a -I flagMatthew McGillis1-2/+148
2010-05-17Consolidate all set SEC_DESC into single procedure set_secdescMatthew McGillis1-25/+32
2010-05-16s3-selftest: Allow overriding the subunit formatter.Jelmer Vernooij1-1/+3
(e.g. "make selftest SUBUNIT_FORMATTER=cat")
2010-05-14s4:repl_meta_data LDB module - fix counter typesMatthias Dieter Wallnöfer1-1/+1
2010-05-14s4:net domainlevel tool - fix up the error handling as Jelmer suggestedMatthias Dieter Wallnöfer1-2/+4
Sorry, I've copied this from the "ldap.py" test and thought it would work.
2010-05-14s4:dsdb_cache LDB module - fix a typoMatthias Dieter Wallnöfer1-1/+1
2010-05-14s4:samldb LDB module - remove unused variablesMatthias Dieter Wallnöfer1-2/+0
2010-05-14s4:gensec expose gensec_set_target_principal for use outside GENSECAndrew Bartlett4-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
2010-05-14s4:winbindd Rework some winbind structures to make s3compat easierAndrew Bartlett3-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
2010-05-14s4:process_model Fix process_standard and process_onefork not to useAndrew Bartlett2-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
2010-05-14s4:process_modals Add another process modal - 'onefork'Andrew Bartlett3-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
2010-05-14s4:credentials Allow setting of an empty Kerberos CCACHEAndrew Bartlett1-18/+12
This allows us to tell the credentials code where we want the credentials put. Andrew Bartlett
2010-05-14s4:ntvfs Prepare for a possible future sharing of notify.idlAndrew Bartlett1-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
2010-05-14waf: Make waf handle IDL files from Samba3Andrew Bartlett1-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
2010-05-14s3compat: use right variable for STATEDIRAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-05-14s4-dynconfig: make dynconfig more compatible with s3Andrew Tridgell2-54/+55
2010-05-14Revert "s4: remove unused references to swat"Andrew Bartlett6-0/+10
This reverts most of commit 1765732f82719a4bc925f21ef4999bd19a8d1f6c. The s3compat build needs the SWAT location to be compatible with Samba3.
2010-05-14Revert "wafsamba: use -D_XOPEN_SOURCE=700 for the build"Stefan Metzmacher1-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
2010-05-14s4-libndr: fix ndr_pull_string_array() for non utf16 arrays in s4 as well.Günther Deschner1-1/+1
Guenther
2010-05-14s3-printing: explicitly include "printing/pcap.h" as there is ↵Günther Deschner7-7/+7
/usr/include/pcap.h. Thanks metze for pointing this out. Simo, please check. Guenther
2010-05-14lib/util: fix waf configure tests for xattr functions on Mac OS 10.Stefan Metzmacher1-4/+6
metze
2010-05-14Make pcap headers privateSimo Sorce11-36/+60
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-14Move standard printcap parsing to print_standard.cSimo Sorce4-93/+135
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-14ntprinting: add ntprinting.idl.Günther Deschner3-0/+246
This generates convenient unmarshalling routines for pulling out spoolss related information out of ntprinters.tdb, ntforms.tdb and ntdrivers.tdb. Guenther
2010-05-14wafsamba: use -D_XOPEN_SOURCE=700 for the buildStefan Metzmacher1-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
2010-05-14s3-libsmb: fix typo in remote_password_change().Günther Deschner1-1/+1
Guenther
2010-05-14s3-libndr: make sure ndr_pull_string_array() only inspects string ↵Günther Deschner1-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
2010-05-14s4:heimdal_build: move #undef __APPLE__ to the end of roken.hStefan Metzmacher2-5/+5
Some system includes need __APPLE__ defined. metze
2010-05-13Now we behave as Windows does, remove a Samba3 specific test return.Jeremy Allison1-1/+7
Jeremy.
2010-05-13Fix bug 7399 - SMB2: QUERY_DIRECTORY is returning invalid values.Jeremy Allison2-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.
2010-05-13s4:domainlevel - handle exceptions more preciselyMatthias Dieter Wallnöfer1-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).