summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* lib/util/charset create _handle functions for convert_string() et alAndrew Bartlett2011-04-202-13/+0
| | | | | | | | | | | | | | This is now API compatible with the existing code in lib/util/charset lazy_initialize_conv() is no longer called as init_iconv() is called when the smb.conf is processed, and get_conv_handle() will auto-init with defaults if required. load_case_tables_library() is no longer requried as all binaries and libraries already load these in their entry points, as otherwise all the other string functions would fail. Andrew Bartlett
* libcli/auth Move PAC parsing and verification in common.Andrew Bartlett2011-04-205-337/+5
| | | | | | | | This uses the source3 PAC code (originally from Samba4) with some small changes to restore functionality needed by the torture tests, and to have a common API. Andrew Bartlett
* libcli/auth: Move more kerberos wrapping in commonAndrew Bartlett2011-04-201-228/+0
| | | | | | | These functions are required to get the krb5 PAC parsing and verfication in common. Andrew Bartlett
* s3-gse: Allow the GSSAPI wrapper to load a keytab using gss_krb5_import_cred()Andrew Bartlett2011-04-205-24/+32
| | | | | | | | | | | | This Heimdal function does not set the global state, and allows the GSSAPI server to progress further when compiled against Heimdal (such as in the top level build). The ability to specify a keytab has been removed from the API as it is unused, and and the Heimdal function (avoiding setting global variables) works with an open keytab. Andrew Bartlett
* selftest: Don't specify SELFTEST_TARGET as an env variableAndrew Bartlett2011-04-191-1/+1
| | | | | | | It is much more reliable to specify it as a direct parameter, and this is needed for the combined 'make test'. Andrew Bartlett
* s3-selftest Rename s3 DC environment to s3dcAndrew Bartlett2011-04-192-25/+25
| | | | | | | This should avoid a clash with the s4 DC environment in a future combined 'make test'. Andrew Bartlett
* Fix bug 8088 - rpccli_samr_chng_pswd_auth_crap segfaults if any input blobs ↵Jeremy Allison2011-04-191-12/+9
| | | | | | | | | | | | are null. Correct fix - ensure we have enough length, and correctly null out passed in structs if not. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Apr 19 00:17:08 CEST 2011 on sn-devel-104
* s3 waf: Mimic the autoconf check for netgrentKai Blin2011-04-181-3/+7
| | | | | | | | | | | | The autoconf check for netgrent headers makes sure that the compiler flag used (-Werror-implicit-function-declaration) is recognized by the compiler before using it for the test. Mimic this behaviour in the waf checks. Thanks to gd for noticing this. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Apr 18 16:24:15 CEST 2011 on sn-devel-104
* s3 autobuild: Fix CFLAG check for netgrent testsKai Blin2011-04-181-1/+1
| | | | | | | In 45ac8ffd I accidently added the wrong flag check. Fix this. Thanks to gd for noticing. Signed-off-by: Günther Deschner <gd@samba.org>
* s3: Fix the build of vfs_gpfs.cVolker Lendecke2011-04-181-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 18 14:40:07 CEST 2011 on sn-devel-104
* s3: Use \0 instead of NULL when 0-terminating a stringVolker Lendecke2011-04-171-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 17 12:26:15 CEST 2011 on sn-devel-104
* s3: guest sesssetup is only 13 wordsVolker Lendecke2011-04-161-1/+1
| | | | | | | (cherry picked from commit 69650a2aaa8649570261df7efccb35ad76d7cfc1) Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Apr 16 16:20:08 CEST 2011 on sn-devel-104
* s3: Remove an unused variableVolker Lendecke2011-04-161-3/+0
|
* s3: Use tevent_req_nterror properly in a few placesVolker Lendecke2011-04-161-12/+6
|
* s3-gse Allow GSSAPI wrapper to compile against HeimdalAndrew Bartlett2011-04-161-1/+3
|
* selftest Add binary mappings for samba3 selftestAndrew Bartlett2011-04-167-26/+37
| | | | | | | | | This will help us have a top level 'make test', working around the fact that the --eanble-s3build has different names for some of these binaries, without fixing the names forever (we can just change the mapping later). Andrew Bartlett
* selftest: Remove duplication between BUILDIR and BINDIRAndrew Bartlett2011-04-162-3/+3
| | | | | | Just have BINDIR, and have it default to ./bin Andrew Bartlett
* Trying to track down the SMB2 error. Add an invariant test.Jeremy Allison2011-04-161-1/+4
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 16 02:15:38 CEST 2011 on sn-devel-104
* Use handle based xattr set if available.Jeremy Allison2011-04-151-4/+5
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Apr 15 22:11:12 CEST 2011 on sn-devel-104
* Ensure vfs_chown_fsp() is safe against races.Jeremy Allison2011-04-153-6/+74
|
* s3-waf: only LIBNMB needs to linked against -lresolv.Günther Deschner2011-04-151-26/+26
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 15 17:02:16 CEST 2011 on sn-devel-104
* s3-build: fix the --with-profiling-data build on mac os x.Günther Deschner2011-04-151-0/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 15 13:33:43 CEST 2011 on sn-devel-104
* s3-waf: try to fix the non-ldap-but-krb5 build.Günther Deschner2011-04-153-3/+6
| | | | Guenther
* s3: Fix bug 8066, wrong output in smbgetVolker Lendecke2011-04-151-4/+9
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Apr 15 09:32:55 CEST 2011 on sn-devel-104
* s3-krb5 Move #ifdef HAVE_KRB5 above #include of libcli/auth/krb5_wrap.hAndrew Bartlett2011-04-151-1/+2
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 15 01:22:51 CEST 2011 on sn-devel-104
* Ensure change_dir_owner_to_parent() can't be raced.Jeremy Allison2011-04-141-1/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Apr 14 23:39:55 CEST 2011 on sn-devel-104
* Fix bug #8083 - "inherit owner = yes" doesn't interact correctly with ↵Jeremy Allison2011-04-141-3/+27
| | | | | | | | | | | vfs_acl_xattr or vfs_acl_tdb module. If "inherit owner = yes", pass in the directory owner and group owner as the target for CREATOR_OWNER and CREATOR_GROUP substitutions, and also as the owner and primary group of the new security descriptor being applied to the object. Jeremy.
* Optimization for change_file_owner_to_parent() and change_dir_owner_to_parent()Jeremy Allison2011-04-141-0/+21
| | | | Don't do the chown if the owner is already correct.
* s3: Fix Coverity ID 2471: UNINITVolker Lendecke2011-04-141-2/+1
| | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 16:22:58 CEST 2011 on sn-devel-104
* s3: Fix smbd with the async echo responderVolker Lendecke2011-04-141-10/+13
| | | | | | | | We need to read from the echo socket, pass the socket to read from down to the read routines Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Apr 14 15:34:36 CEST 2011 on sn-devel-104
* s3-build: make sure we pick up system tdb and talloc via #include.Günther Deschner2011-04-144-6/+6
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 12:56:28 CEST 2011 on sn-devel-104
* s3-includes: move readahead prototype to its only user.Günther Deschner2011-04-142-4/+4
| | | | Guenther
* s3: Fix a typoVolker Lendecke2011-04-141-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Apr 14 11:55:56 CEST 2011 on sn-devel-104
* lib/util Move alpha_strcpy() from s3 into common codeAndrew Bartlett2011-04-142-54/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 14 09:21:59 CEST 2011 on sn-devel-104
* libcli/auth Move krb5 wrapper functions from s3 into commonAndrew Bartlett2011-04-145-161/+5
| | | | | | | | | This requires a small rework of the build system to ensure that the correct #define statements are made in both the s3 and top level builds. We now define the various HAVE_ macros in config.h at all times, using heimdal_build/wscript_configure when that is in use. Andrew Bartlett
* s3-lib Remove very unused (#if 0) strncpynAndrew Bartlett2011-04-141-25/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 14 06:27:31 CEST 2011 on sn-devel-104
* s3-lib Remove unused string_appendAndrew Bartlett2011-04-142-23/+0
|
* s3-lib Move unix_strlower and unix_strupper to their only users.Andrew Bartlett2011-04-143-43/+41
|
* s3-lib Remove unused str_ascii_charnum()Andrew Bartlett2011-04-142-19/+0
|
* s3-lib Move strisnormal to it's only user in mangle_hash.cAndrew Bartlett2011-04-143-14/+13
|
* s3: only include smb profiling where needed.Günther Deschner2011-04-1423-9/+25
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 01:31:39 CEST 2011 on sn-devel-104
* s3-waf: add --with-profiling-data configure option.Günther Deschner2011-04-142-1/+6
| | | | Guenther
* s3: fix the build of --with-profiling-data.Günther Deschner2011-04-141-0/+1
| | | | Guenther
* s3-includes: only include acl prototypes when needed.Günther Deschner2011-04-147-24/+27
| | | | Guenther
* s3-includes: absolutely no need to globally include debugparse.hGünther Deschner2011-04-141-1/+0
| | | | Guenther
* s3-includes: include lib/util/debug.h headers in includes.h not smb.hGünther Deschner2011-04-142-4/+2
| | | | Guenther
* s3-includes: remove unused schema_types enum.Günther Deschner2011-04-141-3/+0
| | | | Guenther
* s3-includes: move struct pipe_open_rec to srvsvc rpc server.Günther Deschner2011-04-142-10/+9
| | | | Guenther
* Fix WAF build for sids2xids.Jeremy Allison2011-04-141-1/+4
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Apr 14 00:33:53 CEST 2011 on sn-devel-104
* s3: Add a test for sid2xidsVolker Lendecke2011-04-133-0/+62
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>