summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-07-04s4:libnet - add missing "talloc_free"s for "c" contexts on "recv" operationsMatthias Dieter Wallnöfer3-5/+8
2010-07-04s3: Remove an unused variable -- thanks, metze!Volker Lendecke1-2/+1
2010-07-04s3: Remove unused msg_flags from connections.tdbVolker Lendecke4-7/+3
This breaks rolling code upgrade!
2010-07-04s3: Replace register_message_flags() with serverid_register_msg_flags()Volker Lendecke5-47/+64
message_send_all is now done by walking the serverid.tdb, not the connections.tdb anymore. Günther, Simo, please check!
2010-07-04s3: Use msg_ctx->id in messagingVolker Lendecke2-5/+6
This removes some references to procid_self() deep inside the code
2010-07-04s3: Pass the new server_id through reinit_after_forkVolker Lendecke10-22/+47
2010-07-04s3: Re-initialize the server_id in messaging_reinitVolker Lendecke3-5/+9
2010-07-04s3: Fix some type-punned warningsVolker Lendecke2-7/+10
2010-07-04s3: Fix some nested extern warningsVolker Lendecke1-2/+3
2010-07-04s3: Remove serverid_[de]register_selfVolker Lendecke8-48/+28
This removes some deep references to procid_self()
2010-07-04s3: ALWAYS run make test before checkin ....Volker Lendecke1-2/+2
2010-07-04s3: Slight reshaping of server_exists_parseVolker Lendecke1-4/+6
Doing a copy and then do the compare is a bit pointless, use memcmp
2010-07-04s3: Don't attempt to deregister from serverid twiceVolker Lendecke1-1/+6
The parent has to take care of crashed child processes anyway, so we don't have to clean up in the child
2010-07-04s3: Fix bug 7338, smbget skips leading slash when using a custom outputfileVolker Lendecke1-6/+16
2010-07-04s3: Fix some nonempty blank linesVolker Lendecke1-10/+10
2010-07-04s3: Fix bug 7336: Enable idmap_passdb module build as sharedVolker Lendecke1-0/+4
2010-07-03wbinfo: Fix error messagesVolker Lendecke1-53/+53
2010-07-03s4:torture/rpc/samlogon.c - strip trailing whitespacesMatthias Dieter Wallnöfer1-199/+199
2010-07-03s4:torture/rpc/samlogon.c - provide a function which sets and afterwards ↵Matthias Dieter Wallnöfer1-0/+97
resets the minimum password age This is needed since we on s4 do now use the Windows Server standard of 1 day.
2010-07-03s4:kinit blackbox test - set/reset also here the "minPwdAge"Matthias Dieter Wallnöfer1-0/+7
2010-07-03s4:dsdb/tests/python/ldap_schema.py - remove a now useless "schemaUpdateNow" ↵Matthias Dieter Wallnöfer1-10/+0
request "schemaUpdateNow" on s4 is now a non-op and therefore not strictly needed anymore.
2010-07-03s4:urgent_replication.py test - remove unneeded "relax" control parametersMatthias Dieter Wallnöfer1-2/+2
2010-07-03s4:schema_load LDB module - fix a segfault condition on schema refreshMatthias Dieter Wallnöfer1-0/+5
The schema refresh operation itself starts requests from the top of the LDB modules stack (see call "dsdb_schema_set_attributes" - search operations). This doesn't work well when these do perform "dsdb_get_schema" calls. Since the new schema isn't marked as "refreshed" atm (but in fact it still is - we didn't terminate the reload/refresh yet) we could perform other calls to "dsdb_schema_refresh" and run into serious trouble (segfault).
2010-07-03s4:schema_set.c - Fix a commentMatthias Dieter Wallnöfer1-1/+2
2010-07-03s4:dsdb_schema_set_attributes - remove unneeded filter criteriasMatthias Dieter Wallnöfer1-2/+4
We already choose the right entry by specifying the right basedn with scope "LDB_SCOPE_BASE".
2010-07-03s4:dsdb_module_load_partition_usn - check for "res->count" equal/unequal to 1Matthias Dieter Wallnöfer1-1/+1
2010-07-03s4:schema_set.c - fix typoMatthias Dieter Wallnöfer1-1/+3
2010-07-03s4:schema_load.c - jump to "failed" on an error conditionMatthias Dieter Wallnöfer1-3/+2
2010-07-03s4:setup/provision_basedn_modify.ldif - set "minPwdAge" to the right valueMatthias Dieter Wallnöfer1-2/+1
Now we should have fixed all password related tests to cooperate with this value
2010-07-03s4:pwsettings net utility - change also here the "minPwdAge" to be the real ↵Matthias Dieter Wallnöfer1-2/+2
default Which is one day.
2010-07-03s4:blackbox/test_passwords.sh - perform also here the adaptions for ↵Matthias Dieter Wallnöfer1-2/+2
"minPwdAge" != 0
2010-07-03s4:dsdb/tests/passwords.py - set and reset the "minPwdAge" properlyMatthias Dieter Wallnöfer1-2/+21
After a patch proposal of Nadya and some reflection I think that it's really worth to change all tests which need a "0" "minPwdAge" to set it manually and reset the default afterwards. So we can finally introduce the default "minPwdAge" on provision. Patch proposal by: Nadya Ivanova
2010-07-02Tests for user-change-password and force-password-change access rightsNadezhda Ivanova1-4/+242
2010-07-02s3-net: forgot to set type in winreg getvalue operation.Günther Deschner1-0/+2
Guenther
2010-07-02s4/schema: remove unnecessary deletion of dsdb_schema cached pointerAnatoliy Atanasov1-3/+0
This is needed so we can find and free old schemas based using the cached pointer
2010-07-02s3-registry: remove 2 byte winreg type limitation.Günther Deschner2-5/+5
We already pull and push 4 byte winreg type in the registry.tdb, we were just not using full 4 bytes within the reg_object functions. With this change we finally pass the set extended value torture test. Guenther
2010-07-02s3-registry: allow to read NULL entries (that we allow to store) back from ↵Günther Deschner1-6/+2
the tdb. Guenther
2010-07-02s4-smbtorture: enable extended SetValue test against Samba3.Günther Deschner1-3/+2
Guenther
2010-07-02s3-registry: remove unused reg_util_marshalling code.Günther Deschner7-256/+0
Guenther
2010-07-02s3-registry: avoid using registry_value union.Günther Deschner12-186/+233
Just pull and push data as is. Guenther
2010-07-02s4-ldb: fixed error handling in openldap backendAndrew Tridgell1-5/+15
fixed several bugs in error handling. the ldb context was used without being initialised in the error paths, and several error paths did not set an ldb error string.
2010-07-02s4-ldb: fixed the parsing of references in the openldap backendAndrew Tridgell1-5/+6
We need to use ldap_parse_reference() not ldap_parse_result()
2010-07-02s4-dsdb: fixed use after free of sasl mechanisms opaqueAndrew Tridgell1-0/+6
the supportedSASLMechanisms opaque must live for at least as long as the ldb, or we can crash when the first connection is torn down Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-07-02s4-dsdb: fixed spelling of supportedSASLMechanismsAndrew Tridgell2-2/+2
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-07-02s4:dsdb Ensure we free old schema copiesAndrew Bartlett1-6/+25
It was reported by aatanasov that we kept around one whole schema per modification made. This does not fix that, but I hope moves us closer to a fix The most important part of the fix is that: - if (schema_out != schema_in) { - talloc_unlink(schema_in, ldb); - } was the wrong way around. This is now handled in the schema_set calls. Andrew Bartlett
2010-07-02s4/dsdb: Assert DSDB_FLAG_*_MODULE is always passed in function callKamen Mazdrashki1-0/+5
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-02s4-source4/dsdb/samdb/ldb_modules/util.c Use DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki1-2/+3
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-02s4-source4/dsdb/samdb/ldb_modules/subtree_delete.c: Use ↵Kamen Mazdrashki1-1/+3
DSDB_FLAG_NEXT_MODULE flag Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-02s4-source4/dsdb/samdb/ldb_modules/schema_load.c: Use DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki1-1/+2
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-02s4-source4/dsdb/samdb/ldb_modules/samldb.c: Use DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki1-4/+5
Signed-off-by: Andrew Bartlett <abartlet@samba.org>