Volker Lendecke
15d0d9bcfb
s3: Fix a (highly unlikly) memleak in set_local_machine_name()
2010-08-28 14:15:45 +02:00
Volker Lendecke
460597dea1
s3: Fix some DEBUGs
2010-08-28 14:14:36 +02:00
Volker Lendecke
755ef5cf11
s3: Remove smbd_server_fd() from set_local_machine_name()
2010-08-28 14:06:10 +02:00
Volker Lendecke
5e58156654
s3: Fix a typo
2010-08-28 13:10:58 +02:00
Volker Lendecke
0f83aa8650
s3: Remove the dependency of g_lock on procid_self
...
procid_self() references global vars, don't depend on them unnecessarily
2010-08-28 12:28:53 +02:00
Günther Deschner
8b4f5319ef
s3-build: use talloc_dict.h only where needed.
...
Guenther
2010-08-26 00:25:58 +02:00
Günther Deschner
7a05ca2c9c
s3-build: use dbwrap.h only where needed.
...
Guenther
2010-08-26 00:25:55 +02:00
Günther Deschner
ca765d2f50
s3-build: only include krb5 environment variables where required.
...
Guenther
2010-08-26 00:20:29 +02:00
Günther Deschner
c8f8110342
s3-build: only include libnscd.h where needed.
...
Guenther
2010-08-26 00:20:29 +02:00
Günther Deschner
2b41f421fd
s3-idmap: only include idmap headers where needed.
...
Guenther
2010-08-26 00:20:29 +02:00
Günther Deschner
7ff7eb0b52
s3-build: only include nsswitch header where needed.
...
Guenther
2010-08-26 00:20:28 +02:00
Günther Deschner
aba1bf4b5e
s3-build: only include memcache.h where needed.
...
Guenther
2010-08-26 00:20:28 +02:00
Günther Deschner
e978a3d3f4
s3-lsa: separate out init_lsa headers.
...
Guenther
2010-08-25 22:50:39 +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
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
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
b9353c65c0
s3: Fix serverid_register_msg_flags
...
Thanks, Andreas, for pointing this out! (How drunk have I been?...)
2010-08-18 13:33:24 +02:00
Andreas Schneider
937da4d141
s3-lib: Fixed a possible crash bug.
...
Volker please check!
2010-08-18 12:08:47 +02:00
Volker Lendecke
536d4d48bf
s3: Fix an uninitialized variable
2010-08-18 11:18:24 +02:00
Volker Lendecke
840b0f523b
s3: Move read_smb_length() to smbd/reply.c
2010-08-17 22:44:04 +02:00
Volker Lendecke
e65197e56f
s3: Remove smbd_server_fd from receive_smb_raw
...
This is only called from client code
2010-08-17 22:44:03 +02:00
Volker Lendecke
1f0afe1aed
s3: Lift smbd_server_fd() from read_smb_length_return_keepalive
2010-08-17 22:44:03 +02:00
Volker Lendecke
7d164498db
s3: Lift smbd_server_fd() from read_data()
...
All callers have appropriate debug messages themselves
2010-08-17 22:44:03 +02:00
Volker Lendecke
9671547d17
s3: Lift smbd_server_fd() from read_fd_with_timeout()
2010-08-17 22:44:03 +02:00
Günther Deschner
ff17516732
s3-util: remove unused variable.
...
Guenther
2010-08-17 13:04:32 +02:00
Volker Lendecke
40ae8b74b6
s3: Remove smbd_server_fd() from write_data()
...
This completely removes the DEBUG(0, ..) error message from write_data(). I've
gone through all callers of write_data() and made sure that they have their own
equivalent error message printing.
2010-08-17 12:46:53 +02:00
Volker Lendecke
0827e52b4e
s3: Simplify the logic of check_access by an early return
2010-08-16 21:33:22 +02:00
Volker Lendecke
13d1e39e47
s3: Fix some type-punned warnings
2010-08-16 13:36:27 +02:00
Volker Lendecke
96ae457023
s3: Remove get_client_fd()
2010-08-16 13:13:10 +02:00
Volker Lendecke
89b4c90577
s3: Remove smbd_messaging_context from dummysmbd
2010-08-08 18:09:33 +02:00
Volker Lendecke
77c63149a3
s3: Remove procid_self() from connections_fetch_entry()
2010-08-07 13:16:48 +02:00
Volker Lendecke
c9b654f581
s3: Remove smbd_messaging_context() from send_stat_cache_delete_message()
2010-08-07 13:16:48 +02:00
Volker Lendecke
4c6fd6043b
s3: Remove an unnecessary NULL check
...
Now that connections.tdb is not used for the broadcast messaging anymore,
connections_fetch_entry is only called for real connections.
2010-08-07 10:12:18 +02:00
Günther Deschner
0f8e032628
s3-netlogon: remove global include of netlogon.h.
...
This reduces precompiled headers by another 4 MB and also slightly speeds up the
build.
Guenther
2010-08-06 15:46:16 +02:00
Volker Lendecke
8f0c863732
s3: fail db_open_ctdb if ctdb is not around
2010-08-06 14:15:04 +02:00
Volker Lendecke
1cbe8b85ae
s3: Remove some pointless wrapper functions
2010-08-05 13:57:31 +02:00
Volker Lendecke
6cb5a0d097
s3: Remove some pointless wrapper functions
2010-08-05 13:57:31 +02:00
Andreas Schneider
ce2a086119
s3-popt: Only include popt-common.h when needed.
2010-08-05 12:08:31 +02:00
Günther Deschner
c136b84f0d
s3-secrets: only include secrets.h when needed.
...
Guenther
2010-08-05 10:12:25 +02:00
Günther Deschner
e7a6a3ec0d
s3: avoid global include of ads.h.
...
Guenther
2010-08-05 00:32:02 +02:00
Volker Lendecke
fb167a6028
s3: Fix a C++ warning
2010-08-01 18:16:19 +02:00
Volker Lendecke
9bf2d260aa
s3: Fix an uninitialized variable
2010-08-01 17:58:01 +02:00
Andreas Schneider
dc87fbcb0f
s3-lib: Remove redefinition of RL_COMPLETION_CAST.
...
This is already defined in replace/system/readline.h.
2010-07-28 10:39:22 +02:00
Andreas Schneider
c3186f22c5
s3-lib: Make the standard_mapping parameter const.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:15 -04:00
Jeremy Allison
6446c75f70
Fix several places where talloc_asprintf returns were unchecked.
...
Jeremy.
2010-07-27 02:38:14 -07:00
Volker Lendecke
b6c4eb3c52
s3: Log the correct core path on Linux if core_pattern is set
...
Contributions from Bill Hymas, IBM
2010-07-26 16:06:21 +02:00
Jeremy Allison
8df0f0e49e
Fix warning on 64-bit machines.
...
Jeremy.
2010-07-20 15:12:07 -07:00
Volker Lendecke
dc443ee6e9
s3: Fix two uninitialized variables
2010-07-20 20:35:39 +02:00