Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-03-07 | s4:objectguid LDB module - change counter variables to "unsigned" where ↵ | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
appropriate | |||||
2010-03-07 | s4:objectclass LDB module - change counter variabls to "unsigned" where ↵ | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
appropriate | |||||
2010-03-07 | s4:anr LDB module - change counter variable to "unsigned" | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-03-07 | s4:acl LDB module - change counter variable to "unsigned" | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-03-07 | s4:linked_attributes LDB module - change counter variables to "unsigned" ↵ | Matthias Dieter Wallnöfer | 1 | -3/+5 | |
where appropriate | |||||
2010-03-07 | s4:kludge_acl LDB module - change counter variables to "unsigned" where ↵ | Matthias Dieter Wallnöfer | 1 | -5/+10 | |
appropriate | |||||
2010-03-07 | s4:proxy LDB module - Change counter variables to "unsigned" where appropriate | Matthias Dieter Wallnöfer | 1 | -5/+6 | |
Use "size_t" when counting string index positions. | |||||
2010-03-07 | s4:schema_data LDB module - change counter variables to "unsigned" where ↵ | Matthias Dieter Wallnöfer | 1 | -3/+6 | |
appropriate | |||||
2010-03-07 | s4:resolve_oids LDB module - change counter variables to "unsigned" where ↵ | Matthias Dieter Wallnöfer | 1 | -5/+5 | |
appropriate | |||||
2010-03-07 | s4:rootdse LDB module - change counter variables to "unsigned" where appropriate | Matthias Dieter Wallnöfer | 1 | -9/+10 | |
2010-03-07 | s4:partition LDB module - change counter variables to "unsigned" where ↵ | Matthias Dieter Wallnöfer | 2 | -17/+26 | |
appropriate | |||||
2010-03-07 | s4:schema - Change also here counters to "unsigned" where needed | Matthias Dieter Wallnöfer | 7 | -26/+27 | |
Counters which are used in the way "for (i = 0; array[i] != NULL; i++)" I modified to "unsigned" since for sure we don't want to have negative array indexes there. | |||||
2010-03-07 | s4:schema_syntax.c - Change also here counters to "unsigned" where needed | Matthias Dieter Wallnöfer | 1 | -44/+44 | |
Counters which are used in the way "for (i = 0; array[i] != NULL; i++)" I modified to "unsigned" since for sure we don't want to have negative array indexes there. There were many counter variables typed "uint32_t". This isn't fully correct since those count LDB objects. The amount is saved in a "num_*" variable which is "unsigned" without a bitlength specification. Therefore change also these counters to be plain "unsigned". | |||||
2010-03-05 | s4:dsdb/util - Change also here counters to "unsigned" | Matthias Dieter Wallnöfer | 1 | -13/+16 | |
No need to have "signed" counters at those places. | |||||
2010-03-05 | s4:repl - change also here the counter variables to "unsigned" | Matthias Dieter Wallnöfer | 3 | -7/+8 | |
I changed also some "uint32_t" to "unsigned" since the LDB interface doesn't specify the bitlength of the unsigned type. | |||||
2010-03-05 | s4:kcc - Change some counter variables to be unsigned | Matthias Dieter Wallnöfer | 2 | -4/+5 | |
The upper limits are unsigned variables therefore also the counter variables need to be like that. | |||||
2010-03-05 | s4:samdb_privilege.c - Change two counter variables to unsigned | Matthias Dieter Wallnöfer | 1 | -2/+3 | |
Also here in both cases the unsigned counter fits better than the signed one. | |||||
2010-03-05 | s4:cracknames - Change two counter variables to unsigned | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
In both cases the unsigned counter fits better: - in the first one since we are counting LDB objects starting from 0 - in the second since we are counting an array starting from 0 | |||||
2010-03-04 | s4:operational LDB - don't accidentally "ate" search helper attributes if we ↵ | Matthias Dieter Wallnöfer | 1 | -6/+14 | |
need them for more constructed attributes With this patch we delete the helper attributes at the end where all constructed attributes have already been computed. | |||||
2010-03-04 | s4:operational LDB module - make the counters unsigned | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
No need to have signed counters here. | |||||
2010-03-04 | s4:operational LDB - implement the "tokenGroups" constructed attribute | Matthias Dieter Wallnöfer | 2 | -1/+96 | |
It contains the transitive SID closure (expand member/memberOf attributes) of a certain SAM object. The "tokenGroups" attribute never contains the SID of the object itself. References: http://msdn.microsoft.com/en-us/library/ms680275(VS.85).aspx, http://support.microsoft.com/kb/301916, MS-ADTS 3.1.1.4.5.19. | |||||
2010-03-04 | s4:operational LDB module - use right memory context int ↵ | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
"construct_primary_group_token" Use the "msg" as temporary context and not "ldb" which lives much longer. | |||||
2010-03-03 | s4:samdb.c - Make it signed-safe | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
Use an unsigned argument for the numbers of groups and the counter "i" since the function is called only by "auth_generate_session_info" with an unsigned number of groups argument. | |||||
2010-03-01 | s4:drepl_out_helpers: don't look at the internals of 'struct rpc_request' | Stefan Metzmacher | 1 | -2/+13 | |
metze | |||||
2010-03-01 | s4:drepl_notify: don't look at the internals of 'struct rpc_request' | Stefan Metzmacher | 1 | -1/+9 | |
metze | |||||
2010-03-01 | s4:dsdb/repl: make use of explicit dcerpc_*_recv functions | Stefan Metzmacher | 2 | -4/+4 | |
metze | |||||
2010-03-01 | s4/rodc: Implement samdb_rodc with ldb context | Anatoliy Atanasov | 2 | -8/+62 | |
2010-02-26 | s4:dsdb/schema: fix validation of DNs | Stefan Metzmacher | 1 | -1/+0 | |
ldb_dn_extended_filter() removes all but the listed components, I didn't noticed that when writting the code. Doing a ldb_dn_remove_extended_components(dn2) is wrong. This was hidden by some bugs in the ldb_dn code. metze | |||||
2010-02-26 | s4-dns: use a loadparm list for samba_runcmd() commands | Andrew Tridgell | 1 | -4/+4 | |
This allows commands with multiple arguments and quoting to be used, while still avoiding running a shell (and this having shell expansion problems) | |||||
2010-02-26 | s4-dsdb: fixed the fetch of the server site name | Andrew Tridgell | 1 | -1/+7 | |
when the ntds objects were moved by a recent change it broke the calculation of the server site Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-25 | s4:DNS update - change "i" to be unsigned | Matthias Dieter Wallnöfer | 1 | -1/+2 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-25 | s4:partition DSDB module - Generate basic referrals | Matthias Dieter Wallnöfer | 2 | -47/+144 | |
This is a first, very basic implementation of the referrals (more informations at MS-ADTS 3.1.1.4.6 and 3.1.1.3.4.1.12). To have the full referral support (and to always point to the right host) the full implementation using DNS will be needed (at the moment we always point to the main DC which is referenceable through the DNS domainname). Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-25 | s4:partition DSDB module - change the search and domain scope control handling | Matthias Dieter Wallnöfer | 1 | -35/+22 | |
The domain scope control is always removed, from the search one only the two interesting flags (which are handled) and it is marked as non-critical. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-25 | s4:SAMLDB module - ignore referrals | Matthias Dieter Wallnöfer | 1 | -5/+6 | |
They don't cause any harm to our functionality - so ignore them were not needed. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-24 | dsdb: Add a more explicit error message for constructed attributes | Matthieu Patou | 1 | -0/+1 | |
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2010-02-24 | s4/drs: Propagate drsuapi_DsReplicaGetInfoRequest... changes into source code | Kamen Mazdrashki | 1 | -2/+2 | |
2010-02-24 | s4/drs: Propagate drsuapi_DsReplicaSync changes in source base | Kamen Mazdrashki | 2 | -5/+9 | |
2010-02-24 | s4/schema: Move msDS-IntId implementation to samldb.c module | Kamen Mazdrashki | 2 | -149/+87 | |
msDS-IntId attribute should be replicated, so it must be implemented in a module that is before repl_meta_data module (thanks abartlet for pointing this out). Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-23 | s4-dns: improved logging, and run name check at startup | Andrew Tridgell | 1 | -6/+10 | |
2010-02-23 | s4-dns: call out to the dns update command every 10 minutes | Andrew Tridgell | 1 | -26/+112 | |
This periodically calls samba_dnsupdate to update our DNS entries if needed | |||||
2010-02-21 | s4:operational LDB module - enable support for passing referrals through it | Matthias Dieter Wallnöfer | 1 | -2/+1 | |
2010-02-21 | s4:partition DSDB module - Cosmetic fixups | Matthias Dieter Wallnöfer | 1 | -16/+23 | |
2010-02-21 | s4:password_hash - Fix up request message pointers | Matthias Dieter Wallnöfer | 1 | -7/+7 | |
For add requests we need the add request messages, for modify requests we need the modify request messages. | |||||
2010-02-21 | s4:dsdb/util.c - Use LDB result constants in some more helper functions | Matthias Dieter Wallnöfer | 1 | -11/+11 | |
Always better to rely on the standards rather than on custom results. | |||||
2010-02-20 | s4:credentials Add hooks to extract a named Kerberos credentials cache | Andrew Bartlett | 2 | -2/+5 | |
This allows the integration of external tools that can't be linked into C or python, but need to authenticate as the local machine account. The machineaccountccache script demonstrates this, and debugging has been improved in cli_credentials_set_secrets() by passing back and error string. Andrew Bartlett | |||||
2010-02-17 | s4/drs:kccdrs_replica_get_info_obj_metadata implementation | Anatoliy Atanasov | 1 | -12/+88 | |
Fix the names of the drsuapi_DsReplicaInfoType enum and rebuild the .idl The get_info_obj_metadata implementation is ported from implementation i developed and tested at the samba io lab 2009 | |||||
2010-02-17 | s4-dnsupdate: use samba_runcmd() in the dns update task | Andrew Tridgell | 2 | -17/+37 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-16 | s4-kcc: remove a qsort() that snuck into the new topology code | Andrew Tridgell | 1 | -2/+1 | |
2010-02-16 | s4-dsdb: return LDB_ERR_CONSTRAINT_VIOLATION on num_recs != 1 | Andrew Tridgell | 1 | -1/+1 | |
In a single record search, LDB_ERR_CONSTRAINT_VIOLATION is more useful than the generic LDB_ERR_OPERATIONS_ERROR Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-16 | s4-samdb: use dsdb_search() in cracknames | Andrew Tridgell | 1 | -57/+24 | |
greatly simplifies some of the cracknames code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> |