summaryrefslogtreecommitdiffstats
path: root/libcli
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove the copy of ldb from Samba 3.Jelmer Vernooij2010-05-061-0/+4
| | | | | There were two utility functions that other parts of Samba 3 still relied on; they have been moved to lib/ldb_compat.[ch].
* libcli/named_pipe_auth: we need to hide length of the message mode header ↵Stefan Metzmacher2010-04-281-1/+12
| | | | | | from the caller metze
* nbt: samlogon/netlogon structures - unify denominationsMatthias Dieter Wallnöfer2010-04-272-5/+5
|
* registry: add some shared registry helper functions.Günther Deschner2010-04-271-0/+140
| | | | Guenther
* s4-waf: removed the unused installdir= option to SAMBA_BINARY()Andrew Tridgell2010-04-181-1/+0
| | | | | This was left over from the automatic conversion of the config.mk files
* libcli/auth: Fix an uninitialized variableVolker Lendecke2010-04-111-2/+1
| | | | value.dptr was used uninitialized in the "goto done;"
* s4-waf: removed the AUTOGENERATED markersAndrew Tridgell2010-04-066-18/+0
| | | | we won't be using the mk -> wscript generator again
* s4-waf: more dependencies on tallocAndrew Tridgell2010-04-062-5/+3
| | | | | these are needed so we can support a system talloc without using the bundled talloc.h
* s4-waf: cleanup use of LIBPOPT vs popt dependencyAndrew Tridgell2010-04-061-1/+1
|
* s4-waf: fixed some deps now we don't auto-include tevent and replaceAndrew Tridgell2010-04-061-1/+1
| | | | | this is preparation for being able to use system versions of these libraries
* s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell2010-04-069-0/+18
| | | | them
* s4-waf: install the rest of the headersAndrew Tridgell2010-04-062-9/+1
|
* build: waf quicktest nearly worksAndrew Tridgell2010-04-062-2/+2
| | | | | Rewrote wafsamba using a new dependency handling system, and started adding the waf test code
* build: commit all the waf build files in the treeAndrew Tridgell2010-04-069-0/+144
|
* libcli/nbt/dns_hosts_file.c - change "ULONG_MAX" into "UINT32_MAX"Matthias Dieter Wallnöfer2010-03-301-1/+1
| | | | This fits better since the variable which is tested is of type "uint32_t".
* Attempt to fix the build on AIX, that system seems to have a #define for s_typeVolker Lendecke2010-03-281-18/+35
|
* libutil: moved the networking defines to util_net.hAndrew Tridgell2010-03-261-0/+1
| | | | These were causing thousands of warnings on solaris8
* error_codes: fix NT_STATUS_RPC_UNKNOWN_IF typo.Günther Deschner2010-03-191-1/+1
| | | | | | Metze, please check. Guenther
* libcli/util: add more NT_STATUS_RPC_* definesStefan Metzmacher2010-03-181-4/+11
| | | | metze
* libcli/auth/schannel_state_tdb.c - fix a memory leakMatthias Dieter Wallnöfer2010-03-161-0/+1
|
* libcli/nbt Add parser for a 'hosts' file that takes DNS record typesAndrew Bartlett2010-03-113-0/+313
|
* libcli/auth/schannel_state_tdb.c - fix an obviously wrong error handlingMatthias Dieter Wallnöfer2010-03-091-1/+0
|
* libcli/auth: add a const to des_crypt112_16()Stefan Metzmacher2010-03-052-2/+2
| | | | metze
* Fix typo in comments.Karolin Seeger2010-03-031-1/+1
|
* libcli/security: fix sddl.c to be able to build it from source3Michael Adam2010-03-031-1/+1
|
* s4:move the sddl code down to the top levelMichael Adam2010-03-033-1/+659
| | | | Michael
* libcli/auth: print the error in the debug messageStefan Metzmacher2010-02-261-1/+2
| | | | metze
* s4:cleanup remove unused schannel ldb codeSimo Sorce2010-02-232-339/+0
|
* s4:schannel merge code with s3Simo Sorce2010-02-231-2/+2
| | | | | | | | | | | | | | | | | After looking at the s4 side of the (s)channel :) I found out that it makes more sense to simply make it use the tdb based code than redo the same changes done to s3 to simplify the interface. Ldb is slow, to the point it needs haks to pre-open the db to speed it up, yet that does not solve the lookup speed, with ldb it is always going to be slower. Looking through the history it is evident that the schannel database doesn't really need greate expanadability. And lookups are always done with a single Key. This seem a perfet fit for tdb while ldb looks unnecessarily complicated. The schannel database is not really a persistent one. It can be discared during an upgrade without causing any real issue. all it contains is temproary session data.
* schannel_tdb: make code compilable in both treesSimo Sorce2010-02-232-51/+98
|
* s3:schannel streamline interfaceSimo Sorce2010-02-232-42/+181
| | | | | Make calling schannel much easier by removing the need to explicitly open the database. Let the abstraction do it instead.
* s3:schannel fix memory hierarchySimo Sorce2010-02-231-1/+1
| | | | | | | passing mem_ctx was causing creds->sid to be allocated on mem_ctx and not be child of creds as expected. When later in schannel_check_creds_state() we stole the creds on a different memory context the sid was left behind and the memory it points to freed when the temporary context was freed.
* schannel: merge header filesSimo Sorce2010-02-232-48/+34
| | | | | One almost empty header file was simply including another not included by anything else. Just merge them together.
* s4:schannel more readable check logicSimo Sorce2010-02-232-12/+0
| | | | | | | | Make the initial schannel check logic more understandable. Make it easy to define different policies depending on the caller's security requirements (Integrity/Privacy/Both/None) This is the same change applied to s3
* s3:schannel more readable check logicSimo Sorce2010-02-232-17/+0
| | | | | | Make the initial schannel check logic more understandable. Make it easy to define different policies depending on ther caller's security requirements (Integrity/Privacy/Both/None)
* tstream: Added a typedef for the function prototype.Andreas Schneider2010-02-232-9/+19
|
* lib: use TYPESAFE_QSORT() in lib/ and libcli/Andrew Tridgell2010-02-141-5/+4
|
* nbt: don't reference the event_ctx in nbtsockAndrew Tridgell2010-02-081-1/+1
| | | | This causes talloc_free with references errors
* Change uint_t to unsigned int in libcliMatt Kraai2010-02-025-5/+5
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* libcli/nbt: fix ndr_push_nbt_string() string labels with a length of 63 ↵Stefan Metzmacher2010-02-011-2/+2
| | | | | | (0x3F) are allowed metze
* s4:libcli/util/tstream.c - Need to include "system/network.h"Matthias Dieter Wallnöfer2010-01-291-0/+1
| | | | Otherwise I don't get "struct iovec" through "<sys/uio.h>" on CentOS 4.
* libcli/nbt: fix off-by-one bug in ndr_pull_wrepl_nbt_name()Stefan Metzmacher2010-01-291-2/+2
| | | | | | The scope starts at byte 17 with index 16. metze
* libcli/nbt: fix ndr_pull/push_wrepl_nbt_name()Stefan Metzmacher2010-01-291-0/+25
| | | | | | | | | | | [MS-WINSRA] — v20091104 was wrong regarding section "2.2.10.1 Name Record" If the name buffer is already 4 byte aligned Windows (at least 2003 SP1 and 2008) add 4 extra bytes. This can happen when the name has a scope. metze
* Revert "libcli/security: Remove a call to strncasecmp"Volker Lendecke2010-01-251-1/+5
| | | | This reverts commit 7c687665eaf16b0c6f83c130f6d9e5459e0b2a32.
* Revert "libcli/security: Convert some strtol calls to strtoul"Volker Lendecke2010-01-251-2/+2
| | | | This reverts commit 7fe66e06c4df575c410d4d70ff38f120c2f4363b.
* Revert "libcli/security: Fix a valgrind error in dom_sid_parse"Volker Lendecke2010-01-251-4/+0
| | | | This reverts commit f1c889a4e61d6d751cbabd8014b4345b8051b97c.
* Revert "libcli/security: Prohibit SID formats like S-1-5-32-+545"Volker Lendecke2010-01-251-13/+0
| | | | | | This reverts commit 1fbeae41655b8305834f2149b1268077eba8633d. Apparently this breaks the build of Samba4
* libcli/security: Prohibit SID formats like S-1-5-32-+545Volker Lendecke2010-01-231-0/+13
|
* libcli/security: Fix a valgrind error in dom_sid_parseVolker Lendecke2010-01-231-0/+4
|
* libcli/security: Convert some strtol calls to strtoulVolker Lendecke2010-01-231-2/+2
| | | | | This tightens the dom_sid_parse syntax check a bit: "--" would have been allowed in sid string