summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2011-04-24s3:rpc_client: map fault codes to NTSTATUS with dcerpc_fault_to_nt_status()Stefan Metzmacher6-17/+13
Most fault codes have a NTSTATUS representation, so use that. This brings the fault handling in common with the source4/librpc/rpc code, which make it possible to share more highlevel code, between source3 and source4 as the error checking can be the same now. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Apr 24 10:44:53 CEST 2011 on sn-devel-104
2011-04-24s3:winbindd: let winbindd_lookup_names() use dcerpc_binding_handle functionsStefan Metzmacher1-11/+20
metze
2011-04-24s3:winbindd: let winbindd_lookup_sids() dcerpc_binding_handle functionsStefan Metzmacher1-9/+19
metze
2011-04-24s3:includes: simplify INO_T_VAL macrosStefan Metzmacher1-3/+3
metze
2011-04-24s3:includes: simplify BIG_UINT macrosStefan Metzmacher1-5/+4
metze
2011-04-24s3:smbd/trans2: make use of BVAL() and remove ugly LARGE_SMB_OFF_T ifdef'sStefan Metzmacher1-28/+2
We rely on uint64_t for a long time now... metze
2011-04-23s3: Fix Coverity ID 2478, UNINITVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Apr 23 14:11:22 CEST 2011 on sn-devel-104
2011-04-23s3:include/vfs.h: remove very old hints for vfs modules with interface ↵Stefan Metzmacher1-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
2011-04-23Revert "s3-vfs: another attempt to fix the Tru64 build."Stefan Metzmacher3-8/+0
This reverts commit 52909271879d909533a86c3a448839debb6497c6. A better fix will follow. metze
2011-04-23s3:smbd/nttrans: make use of BVAL() and remove ugly LARGE_SMB_OFF_T ifdef'sStefan Metzmacher1-44/+5
We rely on uint64_t for a long time now... metze
2011-04-23s3:lib/sysquota: remove ugly LARGE_SMB_OFF_T ifdef'sStefan Metzmacher1-24/+0
We rely on uint64_t for a long time now... metze
2011-04-23s3:libsmb: make use of BVAL() and remove ugly LARGE_SMB_OFF_T ifdef'sStefan Metzmacher1-57/+5
We rely on uint64_t for a long time now... metze
2011-04-22s3: Fix Coverity ID 2047, UNUSED_VALUEVolker Lendecke1-2/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Apr 22 10:53:24 CEST 2011 on sn-devel-104
2011-04-22s3: Fix Coverity ID 2325, RESOURCE_LEAKVolker Lendecke1-0/+4
2011-04-22s3: Fix Coverity ID 2336, NULL_RETURNSVolker Lendecke1-0/+4
2011-04-22s3: Fix Coverity ID 2335, CHECKED_RETURNVolker Lendecke1-1/+3
2011-04-22s3: Fix Coverity ID 2307, NULL_RETURNSVolker Lendecke1-0/+4
2011-04-22s3: Fix Coverity ID 986, BUFFER_SIZE_WARNINGVolker Lendecke1-1/+1
strncpy can leave the destination unterminated
2011-04-22s3: Fix Coverity ID 1340, NULL_RETURNSVolker Lendecke1-0/+4
2011-04-22Cosmetic. Fix bad indentation.Jeremy Allison1-18/+18
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Apr 22 03:16:43 CEST 2011 on sn-devel-104
2011-04-21Fix compiler warning in debug message.Jeremy Allison1-2/+2
2011-04-21Remove duplicate code - move to parent_dirname() as a common function.Jeremy Allison1-25/+14
2011-04-22s3-vfs: another attempt to fix the Tru64 build.Günther Deschner3-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
2011-04-22s3-waf: try to fix the build on sunos5.Günther Deschner1-0/+2
Guenther
2011-04-22s3-waf: fix typo in comment.Günther Deschner1-1/+1
Guenther
2011-04-22Revert "s3-vfs: try to fix the Tru64 build."Günther Deschner1-6/+0
This reverts commit 1b7cd33291ec69f58a68396cf7406a6da3083df3.
2011-04-21s3-vfs: try to fix the Tru64 build.Günther Deschner1-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
2011-04-21s3-proto: move more rpc client prototypes to cli_pipe.h.Günther Deschner2-7/+9
Guenther
2011-04-21s3-vfs: rename open function to open_fn.Günther Deschner22-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
2011-04-20s3-build: move MAP_FILE define to the only place used.Günther Deschner2-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
2011-04-20s3-smbd: fix the AIX 5.3 build.Günther Deschner4-0/+9
(AIX defines open to be open64) Guenther
2011-04-20s3-spoolss: fix debug statement in spoolss_addprinterex_level_2().Günther Deschner1-2/+2
Guenther
2011-04-20lib/util/charset create _handle functions for convert_string() et alAndrew Bartlett2-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
2011-04-20libcli/auth Move PAC parsing and verification in common.Andrew Bartlett5-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
2011-04-20libcli/auth: Move more kerberos wrapping in commonAndrew Bartlett1-228/+0
These functions are required to get the krb5 PAC parsing and verfication in common. Andrew Bartlett
2011-04-20s3-gse: Allow the GSSAPI wrapper to load a keytab using gss_krb5_import_cred()Andrew Bartlett5-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
2011-04-19selftest: Don't specify SELFTEST_TARGET as an env variableAndrew Bartlett1-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
2011-04-19s3-selftest Rename s3 DC environment to s3dcAndrew Bartlett2-25/+25
This should avoid a clash with the s4 DC environment in a future combined 'make test'. Andrew Bartlett
2011-04-19Fix bug 8088 - rpccli_samr_chng_pswd_auth_crap segfaults if any input blobs ↵Jeremy Allison1-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
2011-04-18s3 waf: Mimic the autoconf check for netgrentKai Blin1-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
2011-04-18s3 autobuild: Fix CFLAG check for netgrent testsKai Blin1-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>
2011-04-18s3: Fix the build of vfs_gpfs.cVolker Lendecke1-0/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 18 14:40:07 CEST 2011 on sn-devel-104
2011-04-17s3: Use \0 instead of NULL when 0-terminating a stringVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 17 12:26:15 CEST 2011 on sn-devel-104
2011-04-16s3: guest sesssetup is only 13 wordsVolker Lendecke1-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
2011-04-16s3: Remove an unused variableVolker Lendecke1-3/+0
2011-04-16s3: Use tevent_req_nterror properly in a few placesVolker Lendecke1-12/+6
2011-04-16s3-gse Allow GSSAPI wrapper to compile against HeimdalAndrew Bartlett1-1/+3
2011-04-16selftest Add binary mappings for samba3 selftestAndrew Bartlett7-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
2011-04-16selftest: Remove duplication between BUILDIR and BINDIRAndrew Bartlett2-3/+3
Just have BINDIR, and have it default to ./bin Andrew Bartlett
2011-04-16Trying to track down the SMB2 error. Add an invariant test.Jeremy Allison1-1/+4
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 16 02:15:38 CEST 2011 on sn-devel-104