summaryrefslogtreecommitdiff
path: root/source4/torture/unix
AgeCommit message (Collapse)AuthorFilesLines
2012-06-24selftest: Test unix.whoami with kerberos on plugin_s4_dcAndrew Bartlett1-16/+4
This also tests the comparison with LDAP on anonymous connections and marks this as knownfail, while we investigate the correct behaviour here. Andrew Bartlett
2012-06-20s4-torture: Expand whoami test to confirm the user token.Andrew Bartlett1-2/+44
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
2012-06-20s4-torture: Change the unix.whoami test to use torture_assert()Andrew Bartlett1-24/+19
2011-05-06libcli/smb Move cifs posix helper functions and headers in commonAndrew Bartlett1-4/+0
unix_perms_to_wire() was a duplicate symbol in the top level build. Andrew Bartlett
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij1-3/+3
This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2-12/+12
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-1/+1
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij2-2/+0
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell2-7/+0
This reduces compile time somewhat.
2009-02-02s4:torture: s/private/private_dataStefan Metzmacher1-2/+2
metze
2008-12-12Manually marshall dom_sid, so we can use a fixed size array forJelmer Vernooij1-5/+0
dom_sid.sub_auths rather than a dynamically allocated one. This makes it possible to use the same DCE/RPC object code for Samba 3 and Samba 4's DCE/RPC parsers and allows copying sids more easily (since they no longer contain any pointers). The cost of having additional manual marshalling code is limited (~35 additional lines of C code).
2008-11-02Remove another use of global_loadparm.Jelmer Vernooij2-2/+4
Eventually, we should move some of these parameters into a separate struct (perhaps into smb_transport_options?), to avoid the long lists of parameters.
2008-11-02Fix the build.Jelmer Vernooij2-2/+2
2008-10-24Eliminate another instance of global_loadparm.Jelmer Vernooij2-2/+4
2008-09-30Cope with API changes.Jelmer Vernooij2-2/+6
2008-09-09UNIX-WHOAMI: fix compiler warningsStefan Metzmacher1-2/+2
metze (This used to be commit ec5d8ddadb76ff0d2cb72872e4d145a7527f0ec6)
2008-04-27Move subunit infrastructure code into lib/torture.Jelmer Vernooij1-1/+1
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
2008-04-21Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce2-3/+3
the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-0/+1
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-01-03r26654: libcli/smb_composite: Rather than specifying each of the gazillion ↵Jelmer Vernooij2-2/+9
options for SMB individually, just specify the smbcli_options struct. (This used to be commit 8a97886e24a4b969aa91409c06f423b71a45f6eb)
2008-01-02r26644: Janitorial: Pass resolve_context explicitly to various SMB ↵Jelmer Vernooij2-2/+6
functions, should help fix the build for OpenChange. (This used to be commit 385ffe4f4cc9a21a760c0f00410f56e2592fd507)
2007-12-21r26409: Pass smb ports along.Jelmer Vernooij2-4/+7
(This used to be commit 2833f320de1f1fd39c710ad0a61c3fa1bb1df31f)
2007-12-21r26238: Add a loadparm context parameter to torture_context, remove more ↵Jelmer Vernooij1-25/+15
uses of global_loadparm. (This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij2-31/+31
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25430: Add the loadparm context to all parametric options.Jelmer Vernooij1-2/+2
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-2/+2
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r24728: Use more stock torture functions.Jelmer Vernooij1-5/+5
(This used to be commit da3a7ee407a2b41bd01f45072cad12bf29250b33)
2007-10-10r24631: Fix up format warnings, found on my Fedora 7 x86_64 workstation.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 3d74d178bfd89127ff387939e848b240e638cc35)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell3-9/+6
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r22188: fix formating bugStefan Metzmacher1-1/+1
metze (This used to be commit e40912a2fd011351c6f0e7112f2984763bc53cb6)
2007-10-10r21951: Hopefully fix valgrind warning.James Peach1-0/+1
(This used to be commit e5d0487f3196da4e5aa79a6f285b3f3d23d303ca)
2007-10-10r21949: After discussion with the Apple and Linux client maintainers,James Peach1-2/+2
changing the FindFirst response for the UNIX_INFO2 level to include a length field before the name. The name is not required to be null terminated. the lenght field does not count any null. (This used to be commit eef672bfff6b112ceceec2a58c78042352e83276)
2007-10-10r21710: Add client support for the UNIX_INFO2 info level in the QueryFile,James Peach2-1/+460
QueryPath and FindFirst calls. Add a new torture test to verify the server side. (This used to be commit 7f56da2d1fa0718e5282bb4aea7d9a63a62f0bc7)
2007-10-10r21668: Add SMB_QFS_POSIX_WHOAMI to trans2.h so it's easy to find. AddJames Peach1-12/+13
convenience API to create an anonymous credential. Don't clobber cmdline_credentials in the UNIX-WHOAMI test. (This used to be commit 73cea4e0c66f57057ed12b07bbb94b4e783ba6bf)
2007-10-10r21659: Rename functions.James Peach2-2/+2
(This used to be commit 6e645577a60bc79431a962b6522e8592b7c50e98)
2007-10-10r21648: Start a UNIX extensions test set. Add a test for the SMBWhoami query.James Peach2-0/+381
(This used to be commit ca89683dc28104a8cee23b0c1428350f22a68c99)