Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-09-25 | s4-dsdb: added tagging of requests in dsdb modules | Andrew Tridgell | 8 | -0/+30 | |
this allows you to call dsdb_req_chain_debug() in gdb or when writing debug code to see the request chain | |||||
2010-09-25 | ldb: added request location tracking | Andrew Tridgell | 4 | -0/+39 | |
this is used to help debug async ldb requests. The ldb request handle now contains a location string and the parent request pointer. This allows us to print a backtrace of ldb requests in the dsdb modules. | |||||
2010-09-25 | s4-repl: make getncchanges a bit less verbose | Andrew Tridgell | 1 | -1/+1 | |
this should reduce some of the clutter in make test | |||||
2010-09-25 | s4-net: added --ipaddress option to net commands | Andrew Tridgell | 6 | -6/+13 | |
this allows override of server IP address, bypassing NBT or DNS name resolution of DCs Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2010-09-25 | s4-pynet: added server keyword to Net() initialisation | Andrew Tridgell | 1 | -3/+7 | |
this sets up server_address in the libnet context Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2010-09-25 | s4-libnet: added server_address option in libnet context | Andrew Tridgell | 3 | -1/+6 | |
this is used by libnet_LookupDCs Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2010-09-25 | s4-finddcs: allow override of server IP address | Andrew Tridgell | 2 | -1/+37 | |
this will be used to implement --ipaddress option to net commands Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2010-09-25 | s4-repl: don't store repsFrom on DNs other than NC heads | Andrew Tridgell | 1 | -0/+9 | |
we don't want a refsFrom on the Rid Manage$ DN Pair-Programmed-With: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> | |||||
2010-09-25 | s4-pycredentials: avoid a tallloc_free on ref | Andrew Tridgell | 1 | -1/+1 | |
with the new py object structure, we need to unlink not free | |||||
2010-09-25 | s4-repl: use namingContexts from rootDSE to initialise partition list | Andrew Tridgell | 1 | -53/+36 | |
this is preferable to looking for the hasMasterNCs attribute on nTDSDSA objects. | |||||
2010-09-25 | s4-repl: force on WRIT_REP when we are a writable replica | Andrew Tridgell | 1 | -4/+3 | |
this ensures we always mark ourselves as writeable when we are not an RODC | |||||
2010-09-25 | s4-repl: use dreplsrv_partition_source_dsa_by_guid to find source dsa | Andrew Tridgell | 1 | -5/+6 | |
this avoids a list walk in the calling code | |||||
2010-09-25 | torture: fixed a valgrind error in SMB2-CREATE | Andrew Tridgell | 1 | -0/+6 | |
the lock structure had uninitialised elements, so we sent a random length. This also adds a 1 byte write, so there is real data that is being truncated with the 2nd open | |||||
2010-09-25 | s4-dsdb: Fixed a call to the wrong ops function in dsdb_module_search_dn. | Nadezhda Ivanova | 1 | -1/+1 | |
2010-09-24 | s4-waf: add NDR_EVENTLOG. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2010-09-24 | s4-waf: rename subsystem NDR_LSAPRC to NDR_LSA. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-09-24 | s4-kerberos Rework keytab handling to export servicePrincipalName entries | Andrew Bartlett | 4 | -129/+171 | |
This creates keytab entries with all the servicePrincipalNames listed in the secrets.ldb entry. Andrew Bartlett | |||||
2010-09-24 | s4-selftest Run slow tests less often | Andrew Bartlett | 1 | -16/+12 | |
These tests don't need to be run twice - basic parsing errors that will show up with the various options will be caught quite well by other tests. Andrew Bartlett | |||||
2010-09-24 | s4-libnet_join Use header constant for 'all encryption types' in ↵ | Andrew Bartlett | 1 | -4/+3 | |
msDS-SupportedEncryptionTypes | |||||
2010-09-24 | s4-kerberos Move 'set key into keytab' code out of credentials. | Andrew Bartlett | 8 | -239/+286 | |
This code never really belonged in the credentials layer, and is easier done with direct access to the ldb_message that is in secrets.ldb. Andrew Bartlett | |||||
2010-09-24 | s4-libnet Remove libnet_samdump_keytab() and net samdump keytab | Andrew Bartlett | 4 | -185/+2 | |
There is a beter implementation of this in Samba3, and this uses functions in the credentials code that I want to remove. The same functionality is available by running 'net samsync' and 'net export keytab'. This isn't a DRS-backed utility, it only used netlogon replication. Andrew Bartlett | |||||
2010-09-24 | s4-kerberos Fix kerberos_enctype_bitmap_to_enctypes() | Andrew Bartlett | 1 | -2/+3 | |
The previous code never worked Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:repl_meta_data - also on delete operations the new RDN attribute has to ↵ | Matthias Dieter Wallnöfer | 1 | -1/+10 | |
be casefolded correctly Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:lazy_commit LDB module - the "show_deleted" control is initialised by the ↵ | Matthias Dieter Wallnöfer | 1 | -17/+0 | |
"show_deleted" LDB module Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:rootdse LDB module - make use of "dsdb_forest_functional_level" | Matthias Dieter Wallnöfer | 1 | -3/+2 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:ldap.py - add tests for the "dsServiceName", "serverName", "dnsHostName" ↵ | Matthias Dieter Wallnöfer | 1 | -0/+34 | |
and "ldapServiceName" rootDSE attributes Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:provision - rootdse - remove static "ldapServiceName" attribute | Matthias Dieter Wallnöfer | 2 | -4/+0 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:rootdse LDB module - introduce dynamic "ldapServiceName" | Matthias Dieter Wallnöfer | 1 | -0/+25 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:provision - rootdse - remove static "dnsHostName" attribute | Matthias Dieter Wallnöfer | 2 | -2/+0 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:rootdse LDB module - introduce dynamic "dnsHostName" attribute | Matthias Dieter Wallnöfer | 1 | -0/+8 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:provision - rootdse - remove the static attribute "serverName" | Matthias Dieter Wallnöfer | 1 | -1/+0 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:rootdse LDB module - make "serverName" dynamic | Matthias Dieter Wallnöfer | 1 | -0/+7 | |
This helps to fix bug #7347. "dsServiceName" cannot be made dynamic in such a simple way since it's already needed on LDB initialisation time. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:rootdse LDB module - remove "priv" checks where not needed | Matthias Dieter Wallnöfer | 1 | -3/+3 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:rootdse LDB module - better that the "edn" control handling is done last | Matthias Dieter Wallnöfer | 1 | -20/+20 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:torture/rpc/netlogon.c - remove the dependency on "samdb_server_site_name" | Matthias Dieter Wallnöfer | 1 | -5/+54 | |
Since this one relies on the right server loadparm context which we aren't able to provide over torture. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:provision.py - support still not fully provisioned trees regarding the ↵ | Matthias Dieter Wallnöfer | 1 | -2/+11 | |
rootDSE module We simply override the NTDS settings path manually Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:provision.py - make more use of "names.serverdn" on NTDS settings location | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:samldb LDB module - it isn't allowed to create user/computer accounts ↵ | Matthias Dieter Wallnöfer | 2 | -10/+13 | |
with a primary group specified It can only be changed afterwards. We allow a "relax"ed exception for the provision state since we need this for the guest account. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:dsdb/common/util_samr.c - remove the primary group specifications | Matthias Dieter Wallnöfer | 1 | -4/+0 | |
Now also the primary group detection/change on modify operations does work Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:ldap.py - test default primary groups on modify operations | Matthias Dieter Wallnöfer | 1 | -0/+70 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:samldb LDB module - support the "userAccountControl" -> "primaryGroupID" ↵ | Matthias Dieter Wallnöfer | 1 | -16/+11 | |
detection also on modify operations Also requested by MS-SAMR 3.1.1.8.1. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:ldap.py - enhance SAM user/groups behaviour test regarding default ↵ | Matthias Dieter Wallnöfer | 1 | -5/+34 | |
primary groups Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:python/samba/join.py - add a comment to point out that NCs have to be ↵ | Matthias Dieter Wallnöfer | 1 | -0/+1 | |
assigned dynamically We could also have DNS partitions (only to make one example). Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:python/samba/join.py - use constant for DC function level | Matthias Dieter Wallnöfer | 1 | -1/+2 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:rootdse LDB module - make more use of LDB result constants | Matthias Dieter Wallnöfer | 1 | -17/+17 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:rootdse LDB module - fix comment typo | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:password_hash LDB module - don't assign "lp_ctx" twice | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | ldb:ldb_match.c - fix counter variable type | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | ldb:ldb_msg_add_linearized_dn - handle NULL DNs | Matthias Dieter Wallnöfer | 1 | -2/+8 | |
Don't let the routine crash Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | s4:rootdse LDB module - fix counter types | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> |