Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-02-17 | tdb: cleanup: split brlock and brunlock methods. | Rusty Russell | 7 | -117/+235 | |
This is taken from the CCAN code base: rather than using tdb_brlock for locking and unlocking, we split it into brlock and brunlock functions. For extra debugging information, brunlock says what kind of lock it is unlocking (even though fnctl locks don't need this). This requires an extra argument to tdb_transaction_unlock() so we know whether the lock was upgraded to a write lock or not. We also use a "flags" argument tdb_brlock: 1) TDB_LOCK_NOWAIT replaces lck_type = F_SETLK (vs F_SETLKW). 2) TDB_LOCK_MARK_ONLY replaces setting TDB_MARK_LOCK bit in ltype. 3) TDB_LOCK_PROBE replaces the "probe" argument. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2010-02-24 | s4/schema: Move msDS-IntId implementation to samldb.c module | Kamen Mazdrashki | 2 | -149/+87 | |
msDS-IntId attribute should be replicated, so it must be implemented in a module that is before repl_meta_data module (thanks abartlet for pointing this out). Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-23 | s4/torture/smb2: Add two new SMB2 compound tests | Steven Danneman | 1 | -0/+157 | |
These tests server behavior when a client compounds both synchronous and asynchronous requests. | |||||
2010-02-23 | s4:cleanup remove unused schannel ldb code | Simo Sorce | 3 | -406/+0 | |
2010-02-23 | s4:schannel merge code with s3 | Simo Sorce | 6 | -51/+22 | |
After looking at the s4 side of the (s)channel :) I found out that it makes more sense to simply make it use the tdb based code than redo the same changes done to s3 to simplify the interface. Ldb is slow, to the point it needs haks to pre-open the db to speed it up, yet that does not solve the lookup speed, with ldb it is always going to be slower. Looking through the history it is evident that the schannel database doesn't really need greate expanadability. And lookups are always done with a single Key. This seem a perfet fit for tdb while ldb looks unnecessarily complicated. The schannel database is not really a persistent one. It can be discared during an upgrade without causing any real issue. all it contains is temproary session data. | |||||
2010-02-23 | schannel_tdb: make code compilable in both trees | Simo Sorce | 4 | -54/+104 | |
2010-02-23 | s3:schannel streamline interface | Simo Sorce | 8 | -201/+191 | |
Make calling schannel much easier by removing the need to explicitly open the database. Let the abstraction do it instead. | |||||
2010-02-23 | s3:schannel fix memory hierarchy | Simo Sorce | 1 | -1/+1 | |
passing mem_ctx was causing creds->sid to be allocated on mem_ctx and not be child of creds as expected. When later in schannel_check_creds_state() we stole the creds on a different memory context the sid was left behind and the memory it points to freed when the temporary context was freed. | |||||
2010-02-23 | schannel: merge header files | Simo Sorce | 2 | -48/+34 | |
One almost empty header file was simply including another not included by anything else. Just merge them together. | |||||
2010-02-23 | s4:schannel more readable check logic | Simo Sorce | 3 | -24/+44 | |
Make the initial schannel check logic more understandable. Make it easy to define different policies depending on the caller's security requirements (Integrity/Privacy/Both/None) This is the same change applied to s3 | |||||
2010-02-23 | s3:schannel more readable check logic | Simo Sorce | 3 | -22/+39 | |
Make the initial schannel check logic more understandable. Make it easy to define different policies depending on ther caller's security requirements (Integrity/Privacy/Both/None) | |||||
2010-02-23 | s3 move the sitename cache in its own file | Simo Sorce | 11 | -117/+172 | |
2010-02-23 | s3: Consolidate some pid_to_procid() calls to procid_self() | Volker Lendecke | 2 | -7/+7 | |
2010-02-23 | s3: re-run make samba3-idl. | Günther Deschner | 2 | -54/+56 | |
Guenther | |||||
2010-02-23 | spoolss: some fixes for devicemode dm extra structs. | Günther Deschner | 1 | -10/+2 | |
Guenther | |||||
2010-02-23 | s3: re-run make samba3-idl. | Günther Deschner | 3 | -0/+675 | |
Guenther | |||||
2010-02-23 | spoolss: add various DM extradata formats (including PostScript and UniDriver). | Günther Deschner | 1 | -0/+307 | |
Guenther | |||||
2010-02-23 | s3:spoolss: construct the devmode the same way for level 2 and 8 | Stefan Metzmacher | 1 | -17/+3 | |
metze | |||||
2010-02-23 | s3:cli_netlogon: keep the the correct negotiate_flags on the cli->dc structure | Stefan Metzmacher | 1 | -2/+6 | |
This should fix the rpccli_netlogon_set_trust_password() against DC's without netr_ServerPasswordSet2 support. This fixes bug #7160. metze | |||||
2010-02-23 | s3:selftest: $WORKGROUP doesn't exist, we should use $DOMAIN | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2010-02-23 | s3: Consolidate server_id_self into the equivalent procid_self() | Volker Lendecke | 13 | -17/+11 | |
2010-02-23 | s3: add explicit configure option whether or not to enable dmapi support | Björn Jacke | 1 | -2/+23 | |
2010-02-23 | tstream: Added a typedef for the function prototype. | Andreas Schneider | 2 | -9/+19 | |
2010-02-23 | s4-smb: Migrate named_pipe_server to tsocket. | Andreas Schneider | 2 | -211/+279 | |
2010-02-23 | s4-selftest: disable rndc and dns update in build farm | Andrew Tridgell | 1 | -1/+2 | |
2010-02-23 | s4-dns: improved logging, and run name check at startup | Andrew Tridgell | 1 | -6/+10 | |
2010-02-23 | s4-pyglue: added interface_ips() call | Andrew Tridgell | 1 | -0/+43 | |
This allows a python script to query the internal network interface lists from Samba | |||||
2010-02-23 | s4-dns: call out to the dns update command every 10 minutes | Andrew Tridgell | 1 | -26/+112 | |
This periodically calls samba_dnsupdate to update our DNS entries if needed | |||||
2010-02-23 | s4-param: added "dns update command" smb.conf option | Andrew Tridgell | 2 | -0/+5 | |
defaults to SBINDIR/samba_dnsupdate This command will do periodic dynamic DNS updates using TSIG-GSS | |||||
2010-02-23 | s4-config: add dyn_SBINDIR | Andrew Tridgell | 3 | -0/+5 | |
2010-02-23 | libreplace: Remove the obsolete signal type cast. | Andreas Schneider | 3 | -13/+4 | |
AC_SIGNAL_TYPE is already obsolete in autoconf. C89 requires signal handlers to return void, only K&R returned int. | |||||
2010-02-23 | libutil: Remove obsolete signal type cast. | Andreas Schneider | 1 | -5/+5 | |
2010-02-23 | s4-smbd: Remove obsolete singal type cast from the thread process model. | Andreas Schneider | 1 | -3/+3 | |
2010-02-23 | s3-smb: Remove the obsolete signal type cast. | Andreas Schneider | 1 | -4/+0 | |
AC_SIGNAL_TYPE is already obsolete in autoconf. C89 requires signal handlers to return void, only K&R returned int. | |||||
2010-02-23 | s3-lib: Remove obsolete signal type cast. | Andreas Schneider | 3 | -12/+12 | |
2010-02-23 | s3-libads: Remove obsolete signal type cast. | Andreas Schneider | 1 | -5/+5 | |
2010-02-23 | s3-nmbd: Remove obsolete signal type cast. | Andreas Schneider | 3 | -7/+7 | |
2010-02-23 | s3-pam_smbpass: Remove obsolete signal type cast. | Andreas Schneider | 3 | -21/+21 | |
2010-02-23 | s3-passdb: Remove obsolete signal type cast. | Andreas Schneider | 1 | -3/+3 | |
2010-02-23 | s3-print: Remove obsolete signal type cast. | Andreas Schneider | 1 | -3/+3 | |
2010-02-23 | s3:winbindd: never mark external domains as internal! | Stefan Metzmacher | 1 | -4/+1 | |
This way we can endup with silently using builtin_passdb_methods for an ad domain without an inbound trust. This fixes bug #7170. metze | |||||
2010-02-23 | s4:netlogon RPC - fix the indentation | Matthias Dieter Wallnöfer | 1 | -15/+15 | |
Simo, I'm not really sure that those checks are valid. I read MS-NRPC section 3.5.4.1 about LOGONSRV_HANDLEs ("server_name" is of this type). There isn't stated that the server name has necessarily to be in the DNS form and should also be valid when it's NULL (if DCE server and client are the same - I don't know if me make use of it in s4). | |||||
2010-02-22 | s3 Fix the build | Simo Sorce | 1 | -3/+3 | |
I didn't mean to puch the GetForestTrustInformation patch just yet, now that it is in fix the s3 build ... | |||||
2010-02-22 | s4:netlogon GetTrustedDomainInformation | Simo Sorce | 10 | -49/+209 | |
start implementing calls related to trusted domain information | |||||
2010-02-22 | s4:netlogon fix segfault | Simo Sorce | 1 | -12/+19 | |
2010-02-22 | ldb:web Fix typo | Simo Sorce | 1 | -1/+1 | |
2010-02-22 | A test "store create time" parameter got commited by accident. Remove it. | Jeremy Allison | 1 | -1/+0 | |
Jeremy. | |||||
2010-02-22 | Ensure STREAMERROR deletes any files in the \\testdir | Jeremy Allison | 1 | -0/+1 | |
before rmdir and mkdir. Jeremy. | |||||
2010-02-22 | Add an "attributes" string to allinfo. | Jeremy Allison | 1 | -0/+27 | |
Jeremy. | |||||
2010-02-22 | s3: Explicitly handle inbuf in cli_trans_done | Volker Lendecke | 1 | -2/+9 | |