Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-03-11 | winreg: add winreg_KeyType enum. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-03-11 | s4-registry: add all winreg types to reg_value_types table. | Günther Deschner | 1 | -3/+11 | |
Guenther | |||||
2010-03-11 | s4:lib/socket Don't go via a string when resolving addresses in connect_multi | Andrew Bartlett | 1 | -28/+20 | |
This also removes the special case for IP addresses, and leaves that to the code in the resolver library. Andrew Bartlett | |||||
2010-03-11 | s4:lib/socket Add function to set a port on the socket address | Andrew Bartlett | 2 | -0/+14 | |
2010-03-10 | s4:registry/ldb.c - if "name" isn't set we should return WERR_INVALID_PARAM | Matthias Dieter Wallnöfer | 1 | -1/+5 | |
2010-03-10 | s4:lib/registry/ldb.c - fix up registry backend to be more robust | Matthias Dieter Wallnöfer | 1 | -9/+5 | |
This should let the new WINREG tests written by gd at least pass against us. | |||||
2010-03-09 | Fix typo and convert spaces to tabs | Simo Sorce | 1 | -4/+4 | |
2010-03-09 | s4:ldb fix escape parsing | Simo Sorce | 1 | -2/+24 | |
sscanf can return also on short reads, in this case an invalid escape sequence like '\1k' would be accepted, returning 1 as value and swallowing the 'k'. Use an auxiliar function to validate and convert hex escapes. | |||||
2010-03-09 | Fixed a bug in acl tests - python error when we create user/group/ou with a ↵ | Nadezhda Ivanova | 1 | -23/+23 | |
descriptor. | |||||
2010-03-09 | Added a check for permissions to modify the RDN attribute on rename. | Nadezhda Ivanova | 1 | -0/+32 | |
Necessary because rdn module will be moved lower than acl in the stack. | |||||
2010-03-08 | LDB:asq module - change counters to "unsigned" where appropriate | Matthias Dieter Wallnöfer | 1 | -4/+5 | |
2010-03-08 | LDB:sort module - change counters to "unsigned" where appropriate | Matthias Dieter Wallnöfer | 1 | -4/+5 | |
2010-03-08 | LDB:rdn name module - change counters to "unsigned" where appropriate | Matthias Dieter Wallnöfer | 1 | -2/+3 | |
2010-03-08 | LDB:paged searches module - change counters to "unsigned" where appropriate | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
2010-03-08 | LDB:paged results module - change counters to "unsigned" where appropriate | Matthias Dieter Wallnöfer | 1 | -4/+4 | |
2010-03-08 | LDB:common - Change counters to "unsigned" where appropriate | Matthias Dieter Wallnöfer | 11 | -67/+76 | |
To count LDB objects use variables of type "unsigned (int)" or "long long int" on binary or downto searches. To count characters in strings use "size_t". To calculate differences between pointers use "ptrdiff_t". | |||||
2010-03-08 | s4:LDB TDB index code - reintroduce accidentally removed code part | Matthias Dieter Wallnöfer | 1 | -1/+3 | |
This was removed by 95d726f3018ef5d249f89d56bde24b7ee0c24ecf. Sorry. | |||||
2010-03-08 | s4:ldb_ldap.c - fix indentation | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-03-08 | LDB:TDB backend - change counter variables to "unsigned" where appropriate | Matthias Dieter Wallnöfer | 5 | -16/+19 | |
2010-03-08 | LDB:SQLITE3 backend - change counter variables to "unsigned" where appropriate | Matthias Dieter Wallnöfer | 1 | -8/+10 | |
2010-03-08 | LDB:LDAP backend - change a counter variable to "unsigned" | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-03-08 | LDB:map - make LDB "signed-safe" on counter variables where appropriate | Matthias Dieter Wallnöfer | 3 | -21/+28 | |
2010-03-08 | s4:ldif_handlers - Change "unsigned int" to "uint32_t" which fits better here | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-03-06 | s4:lib/registry/ldb.c - fix trailing whitespaces | Matthias Dieter Wallnöfer | 1 | -6/+6 | |
2010-03-06 | s4:registry library - fix up "reg_ldb_set_value" | Matthias Dieter Wallnöfer | 1 | -9/+23 | |
The previous logic was wrong since it tried to add empty data in some cases which always ended in an error. This problem should be fixed with the new logic. | |||||
2010-03-06 | s4:registry library - make "reg_ldb_pack/unpack_value" more robust | Matthias Dieter Wallnöfer | 1 | -28/+35 | |
This to prevent segmentation faults, wrong server inputs ecc. | |||||
2010-03-06 | s4:libregistry - change counters to be "unsigned" | Matthias Dieter Wallnöfer | 10 | -40/+41 | |
Also the s4 registry library has to have "unsigned" counters like the Windows one. | |||||
2010-03-06 | LDB:tools - change counters to be unsigned | Matthias Dieter Wallnöfer | 6 | -32/+38 | |
In most cases we do count LDB objects which are enumerated within the "unsigned" type. Therefore no need to use "signed" counters. | |||||
2010-03-05 | s4-messaging: use auto-close on the socket | Andrew Tridgell | 1 | -0/+1 | |
2010-03-04 | s4:ldap.py - give the "primaryGroupToken" test a better name | Matthias Dieter Wallnöfer | 1 | -3/+3 | |
It tests also some other constructed attributes in a basic way. | |||||
2010-03-04 | s4:ldap.py - add test for "tokenGroups" | Matthias Dieter Wallnöfer | 1 | -0/+44 | |
2010-03-04 | Refactored ACL python tests | Nadezhda Ivanova | 1 | -441/+256 | |
Made each type into a separate class to be easily run individually, removed code duplication | |||||
2010-03-04 | s4:ldif_handlers - Use "unsigned int" for counting purposes | Matthias Dieter Wallnöfer | 1 | -4/+4 | |
I changed "uint32_t" to "unsigned int" since the LDB specification prescrives "unsigned (int)" for counter variables (number of attributes, number of values...). | |||||
2010-03-03 | s4/ildap: fine tune ildb_callback() | Kamen Mazdrashki | 1 | -3/+3 | |
Actually ildb_context pointer is not supposed to be valid after calling ildb_request_done(). This is due to the fact that when calling ildb_request_done() caller will (most probably) free any locally built ldap_request objects - thus rendering ildb_context invalid. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-03-02 | LDB:NSS - make LDB "signed-safe" on counter variables | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
"i" needs to be unsigned on both places since it counts till a "count" variable of a "struct ldb_result" object which itself is unsigned. I see counting variables much better as "unsigned" since in most cases we don't use negative values at all. We've only to be careful on binary searches and downto counts regarding them. | |||||
2010-03-01 | s4:LDB - cosmetic fix for a "for" loop | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-02-26 | s4:ldb_dn: fix an uninitialized variable (found by make valgrindtest) | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2010-02-26 | s4:ldb_dn: remove dn->ext_linearized when ext_components is modified. | Stefan Metzmacher | 1 | -3/+4 | |
metze | |||||
2010-02-26 | s4:ldb_dn: reset dn->ext_comp_num in ldb_dn_explode() | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2010-02-25 | s4:ldb Fix segfault in ldbsearch store_referral callback | Andrew Bartlett | 1 | -6/+1 | |
sctx->refs_store was not initialised, and that made talloc_realloc grumpy once we started actually returning referrals regularly from Samba4's partitions module (0be57c747825737fa9d64411223e693b055b5f8f by mdw). We now just use talloc_zero() and forget about this manual initialisation work. Tracking down use of uninitialised variables with valgrind was the grand idea when this started, but in practice we just get segfaults in unusual places. Andrew Bartlett | |||||
2010-02-22 | ldb:web Fix typo | Simo Sorce | 1 | -1/+1 | |
2010-02-22 | s4:registry/regf.c - specify the context when freeing the "regf" variable | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Otherwise we get a "talloc_free with references" warning. | |||||
2010-02-22 | Spelling fixes for source4/lib/registry. | Brad Hards | 4 | -8/+8 | |
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2010-02-22 | Typo fix. | Brad Hards | 1 | -1/+1 | |
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2010-02-22 | LDB related spelling fixes. | Brad Hards | 11 | -11/+11 | |
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2010-02-17 | s4/ldap: Refactor the fix for ldap nested searches | Kamen Mazdrashki | 1 | -9/+15 | |
Current implementation synchronizes processing for all types of LDAP request, not only LDAP_Search ones. Synchronization for ldap replies processing is done locally in ldb_ildap module as this concerns only ildb_callback() function. Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> | |||||
2010-02-15 | s4-ldb: fixed permissions on urgent_replication.py | Andrew Tridgell | 1 | -0/+0 | |
2010-02-15 | s4-test: minor fixes to urgent_replication.py | Andrew Tridgell | 1 | -27/+4 | |
- fix usage name - remove unnecessary python functions - remote unused gc ldb | |||||
2010-02-15 | s4-drs: Test situations for Urgent Replication | Fernando J V da Silva | 1 | -0/+414 | |
Checks if the partition's uSNUrgent is updated or not, depending on the class of the object which is created, modified or deleted. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-02-14 | s4-ldb: use TYPESAFE_QSORT() in the rest of the ldb code | Andrew Tridgell | 5 | -11/+20 | |