summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| | * r13374: new revision of the snprintf replace codeSimo Sorce2006-02-071-226/+672
| | | | | | | | | | | | | | | | | | still missing a configure test to make us substitute our snprintf to system one when the system one does not have positional parameters support
| | * r13361: initial implementation of the vlv controlSimo Sorce2006-02-062-3/+117
| | | | | | | | | | | | seem still buggy, can't make w2k3 to like it yet
| | * r13360: Fix crash bug when 0 results are returned on the internal base searchSimo Sorce2006-02-061-1/+11
| | |
| | * r13359: make sure we don't look at s[-1]Stefan Metzmacher2006-02-061-1/+1
| | | | | | | | | | | | metze
| | * r13358: removed some unused functions and make some local functions staticAndrew Tridgell2006-02-051-57/+3
| | |
| | * r13354: Add tests to check that controls work properlySimo Sorce2006-02-051-1/+21
| | | | | | | | | | | | | | | Fix asq module, add a second_stage_init to register with rootdse Fix asq control ldap parsing routines (this was nasty to find out)
| | * r13349: In the end I could not use ldb_caseless_cmpSimo Sorce2006-02-045-39/+3
| | | | | | | | | | | | | | | | | | | | | | | | in attrib_handler.c functions remove it again Simo
| | * r13348: Put a reminder for now.Simo Sorce2006-02-041-0/+2
| | | | | | | | | | | | | | | | | | Until we do not have an internal utf8 compliant casefloding function we cannot pass this test in the non-samba build
| | * r13347: - Now we compare values with an optimized utf8Simo Sorce2006-02-042-9/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | safe function if the user provides an utf8 compliant casefold function to ldb. - Fix toupper_m and tolower_m to not crash if the case tables are not found - Let load_case_table() search into the correct directory in the search tree for the case tables so that we can test utf8 Simo
| | * r13341: Trivial.Andrew Bartlett2006-02-041-1/+1
| | |
| | * r13340: The gensec_init() needs to be after the popt processing, as itAndrew Bartlett2006-02-041-2/+3
| | | | | | | | | | | | | | | | | | disables modules based on parametric options. Andrew Bartlett
| | * r13336: Doh! We actually never optimized for the ascii case.Simo Sorce2006-02-041-3/+3
| | | | | | | | | | | | In the 3.0 branches it is fixed this but we missed it for samba4
| | * r13335: Fix the build and add an utf8 safe ldb_hadler_fold functionSimo Sorce2006-02-044-17/+46
| | | | | | | | | | | | based on ldb_casefold
| | * r13333: revert previous commit I will use ldb_caseless_cmp in attrib_handlersSimo Sorce2006-02-047-15/+70
| | | | | | | | | | | | | | | | | | | | | to correctly support utf8 comparisons add an ldb_attr_Casefold function for attribute names and use it instead of casefold in the right places
| | * r13328: After the attribute name check cleanup it turned up ldb_caseless_cmp()Simo Sorce2006-02-045-46/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | was used just in one places and by mistake, as there we should have been using ldb_attr_cmp() Remove ldb_caseless_cmp() ... going on with the cleanup and utf8 compliance effort. Simo.
| | * r13325: let samba register it's own utf8 aware functions in ldbSimo Sorce2006-02-042-0/+20
| | |
| | * r13324: From now on check attribute names obey rfc2251Simo Sorce2006-02-0411-98/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | Also add a way to provide utf8 compliant functions by registering them with ldb_set_utf8_fns() Next comes code to register samba internal utf8 functions. Simo.
| | * r13317: Create a new function messaging_client_init() which can be used whenAndrew Bartlett2006-02-032-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | we don't have a server messaging context. We should replace the datagram messages with stream sockets in this case, so we don't have to create a unique socket. Andrew Bartlett
| | * r13289: Check the tree is not NULLSimo Sorce2006-02-012-0/+5
| | | | | | | | | | | | Thanks to Aaron J. Seigo <aseigo@kde.org> for spotting this
| | * r13283: added two optimisations to the tdb transactions code. The first is toAndrew Tridgell2006-02-011-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | more agressively coalesce entries in the linked list of the undo log. The second is to ensure that writes during a transaction into the hash table don't cause the size of the undo log linked list to grow. These optimisations don't affect Samba much, but they make a huge difference to the use of ldb in kde
| | * r13278: remove a silly strcasecmp() replacementAndrew Tridgell2006-02-011-9/+1
| | |
| | * r13268: fixed typo noticed by Aaron SeigoAndrew Tridgell2006-01-311-1/+1
| | |
| | * r13258: Fix the talloc heirachy for ldb_tdb.Andrew Bartlett2006-01-313-17/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the return value res->msgs, msgs was not a child of res, in the indexed path. Instead, it hung directly off the ldb, which was sometimes a long-term context. Also remove unused parameters. Found by --leak-report-full Andrew Bartlett
| | * r13256: Free temporary memory on error cases, and try to clean up what's leftAndrew Bartlett2006-01-311-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | earlier. Move gendb_search() to use talloc_vasprintf() and steal only the parts actually being used for the results. Andrew Bartlett
| | * r13255: New CIFS dd client for use in performance testing. The guts of this isJames Peach2006-01-311-0/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in client/cifsdd*, which implements a minimal implementation of dd. The IO path is careful to always perform IO at the requested block size. There is a very basic test suite in script/tests/test_cifsdd.sh which covers local and remote IO at a variety of block sizes. Added to lib/util_str.c is a small set of conv_str_*() functions to convert strings to the corresponding type. smbcli_parse_unc is modified to insert NULL terminators after its hostname and sharename parameters. This allows it to correctly parse a path of the form //foo/share/path/file.
| | * r13244: Allow control of the location of the Samba3-compatible winbindd pipeAndrew Bartlett2006-01-311-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in Samba4. This allows us to start winbindd by default, including in 'make test'. This is via a new 'winbindd socket directory' parameter for utilities linked against loadparm, as well as a --with-winbindd-socket-dir option to configure (setting the default and the value for simple clients). I hope to add basic winbindd tests, to ensure continued correct operation, but at least now I don't have to manually change my 'server services' line. The other problem with the hard-coded /tmp/.winbind is that RedHat has moved this in Fedora (to /var/run I think). For this reason, this functionality should probably be ported to Samba3 as well. The default for Samba4 is PREFIX/var/run/winbind_pipe. I have also re-added the paranoia checks from Samba3 for correct permissions on the socket directory. Andrew Bartlett
| | * r13206: This patch finally re-adds a -k option that works reasonably.Andrew Bartlett2006-01-282-3/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From here we can add tests to Samba for kerberos, forcing it on and off. In the process, I also remove the dependency of credentials on GENSEC. This also picks up on the idea of bringing 'set_boolean' into general code from jpeach's cifsdd patch. Andrew Bartlett
| | * r13205: Add another useful comment.Andrew Bartlett2006-01-281-0/+1
| | | | | | | | | | | | Andrew Bartlett
| | * r13186: Remove assumption that callers that specify -1 actually mean ↵Jelmer Vernooij2006-01-271-15/+0
| | | | | | | | | | | | sizeof(pstring)
| | * r13181: Fix standalone ldb buildJelmer Vernooij2006-01-272-1/+2
| | |
| | * r13167: handle cotrols' reply even in errorSimo Sorce2006-01-261-2/+1
| | |
| | * r13166: Patches form Brad HardsSimo Sorce2006-01-264-5/+35
| | |
| | * r13114: remove 'const' and make clear what the parameters are forStefan Metzmacher2006-01-241-1/+1
| | | | | | | | | | | | metze
| | * r13112: merge over some stuff from samba3Stefan Metzmacher2006-01-241-1/+8
| | | | | | | | | | | | metze
| | * r13079: add SAMBA_VERSION_RELEASE_NICKNAMEStefan Metzmacher2006-01-231-8/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | if it's set in source/VERSION smbd --version will print 4.0.0tp1 (Nickname) metze
| | * r13078: fixed the ldb comparison function for objectSidsAndrew Tridgell2006-01-231-1/+1
| | |
| | * r13074: Add oLschema2ldif manpageJelmer Vernooij2006-01-232-0/+80
| | |
| | * r13067: Don't install ldbtestJelmer Vernooij2006-01-221-1/+0
| | |
| | * r13064: Add 'tags' target to LDB's makefileJelmer Vernooij2006-01-221-0/+3
| | |
| | * r13000: fix compiler warningsStefan Metzmacher2006-01-181-3/+3
| | | | | | | | | | | | metze
| | * r12995: Don't allow overrides on "name" from above, as it can't be correct.Andrew Bartlett2006-01-181-5/+5
| | | | | | | | | | | | Andrew Bartlett
| | * r12989: move the control parsing and handleng functions to cmdline.cSimo Sorce2006-01-183-315/+320
| | | | | | | | | | | | so that they can be used by the other ldb tools as well
| | * r12984: add parse code and ldbsearch cmdline code forStefan Metzmacher2006-01-172-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOTIFICATION LDAP Controls http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ldap/ldap/ldap_server_notification_oid.asp this doesn't work yet, but it shows that we need to extend ldb to correctly handle async requests... metze
| | * r12983: - fix using a DIRSYNC cookie from the command lineStefan Metzmacher2006-01-171-5/+11
| | | | | | | | | | | | | | | | | | | | | - also w2k doesn't work correct with max_attrs = 0, so we should use a high number, with this I'm getting the same results from w2k and w2k3 metze
| | * r12977: Some code to implement the client side of the Dirsync controlSimo Sorce2006-01-172-2/+87
| | | | | | | | | | | | | | | | | | Still investigating how it works. Simo.
| | * r12959: hopefully fix bug #3365 this timeStefan Metzmacher2006-01-161-5/+7
| | | | | | | | | | | | metze
| | * r12948: fix compiler warningStefan Metzmacher2006-01-151-1/+1
| | | | | | | | | | | | metze
| | * r12942: this way is betterSimo Sorce2006-01-151-2/+1
| | |
| | * r12941: Add Attribute Scoped Search controlSimo Sorce2006-01-154-0/+235
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | want to see what it does ? do aq make test and try: ./bin/ldbsearch -H st/private/sam.ldb --controls=asq:1:member -s base -b 'CN=Administrators,CN=Builtin,DC=samba,DC=example,DC=com' 'objectclass=*' have fun. simo.
| | * r12925: implement client side of ASQ controlSimo Sorce2006-01-142-0/+54
| | |