summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:dsdb: add dsdb_module_constrainted_update_uint32/64() wrapper functionsStefan Metzmacher2010-07-091-0/+22
| | | | metze
* s4:dsdb: add dsdb_msg_constrainted_update_uint32/64() wrapper functionsStefan Metzmacher2010-07-091-0/+22
| | | | metze
* s4:dsdb: add dsdb_module_constrainted_update_int32/64() functionsStefan Metzmacher2010-07-091-0/+58
| | | | metze
* s4:dsdb: add dsdb_msg_constrainted_update_int32/64() functionsStefan Metzmacher2010-07-091-0/+96
| | | | metze
* ldb:common/ldb_dn.c - "ldb_dn_get_parent" - no need to manipulate the real DNMatthias Dieter Wallnöfer2010-07-091-6/+0
| | | | Since the parent DN is a duplication of the passed DN parameter.
* s4: fix warning: unused variable ‘i’Kamen Mazdrashki2010-07-091-1/+0
|
* s4:acl LDB module - password attributes - check also the "dBCSPwd" attributeMatthias Dieter Wallnöfer2010-07-081-2/+2
| | | | It's also a possible password change/set attribute candidate.
* s4:acl LDB module - move a "mem_ctx" creation to the place where it is ↵Matthias Dieter Wallnöfer2010-07-081-1/+2
| | | | | | actually checked Memory allocations and their result checks should be as tight as possible.
* s4:drsuapi RPC server - "result_site_name" - fix variable denominationMatthias Dieter Wallnöfer2010-07-081-3/+3
|
* s4:samdb.py - "setpassword" - performs password sets using the "unicodePwd" ↵Matthias Dieter Wallnöfer2010-07-081-7/+3
| | | | | | | attribute This does work per default on each AD-compatible DC. "userPassword" support on Windows however has to be activated explicitly by the "dSHeuristics".
* s4 upgradeprovision: For SID > 1000 do not copy them, let the system ↵Matthieu Patou2010-07-081-0/+6
| | | | | | | | | regenerated a new one This should avoid colliion with newly added objects that use the same SID as existing users in the upgraded provision. Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* Added a test to prove by default users can change each other's pass if the ↵Nadezhda Ivanova2010-07-081-0/+25
| | | | old is known
* Revert "s4-smbtorture: skip bigendian tests against s3 in RPC-LSA-SECRETS."Günther Deschner2010-07-081-6/+0
| | | | This reverts commit 3587bb63e21c3f033a17bb493dceb64b05fe85d6.
* s4-net: the net binary depends on the auth subsystemAndrew Tridgell2010-07-081-1/+1
| | | | This helps with the OpenChange build
* s4-dsdb/util: Reorder DSDB_FLAG_* checksKamen Mazdrashki2010-07-081-30/+30
| | | | | | | | | | | | On good thing about having more clear function interfaces (and forcing callers to specify clearly what they want) is that now I can execute following search: git grep DSDB_FLAG_NEXT_MODULE | wc -l This showed that DSDB_FLAG_NEXT_MODULE flag is about 6 times more frequently used than DSDB_FLAG_OWN_MODULE. So this should reduce branch prediction by six times in this part of the code, right :)
* s4-dsdb: Implement module switching in dsdb_module_search_dn()Kamen Mazdrashki2010-07-081-1/+10
| | | | This allows caller to choose from where to start DN search
* s4-source4/dsdb/samdb/ldb_modules/acl.c Use DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki2010-07-081-5/+12
|
* s4-source4/dsdb/samdb/ldb_modules/linked_attributes.c Use ↵Kamen Mazdrashki2010-07-081-1/+4
| | | | DSDB_FLAG_NEXT_MODULE flag
* s4-source4/dsdb/samdb/ldb_modules/naming_fsmo.c Use DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki2010-07-081-1/+2
|
* s4-source4/dsdb/samdb/ldb_modules/operational.c Use DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki2010-07-081-3/+7
|
* s4-source4/dsdb/samdb/ldb_modules/partition_init.c Use DSDB_FLAG_NEXT_MODULE ↵Kamen Mazdrashki2010-07-081-3/+6
| | | | flag
* s4-source4/dsdb/samdb/ldb_modules/pdc_fsmo.c Use DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki2010-07-081-1/+2
|
* s4-source4/dsdb/samdb/ldb_modules/repl_meta_data.c Use DSDB_FLAG_NEXT_MODULE ↵Kamen Mazdrashki2010-07-081-3/+7
| | | | flag
* s4-source4/dsdb/samdb/ldb_modules/ridalloc.c Use DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki2010-07-081-3/+6
|
* s4-source4/dsdb/samdb/ldb_modules/samba_dsdb.c Use DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki2010-07-081-2/+4
|
* s4-source4/dsdb/samdb/ldb_modules/schema_load.c Use DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki2010-07-081-1/+2
|
* s4-source4/dsdb/samdb/ldb_modules/util.c Use DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki2010-07-081-2/+4
|
* s4-dsdb: use ldb_operr() in the dsdb codeAndrew Tridgell2010-07-0743-625/+455
| | | | | | | this replaces "return LDB_ERR_OPERATIONS_ERROR" with "return ldb_operr(ldb)" in places in the dsdb code where we don't already explicitly set an error string. This should make is much easier to track down dsdb module bugs that result in an operations error.
* s4-ldb: added ldb_error() and ldb_operr()Andrew Tridgell2010-07-073-2/+22
| | | | | | | | | | | | | | | | | | | | | | These will be used to help avoid the problem we have with hundreds of places that do "return LDB_ERR_OPERATIONS_ERROR" without an explanation. It is very difficult to track down ldb errors which don't have any explanation. By replacing "return LDB_ERR_OPERATIONS_ERROR;" with "return ldb_operr(ldb);" we at least get a file:line message in the ldb error string. It isn't an ideal error message, but it is much better than just "operations error" This change also makes ldb_oom() return the error code (LDB_ERR_OPERATIONS_ERROR) so you can do: return ldb_oom(ldb); instead of: ldb_oom(ldb); return LDB_ERR_OPERATIONS_ERROR;
* s4-ldb: added support for simple binds on ldb_ldap backendAndrew Tridgell2010-07-071-0/+50
| | | | | this uses the options[] array to pass in bindMech, bindID and bindSecret. Currently only "simple" is supported.
* s4-ldb: added ldb_options_find()Andrew Tridgell2010-07-076-7/+85
| | | | | | | ldb_options_find() allows backends to find options in the options[] array passed to the connect operation. This will be used by the ldb_ldap bind code
* s4:libcli: Modify S4 client library to check for proper CN alignmentSteven Danneman2010-07-062-2/+102
| | | | | | | | | MS-CIFS 2.2.7.4.2 states that FILE_NOTIFY_INFORMATION structures in change notify replies must be aligned to 4-byte boundaries. This updates s4 client to check for this restriction and also adds a torture test which should tickle a server into giving unaligned structures if it doesn't follow the spec.
* s4:new_partition LDB module - fix an uninitalised variable warningMatthias Dieter Wallnöfer2010-07-061-2/+1
| | | | | | | > [ 651/1946] Compiling dsdb/samdb/ldb_modules/new_partition.c > ../dsdb/samdb/ldb_modules/new_partition.c: In function 'new_partition_add': > ../dsdb/samdb/ldb_modules/new_partition.c:195: warning: 'down_req' may be used uninitialized in this function The "down_req" variable isn't used anymore.
* s4:SAMR rpc server - "SetUserInfo" - fix the implementation of the expire flagMatthias Dieter Wallnöfer2010-07-061-3/+22
| | | | | It has to consider the "password_expires" flag to known if the "pwdLastSet" has to be updated or to be resetted.
* s4:SAMR rpc server - "QueryUserInfo" - send back the password expired flag ↵Matthias Dieter Wallnöfer2010-07-061-1/+6
| | | | | | on level 21 Taken from the s3 server code
* s4:dsdb - samdb_result_force_password_change - also when "pwdLastSet" is ↵Matthias Dieter Wallnöfer2010-07-061-3/+9
| | | | | | "-1" we shouldn't force a password change This value is set by the ADUC console.
* s4:rpc_server/lsa/dcesrv_lsa.c - fix typoSumit Bose2010-07-061-1/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s4-smbtorture: add my (C) to rap torture lib.Günther Deschner2010-07-051-0/+1
| | | | Guenther
* s4:dsdb/password_hash: implement DSDB_CONTROL_BYPASS_PASSWORD_HASH_OIDStefan Metzmacher2010-07-051-0/+20
| | | | metze
* s4:dsdb: allocate DSDB_CONTROL_BYPASS_PASSWORD_HASH_OIDStefan Metzmacher2010-07-052-0/+6
| | | | | | When importing users from Samba3 we need to control all values. metze
* s4:dsdb/password_hash: fix some c++ compiler warningsStefan Metzmacher2010-07-051-9/+12
| | | | metze
* DNS objects should not be ignoredZahari Zahariev2010-07-051-21/+9
| | | | | | | | Recently I have found that after vampireing from a clean Windows server we have the same DNS objects in the ldb. So ldapcmp has to no longer ignore them. Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
* s4:winbind/wb_cmd_setpwent.c - fix a possible crash condition in the ↵Matthias Dieter Wallnöfer2010-07-051-8/+10
| | | | | | "winbind struct test" Use a "talloc_strdup" for duplicating usernames.
* s4:samr RPC server - "SetUserInfo" - allow some more informations to be setMatthias Dieter Wallnöfer2010-07-051-0/+25
| | | | Taken from the s3 implementation.
* Changed passwords.py to use the correct account as acl checks now pass.Nadezhda Ivanova2010-07-051-14/+6
|
* s4-dsdb: Implementation of User-Change-Password and User-Force-Password-ChangeNadezhda Ivanova2010-07-052-85/+226
| | | | | | | These CARs need to be checked on password change and password reset operations. Apparently the password attributes are not influenced by Write Property. Single detele operations and modifications of dBCSPwd are let through to the password_hash module. This is determined experimentally.
* s4:subtree_rename LDB module - Cosmetic fixesMatthias Dieter Wallnöfer2010-07-041-3/+4
|
* s4:subtree_delete LDB module - fix comments and add my copyrightMatthias Dieter Wallnöfer2010-07-041-2/+3
| | | | (I've introduced the subtree delete mechanism)
* s4:wb_cmd_list_groups.c - don't crash when we don't get any group at allMatthias Dieter Wallnöfer2010-07-041-2/+4
|
* s4:wb_cmd_list_groups.c - indentation and comment fixesMatthias Dieter Wallnöfer2010-07-041-9/+11
|