summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Add ctdb_conn_msg_ctx()Volker Lendecke2010-02-122-0/+6
|
* s3: Implement global locks in a g_lock tdbVolker Lendecke2010-02-1211-7/+950
| | | | | | This is the basis to implement global locks in ctdb without depending on a shared file system. The initial goal is to make ctdb persistent transactions deterministic without too many timeouts.
* s4:kdc Fill in created_by principal fieldSimo Sorce2010-02-121-4/+7
|
* s4:kdc Fix double free and uninitialized memory.Simo Sorce2010-02-121-2/+13
| | | | | | In samba_kdc_trust_message2entry() on error, hdb_free_entry() may end up trying to access uninitialized memory or double free the hdb_entry.
* testprogs: print all printerinfo levels in spoolss test.Günther Deschner2010-02-121-2/+26
| | | | Guenther
* s4:auth/credentials/credentials.c - Initialise the "lm_response" and ↵Matthias Dieter Wallnöfer2010-02-121-0/+5
| | | | | | | "nt_response" structures In some cases those structures are not initialised and the whole authentication system crashes with a SIGSEGV. Bug discovered by Matthieu Patou in bug #6755.
* s4:getopt.py - set the password callback only when no password has been providedMatthias Dieter Wallnöfer2010-02-121-4/+6
| | | | | | | | | | Previously the "no_pass" and "no_pass2" variables weren't handled correctly. Since at the initialisation of the "CredentialsOptions" we don't have any password at all. Only afterwards we could get one through "set_password". If a password is specified, use it. If no password is specified, consider the use fo an input mask on STDOUT. But if the loadparm context contains one prefer it over the input.
* s4:net_drs_bind: make some more stuff staticStefan Metzmacher2010-02-121-2/+2
| | | | metze
* s4:net/drs: use the full path to "utils/net/drs/net_drs*.h"Stefan Metzmacher2010-02-125-5/+5
| | | | | | This fixes the build with automatic dependecies. metze
* s3: notify_onelevel does not use seqnums, so don't open asking for itVolker Lendecke2010-02-121-1/+1
|
* spoolss: regenerate hand-marshalled ndr_pull_spoolss_DriverInfo101 after ↵Günther Deschner2010-02-121-0/+1
| | | | | | ndr64 changes. Guenther
* spoolss: make sure hand-marshalled spoolss_DriverInfo101 handles ↵Günther Deschner2010-02-121-0/+30
| | | | | | relative_highest_offset. Guenther
* spoolss: regenerate hand-marshalled ndr_push_spoolss_DriverInfo101 after ↵Günther Deschner2010-02-121-1/+2
| | | | | | ndr64 changes. Guenther
* Remove the code replaced by widelinks warning.Jeremy Allison2010-02-111-7/+0
| | | | Jeremy.
* Remove lp_safe_widelinks() -> convert to just lp_widelinks. Suggestion from ↵Jeremy Allison2010-02-115-10/+26
| | | | | | | | Volker. Create widelinks_warning(int snum) to cover the message needed in make_connection. Jeremy.
* s3 test: Make the netbios name test pass againKai Blin2010-02-111-0/+2
|
* s4: Switch to S3-style id mapping data types.Kai Blin2010-02-1114-82/+97
|
* s4 idmap: Make the sid_to_xid and xid_to_sid calls static.Kai Blin2010-02-111-4/+8
| | | | Looking at the winbind interface, we should only be using the bulk conversion calls.
* libwbclient: Test wbcLookupName async functionsKai Blin2010-02-111-0/+79
|
* libwbclient: Implement wbcLookupName_send/recvKai Blin2010-02-112-0/+137
|
* libwbclient: Implement wbcAuthenticateUserEx_send/recvKai Blin2010-02-112-0/+280
|
* libwbclient: Implement wbcLookupSid_send/recvKai Blin2010-02-112-0/+140
|
* libwbclient: Implement wbcGidToSid_send/recvKai Blin2010-02-112-0/+117
|
* libwbclient: Implement wbcSidToGid_send/recvKai Blin2010-02-112-0/+107
|
* libwbclient: Implement wbcUidToSid_send/recvKai Blin2010-02-112-0/+116
|
* libwbclient: Implement wbcSidToUid_send/recvKai Blin2010-02-112-0/+108
|
* libwbclient: Add wbcInterfaceDetails_send/recvKai Blin2010-02-113-5/+231
|
* libwbclient: Add wbcDomainInfo_send/recv callsKai Blin2010-02-112-1/+155
|
* libwbclient: Add wbcDomainName_send/recv callKai Blin2010-02-112-0/+101
|
* libwbclient: Add wbcNetbiosName_send/recv callsKai Blin2010-02-112-0/+102
|
* libwbclient: Add async wbcInfo_send()/wbcInfo_recv() callsKai Blin2010-02-112-0/+106
|
* libwbclient: add wbcInterfaceVersion send/recv callsKai Blin2010-02-112-0/+98
|
* libwbclient: torture-test wbcPing async functions.Kai Blin2010-02-111-0/+20
|
* libwbclient: Add async wbcPing_send/_recvKai Blin2010-02-112-1/+87
|
* libwbclient: Zero out context on initializationKai Blin2010-02-111-1/+1
| | | | This prevents a segfault when using wbcDebug without prior call to wbcSetDebug
* Final part of jumbo patch for bug #7104 - "wide links" and "unix extensions" ↵Jeremy Allison2010-02-111-0/+12
| | | | | | | | | | | are incompatible. Volker pointed out that the preexec scripts get passed the conn->connectpath as a parameter, so call canonicalize_connect_path() both *before* and after the preexec scripts. Ignore errors on the call before the preexec scripts, as the path may not exist until created by the preexec scripts. Jeremy.
* Introduce lp_safe_widelinks()Simo Sorce2010-02-115-5/+24
| | | | | This way we avoid any chance that a configuration reload may turn back on wide links when unix extensions are enabled.
* Fine changes to previous fix for bug #7104 - "wide links" and "unix ↵Jeremy Allison2010-02-111-20/+18
| | | | | | | | | | extensions" are incompatible. Make sure we match the previous allow widelinks behavior, in that non-root preexec scripts can create share directories for a share definition. Jeremy
* Suplementary patch for bug #7104 - "wide links" and "unix extensions" are ↵Jeremy Allison2010-02-111-27/+28
| | | | | | | | | | | | | | | | | | | | | incompatible. Bug reported by Ralf Zimmermann <r.zimmermann@siegnetz.de>. Reproduced by jra. If the target directory of a share doesn't exist, but is designed to be created by a "root preexec" script call, then the widelinks check is done too early - thus preventing the user from connecting to the share. Fix is to re-arrange the order of checks in make_connection_snum() to always do the following order of operations: (1). Turn off wide links if unix extensions = yes. (2). Call any root preexec scripts. (3). Canonicalize the share path to remove any symlinks (ie. end up with the realpath in the connection_struct). Jeremy.
* ldb_match - Ignore ":dn" part of extended matches for nowMatthias Dieter Wallnöfer2010-02-111-2/+5
| | | | | | | | | | | It's not fully clear what this ":dn" part means for us. What we know is that older AD implementations (Windows Server 2000, 2003) need it to have extended matches working in the expected way. To be able to interoperate with s3's winbind and other tools I and gd decided to transform this into a warning until we know what to do. This should fix bug #6511.
* s4-provision: import the R2 functional levelAndrew Tridgell2010-02-121-1/+1
| | | | | this makes it easier to modify the script to set us at R2 level in provision. We should make this a parameter.
* s4-build: avoid finding python symlinksAndrew Tridgell2010-02-121-1/+1
| | | | | emacs creates symlinks to .py files while you are editing them. This could cause build failures.
* s4-provision: fixed --function-level option to provisionAndrew Tridgell2010-02-121-0/+1
| | | | we need the DS_DOMAIN_* levels imported
* s4-script: make enablerecyclebin use system_sessionAndrew Tridgell2010-02-121-1/+2
| | | | This allows it to work against our local ldb
* s4-pyldb: null terminate string ldb message elements from pythonAndrew Tridgell2010-02-121-4/+4
| | | | | | We need to eventually get rid of ldb_msg_find_attr_as_string() (or add a mem_ctx to it), but meanwhile we have too many places that break if we don't add a nul to the end of ldb msg strings from python.
* libds: added recyclebin feature GUIDAndrew Tridgell2010-02-121-0/+3
|
* s3: re-run make samba3-idl.Günther Deschner2010-02-112-0/+2
| | | | Guenther
* spoolss: allow to set server architecture via parametric option.Günther Deschner2010-02-111-2/+2
| | | | | | This allows to set "spoolss:architecture = 'Windows x64'" for debugging purpose. Guenther
* s3-spoolss: implement spoolss_EnumJobs level 3.Günther Deschner2010-02-111-0/+76
| | | | | | | | | Level 3 has been added with NT 4.0 and Windows 7 (at least 64bit version) makes use of it in order to display queued jobs. Windows 7 will *not* fall back to level 2 if we just return WERR_UNKNOWN_LEVEL, instead there will be no printjobs displayed at all. Guenther
* testprogs: one more error code for spoolss test.Günther Deschner2010-02-111-0/+2
| | | | Guenther