summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-rpcclient: exit early in cmd_spoolss_enum_data() when there is a failure.Günther Deschner2010-11-171-0/+9
| | | | Guenther
* developer: only do the C++ reserved name checking on LinuxAndrew Tridgell2010-11-171-1/+1
| | | | | this prevents us breaking the solaris build, but will still mean we prevent C++ vars in our code
* s3: Remove a reference to "winbindd_cli_state" from append_auth_dataVolker Lendecke2010-11-171-13/+14
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 17 12:02:34 UTC 2010 on sn-devel-104
* s3: Remove a reference to "winbindd_cli_state" from append_info3_as_txtVolker Lendecke2010-11-171-28/+29
|
* s3: Remove a reference to "winbindd_cli_state" from append_afs_tokenVolker Lendecke2010-11-171-8/+6
|
* s3: Remove a reference to "winbindd_cli_state" from append_info3_as_ndrVolker Lendecke2010-11-171-4/+5
|
* s3: Remove a reference to "winbindd_cli_state" from append_unix_usernameVolker Lendecke2010-11-171-6/+6
|
* s3: Remove a reference to "winbindd_cli_state" from append_auth_dataVolker Lendecke2010-11-171-11/+11
|
* "bool ? true : false" is a bit pointlessVolker Lendecke2010-11-171-2/+1
|
* s3: Move parse_sidlist to the only calling fileVolker Lendecke2010-11-173-44/+42
|
* s3: Remove some unused codeVolker Lendecke2010-11-172-23/+0
|
* waf: added --git-local-changes configure optionAndrew Tridgell2010-11-161-5/+5
| | | | | | | | | | | | | if you use --git-local-changes then the version number that waf extracts from git will have a '+' on the end if you have local changes, as determined by running 'git diff'. This used to be the default, but unfortunately it is far too slow on some systems. On a NFS build system I was using the first line of configure took about 2 minutes. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Nov 16 01:51:54 UTC 2010 on sn-devel-104
* net: Add and fix some German translationAndré Hentschel2010-11-151-4/+4
| | | | | | | | | typo spotted by Michael Wood Signed-off-by: Kai Blin <kai@samba.org> Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Mon Nov 15 21:44:39 UTC 2010 on sn-devel-104
* s3: string_to_sid does thorough syntax checkingVolker Lendecke2010-11-142-4/+4
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Nov 14 14:07:29 UTC 2010 on sn-devel-104
* s3: Avoid two calls cli_errstrVolker Lendecke2010-11-141-4/+9
|
* s3: Convert cli_get_posix_fs_info() to cli_trans()Volker Lendecke2010-11-143-64/+45
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Nov 14 10:24:02 UTC 2010 on sn-devel-104
* Fix the unexpected.tdb database problem. Change nmbd to store theJeremy Allison2010-11-149-19/+195
| | | | | | | | | | | | | | | | | | | | | transaction id of packets it was requested to send via a client, and only store replies that match these ids. On the client side change clients to always attempt to ask nmbd first for name_query and node_status calls, and then fall back to doing socket calls if we can't talk to nmbd (either nmbd is not running, or we're not root and cannot open the messaging tdb's). Fix readers of unexpected.tdb to delete packets they've successfully read. This should fix a long standing problem of unexpected.tdb growing out of control in noisy NetBIOS envioronments with lots of bradcasts, yet still allow unprivileged client apps to work mostly as well as they already did (nmblookup for example) in an environment when nmbd isn't running. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sun Nov 14 05:22:45 UTC 2010 on sn-devel-104
* Move error reporting of messaging context creation fail intoJeremy Allison2010-11-147-23/+24
| | | | | | | | the daemons themselves. Allows client utilities to silently fail to create a messaging context due to access denied on the messaging tdb (which I need for the following patch). Jeremy.
* s3: Rename GIT_COMMIT_{TIME,DATE} to COMMIT_{TIME,DATE}.Jelmer Vernooij2010-11-123-13/+13
| | | This avoids some special casing in the waf code.
* samba_version: When working from git checkout, display git revision SHA1 ratherJelmer Vernooij2010-11-121-1/+1
| | | | than Bazaar revision ids.
* s3: Well... Fix a stupid errorVolker Lendecke2010-11-111-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Nov 11 18:54:00 UTC 2010 on sn-devel-104
* s3: Make cli_set_ea_fnum return NTSTATUSVolker Lendecke2010-11-113-8/+12
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Nov 11 16:59:27 UTC 2010 on sn-devel-104
* s3: Make cli_set_ea_path return NTSTATUSVolker Lendecke2010-11-114-13/+25
|
* s3: Remove two pointless variablesVolker Lendecke2010-11-111-5/+4
|
* s3: Convert cli_set_ea() to cli_trans()Volker Lendecke2010-11-111-40/+35
|
* s3: Convert cli_dfs_get_referral to cli_transVolker Lendecke2010-11-112-32/+31
|
* s3: cli_dfs_check_error does not need to depend on cli->inbufVolker Lendecke2010-11-111-10/+13
|
* s3: Make split_dfs_path return boolVolker Lendecke2010-11-111-11/+27
|
* s3: Remove some dead codeVolker Lendecke2010-11-111-3/+0
|
* s3: Untangle an if-expressionVolker Lendecke2010-11-111-1/+2
|
* Fix bug #7791 - gvfsd-smb (Gnome vfs) fails to copy files from a SMB share ↵Jeremy Allison2010-11-111-5/+2
| | | | | | | | | | | | | | using SMB signing. The underlying problem is that the old code invoked by cli_write() increments cli->mid directly when issuing outstanding writes. This should now be done only in libsmb/clientgen.c to make metze's new signing engine works correctly. Just deleting this code fixes the problem. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Nov 11 02:50:08 UTC 2010 on sn-devel-104
* Add test that detects problems in the SMB signing code when run through ↵Jeremy Allison2010-11-102-12/+36
| | | | | | | | | | cli_write() (which doesn't use the new async methods). Unfortunately, and I think due to the socket wrapper code, this doesn't detect the failure on the build farm, but running the RW-SIGNING test separately against a Samba or Windows server using signing does. Jeremy.
* s3-spoolss: fix spoolss GetPrinterData behaviourDavid Disseldorp2010-11-101-1/+1
| | | | | | | | | | | | | | | | Windows sends spoolss GetPrinterData requests with an offered buffer size of zero, Model and TrayFormTable data is commonly requested in this way. Samba's GetPrinterData response for the above case includes the correct error code (WERR_MORE_DATA), however the type field is set to REG_NONE. This causes Windows (seen on XP and 2k3) to give up on the request. If the type field is retained (not set to REG_NONE) when responding with WERR_MORE_DATA, Windows reissues the GetPrinterData request with an increased offered buffer size. Signed-off-by: Günther Deschner <gd@samba.org>
* s3/time_audit: fix a change that was just for debuggin purposeѕBjörn Jacke2010-11-101-2/+2
| | | | | Autobuild-User: Björn Jacke <bjacke@samba.org> Autobuild-Date: Wed Nov 10 12:28:41 UTC 2010 on sn-devel-104
* Fix memleak I accidently introduced when reading from tdb.Jeremy Allison2010-11-101-0/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 10 01:56:21 UTC 2010 on sn-devel-104
* Fix bug 7781 - Samba transforms ShareName to lowercase (sharename) when ↵Jeremy Allison2010-11-1012-110/+195
| | | | | | | | | adding new share via MMC Change the find_service() interface to not depend on fstring, and create a useable talloc-based interface. Jeremy.
* Ensure we check the return from make_user_info before dereferencing the ↵Jeremy Allison2010-11-101-2/+2
| | | | | | value returned by it. Jeremy.
* Remove fstring from map_username. Create a more sane interface than the ↵Jeremy Allison2010-11-1010-101/+208
| | | | | | called-parameter-is-modified. Jeremy.
* s3/vfs_time_audit: use monotonic clock for time deltasBjörn Jacke2010-11-101-334/+445
| | | | | Autobuild-User: Björn Jacke <bjacke@samba.org> Autobuild-Date: Wed Nov 10 01:13:22 UTC 2010 on sn-devel-104
* s3: Quieten a bogus error messageVolker Lendecke2010-11-091-3/+1
| | | | | | | | | | | This happens if you set "auth methods = winbind" without a fallback method. The return NT_STATUS_LOGON_FAILURE; is not strictly require here, because we fall through to the equivalent statement a few lines down, but it makes the code a bit clearer IMO. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Nov 9 20:15:59 UTC 2010 on sn-devel-104
* Second part of fix for bug #7777 - When requesting lookups for BUILTIN sids, ↵Jeremy Allison2010-11-081-1/+3
| | | | | | | | | | | | winbindd allocates new uids/gids in error. Ensure we return after calling passdb for SID lookups for which we are authoritative. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Nov 8 22:24:34 UTC 2010 on sn-devel-104
* First part of fix for bug #7777 - When requesting lookups for BUILTIN sids, ↵Jeremy Allison2010-11-081-0/+10
| | | | | | | | | winbindd allocates new uids/gids in error. Ensure idmap_init_passdb_domain() correctly initialized the default domain first. Jeremy.
* s3/configure: fix typo and warningBjörn Jacke2010-11-081-1/+1
| | | | | Autobuild-User: Björn Jacke <bjacke@samba.org> Autobuild-Date: Mon Nov 8 20:58:20 UTC 2010 on sn-devel-104
* s3-waf: add idmap_autorid to the build.Günther Deschner2010-11-082-1/+10
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Nov 8 14:17:27 UTC 2010 on sn-devel-104
* s3: Fix an uninitialized variableVolker Lendecke2010-11-081-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Nov 8 13:22:06 UTC 2010 on sn-devel-104
* s3: Build idmap_autorid by defaultVolker Lendecke2010-11-081-0/+1
|
* s3:idmap: add a new ID mapping module autoridChristian Ambach2010-11-083-0/+476
| | | | | | | | | | | | This is an initial implementation of the idmap_autorid module. It works similar to the idmap_rid module but requires less configuration. It will automatically pick ranges for each domain, so you do not have to bother any more about adding an idmap configuration for all of the domains in the forest. This is very easy to use and to configure and much more deterministic and faster than idmap_tdb, the typical choice of Samba users up to now.
* s3:winbind add wcache_tdc_fetch_domainbysidChristian Ambach2010-11-082-0/+53
| | | | add a function to lookup a domain in the winbind cache by domain SID
* s3: Put some parentheses around conditionalsVolker Lendecke2010-11-081-2/+2
|
* s3: Consistently use stdbool types in new codeVolker Lendecke2010-11-081-11/+11
|