summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* s3-winbindd: Fix child logfile handling which broke with c67cff0372.Günther Deschner2010-07-071-1/+1
| | | | | | Andreas, please check. Guenther
* s3-winbindd: route samr chgpwd ops for own domain over internal samr pipe as ↵Günther Deschner2010-07-074-69/+45
| | | | | | well. Guenther
* s3-rpc_misc: remove unused UNISTR.Günther Deschner2010-07-071-11/+0
| | | | Guenther
* s3-rpc_parse: remove finally unused prs_unistr().Günther Deschner2010-07-072-125/+0
| | | | Guenther
* s3-libgpo: remove handmarshalled PReg parser from registry CSE.Günther Deschner2010-07-072-295/+53
| | | | Guenther
* s3-registry: add preg.idl.Günther Deschner2010-07-075-2/+144
| | | | Guenther
* s3-rpc_parse: fix c++ buildwarning in prs_init().Günther Deschner2010-07-071-1/+1
| | | | Guenther
* s3-notify: use autogenerated FILE_NOTIFY_INFORMATION marshalling in smbd.Günther Deschner2010-07-071-52/+29
| | | | Guenther
* s3-notify: add MS-CIFS 2.2.7.4.2 FILE_NOTIFY_INFORMATION to IDL.Günther Deschner2010-07-071-0/+19
| | | | Guenther
* s3-build: some makefile cosmetics.Günther Deschner2010-07-072-6/+13
| | | | Guenther
* s3-build: add IDL_FILES variable.Günther Deschner2010-07-071-8/+11
| | | | Guenther
* 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;
* s3 build: Fix *netgrent prototype detection on opensolarisKai Blin2010-07-071-3/+9
|
* 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.
* s3:smbd: Align change notify replies on 4-byte boundaryChere Zhou2010-07-061-0/+10
| | | | | | | MS-CIFS section 2.2.7.4.2 states this is mandatory. WinXP clients don't seem to care, but a Win7 client will send an immediate Close() to the directory handle when receiving an incorrectly aligned change notify response.
* 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.
* s3-selftest: add "make testenv" target to Makefile.Günther Deschner2010-07-061-0/+6
| | | | Guenther
* s3:pdb_ldap: change LDAP password before samba password hashesBjörn Jacke2010-07-061-33/+34
| | | | | | | this way we can catch up with password change refuses from ldap password policy overlays and abort the password change early. Thanks to Andy Hanton <andyhanton@gmail.com> for the initial patch.
* s3-winbind: Handle aliases in rpc_lookup_groupmem().Andreas Schneider2010-07-061-29/+74
|
* s3-winbind: Fixed the winbind caching.Günther Deschner2010-07-062-5/+10
|
* s3-winbind: Use same format for all msrpc debug messages.Andreas Schneider2010-07-061-9/+10
|
* s3-winbind: Fixed debug messages of open_internal_lsa_pipe().Andreas Schneider2010-07-061-2/+2
|
* s3-winbind: Make sure that the policy handles are closed.Andreas Schneider2010-07-061-0/+12
|
* s3-winbind: Make sure we close all policy handles in sam.Andreas Schneider2010-07-061-0/+83
|
* s3-winbind: Create all logfiles in the same directory.Andreas Schneider2010-07-061-1/+22
| | | | | If log file is set in the config file, we should create the log files of the winbind child processes in the same directory.
* s3: Fix another aspect of bug 7262 and make paged results work againVolker Lendecke2010-07-061-4/+4
|
* s4:rpc_server/lsa/dcesrv_lsa.c - fix typoSumit Bose2010-07-061-1/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3: Fix a segfault in the RPC serverVolker Lendecke2010-07-061-8/+9
| | | | | | | | | After converting the rpc infratructure to talloc, read_from_internal_pipe freed the outdata too early. If the last fragment was read in two pieces (as rpcclient does it), all the outdata was freed during the read of the first piece of the read of the last fragment. Later read&x calls, trying to read the rest of the last fragment stepped into p->out_data.frag with non-zero offset when this was already freed.
* s3: Fix another winbind crashVolker Lendecke2010-07-061-35/+48
| | | | | | This is similar to 09a9cc3, this re-arranges winbindd_ads.c:query_user_list() so that "ads" is not accessed anymore across a call to nss_get_info_cached() call which can destroy it behind the scenes.
* pidl: s3 server stubs: make sure LIBNDR_FLAG_BIGENDIAN is set when negotiated.Günther Deschner2010-07-051-0/+3
| | | | Guenther
* 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>
* s3-waf: fix the build.Günther Deschner2010-07-051-1/+2
| | | | Guenther
* s3-winbind: Rename lookup_groupmem to msrpc_lookup_groupmem.Andreas Schneider2010-07-051-8/+9
|
* s3-winbind: Use rpc_trusted_domains in msrpc.Andreas Schneider2010-07-051-56/+35
|
* s3-winbind: Use rpc_trusted_domains in samr.Andreas Schneider2010-07-051-61/+20
|
* s3-winbind: Added a common rpc_trusted_domains function.Andreas Schneider2010-07-052-0/+76
|