summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-10-03expanded the netlogon test to better simulate the WSPP NRPC test thatAndrew Tridgell1-1/+9
we had some trouble with
2008-10-03fixed the ldb blackbox test to work with non-bourne shells (as neededAndrew Tridgell1-7/+7
by ubuntu) fixed spelling of 'wellknown'
2008-10-03Merge commit 'master/master'Andrew Tridgell40-647/+1313
2008-10-03fixed the partition module and the GC handlingAndrew Tridgell1-4/+38
- when multiple partitions are searched, consider the search a success if any of the partitions return success - only search the right subset of partitions, looking at the scope and basedn of the search This fixes several errors with GC searches
2008-10-03net_dns: Make "lwinet ads dns register" honor the "interfaces" parameter.Gerald (Jerry) Carter1-13/+12
This is helpful on multihomed hosts that only require a subset of IP addresses be registered with DNS.
2008-10-03libaddns: Use the same prerequisite for DDNS update as Windows XP.Gerald (Jerry) Carter1-2/+2
Hostname, TYPE: CNAME, CLASS: NONE This has to have been broken for ages. I cannot see how it would have worked in any environment.
2008-10-03Fix regressions in patchfile after last patch, several other minor fixes.Matthias Dieter Wallnöfer1-22/+20
2008-10-02fixed the sense of ldb base dn comparisons in two places, and use aAndrew Tridgell3-5/+5
direct comparison instead of a sub-tree comparison in another this fixes basedn searches on the global catalog port
2008-10-02fixed a talloc error in the rpc handle desctructor - destructorsAndrew Tridgell1-1/+0
should not try to free the ptr they are given
2008-10-02we need to listen on all interfaces in the CLDAP server as the windowsAndrew Tridgell1-8/+9
CDLAP client ignores replies from the wrong IP
2008-10-02Fix crash bugs in error paths: ac is not yet initialized here, and we don'tSimo Sorce1-27/+18
need to call ldb_module_done in the main module functions, we can directly return an error. ldb_module_done() is for callbacks
2008-10-02Don't reject a successful alloc :-(.Jeremy Allison1-1/+1
Jeremy.
2008-10-02s4:blackblox/test_ldb: test searches via wellknownObjectsStefan Metzmacher1-0/+62
metze
2008-10-02s4:setup: add wellknownObjects to the domain objectStefan Metzmacher1-0/+8
metze
2008-10-02Fix bug 5805: don't close stdoutDerrell Lipman1-1/+3
- When calling setup_logging multiple times, the code was closing the debug file descriptor before opening or assigning the new one. We don't, however, want to close the debug file descriptor if it is stdout. Derrell
2008-10-02s4:drsuapi.idl: fix some fields in drsuapi_DsRemoveDSServer()Stefan Metzmacher2-8/+3
metze
2008-10-02s4:rootdse: for now don't pass down controls for the rootdse searchStefan Metzmacher1-1/+1
metze
2008-10-02s4:partition: register DOMAIN_SCOPE and SEARCH_OPTIONS controlsStefan Metzmacher1-0/+14
metze
2008-10-02s4:partition: pass down the SEARCH_OPTIONS control as uncriticalStefan Metzmacher1-0/+8
metze
2008-10-02s4:linked_attributes: fix a crash bug when the definition of a target ↵Stefan Metzmacher1-3/+35
attribute is missing Windows 2003 has a broken schema where the definition of msDS-IsDomainFor is missing (which is supposed to be the backlink of the msDS-HasDomainNCs attribute. Our schema is extracted from windows 2003, so we have the problem. As the NET-API-BECOME-DC test triggers this bug, windows 2003 seems to just skip creating a backlink. metze
2008-10-02s4:kludge_acl: just fake support for the SD_FLAGS controlStefan Metzmacher1-0/+20
metze
2008-10-02s4:extended_dn: add support for <GUID=...>, <SID=...> or <WKGUID=...,DC=...> ↵Stefan Metzmacher1-44/+355
as basedn We resolve them into the real basedn before do the real search. metze
2008-10-02s4:lib/ldb: fix stupid <SID=...> dn parsing bugsStefan Metzmacher1-2/+2
metze
2008-10-02The IRIX compiler does not like embedded unnamed unionsVolker Lendecke14-168/+183
2008-10-02Attempt to fix the build on IRIXVolker Lendecke4-6/+6
Under irix, "sa_family" is a #define to sa_union.sa_generic.sa_family2
2008-10-02Fix bug 5798: "CFLAGS info lost in configure"Volker Lendecke1-1/+1
Michael, please check and merge to the other branches if it's right. Thanks, Volker
2008-10-01Fix bug #5080. Access to cups-printers via samba broken with cups 1.3.4, ↵Jeremy Allison1-90/+251
Unsupported character set. Cups 1.3.4 expects utf8 to be used in all messages to/from the server. We may be using a different character set so we need to use talloc utf8 push/pull functions in all communication. Needs more testing. Don't release until I've done a thorough test. I also have a version for 3.2.x. Jeremy.
2008-10-01Whitespace cleanup.Jeremy Allison1-16/+16
Jeremy.
2008-10-01Fix use of DLIST_REMOVE as spotted by Constantine Vetoshev <gepardcv@gmail.com>.Jeremy Allison3-5/+5
This API is unusual in that if used to remove a non-list head it nulls out the next and prev pointers. This is what you want for debugging (don't want an entry removed from the list to be still virtually linked into it) but means there is no consistent idiom for use as the next and prev pointers get trashed on removal from the list, meaning you must save them yourself. You can use it one way when deleting everything via the head pointer, as this preserves the next pointer, but you *must* use it another way when not deleting everything via the head pointer. Fix all known uses of this (the main one is in conn_free_internal() and would not free all the private data entries for vfs modules. The other changes in web/statuspage.c and winbindd_util.c are not strictly neccessary, as the head pointer is being used, but I've done them for consistency. Long term we must revisit this as this API is too hard to use correctly. Jeremy.
2008-10-01Turn the socket connections into a refcounted list - in the common case ↵Jeremy Allison1-44/+95
there'll now only be one socket per smbd. Changed the format of the wire data to (a) include a version number (V1) as the first element. (b) removed the ";)" at the end an replaced it with a "\n". Receiver can change back if needed, and now receiver can just log "as-is" to a text file (making testing easier). Added my (C). Sorry Holger, but I've changed quite a bit now. Jeremy.
2008-10-01Fix some syntax errors for use with ReST.Jelmer Vernooij1-17/+26
2008-10-01Fix header.Jelmer Vernooij1-1/+1
2008-10-01Fix formatting to be compatible with ReST.Jelmer Vernooij1-13/+16
2008-10-01Update to refer to 3 and 4, not just Samba 3.Jelmer Vernooij1-33/+32
2008-09-30Convert to allocated strings. Use write_data(), not send as this doesn't ↵Jeremy Allison1-58/+42
correctly deal with EINTR. Jim and Holger please check this still works. Jeremy.
2008-09-30Revert erroneous commit.Jeremy Allison1-1/+1
Jeremy.
2008-09-30Remove current_user_info - not needed.Jeremy Allison2-5/+3
Jeremy.
2008-09-30Restructure the module so it connects to the remote data sinkJeremy Allison1-150/+156
on connect, and closes the socket on client disconnect. This should make it much more efficient. Store the remote fd in a private data pointer off the handle. Finally we need to remove the fstrings and convert to allocated buffer storage. Jeremy.
2008-09-30add a test for a LSA lookupnames with a NULL stringAndrew Tridgell1-4/+5
2008-09-30handle NULL strings in strchr_m() and strrchr_m()Andrew Tridgell1-0/+7
This is needed for the LSA server code which needs to cope with a NULL names passed to lsa_LookupNames3()
2008-09-30fixed a number of places in our LSA server where we should return theAndrew Tridgell2-12/+14
sid/name array even when all are unmapped. If we don't fill in the array then the windows client runtime crashes
2008-09-30Fix the make test problem Karolin reported. Now rename_open_files actually ↵Jeremy Allison1-2/+2
works correctly we must emit the change notify before we change the name, not before. Jeremy.
2008-09-30Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell95-402/+778
2008-09-30Use a getatr instead to make things cleaner.root1-2/+4
Jeremy.
2008-09-30Add in test name visible on the wire or in debug logs so you can see when ↵Jeremy Allison1-16/+17
particular tests start. Jeremy.
2008-09-30Use UTF8 rather than the possibly different UNIX charset.Matthias Dieter Wallnöfer1-3/+3
2008-09-30check call status not rpc fault code when calling to different levelsAndrew Tridgell1-4/+4
of calls
2008-09-30cope with NULL attrAndrew Tridgell1-1/+3
2008-09-30- make bcast name resolution match other name resolution modules forAndrew Tridgell2-2/+8
host not found errors - when we have no resolve context return NT_STATUS_OBJECT_NAME_NOT_FOUND
2008-09-30Move Samba4-specific files into source4/Jelmer Vernooij3-4/+4