summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-torture: Expand whoami test to confirm the user token.Andrew Bartlett2012-06-202-3/+45
| | | | | | | | | | | | | This uses the tokenGroups attribute on LDAP and the posix whoami call to confirm that user token matches between LDAP and CIFS. I have a seperate patch for the anonymous case, because this isn't consistent at this stage, and we need to study and fix that. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Jun 20 18:43:43 CEST 2012 on sn-devel-104
* s4-torture: Change the unix.whoami test to use torture_assert()Andrew Bartlett2012-06-201-24/+19
|
* ntdb: fix occasional abort in testing.Rusty Russell2012-06-201-1/+7
| | | | | | | | | | | | | | Occasionally, the capability test inserts multiple used records and they clash, but our primitive test layout engine doesn't handle hash clashes and aborts. Force a seed value which we know doesn't clash. Reported-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date(master): Wed Jun 20 16:50:20 CEST 2012 on sn-devel-104
* script/autobuild: delay start of small projects by 60 to 600 secondsStefan Metzmacher2012-06-202-8/+45
| | | | | | | | | This should reduce the startup load. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Jun 20 14:56:51 CEST 2012 on sn-devel-104
* script/autobuild: don't use 'make -j 4' for bin/smbtorture4Stefan Metzmacher2012-06-201-1/+1
| | | | | | The '4' has no effect there, which results in NUM_JOBS == NUM_CORES. metze
* script/autobuild: don't use make -j for small projectsStefan Metzmacher2012-06-201-11/+11
| | | | | | | The top level and source3 builds take much longer than the standalone projects, so there's no need to use 'make -j'. metze
* s3:smbd: fix the build with the --with-profiling-data optionStefan Metzmacher2012-06-202-3/+9
| | | | metze
* s3:include: add START/END_PROFILE_STAMP()Stefan Metzmacher2012-06-201-7/+23
| | | | | | This is needed when the profiling spans multiple functions. metze
* wafsamba/irixcc: next try to inject '-c99' the the buildStefan Metzmacher2012-06-201-1/+3
| | | | metze
* Revert "wafsamba/irixcc: add '-c99' option to cc"Stefan Metzmacher2012-06-201-3/+1
| | | | | | | | This reverts commit 59daf91f397c2ebef283ab9e6ecaabbe9dc58fc5. Doesn't seem to work :-( metze
* idmap-hash: Attempt to fix Coverity ID 709116 Overflowed array index writeVolker Lendecke2012-06-201-1/+6
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Wed Jun 20 12:53:59 CEST 2012 on sn-devel-104
* idmap-hash: Fix Coverity ID 709117 Dereference before null checkVolker Lendecke2012-06-201-5/+5
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* idmap-hash: Fix Coverity 709118 Dereference before null checkVolker Lendecke2012-06-201-5/+5
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* idmap-hash: Adapt mapfile_read_line to README.CodingVolker Lendecke2012-06-201-1/+2
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* idmap-hash: Fix Coverity ID 709119 Unused pointer valueVolker Lendecke2012-06-201-1/+1
| | | | | | "p" is overwritten further down again before it's first use Signed-off-by: Michael Adam <obnox@samba.org>
* VERSION: Move on to beta3!Andrew Bartlett2012-06-201-2/+2
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Jun 20 10:14:37 CEST 2012 on sn-devel-104
* VERSION: Mark as the beta2 releaseAndrew Bartlett2012-06-201-1/+1
|
* WHATNEW: Update for the beta2 releaseAndrew Bartlett2012-06-201-0/+17
|
* s4-idmap: Add parameter 'idmap_ldb:use rfc2307' and correct implementation ↵Andrew Bartlett2012-06-203-22/+51
| | | | errors
* s4-provision: Remove --slapd-path optionAndrew Bartlett2012-06-203-9/+6
| | | | | | | | This just leaves a default enough for the test code to still check the start of the provision. This may well be removed in future, and we wish to reduce the extra options to provision. Andrew Bartlett
* s4-provision: Remove last unused remenants of the 'sid generator' configurationAndrew Bartlett2012-06-202-19/+3
| | | | | | This was part of the now-abandoned S4 AD LDAP backend project. Andrew Bartlett
* Revert "s4-libcli: Remove unused finddcs_nbt"Andrew Bartlett2012-06-201-0/+311
| | | | | | | | | | | | | | | | This reverts commit 06c90cb6f55701effa4cbafaf189a4de8471949b. There is genuine interest in using this currently unused code, so put it back into the tree to avoid folks having to rewrite it. It should be carefully hooked back into libnet at some point, and possibly told how to talk to the s3 nmbd socket if nbt_server isn't running. The wscript patches are skipped, due to the way the extra dep interacted with the build system. When used, this will be resolved. Andrew Bartlett
* Fix unused variable warnings.Jeremy Allison2012-06-191-6/+2
| | | | | Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Jun 19 21:17:51 CEST 2012 on sn-devel-104
* Fix unused variable warnings.Jeremy Allison2012-06-191-5/+12
|
* Remove unused variables.Jeremy Allison2012-06-191-8/+0
|
* Remove unused variables and code.Jeremy Allison2012-06-191-9/+0
|
* Fix more "set but not used" warnings.Jeremy Allison2012-06-191-6/+3
|
* Fix a bunch of "set but not used" warnings.Jeremy Allison2012-06-191-14/+7
|
* s3: We can depend on pthreadpool nowVolker Lendecke2012-06-192-43/+0
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Add a dummy implementation for the pthreadpool APIVolker Lendecke2012-06-193-7/+189
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* Remove unused code now we set the correct command codes.Jeremy Allison2012-06-192-11/+0
|
* Fix warning: variable ‘status’ set but not used.Jeremy Allison2012-06-191-2/+1
|
* Fix warnings using %lu to print a 64-bit value (should by %llu).Jeremy Allison2012-06-191-2/+2
|
* Fix warning: variable ‘in_start_time’ set but not used.Jeremy Allison2012-06-191-2/+0
|
* Fix warning: variable ‘XX’ set but not used.Jeremy Allison2012-06-191-7/+0
|
* waf: Fix make etagsVolker Lendecke2012-06-191-1/+1
| | | | | | | | | | | vlendec@host:~/git/s3> make etags WAF_MAKE=1 ./buildtools/bin/waf etags Running: etags $(find /home/vlendec/git/s3 -name "*.[ch]" | egrep -v \.inst\.) sh: /usr/bin/etags: Argument list too long 'etags' finished successfully (0.368s) Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jun 19 18:56:53 CEST 2012 on sn-devel-104
* selftest/flapping: mark samba4.nss.test using winbind as flakeyStefan Metzmacher2012-06-191-1/+1
| | | | | | | | | | | | | | | | | | | | [1427/1518 in 1h12m39s] samba4.nss.test using winbind(member) UNEXPECTED(failure): samba4.nss.test using winbind(member).run nsstest(member) REASON: _StringException: _StringException: ERROR setpwent: NSS_STATUS=-1 1 (nss_errno=0) ERROR getpwent: NSS_STATUS=-1 1 (nss_errno=0) ERROR endpwent: NSS_STATUS=-1 1 (nss_errno=0) ERROR setgrent: NSS_STATUS=-1 1 (nss_errno=0) ERROR getgrent: NSS_STATUS=-1 1 (nss_errno=0) ERROR endgrent: NSS_STATUS=-1 1 (nss_errno=0) ERROR Non existent user gave error -1 ERROR Non existent uid gave error -1 ERROR Non existent group gave error -1 ERROR Non existent gid gave error -1 total_errors=10 This seems to happen in all environments metze
* Revert "s3-lib Remove unused sys_fcntl_long()"Stefan Metzmacher2012-06-192-0/+15
| | | | | | | | This reverts commit 846a697e20478798288afb43cdb7a9f389a15c69. This is still used in source3/smbd/oplock_irix.c metze
* s3:rpc_server/lsasd: remove dependency to libgen.h and basename()Stefan Metzmacher2012-06-191-8/+11
| | | | metze
* s3-auth: make_new_system_info_session() now does not query nssAndrew Bartlett2012-06-191-1/+3
| | | | | | | | | | | | | | | This is important in some situations where these queries might be costly LDAP queries and is just not required for the system token. This is because the system token should be just the NT AUTHORITY\SYSTEM user and just enough unix info to allow the token to be used. Andrew Bartlett Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Tue Jun 19 13:34:28 CEST 2012 on sn-devel-104
* s3-auth: make_new_system_info_session() not query passdbAndrew Bartlett2012-06-191-47/+39
| | | | | | | | | | | | This is important in some situations where these queries might be costly LDAP queries and is just not required for the system token. This is because the system token should be just the NT AUTHORITY\SYSTEM user and just enough unix info to allow the token to be used. We query only NSS to get the name of sec_initial_uid() Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-auth: inline make_session_info functions into only callersAndrew Bartlett2012-06-191-74/+35
| | | | | | | | | With the split up to handle system specially, there is no need for these static helper functions any more. Andrew Bartlett Signed-off-by: Andreas Schneider <asn@samba.org>
* auth: Use only security_token_is_system to determine that a user is SYSTEMAndrew Bartlett2012-06-194-12/+1
| | | | | | | | | | This removes the duplication on how to detect that a user is system in Samba now that the smbd system account is also only SID_NT_SYSTEM we can use the same check everywhere. Andrew Bartlett Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-auth: Fix system token as just being SID_NT_SYSTEMAndrew Bartlett2012-06-191-0/+3
| | | | | | | | This removes the SID matching the sec_initial_uid(). Andrew Bartlett Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-spoolss: delete_drivers should be called as the connecting user.Andreas Schneider2012-06-191-1/+1
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* ntdb: add autoconf support.Rusty Russell2012-06-193-0/+96
| | | | | | | | | | | This is copied from tdb; we build the utilities, but as nothing else links against it, we shouldn't be adding anything to the normal samba binary sizes. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date(master): Tue Jun 19 07:31:06 CEST 2012 on sn-devel-104
* ntdb: put it back into the build.Rusty Russell2012-06-193-2/+10
| | | | | | | This doesn't do anything with it yet, just wires it back into the build. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* libcli: use tdb directly, not tdb_compat.Rusty Russell2012-06-191-2/+2
| | | | | Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib/tdb_wrap: use tdb directly, not tdb_compat.Rusty Russell2012-06-196-8/+8
| | | | | Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* ldb: use tdb directly, not tdb_compat.Rusty Russell2012-06-199-27/+30
| | | | | Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>