1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

33626 Commits

Author SHA1 Message Date
Günther Deschner
0f10349f14 s3-build: only link in dfs client code where needed.
Guenther
2010-08-25 23:04:42 +02:00
Günther Deschner
09b973f6bb s3-waf: only link in dfs client code where needed.
Guenther
2010-08-25 23:04:32 +02:00
Günther Deschner
a66bb0d8ec s3-build: only link in drsuapi client code where needed.
Guenther
2010-08-25 23:04:21 +02:00
Günther Deschner
bd22ef79c2 s3-waf: only link in drsuapi client code where needed.
Guenther
2010-08-25 23:04:10 +02:00
Günther Deschner
4dbb682bc5 s3-build: only link in ntsvcs client code where needed.
Guenther
2010-08-25 23:03:54 +02:00
Günther Deschner
1a00dd4aa7 s3-waf: only link in ntsvcs client code where needed.
Guenther
2010-08-25 23:03:41 +02:00
Günther Deschner
50df1c6f87 s3-build: only link in winreg client code where needed.
Guenther
2010-08-25 23:03:23 +02:00
Günther Deschner
ad855c0970 s3-waf: only link in winreg client code where needed.
Guenther
2010-08-25 23:03:07 +02:00
Günther Deschner
2af95fc88b s3-build: only link in eventlog client code where needed.
Guenther
2010-08-25 22:56:59 +02:00
Günther Deschner
dc663295d1 s3-build: only link in spoolss client code where needed.
Shrinks a lot of binaries by 1 MB each.

Guenther
2010-08-25 22:56:29 +02:00
Günther Deschner
72f30e82e4 s3-waf: only link in spoolss client code where needed.
Shrinks a lot of binaries by 1 MB each.

Guenther
2010-08-25 22:55:16 +02:00
Günther Deschner
e978a3d3f4 s3-lsa: separate out init_lsa headers.
Guenther
2010-08-25 22:50:39 +02:00
Michael Adam
be598569bb s3:smbd: add nfs quota support to the linux-non-sysquota code
This is based on the implementation for solaris and FreeBSD.
It makes rpc calls out to the nfs server to retrieve quota
information.
2010-08-25 14:05:51 +02:00
Michael Adam
3add3aa17d s3:smbd: add a nfs backend for sysquotas.
This module is based on the Solaris/FreeBSD implementation
of NFS quotas in the quotas.c module.

It implements the SMB_USER_QUOTA_TYPE query of the
get_quotas call. The other types and the set_quota call
are not implemented.
2010-08-25 14:05:51 +02:00
Andreas Schneider
2eff142cce s3-build: Use a wrapper script to run the tests.
This fixes the buildfarm and returns the correct exit code of selftest.
2010-08-25 12:39:52 +02:00
Volker Lendecke
d3a0ff311e s3: Make char_flags and base_reverse const arrays
This moves those arrays from dynamic to static, shared memory, removing them
from globals.c.

I did it by dumping the result of init_tables() with dump_data(). Some massage
by an editor macro made it the initializer.
2010-08-24 22:45:41 +02:00
Volker Lendecke
2d81721a3f s3: Move "trans_num" to smbd_server_connection 2010-08-24 21:06:41 +02:00
Volker Lendecke
1808dd0a85 s3: Make srv_send_smb take an sconn instead of a sock fd 2010-08-24 21:06:41 +02:00
Björn Jacke
aa830cde6a pam: fix unused variable warning 2010-08-24 11:18:34 +02:00
Günther Deschner
898c612335 s3-dcerpc: avoid talloc_move on schannel creds in cli_rpc_pipe_open_schannel_with_key().
Initially, the schannel creds were talloc memduped, then, during the netlogon
creds client merge (baf7274fed2f1ae7a9e3a57160bf5471566e636c) they were first
talloc_referenced and then later (53765c81f726a8c056cc4e57004592dd489975c9)
talloc_moved.

The issue with using talloc_move here is that users of that function in winbind
will only be able to have two schanneled connections, as the cached schannel
credentials pointer from the netlogon pipe will be set to NULL. Do a deep copy
of the struct instead.

Guenther
2010-08-24 02:04:27 +02:00
Jeremy Allison
33060f67be Final part of fix for bug #7636 - winbind internal error, backtrace.
Ensure cm_get_schannel_creds() returns NTSTATUS.

Jeremy.
2010-08-23 16:53:45 -07:00
Simo Sorce
a782a80d2f s3-dcerpc: Allocate structure members on the right context 2010-08-23 17:11:32 -04:00
Volker Lendecke
a16a56f601 s3: PAM_RHOST and PAM_TTY are enums on FreeBSD 2010-08-23 22:59:56 +02:00
Andrew Bartlett
abcfc11497 s3:pdbtest Fix command name of pdbtest
Signed-off-by: Michael Adam <obnox@samba.org>
2010-08-22 23:20:40 +02:00
Andreas Schneider
0d9460a368 s3-build: Add a test-buildfarm target to stay UNIX Makefile compatible. 2010-08-22 23:04:28 +02:00
Andrew Bartlett
d8734c3c03 s3:param Clarify parameter name on init_globals()
This parameter is used with the registry backend to
cause the globals table to be re-initialised.

