Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-02-18 | s4:netlogon: don't mix in and out negotiate_flags in ↵ | Stefan Metzmacher | 1 | -3/+4 | |
dcesrv_netr_ServerAuthenticate() metze | |||||
2009-02-18 | Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel | Andrew Bartlett | 8 | -11/+69 | |
2009-02-18 | paper over failure to reprovision with os.unlink() | Andrew Bartlett | 1 | -1/+2 | |
We need to figure out why the deletes on the database fail, but for now doing an unlink of templates_tdb isn't too bad. Andrew Bartlett | |||||
2009-02-18 | Worked around a problem with select/poll/epoll and gnutls | Andrew Tridgell | 5 | -1/+47 | |
Our packet layer relies on the event system reliably telling us when a packet is available. When we are using a socket layer like TLS then things get a bit trickier, as there may be bytes in the encryption buffer which could be read even if there are no bytes at the socket level. The GNUTLS library is supposed to prevent this happening by always leaving some data at the socket level when there is data to be processed in its buffers, but it seems that this is not always reliable. To work around this I have added a new packet option packet_set_unreliable_select() which tells the packet layer to not assume that the socket layer has a reliable select, and to instead keep trying to read from the socket until it gets back no data. This option is set for the ldap client and server when TLS is negotiated. This seems to fix the problems with the ldaps tests. | |||||
2009-02-18 | fixed some of the TLS problems | Andrew Tridgell | 3 | -10/+22 | |
This fixes two things in the TLS support for Samba4. The first is to use a somewhat more correct hostname instead of 'Samba' when generating the test certificates. That allows TLS test clients (such as gnutls-cli) to connect to Samba4 using auto-generated certificates. The second fix is to add a call to gcry_control() to tell gcrypt to use /dev/urandom instead of /dev/random (on systems that support that). That means that test certificate generation is now very fast, which was previously an impediment to putting the TLS tests on the build farm. | |||||
2009-02-17 | s4-smbtorture: fix spoolss test after count out,ref idl changes. | Günther Deschner | 3 | -10/+38 | |
Guenther | |||||
2009-02-17 | s4-spoolss: fix spoolss server after out,ref count pointer changes. | Günther Deschner | 2 | -15/+14 | |
Guenther | |||||
2009-02-17 | s4-spoolss: fix dcesrv_spoolss_RemoteFindFirstPrinterChangeNotifyEx server. | Günther Deschner | 1 | -5/+6 | |
Guenther | |||||
2009-02-17 | s4-smbtorture: fix spoolss notify test. | Günther Deschner | 1 | -14/+14 | |
Guenther | |||||
2009-02-16 | s4:netlogon: implement netr_LogonGetCapabilities with NT_STATUS_NOT_IMPLEMENTED | Stefan Metzmacher | 1 | -4/+5 | |
This hopefully fixes bug #6109. metze | |||||
2009-02-16 | s4:netlogon: always return correct negotiate_flags in Authenticate[2|3]() | Stefan Metzmacher | 1 | -1/+31 | |
metze | |||||
2009-02-14 | s4-smbtorture: fix test_PausePrinter and test_ResumePrinter. | Günther Deschner | 1 | -8/+24 | |
Guenther | |||||
2009-02-13 | s4 torture: Add rename test to imitate the way OS X renames files | Aravind Srinivasan | 1 | -0/+83 | |
This tests for mis-behaved case-insensitive get_real_filename implementations. | |||||
2009-02-13 | Fix the build. When you do "make distclean; ./autogen; ./configure; make" ↵ | Jeremy Allison | 1 | -0/+4 | |
and it still doesn't build you know it's messed up. Jeremy. | |||||
2009-02-13 | s4:configure: require the same version for external and internal libtevent | Stefan Metzmacher | 1 | -1/+1 | |
Until we reach 1.0.0, we better require the exact same version. metze | |||||
2009-02-13 | s4:lib/socket: add socket_address_copy() | Stefan Metzmacher | 2 | -0/+35 | |
metze | |||||
2009-02-13 | s4:ldb_ildap: remove compiler warnings | Stefan Metzmacher | 1 | -4/+9 | |
metze | |||||
2009-02-13 | s4:libcli/ldap: use const char * const *attributes as in all other places | Stefan Metzmacher | 2 | -2/+2 | |
metze | |||||
2009-02-13 | s4:ntvfs_generic: use talloc_get_type() to remote compiler warnings | Stefan Metzmacher | 1 | -3/+5 | |
metze | |||||
2009-02-13 | s4:torture/samba3rpc: fix the build after get_myname() changes | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2009-02-13 | Remove the s4 version of smbspool.c | Volker Lendecke | 1 | -353/+0 | |
2009-02-13 | Replace get_myname() with the talloc version from v3-3-test | Volker Lendecke | 2 | -4/+4 | |
2009-02-13 | Remove useless invocation of messaging_init() in RPC-PAC test | Andrew Bartlett | 1 | -9/+0 | |
2009-02-13 | Push sam_get_server_info_principal into the auth subsystem | Andrew Bartlett | 8 | -63/+122 | |
This means it must be accessed via the supplied auth_context in the GENSEC server, and should remove the hard depenceny of GENSEC on the auth subsystem and ldb (allowing LDB not to rely on LDB is considered a good thing, apparently) Andrew Bartlett | |||||
2009-02-13 | Remove auth/ntlm as a dependency of GENSEC by means of function pointers. | Andrew Bartlett | 22 | -110/+230 | |
When starting GENSEC on the server, the auth subsystem context must be passed in, which now includes function pointers to the key elements. This should (when the other dependencies are fixed up) allow GENSEC to exist as a client or server library without bundling in too much of our server code. Andrew Bartlett | |||||
2009-02-12 | Fix Coverity ID 871 -- do not dereference "sp" before checking for NULL | Volker Lendecke | 1 | -1/+3 | |
2009-02-12 | Fix Coverity ID 872 -- we have alread dereferenced "ac" 2 lines above | Volker Lendecke | 1 | -1/+1 | |
2009-02-12 | Merge branch 'master' of ssh://git.samba.org/data/git/samba | Jelmer Vernooij | 5 | -18/+579 | |
2009-02-12 | Provide a SamDB TestCase-class that can be used by OpenChange. | Jelmer Vernooij | 1 | -0/+10 | |
2009-02-12 | Use created loadparm context, rather than the one specified on the command-line. | Jelmer Vernooij | 1 | -2/+2 | |
2009-02-11 | s4-smbtorture: fix the build of the ndr spoolss tester. | Günther Deschner | 1 | -4/+4 | |
Guenther | |||||
2009-02-11 | s4-spoolss: fix rpc_server stub names for opnum 0x42 and 0x43. | Günther Deschner | 1 | -6/+6 | |
Guenther | |||||
2009-02-11 | s4 torture: Smbtorture additions for Windows BRL | Zack Kirsch | 2 | -5/+568 | |
- Adds a few new BRL tests to RAW-LOCK - Adds a "win7" target to allow torture to handle protocol changes in windows 7 | |||||
2009-02-11 | s4 torture: Two minor fixes to smbtorture BRL tests. | Zack Kirsch | 2 | -3/+1 | |
2009-02-11 | Catch specific exceptions, rather than catching everything, which might hide ↵ | Jelmer Vernooij | 1 | -3/+3 | |
other exceptions silently. | |||||
2009-02-11 | Use convenience function for finding setup dir in SaMDB tests. | Jelmer Vernooij | 1 | -2/+2 | |
2009-02-11 | Use convenience function for finding setup_dir based on location of | Jelmer Vernooij | 4 | -5/+23 | |
python module. | |||||
2009-02-11 | Move some samdb-specific code out of provision. | Jelmer Vernooij | 2 | -6/+10 | |
2009-02-11 | Make it possible to override the setup path. | Jelmer Vernooij | 1 | -9/+11 | |
2009-02-11 | Cancel transactions when exceptions are raised. | Jelmer Vernooij | 2 | -83/+93 | |
2009-02-11 | --interactive doesn't take any argument. | Jelmer Vernooij | 1 | -1/+1 | |
2009-02-10 | s4 torture: Change nttransrename to use a normal access mask | Tim Prouty | 1 | -1/+1 | |
batch9 already tests for stat-only opens | |||||
2009-02-10 | s4-spoolss: fix dcerpc_spoolss_ReplyOpenPrinter caller. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2009-02-10 | s4-smbtorture: fix SPOOLSS test w.r.t. spoolss_ReplyOpenPrinter. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2009-02-10 | added a workaround to the handling of unicodePwd for Win7-beta | Andrew Tridgell | 1 | -1/+30 | |
The Win7-beta domain process has changed. It no longer uses SAMR for setting the password, and instead uses a ldap modify on a SASL encrypted ldap connection. We didn't handle that as the unicodePwd attribute has a dual use, holding the nt style MD4 hases for DRS replication, but holding a UTF-16 plaintext password for a LDAP modify. This patch copes with the ldap unicodePwd modify by recognising the format and creating the correct attributes on the fly. Note that this assumes we will never get a unicodePwd attribute set in NT MD4 format with the first 2 and last 2 bytes set to 0x22 0x00. Andrew Bartlett is looking at a more robust solution, possibly using a flag to say that this modify came via ldap, and not internal ldb calls. | |||||
2009-02-10 | fixed two problems with the DsRGetDCNameEx2 call, as used by | Andrew Tridgell | 1 | -3/+9 | |
Win7-beta. The first problem is that we removed the dnsDomain attribute a while back, so we were returning NULL for two fields. We now return the realm. The second problem is that Win7-beta sends the domain in the form the user typed it, so it may be in either the short or long form. We check for the short form and convert if needed. | |||||
2009-02-09 | Revert "Fix errornos assumption that all compilers are gcc" | Jelmer Vernooij | 1 | -1/+1 | |
This breaks (some?) files with gcc. This reverts commit 98a4327b19e83ffad4e0be7e8895fdbd9e48d49f. | |||||
2009-02-09 | Fix errornos assumption that all compilers are gcc | Torgeir Lerkerod | 1 | -1/+1 | |
When compiling Samba 4's IDL files buildsystem assumes that compiler knows about -xc, which is a gcc spesefic switch as this switch isn't needed on gcc either the flag was uneeded and can be removed. Thus no warnings on non gcc systems. Signed-off-by: Torgeir Lerkerod <Torgeir.Lerkerod@gmail.com> Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-02-09 | s4/wrepl_server: Fix typo in comment. | Karolin Seeger | 1 | -2/+2 | |
Karolin | |||||
2009-02-09 | s4:Makefile: fix PUBLIC_HEADERS typo | Stefan Metzmacher | 1 | -1/+1 | |
metze |