Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-11-04 | Added security descriptor for the domain NC to provisioning. | Nadezhda Ivanova | 2 | -1/+61 | |
Necessary for correct descriptor inheritance. Based on the default state of a single DC. Will be modified later when we support multiple DCs. | |||||
2009-11-04 | s4:provisioning - Fixed minor bugs in provisioning tool and partition module. | Endi S. Dewata | 2 | -3/+4 | |
2009-11-04 | libcli/nbt Move more of lmhosts lookup into common code | Andrew Bartlett | 3 | -45/+100 | |
This aims to eventually share this with Samba4. Andrew Bartlett | |||||
2009-11-04 | lib/util Fix comments in rfc1738.c. | Andrew Bartlett | 1 | -3/+3 | |
The Samba version does not use static buffers Andrew Bartlett | |||||
2009-11-04 | s3-netlogon: make sure we protect some function codes in ↵ | Günther Deschner | 1 | -0/+13 | |
_netr_LogonControl2Ex(). Guenther | |||||
2009-11-04 | s3-netlogon: let s3 pass against RPC-NETLOGON-S3 again. | Günther Deschner | 1 | -0/+72 | |
Guenther | |||||
2009-11-04 | s3-netlogon: implement _netr_NETLOGON_INFO_4 in netr_LogonControl2Ex() and ↵ | Günther Deschner | 1 | -0/+10 | |
friends as well. Guenther | |||||
2009-11-04 | s3-netlogon: implement remote trust account changing in ↵ | Günther Deschner | 1 | -0/+41 | |
netr_LogonControl2Ex() and friends. Guenther | |||||
2009-11-03 | security: re-run make samba3-idl after IDL change. | Günther Deschner | 2 | -25/+0 | |
Guenther | |||||
2009-11-03 | s3-lsa: fill in some more info levels in _lsa_QueryInfoPolicy(). | Günther Deschner | 1 | -0/+32 | |
Add dummys (just like s4 does) and fill in some more appropriate error codes. Guenther | |||||
2009-11-03 | s4-smbtorture: skip three info levels while testing s3 with RPC-LSA. | Günther Deschner | 1 | -3/+14 | |
These are only supported by s3 when running pdb_ads atm. Guenther | |||||
2009-11-03 | s4-smbtorture: skip QueryInfoPolicy2 while running RPC-LSA against s3. | Günther Deschner | 1 | -0/+4 | |
This is only supported by s3 when running pdb_ads atm. Guenther | |||||
2009-11-03 | s4-smbtorture: skip QueryDomainInformationPolicy test against s3 in RPC-LSA. | Günther Deschner | 1 | -0/+4 | |
Guenther | |||||
2009-11-03 | s4-smbtorture: simplify some torture_comments in RPC-LSA. | Günther Deschner | 1 | -20/+6 | |
Guenther | |||||
2009-11-03 | s3-passdb: cleanup some callers of pdb_get_trusteddom_pw(). | Günther Deschner | 2 | -6/+2 | |
Guenther | |||||
2009-11-03 | Fix debug statements to use correct function name. | Jeremy Allison | 1 | -13/+13 | |
Jeremy. | |||||
2009-11-03 | requires_resume_key is a bool not int. | Jeremy Allison | 1 | -7/+2 | |
Jeremy. | |||||
2009-11-03 | Fix more of the RAW-SEARCH test. Older info levels are | Jeremy Allison | 1 | -2/+9 | |
not 4 byte aligned (levels 1 - 3). Jeremy. | |||||
2009-11-03 | tsocket: rewrite tsocket_guide.txt to reflect the current APIs | Stefan Metzmacher | 1 | -467/+413 | |
metze | |||||
2009-11-03 | tsocket_bsd: return -1 and set errno to ENAMETOOLONG if the unix path is too ↵ | Stefan Metzmacher | 1 | -1/+6 | |
long metze | |||||
2009-11-03 | tsocket: remove prototype of non-existing tsocket_address_inet_set_broadcast() | Stefan Metzmacher | 1 | -2/+0 | |
metze | |||||
2009-11-03 | Fixed some missing flags and bugs in the security creation. | Nadezhda Ivanova | 1 | -11/+47 | |
Also, added some logging. It needs improvement, possibly ability to turn in on and off via configuration file. | |||||
2009-11-03 | Fixed a bug in object specific access checks. | Nadezhda Ivanova | 1 | -2/+4 | |
2009-11-03 | s3: Remove debug_ctx() | Volker Lendecke | 13 | -86/+70 | |
smbd just crashed on me: In a debug message I called a routine preparing a string that itself used debug_ctx. The outer routine also used it after the inner routine had returned. It was still referencing the talloc context that the outer debug_ctx() had given us, which the inner DEBUG had already freed. | |||||
2009-11-03 | Added some dn to the info in the log messages. | Nadezhda Ivanova | 1 | -3/+3 | |
2009-11-03 | Removed the default DACL from token, as we will not be using it. | Nadezhda Ivanova | 1 | -1/+0 | |
2009-11-02 | Convert from numbers to correct SMB_FIND_XX constant names. | Jeremy Allison | 1 | -8/+12 | |
Jeremy. | |||||
2009-11-03 | s3:registry: add an extra check for dsize==0 to regdb_fetch_keys_internal() | Michael Adam | 1 | -1/+1 | |
Don't only rely on dptr == NULL. I stumbled over this one when rewriting some of the dbwrap_ctdb code. Michael | |||||
2009-11-03 | s3:registry: add safety check for return value of tdb_unpack to ↵ | Michael Adam | 1 | -0/+4 | |
regdb_fetch_keys_internal() Prevents segfaults in some situations. (For a non existent or empty record, we sometimes rely on the fetch operation to return dsize==0 and sometimes we rely on dptr==NULL.) Michael | |||||
2009-11-03 | s3:dbwrap_ctdb: add debug message to transaction_fetch_start() | Michael Adam | 1 | -0/+4 | |
for the case that another local process has started a transaction bewteen releasing the transaction_lock record and starting the transaction. Michael | |||||
2009-11-03 | s3:dbwrap_ctdb: split combined check in two and add descriptive debug | Michael Adam | 1 | -1/+14 | |
in db_ctdb_transaction_fetch_start() for error conditions when re-fetching the transaction_lock record inside the transaction Michael | |||||
2009-11-03 | s3:dbwrap_ctdb: fix race condition with concurrent transactions on the same ↵ | Michael Adam | 1 | -0/+12 | |
node. In ctdb_transaction_commit(), when the trans2_commit control fails, there is a race condition in the 1 second sleep between the local transaction_cancel and the call to ctdb_replay_transaction(): The database is not locked, and neither is the transaction_lock record. So another client can start and possibly complete a new transaction in this gap, but only on the same node: The locking of the transaction_lock record on a different node which involves migration of the record to the other node has been disabled by introduction of the transaction_active flag on the db which closes precisely this gap from the start of the commit until the call to TRANS2_FINISH or TRANS2_ERROR. But this mechanism does not cover the case where a process on the same node tries to start a transaction: There is no obstacle to locking the transaction_lock record because the record does not need to be migrated. This commit closes this race condition in ctdb_transaction_fetch_start() by using the new ctdb_ctrl_transaction_active() call to ask the local ctdb daemon whether it has a transaction running on the database. If so, the check is repeated until the running transaction is done. This does introduce an additional call to the local ctdbd when starting transactions, but it does close the (hopefully) last race condition. Michael | |||||
2009-11-03 | s3:configure: add a check for the new CTDB_CONTROL_TRANS2_ACTIVE | Michael Adam | 1 | -0/+17 | |
Michael | |||||
2009-11-03 | s3:dbwrap_ctdb: add new db_ctdb_transaction_active() that calls ↵ | Michael Adam | 1 | -0/+21 | |
CTDB_CONTROL_TRANS2_COMMIT Michael | |||||
2009-11-03 | s3:dbwrap_ctdb: fix a race in starting concurrent transactions on a single node | Michael Adam | 1 | -0/+25 | |
There are two races in concurrent transactions on a single node. One in starting a transaction and one with replay during commit. This commit closes the first race by storing the client pid in the transaction-lock record and comparing the stored pid against its own pid after releasing the lock and refetching the record inside the transaction. Michael | |||||
2009-11-03 | s3:dbwrap_ctdb: use db_ctdb_ltdb_fetch() inside db_ctdb_transaction_fetch_start | Michael Adam | 1 | -6/+4 | |
Michael | |||||
2009-11-03 | s3:dbwrap_ctdb: use db_ctdb_ltdb_fetch() inside db_ctdb_transaction_fetch() | Michael Adam | 1 | -16/+6 | |
Michael | |||||
2009-11-03 | s3:dbwrap_ctdb: add a function db_ctdb_ltdb_fetch() | Michael Adam | 1 | -0/+53 | |
This fetches a record from the db and splits out the ctdb header. Michael | |||||
2009-11-03 | s3:dbrwap_ctdb: add a function db_ctdb_ltdb_store() | Michael Adam | 1 | -27/+39 | |
and use it in db_ctdb_store() and db_ctdb_transaction_store(). Michael | |||||
2009-11-03 | s3:dbwrap_ctdb: reformat a comment slightly to enhance clearness. | Michael Adam | 1 | -3/+5 | |
Michael | |||||
2009-11-02 | Fix bug 6867 - trans2findnext returns reply_nterror(req, ntstatus) In a ↵ | Jeremy Allison | 1 | -12/+16 | |
directory with a lot of files. Jeremy. | |||||
2009-11-02 | s3: Fix a 100% CPU loop when ctdbd dies during a traverse | Volker Lendecke | 1 | -0/+1 | |
2009-11-02 | s3-gencache: restore gencache_get behavior with NULL args (with torture test). | Günther Deschner | 2 | -4/+13 | |
Without this, we panic in wins_srv_is_dead() and fail to start nmbd with wins support. Volker, please check. Guenther | |||||
2009-11-02 | s3: Make "debug hires timestamp" default to true | Volker Lendecke | 2 | -2/+2 | |
It does not cost much and can help a lot when debugging | |||||
2009-11-02 | s4:dsdb Fix up after the MAP_ constants became LDB_MAP_ | Andrew Bartlett | 1 | -13/+13 | |
2009-11-02 | s4:provision Remove LDB backend files in provision | Andrew Bartlett | 2 | -41/+12 | |
Rather than try and remove the records in the LDB files, make the provision remove the whole file. This also removes the need to try and carry forward the old ldb filenames. Andrew Bartlett | |||||
2009-11-02 | s4:provision Split ProvisionBackend out of the main provision script | Andrew Bartlett | 3 | -590/+631 | |
This splits the code, while keeping the original behaviour. The provision.py file had become just too long. Andrew Bartlett | |||||
2009-11-02 | s4:provision Inline 'ldap_backend_shutdown' for clarity | Andrew Bartlett | 1 | -15/+15 | |
2009-11-02 | s4:provision Fix samdb test with new provision code | Andrew Bartlett | 1 | -3/+12 | |
2009-11-02 | s4:provision Move 'Schema' into it's own file | Andrew Bartlett | 5 | -123/+160 | |