summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix bug 6361: Make --rcfile work in smbgetVolker Lendecke2009-05-151-1/+1
| | | | Thanks to j scott <gl@arlut.utexas.edu> for reporting!
* mount.cifs: directly include sys/stat.h in mtab.cJeff Layton2009-05-151-0/+1
| | | | | | | | This file is mysteriously getting included when built via the makefile, but when you try to build mtab.o by hand it fails to build. Directly include it to remove any ambiguity. Signed-off-by: Jeff Layton <jlayton@redhat.com>
* s3-netdomjoin-gui: allow to switch between workgroups/domains with the same ↵Günther Deschner2009-05-151-2/+4
| | | | | | name. Guenther
* s3-netdomjoin-gui: cosmetic fix for empty hostnames.Günther Deschner2009-05-151-0/+1
| | | | Guenther
* s3-netdomjoin-gui: only gray out labels when not root and not connecting toGünther Deschner2009-05-151-3/+3
| | | | | | remote machines. Guenther
* s3:swat: hide "config backend" from swatMichael Adam2009-05-151-1/+1
| | | | Michael
* s3:param: prevent includes from being dumped in dump_*() functions.Michael Adam2009-05-152-3/+7
| | | | | | This fixes bug #4271: testparm should not print includes. Michael
* s3:build: add install-dbwrap_tool targetMichael Adam2009-05-151-0/+3
| | | | Michael
* s3:build dbwrap_tool with make everythingMichael Adam2009-05-151-1/+2
| | | | Michael
* errormap: Remove wbc -> NTSTATUS error map for now. It is not used.Jelmer Vernooij2009-05-152-43/+0
| | | | | | | This was breaking the Samba 4 installation since it added dependencies on header files we weren't installing. Confirmed with Kai.
* s3-samr: Fix samr access checks in _samr_SetUserInfo().Günther Deschner2009-05-151-14/+109
| | | | Guenther
* s3-samr: Fix samr access checks in _samr_QueryUserInfo().Günther Deschner2009-05-151-3/+71
| | | | Guenther
* 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>
* Add extensive tests for str_list function behaviourAndrew Bartlett2009-05-151-15/+343
|
* Remove two unused variablesVolker Lendecke2009-05-141-2/+0
|
* 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
|
* s4:nbtd Use str_list_make_single() to turn iname->wins_server into a listAndrew Bartlett2009-05-141-1/+1
|
* s4:libnet Use str_list_make_single() in resolv codeAndrew Bartlett2009-05-141-1/+1
|
* dsdb:schema Use str_list_make_empty() to create an empty listAndrew Bartlett2009-05-141-5/+5
|
* s4:torture Use str_list_make_single where appropriateAndrew Bartlett2009-05-141-10/+10
|
* Add new functions and tests: str_list_make_empty(), str_list_make_single()Andrew Bartlett2009-05-143-0/+85
|
* 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
* Take advantage of the easier-to-use thread macrosDerrell Lipman2009-05-131-8/+0
| | | | | | | - Now that we initialize for the non-thread-safe case in the macro, there's no need to do it here too. Derrell
* Make the thread functions a bit easier to useDerrell Lipman2009-05-133-8/+12
| | | | | | | | | | | - Create separate macros for lock and unlock so that it's easier to identify which request is being made. - Initialize *ponce in the SMB_THREAD_ONCE macro in the non-thread-safe case, rather than requiring each init function to determine if it's in the non-thread-safe case and manually initialize. 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.
* Allow a parameter to smb_thread_once's initialization functionDerrell Lipman2009-05-134-15/+28
| | | | | | | | | | | | - This should make life easier for ourselves. We're no longer constrained to the semantics of pthread_once, so let's allow passing a parameter to the initialization function. Some of Samba's init functions return a value. Although I haven't searched, I suspect that some of the init functions require in input parameters. The parameter added here can be used for input, output, or both, as necessary... or ignored, as is now done in talloc_stackframe_init(). Derrell