summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-07-16s3-dcerpc: Fix ability to receive Big Endian PDUsSimo Sorce7-28/+62
2010-07-16smbtorture shell: Allow any config option to be set.James Peach1-5/+6
Not sure what I was thinking by restricting the shell to "torture:" parametric options. It's really extemely useful to be able to set arbitrary options.
2010-07-16Make the "map to guest" parameter work correctly with NTLMSSP (spnegoJeremy Allison3-10/+38
and raw) under SMB2. Still need to investigate fixing this with krb5 auth (does this make sense ?). Jeremy.
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell257-1312/+1312
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-16s4-loadparm: change lp_*() to lpcfg_*() and provide s3 compatibility lp_*()Andrew Tridgell2-553/+623
This patch changes all Samba4 loadparm functions that take a loadparm_context or a loadparm_service structure to use a lpcfg_*() prefix. It then creates lp_*() functions which are wrappers around the lpcfg_*() functions. This should allow us to mix Samba3 and Samba4 code which uses loadparm calls. This first patch just makes the manual changes to the core loadparm code. The tree will not build with just this patch. The next patch replaces all of the callers, and was generated automatically with a perl script. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-16WHATSNEW: Start 3.6.0pre1 release notes.Karolin Seeger1-23/+36
Karolin
2010-07-16libcli/netlogon: re-enable debugging.Günther Deschner1-7/+0
Now that we do not share binary objects anymore, we can safely enable debugging here again. Guenther This reverts commit 3eb122069b9f81196ac658375fcb828924af3e94.
2010-07-16s3-registry: use some prs macros to the only place where they are used.Günther Deschner2-4/+6
Guenther
2010-07-16s3-waf: fix the build.Günther Deschner1-4/+4
Guenther
2010-07-16s3-dcerpc: fix c++ warning.Günther Deschner1-1/+1
Guenther
2010-07-16Move the remnants of rpc_parse code under registry/Simo Sorce10-94/+125
The registry code is the only last user of this code. Move everything under registry/ and hope someone will get rid od it completely from there in the future. Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-parse_prs: Remove unuesd functionsSimo Sorce2-59/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Use a local function to dump pdu regionsSimo Sorce2-6/+49
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-misc: Move smb_io_time() to regfio.cSimo Sorce4-64/+33
This is the last file using this function and we do not want anyone else to keep using hand marshalled stuff anyway. So make it also private to that file. Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Use DATA_BLOB for pipes_struct input dataSimo Sorce7-93/+30
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Use DATA_BLOB instead of prs_struct for req_dataSimo Sorce3-19/+11
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Use DATA_BLOB instead of prs_struct for rpc_outSimo Sorce1-122/+108
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Avoid unnecessary memory allocation for dcerpc_ctx_listSimo Sorce1-35/+7
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Use DATA_BLOB instead of prs_struct for reply_pduSimo Sorce3-86/+75
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Use DATA_BLOB instead of prs_struct for incoming fragmentsSimo Sorce1-169/+84
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Read a pdu in 2 steps, header first the payloadSimo Sorce1-18/+8
We can't really cope with receiving more data than expected anyway as there is code that checks if the size of the buffer is consistent with pkt->frag_length and throws an error if not. Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dceprc: Use IDL defined constants for length calculationsSimo Sorce3-51/+47
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16Reformat and cleanupSimo Sorce1-75/+75
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Move common helpers into a common fileSimo Sorce5-165/+241
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Padding is never done on a DCERPC_PKT_BIND_ACK packet.Simo Sorce1-24/+2
Empirically verified against Windows. It never pads the auth credentials on this packet type. Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16dcerpc: remove ncacn_packet_header and related functionsSimo Sorce3-80/+0
ncacn_packet_header was an artifact and it is not necessary anymore Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Refactor code and stop using ncacn_packet_headerSimo Sorce1-202/+164
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: consolidate respones packet creation codeSimo Sorce4-452/+236
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Convert frag from prs_struct to a simple DATA_BLOBSimo Sorce3-210/+134
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Convert rdata from prs_struct to a simple DATA_BLOBSimo Sorce8-68/+47
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Remove unused functions and headersSimo Sorce5-175/+6
parse_rpc.c is dead, long live parse_rpc.c ! Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Stop using hand marshalling in create_next_pdu_noauth()Simo Sorce1-24/+14
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Stop using hand marshalling in create_next_pdu_schannel()Simo Sorce1-87/+81
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Stop using hand marshalling in create_next_pdu_ntlmssp()Simo Sorce1-38/+38
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Stop using hand marshalling in rpc_finish_auth3_bind_send()Simo Sorce1-15/+9
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Do not parse the packet twice.Simo Sorce1-17/+7
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Remove unused functionSimo Sorce1-36/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Do not reparse the headerSimo Sorce1-26/+15
Instead pass back and use the packet we have already parsed. Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Pull the whole packet at once instead of fetching just the headerSimo Sorce1-57/+68
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Delay parsing rpc header in client codeSimo Sorce1-19/+21
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-15Fix bug - 7551 smbclient does not return proper exit code.Jeremy Allison1-0/+1
Catch error in cli_push. Jeremy.
2010-07-16s4:testprogs Operate the blackbox kinit and net tests using the :local configAndrew Bartlett3-8/+5
This :local tells selftest.pl to use the local smb.conf for the test environment, not the generic client smb.conf This then makes the rest work properly - otherwise, it may attempt to connect to the wrong KDC for example. The only problem is that we can't test the 'net join' with this set, so this is removed from the test. The member server test environment checks this anyway. Andrew Bartlett
2010-07-15s4:testprogs Show that we no longer delete the old keytab entriesAndrew Bartlett1-3/+5
By using a CCACHE obtained while the old password was still valid, we can tell if the server still accepts incoming Kerberos connections with the old password. Andrew Bartlett
2010-07-15s4:provision Handle machine account password changes while keeping keytabAndrew Bartlett1-15/+23
The challenge here is to update the existing record if it already exists, rather than deleting the old record. This ensures that the secrets.keytab handling code keeps the previous password in the keytab. Andrew Bartlett
2010-07-15s4:pyldb whitespace fixAndrew Bartlett1-1/+1
2010-07-15s4:pyldb Fix memory handling for ldb_message_elementAndrew Bartlett1-5/+10
The problem here is that we need to use the array, not the individual message element as the memory context. Andrew Bartlett
2010-07-15s4:testprogs Prove kerberos still works after a password changeAndrew Bartlett1-0/+25
Changing the machine account password should not prevent connections with a current, valid CCACHE. This is because when the password is changed, the server-side keytab keeps one old password around. Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-15s4 upgradeprovision: Adapt the list of attribute modifiedMatthieu Patou1-4/+25
* isMemberOfPartialAttributeSet is now allowed to be deleted (on schema objects) * attributeDisplayNames is now allowed to be added and modified (used on display specifiers) * spnMapping is now allowed to be altered on Directory Service objects * minPwdAge is now modified if the previous value was 0 We issue a clear information about the userControl attribute for administrator to invite the user to modify himself the value. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-15s4 ldb modules: relax some tests about attributes that should not be hereMatthieu Patou1-0/+9
For attributes that we know that are harmless and that used to be stored in the ldb we relax the tests on the existance in a given objectclass. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-15s4 upgradeprovision: Synchronize the calculated keyversionnumber with the ↵Matthieu Patou1-1/+22
one previously stored Signed-off-by: Andrew Bartlett <abartlet@samba.org>