summaryrefslogtreecommitdiffstats
path: root/source3/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Remove smbd_server_fd()Volker Lendecke2010-08-291-5/+0
| | | | | | | | | This breaks the perfcol_onefs() build. Tim, Steve, this use of smbd_server_fd is replacable by calls into substitute.c. I don't have a onefs environment around to build a fix, so I've decided to insert an #error, making it not compile. The fix should be pretty obvious, you can get the socket data via "%I" and "%i" substitutions.
* s3: Set the client_id in substitute.c onceVolker Lendecke2010-08-291-12/+33
| | | | | This never changes during a client connection's life, so we can set it once.
* s3: Fix a (highly unlikly) memleak in set_local_machine_name()Volker Lendecke2010-08-281-4/+4
|
* s3: Fix some DEBUGsVolker Lendecke2010-08-281-2/+2
|
* s3: Remove smbd_server_fd() from set_local_machine_name()Volker Lendecke2010-08-281-15/+0
|
* s3: Fix a typoVolker Lendecke2010-08-281-1/+1
|
* s3: Remove the dependency of g_lock on procid_selfVolker Lendecke2010-08-281-9/+13
| | | | procid_self() references global vars, don't depend on them unnecessarily
* s3-build: use talloc_dict.h only where needed.Günther Deschner2010-08-261-0/+1
| | | | Guenther
* s3-build: use dbwrap.h only where needed.Günther Deschner2010-08-2611-0/+11
| | | | Guenther
* s3-build: only include krb5 environment variables where required.Günther Deschner2010-08-261-0/+1
| | | | Guenther
* s3-build: only include libnscd.h where needed.Günther Deschner2010-08-261-0/+4
| | | | Guenther
* s3-idmap: only include idmap headers where needed.Günther Deschner2010-08-262-0/+11
| | | | Guenther
* s3-build: only include nsswitch header where needed.Günther Deschner2010-08-261-0/+1
| | | | Guenther
* s3-build: only include memcache.h where needed.Günther Deschner2010-08-263-0/+3
| | | | Guenther
* s3-lsa: separate out init_lsa headers.Günther Deschner2010-08-255-0/+5
| | | | Guenther
* s3:smbd: add a nfs backend for sysquotas.Michael Adam2010-08-252-0/+274
| | | | | | | | | 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.
* s3: Fix some nonemtpy blank linesVolker Lendecke2010-08-221-2/+2
|
* s3: Move check_access to cgi.c, its only userVolker Lendecke2010-08-221-81/+0
|
* s3: Replace calls to check_access by allow_accessVolker Lendecke2010-08-221-0/+4
| | | | We already have both the name and address of the client stored now
* -ENOTSUP translates to NT_STATUS_NOT_SUPPORTEDSurbhi Palande2010-08-191-1/+3
| | | | | | | | | | 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>
* s3: Fix serverid_register_msg_flagsVolker Lendecke2010-08-181-4/+2
| | | | Thanks, Andreas, for pointing this out! (How drunk have I been?...)
* s3-lib: Fixed a possible crash bug.Andreas Schneider2010-08-181-0/+2
| | | | Volker please check!
* s3: Fix an uninitialized variableVolker Lendecke2010-08-181-3/+2
|
* s3: Move read_smb_length() to smbd/reply.cVolker Lendecke2010-08-171-42/+0
|
* s3: Remove smbd_server_fd from receive_smb_rawVolker Lendecke2010-08-171-25/+4
| | | | This is only called from client code
* s3: Lift smbd_server_fd() from read_smb_length_return_keepaliveVolker Lendecke2010-08-171-13/+24
|
* s3: Lift smbd_server_fd() from read_data()Volker Lendecke2010-08-171-19/+1
| | | | All callers have appropriate debug messages themselves
* s3: Lift smbd_server_fd() from read_fd_with_timeout()Volker Lendecke2010-08-171-43/+44
|
* s3-util: remove unused variable.Günther Deschner2010-08-171-1/+0
| | | | Guenther
* s3: Remove smbd_server_fd() from write_data()Volker Lendecke2010-08-171-20/+1
| | | | | | 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.
* s3: Simplify the logic of check_access by an early returnVolker Lendecke2010-08-161-34/+32
|
* s3: Fix some type-punned warningsVolker Lendecke2010-08-161-1/+3
|
* s3: Remove get_client_fd()Volker Lendecke2010-08-163-10/+13
|
* s3: Remove smbd_messaging_context from dummysmbdVolker Lendecke2010-08-081-5/+0
|
* s3: Remove procid_self() from connections_fetch_entry()Volker Lendecke2010-08-071-1/+2
|
* s3: Remove smbd_messaging_context() from send_stat_cache_delete_message()Volker Lendecke2010-08-071-1/+2
|
* s3: Remove an unnecessary NULL checkVolker Lendecke2010-08-071-1/+1
| | | | | Now that connections.tdb is not used for the broadcast messaging anymore, connections_fetch_entry is only called for real connections.
* s3-netlogon: remove global include of netlogon.h.Günther Deschner2010-08-064-3/+4
| | | | | | | This reduces precompiled headers by another 4 MB and also slightly speeds up the build. Guenther
* s3: fail db_open_ctdb if ctdb is not aroundVolker Lendecke2010-08-061-0/+5
|
* s3: Remove some pointless wrapper functionsVolker Lendecke2010-08-051-19/+0
|
* s3: Remove some pointless wrapper functionsVolker Lendecke2010-08-051-17/+1
|
* s3-popt: Only include popt-common.h when needed.Andreas Schneider2010-08-054-0/+4
|
* s3-secrets: only include secrets.h when needed.Günther Deschner2010-08-055-0/+5
| | | | Guenther
* s3: avoid global include of ads.h.Günther Deschner2010-08-052-5/+1
| | | | Guenther
* s3: Fix a C++ warningVolker Lendecke2010-08-011-1/+1
|
* s3: Fix an uninitialized variableVolker Lendecke2010-08-011-1/+1
|
* s3-lib: Remove redefinition of RL_COMPLETION_CAST.Andreas Schneider2010-07-281-7/+0
| | | | This is already defined in replace/system/readline.h.
* s3-lib: Make the standard_mapping parameter const.Andreas Schneider2010-07-271-1/+1
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* Fix several places where talloc_asprintf returns were unchecked.Jeremy Allison2010-07-271-0/+13
| | | | Jeremy.
* s3: Log the correct core path on Linux if core_pattern is setVolker Lendecke2010-07-261-2/+55
| | | | Contributions from Bill Hymas, IBM