summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-05-14Fix the core of the SAMR access functions. This passes make test, butJeremy Allison1-197/+156
usrmgr fails against it. The core of this patch is to move all the access mask setup into the _samr_OpenXXX functions, and then have each specific function check the attached access_mask against the required bits. We can then go through the MS-SAMR doc and match things up. Signed off by Guenther, and writespace cleanup removal by Volker. Jeremy.
2009-05-14Maximum password length check too short in mount.cifsSteve French1-2/+2
Windows allows up to 127 byte passwords, and we using a 64 byte limit in most places and a 16 byte limit when using the "pass=" mount option Acked-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
2009-05-14s3-netapi: implement NetShutdownInit_r and NetShutdownAbort_r.Günther Deschner1-2/+49
Guenther
2009-05-14s3-netapi: add example code for NetShutdownInit and NetShutdownAbort.Günther Deschner3-1/+183
Guenther
2009-05-14s3-netapi: add NetShutdownInit and NetShutdownAbort to public API.Günther Deschner1-0/+36
Guenther
2009-05-14s3-netapi: add NetShutdownInit and NetShutdownAbort skeletons.Günther Deschner4-1/+165
Guenther
2009-05-14s3-build: re-run make samba3-idl.Günther Deschner3-1/+91
Guenther
2009-05-14s3-netapi: add NetShutdownInit and NetShutdownAbort.Günther Deschner1-0/+21
I know, they don't exist as such calls on windows but having them in libnetapi.so would be very handy. Guenther
2009-05-14Fix a type-punned warningVolker Lendecke1-1/+1
2009-05-14Add some constVolker Lendecke1-1/+2
2009-05-14Fix some nonempty blank linesVolker Lendecke1-23/+23
2009-05-13What to do about debugging in a multi-threaded application?Derrell Lipman1-7/+10
- For now, punt. Any thread that requests debug to stderr will establish that for all threads. Derrell
2009-05-13Thread-safe protection: libsmbclient initializationDerrell Lipman1-94/+133
- Begin converting init functions to use SMB_THREAD_ONCE. libsmbclient module-wide initialization is now moved into a separate function and called via SMB_THREAD_ONCE. - libsmbclient counts users (contexts) so that it can release global resources when the last context is closed. That count of contexts is now protected by a mutex. Derrell
2009-05-13s3:libsmb: move read_smb_send/recv() static in async_smb.cStefan Metzmacher3-92/+87
metze
2009-05-13s3:libsmb: let cli_smb_chain_send() also return NTSTATUSStefan Metzmacher3-12/+19
metze
2009-05-13s3:libsmb: return NT_STATUS_CONNECTION_INVALID if the fd is -1Bo Yang1-5/+7
This way we can destinguish between requests which failed because the connection broke after they were triggered and the requests which are started on an already broken connection. This also moves the check to cli_smb_req_iov_send() where it really belongs. metze
2009-05-13Revert "s3: checkin .po for pam_winbind" because of license issue.Bo Yang18-2851/+0
This reverts commit 8611f03dbb0c45d8755725232508cff258b426d5.
2009-05-13s3-printing: no need to define struct table_node 4 times.Günther Deschner5-29/+10
Guenther
2009-05-13s3-net: Fix bug 6340: don't segfault when cleartext trustdom pwd could not ↵Günther Deschner1-1/+1
be retrieved. Guenther
2009-05-13Remove an unused struct definitionVolker Lendecke1-6/+0
2009-05-13s3: checkin .po for pam_winbindBo Yang18-0/+2851
Signed-off-by: Bo Yang <boyang@samba.org>
2009-05-13s3: return proper error code in cli_smb_req_sendBo Yang6-39/+83
Signed-off-by: Bo Yang <boyang@samba.org>
2009-05-12s3 onefs: Self-contend level2 oplocks on BRLZack Kirsch2-2/+14
2009-05-12s3 onefs: Fix ignore sacl parameterTim Prouty4-24/+36
2009-05-12s3: Fix strict locking with chained readsTim Prouty1-22/+24
Move the strict lock/unlock code down a level for reads to avoid calling chain_reply before the unlock.
2009-05-12s3: Fallback to the legacy sid_to_(uid|gid) instead of returning NULL.Aravind Srinivasan2-26/+4
This is very similar to be1dfff02d562e42a7847bd02fed8538630d3f41
2009-05-12s3 auth: Make debug message louder and more usefulDan Sledz1-2/+3
2009-05-13s3-spoolss: move SPL_ARCH_X defines to IDL.Günther Deschner1-8/+0
Guenther
2009-05-13s3-netdomjoin-gui: prepare to call out for NetRenameMachineInDomain() to ↵Günther Deschner1-1/+48
rename computers in domains. Guenther
2009-05-12s3-netdomjoin-gui: Fix join prompt dialog test.Günther Deschner1-1/+1
Guenther
2009-05-12s3-netdomjoin-gui: use NetServerGetInfo() level 101 to get hostname.Günther Deschner1-2/+7
Guenther
2009-05-12s3-netdomjoin-gui: inspect the correct computername string beforeGünther Deschner1-1/+1
enabling/disabling the change button. Guenther
2009-05-12Clean up assignments to iov_base, ensure it's always cast to void *. This ↵Jeremy Allison11-32/+32
should quieten some warnings with picky compilers on the buildfarm. Jeremy.
2009-05-12Fix the last few format arg missmatches I missed.Jeremy Allison1-4/+4
Jeremy.
2009-05-12Convert response.extra_data.data from malloc to tallocVolker Lendecke8-98/+47
2009-05-12Fix bug 6157Volker Lendecke3-1/+60
This patch picks the alphabetically smallest one of the multi-value attribute "uid". This fixes a regression against 3.0 and also becomes deterministic.
2009-05-12s3-printing: Fix vlp testprinter application.Günther Deschner2-31/+30
Jeremy, we cannot just access cache_path() here without calling lp_load and friends as well as parsing configfile from the commandline in order to make "make test/selftest" find the correct conffile with path, etc. I just changed it to pass the target tdbfilename as an argument, ok ? Guenther
2009-05-12s3:build: extend the support fo Debian GNU/kFooBar to kOpenSolarisMichael Adam1-5/+5
As suggested by Robert Millan. Michael
2009-05-12s3:build: support non-linux gnu portsMichael Adam1-4/+16
This is based on a patch by the debian package maintainers, adapted for the merged branch. Michael
2009-05-12s3:loadparm: free the file_list at the start of loadparmMichael Adam1-0/+2
This should reduce the waste of memory when using "config file" or "config backend". It also reduces the risk of triggering reloads due to some old unused files being checked. Michael
2009-05-12s3:loadparm: refactor freeing of file_list out into free_file_lists()Michael Adam1-13/+21
Michael
2009-05-12s3:proto.h: remove old param/params.c prototypeMichael Adam1-7/+0
Michael
2009-05-11Fix warning about unused label with no sendfile.Jeremy Allison1-1/+2
Jeremy.
2009-05-11Fix a bunch of compiler warnings about wrong format types.Jeremy Allison18-57/+61
Should make Solaris 10 builds look cleaner. Jeremy.
2009-05-11Hopefully fix the buildfarm. Add some debug level 10 messagesJeremy Allison2-5/+20
I used to track down the vlp problem, change the vlp test printer not to use a static path of /tmp/vlp.tdb for the virtual print database (as this will eventually fill up). Cause it to use a virtual print database inside the cachepath. Jeremy.
2009-05-12s3-samr: implement _samr_RidToSid().Günther Deschner1-10/+30
Guenther
2009-05-12s3-samr: Let _samr_TestPrivateFunctionsDomain() return ↵Günther Deschner1-1/+0
NT_STATUS_NOT_SUPPORTED to make RPC-SAMR happy. Guenther
2009-05-11Fix some nonempty blank linesVolker Lendecke1-37/+37
2009-05-11Correct typos; semicolons instead of commasDerrell Lipman1-7/+7
2009-05-11s3-samr: Fix Bug #5859, renaming of samr objects failed due to samr ↵Günther Deschner1-0/+3
setuserinfo access checks. Torture test to follow... Guenther