summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* s4:libnet Make the libnet_vampire default callbacks non-staticAndrew Bartlett2010-06-152-40/+71
| | | | | | | | | These are intended to be called from the NET-API-BECOMEDC torture test to avoid duplication of code. Andrew Bartlett Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
* s4 torture: RAW-WRITE should check lockread_supportedZachary Loafman2010-06-141-0/+5
| | | | Signed-off-by: Tim Prouty <tprouty@samba.org>
* s4:Descriptor tests clean-up.Nadezhda Ivanova2010-06-141-153/+67
| | | | A bit of refactoring and modified the tests to use encrypted connection so that they pass against Windows unconditionally.
* s4:provision: Make gc._msdcs DNS entries A/AAAA recordsAndrew Kroeger2010-06-142-1/+8
| | | | | | | | | | When adding an additional DC as a GC server, the new DC attempts to register its own gc._msdcs records. If the existing gc._msdcs record is a CNAME, BIND fails the update with the message "attempt to add non-CNAME alongside CNAME ignored", and the new DC is not registered as a GC server. The A & AAAA record types for gc._msdcs have been verified against the DNS server of a W2K8 DC.
* s4:SAMR server - cosmetic fixMatthias Dieter Wallnöfer2010-06-141-1/+2
|
* s4:SAMR server - on alias search operations do never use the domain DN as ↵Matthias Dieter Wallnöfer2010-06-141-10/+7
| | | | | | base dn Aliases (especially in the "builtin" domain) are often domain-independant.
* librpc: Install the right headers.Jelmer Vernooij2010-06-131-2/+2
|
* Support system talloc/tevent headers.Jelmer Vernooij2010-06-131-2/+2
|
* librpc: Fix netlogon.h file to install - not the torture one but the oneJelmer Vernooij2010-06-131-1/+1
| | | | generated by pidl.
* param/share: Use static prototypes.Jelmer Vernooij2010-06-132-2/+15
|
* s4:fix allocated control OIDs for "password_hash" LDB moduleMatthias Dieter Wallnöfer2010-06-132-6/+8
| | | | | The password hash module controls overlapped others. Sorry, but the "schema_samba4.ldif" hasn't been kept up-to-date.
* s4-provision: Use logger in provision backends.Jelmer Vernooij2010-06-132-42/+38
|
* s4-test: Use smb.conf path set in environment rather than usingJelmer Vernooij2010-06-139-43/+47
| | | | | | command-line options. This is the first step towards supporting custom test runners.
* Remove unused version options for subunitrun.Jelmer Vernooij2010-06-131-1/+0
|
* Friendlier message.Jelmer Vernooij2010-06-131-2/+2
|
* upgradeprovision: Use logging infrastructure.Jelmer Vernooij2010-06-133-25/+32
|
* upgrade: Properly cancel/commit transactions in a couple more places.Jelmer Vernooij2010-06-132-123/+136
|
* s4-python: Start using standard python logging infrastructure ratherJelmer Vernooij2010-06-137-105/+108
| | | | than simple messaging callbacks.
* s4:dcesrv_samr_GetGroupsForUser - return error code if a SID wasn't foundMatthias Dieter Wallnöfer2010-06-121-2/+1
| | | | This shouldn't happen since SIDs are mandatory for security objects
* s4:dcesrv_samr_QueryGroupMember/GetMembersInAlias - unify the structureMatthias Dieter Wallnöfer2010-06-121-30/+32
| | | | Mostly cosmetic fixes
* s4:password_hash LDB module - this does really deactivate the MS LAN manager ↵Matthias Dieter Wallnöfer2010-06-121-5/+9
| | | | | | | hash Previously, only the conversion from cleartext to the LM hash was deactivated, and not when the user specified it directly through "dBCSPwd".
* s4:password_hash LDB module - fix commentMatthias Dieter Wallnöfer2010-06-121-1/+1
|
* s4:torture - SAMR testsuite - now we do support "GetAliasMembership" as expectedMatthias Dieter Wallnöfer2010-06-121-4/+0
|
* s4:dcesrv_samr_GetAliasMembership - provide a correct implementationMatthias Dieter Wallnöfer2010-06-121-31/+31
| | | | | We could also have no valid SID specified at all and also then we have to return an empty array with "NT_STATUS_OK". This shows the torture testsuite.
* s4:dcesrv_samr_EnumDomainGroups/Aliases - when we don't get a SID then the ↵Matthias Dieter Wallnöfer2010-06-121-4/+6
| | | | | | | database is corrupted Group/User/Alias entries do always have a SID (it's a mandatory attribute in the SAM directory)!
* s4:dcesrv_samr_QueryAliasInfo - return "NT_STATUS_NO_SUCH_ALIAS" when it ↵Matthias Dieter Wallnöfer2010-06-121-1/+4
| | | | wasn't found
* s4:dcesrv_samr_QueryGroupInfo - make it more like "QueryAliasInfo"Matthias Dieter Wallnöfer2010-06-121-14/+7
|
* s4:dcesrv_samr_QueryUserInfo - minor fixesMatthias Dieter Wallnöfer2010-06-121-1/+4
| | | | Return "NT_STATUS_NO_SUCH_USER" when user account doesn't exist.
* s4:dcesrv_samr_QueryDomainInfo - allocate the "info" structure only when ↵Matthias Dieter Wallnöfer2010-06-121-7/+9
| | | | | | | really needed That means the allocation should move after the lookup (as it is on "QueryUserInfo"). Return "NT_STATUS_NO_SUCH_DOMAIN" on an invalid domain.
* s4:dcesrv_samr_EnumDomainGroups - mostly small fixesMatthias Dieter Wallnöfer2010-06-121-3/+7
|
* s4:dcesrv_samr_EnumDomainAliases - return an empty array also when no entry ↵Matthias Dieter Wallnöfer2010-06-121-3/+0
| | | | was returned
* s4:dcesrv_samr_EnumDomainAliases - mostly small fixesMatthias Dieter Wallnöfer2010-06-121-7/+10
| | | | | The biggest change consists in the implementation of the Windows Server return size formula MIN(*r->out.num_entries, 1+(r->in.max_size/SAMR_ENUM_USERS_MULTIPLIER).
* s4:dcesrv_samr_EnumDomainUsers - make this call look more similar to ↵Matthias Dieter Wallnöfer2010-06-121-23/+28
| | | | | | | "EnumDomainGroups" and "EnumDomainAliases" That means that the lookup is now also done by "samdb_search_domain" to be more consistent.
* s4:ldif_read_prefixMap - don't cause memory leaks on error conditionsMatthias Dieter Wallnöfer2010-06-121-2/+2
|
* s4:dsdb Allow calling dsdb_convert_object_ex() directlyAndrew Bartlett2010-06-121-6/+6
| | | | | | | This will allow the libnet_vampire code to manually convert individual schema objects. Andrew Bartlett
* s4:dsdb Add debugAndrew Bartlett2010-06-121-0/+1
|
* s4:dsdb Simplfy match of objectclass in dsdb_schema_set_el_from_ldb_msgAndrew Bartlett2010-06-121-17/+4
| | | | | | | There is no need to do a full ldb_match_msg() for a simple case insensitive string. Andrew Bartlett
* s4:provision Allow both additional and override prefixmaps in SchemaAndrew Bartlett2010-06-122-5/+8
| | | | | | | The idea here is to allow some callers to specify a new prefixMap that will override the values loaded from the prefixMap.txt. Andrew Bartlett
* s4:dsdb Allow a binary prefix map to be specified in the LDIFAndrew Bartlett2010-06-121-0/+14
| | | | | | This allows it to be specified in either binary or as a string. Andrew Bartlett
* s4:dsdb Provide a function to convert from DRS prefix maps to the LDB prefixmapAndrew Bartlett2010-06-121-12/+21
| | | | | | | This allows us to push a prefixmap directly into the schema we generate in the provision code. Andrew Bartlett
* s4:dsdb Add more debugs to help track down failures to parse the prefixmapAndrew Bartlett2010-06-121-5/+20
|
* s4:dsdb Put back the reference and set_attributes in dsdb_reference_schemaAndrew Bartlett2010-06-121-0/+9
| | | | | | I'm not sure why I removed these in fe3e1af901c970f738bee92baac5d7d4f5736e17 Andrew Bartlett
* s4/test-libnet: Re-align code a bit - more readable this way IMOKamen Mazdrashki2010-06-113-24/+28
|
* s4/test-libnet: Refactor test_group_create() a little to:Kamen Mazdrashki2010-06-111-11/+22
| | | | | - Close unused policy handle for created group - re-align code - it is more readable this way IMHO
* s4/test-libnet: Refactor test_user_create() little bit to:Kamen Mazdrashki2010-06-111-11/+7
| | | | | | | | - fix a flaw that user RID is not returned in case user is recreated - close unused policy handle to created user - do not take into account the result from test_samr_close_handle - we don't case
* s4/test-libnet: add few comments for utility functionsKamen Mazdrashki2010-06-111-3/+11
|
* s4/test-libnet: Move LSA close handle function to a common locationKamen Mazdrashki2010-06-113-40/+26
|
* s4/test-libnet: remove unused codeKamen Mazdrashki2010-06-111-25/+0
| | | | | Pre-connecting SAMR and LSA pipes is implemented in test_libnet_context_init() function
* s4/test-libnet: Fix compile-time warningKamen Mazdrashki2010-06-111-1/+1
|
* Adjusted ACL tests to use encripted connection.Nadezhda Ivanova2010-06-111-120/+69
| | | | | This way we get rid of the conditional if.Samba checks, because users are successfully created and enabled.