summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Remove an unnecessary ()Volker Lendecke2012-06-211-1/+1
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Thu Jun 21 16:05:30 CEST 2012 on sn-devel-104
* s3: Use string_term_tdb_data where appropriateVolker Lendecke2012-06-211-2/+1
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3: Fix const warningsVolker Lendecke2012-06-211-2/+3
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s4-provision: Give better clues on what Samba needs for s3fs ACL supportAndrew Bartlett2012-06-211-0/+15
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Jun 21 14:07:55 CEST 2012 on sn-devel-104
* s3-rpcclient: support all known netr_LogonControl2 variants properlyAlexander Bokovoy2012-06-211-3/+35
| | | | | | | | | | | logonctrl2 function in rpcclient did not allow to specify arguments to most of netr_LogonControl2 function code points. In addition, make descriptive help to show what is expected at each function code point. Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Thu Jun 21 12:11:19 CEST 2012 on sn-devel-104
* s3:move serverid_equal() to serverid.cMichael Adam2012-06-213-21/+23
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:util: rename procid_equal() to serverid_equal()Michael Adam2012-06-2116-27/+27
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:util: remove (now) unused cluster_id_equal()Michael Adam2012-06-212-8/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbstatus: use procid_equal() instead of equivalent cluster_id_equal()Michael Adam2012-06-211-1/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Remove a user of procid_is_meVolker Lendecke2012-06-211-1/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Remove a user of procid_is_meVolker Lendecke2012-06-211-1/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:util: reformat procid_equal() to adhere to coding guidelinesMichael Adam2012-06-211-7/+14
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:util: also compare the unique_id in procid_equal().Michael Adam2012-06-211-0/+3
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-torture: Expand whoami test to confirm the user token.Andrew Bartlett2012-06-201-1/+1
| | | | | | | | | | | | | 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
* 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
* 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>
* 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
|
* 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-192-5/+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-192-0/+55
| | | | | | | | | | | 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
* lib/tdb_wrap: use tdb directly, not tdb_compat.Rusty Russell2012-06-191-1/+1
| | | | | Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* TDB2: make SAMBA use tdb1 again for the moment.Rusty Russell2012-06-197-130/+1
| | | | | | | Otherwise the following surgery will break the SAMBA build and testsuite. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* Revert "s3: temporary hack to make the waf build work withouth autotools ↵Björn Jacke2012-06-181-1/+0
| | | | | | | | | | being required" This reverts commit f1becfa27b6b4e35541e6df0cafdec0ad47d2e3f. The hack was actually only required due to a configuration issue in our buildfarm scripts. Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Mon Jun 18 20:07:08 CEST 2012 on sn-devel-104
* s3:autoconf: add -Iautoconf -Iautoconf/source3 at configure stageStefan Metzmacher2012-06-182-3/+2
| | | | | | There're some configure tests which require this. metze
* s3:Makefile.in: remove pidl generated files with 'make realdistclean'Stefan Metzmacher2012-06-181-0/+1
| | | | metze
* s3:Makefile.in: fix 'make realdistclean' after moving generated files to ↵Stefan Metzmacher2012-06-181-1/+1
| | | | | | autoconf/ metze
* s3:Makefile.in: fix 'make clean' after moving generated files to autoconf/Stefan Metzmacher2012-06-181-6/+5
| | | | metze
* s3:autogen.sh: fix autoconf/lib/param/param_proto.h locationStefan Metzmacher2012-06-181-1/+1
| | | | metze