summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-samr: in _samr_QueryUserInfo() make sure to not return any info in error ↵Günther Deschner2009-05-151-1/+6
| | | | | | case. Guenther
* s3-samr: Fix samr access checks in _samr_SetDomainInfo().Günther Deschner2009-05-151-7/+22
| | | | Guenther
* s3-samr: Fix samr access checks in _samr_QueryDomainInfo().Günther Deschner2009-05-151-1/+31
| | | | Guenther
* s3-samr: use normal integer in r->in.level switch statements.Günther Deschner2009-05-151-29/+29
| | | | Guenther
* s3:build: rename OBJ collection for dbwrap_tool consistentlyMichael Adam2009-05-151-6/+6
| | | | Michael
* s3:first cut at dbwrap_tool - a tdb tool that is CTDB-aware.Michael Adam2009-05-152-0/+258
| | | | | | | | | | | | | | | | | | | | | | This tool (in contrast to tdbtool) reads Samba's configuration and if clustering = yes, it talks to CTDB instead of accessing the TDB data bases directly. This is done by simply using the dbwrap mechanim, just like the Samba daemons. This first version can read and write int32 and uint32 values and delete records from a (c)tdb database. More operations will follow. This tool can already be useful in CTDB environments, e.g. when "net idmap restore" fails to set the USER and GROUP HWM keys, because the methods are deliberately not implemented in idmap_tdb2.c. You can manually set the high water marks with "dbwrap_tool store idmap_tdb2.tdb 'USER HWM' int32 12345" and "dbwrap_tool store idmap_tdb2.tdb 'GROUP HWM' int32 67890" Michael
* Turn on SHORTNAME-TEST in torture.Jeremy Allison2009-05-141-1/+1
| | | | Jeremy.
* Make us pass SHORTNAME-TEST.Jeremy Allison2009-05-141-3/+17
| | | | Jeremy
* Make error message clearer on fail.Jeremy Allison2009-05-141-2/+2
| | | | Jeremy.
* Add a test showing what ascii values cause an NTFS volume toJeremy Allison2009-05-141-0/+133
| | | | | | create a mangled name. We don't pass this yet, but it's not run by default. Jeremy.
* Remove one use of mangle_is_8_3(), not needed.Jeremy Allison2009-05-141-4/+2
| | | | Jeremy.
* Fix the core of the SAMR access functions. This passes make test, butJeremy Allison2009-05-141-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.
* Maximum password length check too short in mount.cifsSteve French2009-05-141-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>
* s3-netapi: implement NetShutdownInit_r and NetShutdownAbort_r.Günther Deschner2009-05-141-2/+49
| | | | Guenther
* s3-netapi: add example code for NetShutdownInit and NetShutdownAbort.Günther Deschner2009-05-143-1/+183
| | | | Guenther
* s3-netapi: add NetShutdownInit and NetShutdownAbort to public API.Günther Deschner2009-05-141-0/+36
| | | | Guenther
* s3-netapi: add NetShutdownInit and NetShutdownAbort skeletons.Günther Deschner2009-05-144-1/+165
| | | | Guenther
* s3-build: re-run make samba3-idl.Günther Deschner2009-05-143-1/+91
| | | | Guenther
* s3-netapi: add NetShutdownInit and NetShutdownAbort.Günther Deschner2009-05-141-0/+21
| | | | | | | I know, they don't exist as such calls on windows but having them in libnetapi.so would be very handy. Guenther
* Fix a type-punned warningVolker Lendecke2009-05-141-1/+1
|
* Add some constVolker Lendecke2009-05-141-1/+2
|
* Fix some nonempty blank linesVolker Lendecke2009-05-141-23/+23
|
* What to do about debugging in a multi-threaded application?Derrell Lipman2009-05-131-7/+10
| | | | | | | - For now, punt. Any thread that requests debug to stderr will establish that for all threads. Derrell
* Thread-safe protection: libsmbclient initializationDerrell Lipman2009-05-131-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
* s3:libsmb: move read_smb_send/recv() static in async_smb.cStefan Metzmacher2009-05-133-92/+87
| | | | metze
* s3:libsmb: let cli_smb_chain_send() also return NTSTATUSStefan Metzmacher2009-05-133-12/+19
| | | | metze
* s3:libsmb: return NT_STATUS_CONNECTION_INVALID if the fd is -1Bo Yang2009-05-131-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
* Revert "s3: checkin .po for pam_winbind" because of license issue.Bo Yang2009-05-1318-2851/+0
| | | | This reverts commit 8611f03dbb0c45d8755725232508cff258b426d5.
* s3-printing: no need to define struct table_node 4 times.Günther Deschner2009-05-135-29/+10
| | | | Guenther
* s3-net: Fix bug 6340: don't segfault when cleartext trustdom pwd could not ↵Günther Deschner2009-05-131-1/+1
| | | | | | be retrieved. Guenther
* Remove an unused struct definitionVolker Lendecke2009-05-131-6/+0
|
* s3: checkin .po for pam_winbindBo Yang2009-05-1318-0/+2851
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* s3: return proper error code in cli_smb_req_sendBo Yang2009-05-136-39/+83
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* s3 onefs: Self-contend level2 oplocks on BRLZack Kirsch2009-05-122-2/+14
|
* s3 onefs: Fix ignore sacl parameterTim Prouty2009-05-124-24/+36
|
* s3: Fix strict locking with chained readsTim Prouty2009-05-121-22/+24
| | | | | Move the strict lock/unlock code down a level for reads to avoid calling chain_reply before the unlock.
* s3: Fallback to the legacy sid_to_(uid|gid) instead of returning NULL.Aravind Srinivasan2009-05-122-26/+4
| | | | This is very similar to be1dfff02d562e42a7847bd02fed8538630d3f41
* s3 auth: Make debug message louder and more usefulDan Sledz2009-05-121-2/+3
|
* s3-spoolss: move SPL_ARCH_X defines to IDL.Günther Deschner2009-05-131-8/+0
| | | | Guenther
* s3-netdomjoin-gui: prepare to call out for NetRenameMachineInDomain() to ↵Günther Deschner2009-05-131-1/+48
| | | | | | | | rename computers in domains. Guenther
* s3-netdomjoin-gui: Fix join prompt dialog test.Günther Deschner2009-05-121-1/+1
| | | | Guenther
* s3-netdomjoin-gui: use NetServerGetInfo() level 101 to get hostname.Günther Deschner2009-05-121-2/+7
| | | | Guenther
* s3-netdomjoin-gui: inspect the correct computername string beforeGünther Deschner2009-05-121-1/+1
| | | | | | enabling/disabling the change button. Guenther
* Clean up assignments to iov_base, ensure it's always cast to void *. This ↵Jeremy Allison2009-05-1211-32/+32
| | | | | | should quieten some warnings with picky compilers on the buildfarm. Jeremy.
* Fix the last few format arg missmatches I missed.Jeremy Allison2009-05-121-4/+4
| | | | Jeremy.
* Convert response.extra_data.data from malloc to tallocVolker Lendecke2009-05-128-98/+47
|
* Fix bug 6157Volker Lendecke2009-05-123-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.
* s3-printing: Fix vlp testprinter application.Günther Deschner2009-05-122-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
* s3:build: extend the support fo Debian GNU/kFooBar to kOpenSolarisMichael Adam2009-05-121-5/+5
| | | | | | As suggested by Robert Millan. Michael
* s3:build: support non-linux gnu portsMichael Adam2009-05-121-4/+16
| | | | | | | This is based on a patch by the debian package maintainers, adapted for the merged branch. Michael