summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2010-08-25s3:smbd: add nfs quota support to the linux-non-sysquota codeMichael Adam1-0/+198
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-25s3:smbd: add a nfs backend for sysquotas.Michael Adam5-0/+303
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-25s3-build: Use a wrapper script to run the tests.Andreas Schneider1-24/+5
This fixes the buildfarm and returns the correct exit code of selftest.
2010-08-24s3: Make char_flags and base_reverse const arraysVolker Lendecke3-74/+178
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-24s3: Move "trans_num" to smbd_server_connectionVolker Lendecke3-5/+4
2010-08-24s3: Make srv_send_smb take an sconn instead of a sock fdVolker Lendecke10-31/+31
2010-08-24pam: fix unused variable warningBjörn Jacke1-1/+1
2010-08-24s3-dcerpc: avoid talloc_move on schannel creds in ↵Günther Deschner1-3/+7
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-23Final part of fix for bug #7636 - winbind internal error, backtrace.Jeremy Allison1-11/+18
Ensure cm_get_schannel_creds() returns NTSTATUS. Jeremy.
2010-08-23s3-dcerpc: Allocate structure members on the right contextSimo Sorce1-1/+1
2010-08-23s3: PAM_RHOST and PAM_TTY are enums on FreeBSDVolker Lendecke2-3/+26
2010-08-22s3:pdbtest Fix command name of pdbtestAndrew Bartlett1-1/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2010-08-22s3-build: Add a test-buildfarm target to stay UNIX Makefile compatible.Andreas Schneider1-4/+2
2010-08-22s3:param Clarify parameter name on init_globals()Andrew Bartlett1-4/+4
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-22s3: Turn two macros into functionsVolker Lendecke1-6/+24
2010-08-22s3: Pass the rhost through smb_pam_accountcheckVolker Lendecke5-8/+11
2010-08-22s3: Rename auth.c:backends to auth_backendsVolker Lendecke1-4/+4
2010-08-22s3: Fix some nonemtpy blank linesVolker Lendecke2-12/+11
2010-08-22s3: Move check_access to cgi.c, its only userVolker Lendecke3-82/+81
2010-08-22s3: Replace calls to check_access by allow_accessVolker Lendecke4-10/+17
We already have both the name and address of the client stored now
2010-08-21s3: Fix netgrent configure checks for compilers not supporting ↵Kai Blin1-1/+3
-Werror-implicit-function-declaration This should fix bug 7620.
2010-08-21s3: Fix bug 7635Volker Lendecke1-2/+4
2010-08-20Fix bug 7627 - smbclient ignores "-I" when used with "-L", fails name ↵Jeremy Allison1-2/+3
resolution. Still needs some more work to fix missing netbios name issues, but fixes underlying issue of IP address being ignored. Jeremy.
2010-08-20Fix const warning.Jeremy Allison2-2/+2
2010-08-20s3: Use sconn->client_id in session_claimVolker Lendecke1-10/+2
2010-08-20s3:librpc: make dcerpc_read_ncacn_packet_send/recv() availableStefan Metzmacher1-0/+9
metze
2010-08-20s3:Makefile.in: use python with -u to disable stdin/out cachingStefan Metzmacher1-1/+1
metze
2010-08-20s3:winbindd: fix error handling in wb_next_grent_fetch_done()Stefan Metzmacher1-1/+9
We should not use 'result' uninitialized. metze
2010-08-20s3:loadparm: make lp_load_ex static. We have wrappers for external callers.Michael Adam2-14/+7
2010-08-19s3-libsmbclient Convert dos error codes to NTstatus in async libsmbclient.Jim McDonough2-8/+2
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-19s3-ads: Fix wrong test in if statementSimo Sorce2-1/+3
2010-08-19s3-waf: fix the build.Günther Deschner1-1/+1
Guenther
2010-08-19s3-cli: fix uninitialized variable.Günther Deschner1-1/+1
Volker, please check. Guenther
2010-08-19s3-idmap: fix uninitialized variable in idmap_tdb_sids_to_unixids_action().Günther Deschner1-1/+1
Michael, please check. Guenther
2010-08-19s3-libsmb: fix some uninitialized variables.Günther Deschner1-2/+2
Volker, please check. Guenther
2010-08-19-ENOTSUP translates to NT_STATUS_NOT_SUPPORTEDSurbhi Palande1-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>
2010-08-19s3: Remove smb_pam_accountcheck from the auth modulesVolker Lendecke3-32/+4
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-18Fix bug 7626 - Typo in configure samba_cv__CC_NEGATIVE_ENUM_VALUES two ↵Jeremy Allison1-1/+1
underscores. Noticed by bj@sernet.de.
2010-08-18Fix bug 7563 - Creation of symlink using smbclient is buggy.Jeremy Allison1-13/+9
Fix semantics of symlink. "oldpath" should be an untouched blob, "newpath" should fit the share path semantics. Jeremy.
2010-08-18s3: Remove an unused variableVolker Lendecke1-1/+0
2010-08-18s3-ads: Remove unused wrapper and make function staticSimo Sorce2-35/+12
2010-08-18s3: async cli_listVolker Lendecke5-422/+721
2010-08-18s3: Add cli_flushVolker Lendecke2-0/+90
2010-08-18s3-ads: cleanup ads_keytab_list()Simo Sorce1-13/+16
2010-08-18s3-ads: cleanup ads_keytab_create_default()Simo Sorce1-113/+136
2010-08-18s3-ads: cleanup ads_keytab_add_entry()Simo Sorce1-57/+80
2010-08-18s3-ads: Split, simplify and cleanup keytab functionsSimo Sorce1-169/+172
add helper function for both smb_krb5_kt_add_entry_ext() and ads_keytab_flush()
2010-08-18s3: Fix serverid_register_msg_flagsVolker Lendecke1-4/+2
Thanks, Andreas, for pointing this out! (How drunk have I been?...)
2010-08-18s3-lib: Fixed a possible crash bug.Andreas Schneider1-0/+2
Volker please check!
2010-08-18s3-printing: Added function to update the queue.Andreas Schneider2-31/+175