Andrew Bartlett

Signed-off-by: Michael Adam <obnox@samba.org>
2010-08-22 22:54:59 +02:00
Volker Lendecke
8531921e3d s3: Turn two macros into functions 2010-08-22 22:42:21 +02:00
Volker Lendecke
177e394f93 s3: Pass the rhost through smb_pam_accountcheck 2010-08-22 22:42:21 +02:00
Volker Lendecke
265f0b7745 s3: Rename auth.c:backends to auth_backends 2010-08-22 22:42:21 +02:00
Volker Lendecke
6ff012a777 s3: Fix some nonemtpy blank lines 2010-08-22 22:42:21 +02:00
Volker Lendecke
de95124935 s3: Move check_access to cgi.c, its only user 2010-08-22 14:28:34 +02:00
Volker Lendecke
70c5bed4b2 s3: Replace calls to check_access by allow_access
We already have both the name and address of the client stored now
2010-08-22 14:28:34 +02:00
Kai Blin
45ac8ffdb4 s3: Fix netgrent configure checks for compilers not supporting -Werror-implicit-function-declaration
This should fix bug 7620.
2010-08-21 12:05:40 +02:00
Volker Lendecke
554b1140a8 s3: Fix bug 7635 2010-08-21 11:55:46 +02:00
Jeremy Allison
af081ec4a1 Fix bug 7627 - smbclient ignores "-I" when used with "-L", fails name resolution.
Still needs some more work to fix missing netbios name issues, but fixes
underlying issue of IP address being ignored.

Jeremy.
2010-08-20 15:57:08 -07:00
Jeremy Allison
22a0168504 Fix const warning. 2010-08-20 15:56:37 -07:00
Volker Lendecke
f35811bfe0 s3: Use sconn->client_id in session_claim 2010-08-20 21:28:44 +02:00
Stefan Metzmacher
5d7c27cb5b s3:librpc: make dcerpc_read_ncacn_packet_send/recv() available
metze
2010-08-20 18:09:26 +02:00
Stefan Metzmacher
922f33521e s3:Makefile.in: use python with -u to disable stdin/out caching
metze
2010-08-20 18:09:23 +02:00
Stefan Metzmacher
c9621a8c00 s3:winbindd: fix error handling in wb_next_grent_fetch_done()
We should not use 'result' uninitialized.

metze
2010-08-20 14:23:41 +02:00
Michael Adam
34092c11b4 s3:loadparm: make lp_load_ex static. We have wrappers for external callers. 2010-08-20 11:14:06 +02:00
Jim McDonough
0ec0095d1a s3-libsmbclient Convert dos error codes to NTstatus in async libsmbclient.
DOS error codes were being lost with the conversion to async
libsmbclient.  If we're passing around NTSTATUS internally,
let's just convert it when we get it.

DOS ACCESS_DENIED on nautilus was not prompting for other credentials,
because it was not being mapped.
2010-08-19 15:49:31 -04:00
Simo Sorce
cbe9f879af s3-ads: Fix wrong test in if statement 2010-08-19 11:28:12 -04:00
Günther Deschner
861566c6d0 s3-waf: fix the build.
Guenther
2010-08-19 15:24:51 +02:00
Günther Deschner
4349027b63 s3-cli: fix uninitialized variable.
Volker, please check.

Guenther
2010-08-19 14:08:06 +02:00
Günther Deschner
28ba023b4c s3-idmap: fix uninitialized variable in idmap_tdb_sids_to_unixids_action().
Michael, please check.

Guenther
2010-08-19 14:08:06 +02:00
Günther Deschner
f6ac919a91 s3-libsmb: fix some uninitialized variables.
Volker, please check.

Guenther
2010-08-19 12:36:23 +02:00
Surbhi Palande
9b8f7a2a01 -ENOTSUP translates to NT_STATUS_NOT_SUPPORTED
https://launchpad.net/bugs/276472

This patch adds the translation of Unix Error code -ENOTSUP to NT Error Code
NT_STATUS_NOT_SUPPORTED. The absense of this translation wrongly sends back to
the client a STATUS_DENIED message in samba3.

Signed-off-by: Surbhi Palande <surbhi.palande@canonical.com>
2010-08-19 12:11:26 +02:00
Volker Lendecke
ba706d696b s3: Remove smb_pam_accountcheck from the auth modules
We go through the same check in auth/auth.c line 287 after the module has done
its job. So we don't have to do that check twice.
2010-08-19 11:54:36 +02:00
Jeremy Allison
da2554117e Fix bug 7626 - Typo in configure samba_cv__CC_NEGATIVE_ENUM_VALUES two underscores.
Noticed by bj@sernet.de.
2010-08-18 16:25:15 -07:00