summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Fix Coverity ID 2478, UNINITVolker Lendecke2011-04-231-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Apr 23 14:11:22 CEST 2011 on sn-devel-104
* s3:include/vfs.h: remove very old hints for vfs modules with interface ↵Stefan Metzmacher2011-04-231-8/+0
| | | | | | | | | | | | version < 8 The interface version is at 28 now, and this defines cause problem on some systems, e.g. Tru64 defines vfs_init in the system headers. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Apr 23 12:07:35 CEST 2011 on sn-devel-104
* Revert "s3-vfs: another attempt to fix the Tru64 build."Stefan Metzmacher2011-04-233-8/+0
| | | | | | | | This reverts commit 52909271879d909533a86c3a448839debb6497c6. A better fix will follow. metze
* s3:smbd/nttrans: make use of BVAL() and remove ugly LARGE_SMB_OFF_T ifdef'sStefan Metzmacher2011-04-231-44/+5
| | | | | | We rely on uint64_t for a long time now... metze
* s3:lib/sysquota: remove ugly LARGE_SMB_OFF_T ifdef'sStefan Metzmacher2011-04-231-24/+0
| | | | | | We rely on uint64_t for a long time now... metze
* s3:libsmb: make use of BVAL() and remove ugly LARGE_SMB_OFF_T ifdef'sStefan Metzmacher2011-04-231-57/+5
| | | | | | We rely on uint64_t for a long time now... metze
* s3: Fix Coverity ID 2047, UNUSED_VALUEVolker Lendecke2011-04-221-2/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Apr 22 10:53:24 CEST 2011 on sn-devel-104
* s3: Fix Coverity ID 2325, RESOURCE_LEAKVolker Lendecke2011-04-221-0/+4
|
* s3: Fix Coverity ID 2336, NULL_RETURNSVolker Lendecke2011-04-221-0/+4
|
* s3: Fix Coverity ID 2335, CHECKED_RETURNVolker Lendecke2011-04-221-1/+3
|
* s3: Fix Coverity ID 2307, NULL_RETURNSVolker Lendecke2011-04-221-0/+4
|
* s3: Fix Coverity ID 986, BUFFER_SIZE_WARNINGVolker Lendecke2011-04-221-1/+1
| | | | strncpy can leave the destination unterminated
* s3: Fix Coverity ID 1340, NULL_RETURNSVolker Lendecke2011-04-221-0/+4
|
* Cosmetic. Fix bad indentation.Jeremy Allison2011-04-221-18/+18
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Apr 22 03:16:43 CEST 2011 on sn-devel-104
* Fix compiler warning in debug message.Jeremy Allison2011-04-211-2/+2
|
* Remove duplicate code - move to parent_dirname() as a common function.Jeremy Allison2011-04-211-25/+14
|
* s3-vfs: another attempt to fix the Tru64 build.Günther Deschner2011-04-223-0/+8
| | | | | | | | | vfsops struct on Tru64 has a vfs_init function pointer. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 22 01:49:59 CEST 2011 on sn-devel-104
* s3-waf: try to fix the build on sunos5.Günther Deschner2011-04-221-0/+2
| | | | Guenther
* s3-waf: fix typo in comment.Günther Deschner2011-04-221-1/+1
| | | | Guenther
* Revert "s3-vfs: try to fix the Tru64 build."Günther Deschner2011-04-221-6/+0
| | | | This reverts commit 1b7cd33291ec69f58a68396cf7406a6da3083df3.
* s3-vfs: try to fix the Tru64 build.Günther Deschner2011-04-211-0/+6
| | | | | | | | | Volker, Jeremy please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 21 19:14:00 CEST 2011 on sn-devel-104
* s3-proto: move more rpc client prototypes to cli_pipe.h.Günther Deschner2011-04-212-7/+9
| | | | Guenther
* s3-vfs: rename open function to open_fn.Günther Deschner2011-04-2122-32/+26
| | | | | | | | | | | This should finally fix the AIX build and allow to remove AIX specific ifdefs. Guenther Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Apr 21 02:01:20 CEST 2011 on sn-devel-104
* s3-build: move MAP_FILE define to the only place used.Günther Deschner2011-04-202-4/+4
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Apr 20 19:16:47 CEST 2011 on sn-devel-104
* s3-smbd: fix the AIX 5.3 build.Günther Deschner2011-04-204-0/+9
| | | | | | (AIX defines open to be open64) Guenther
* s3-spoolss: fix debug statement in spoolss_addprinterex_level_2().Günther Deschner2011-04-201-2/+2
| | | | Guenther
* 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