summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-smbtorture: skip GetAliasMembership against s4.Günther Deschner2009-12-171-0/+4
| | | | | | | It returns NT_STATUS_INTERNAL_DB_CORRUPTION for unknown sids and I could not figure out why. Guenther
* Fixed incorrect checking of PRINCIPAL_SELF permissions.Nadezhda Ivanova2009-12-173-16/+139
| | | | | | If an ace has the PRINCIPAL_SELF as trustee, this sid has to be replaced with the onjectSid of the object being checked. PRINCIPAL_SELF is the way to grant rights to an account over itself.
* s4-smbtorture: add a samr_GetAliasMembership test to RPC-SAMR.Günther Deschner2009-12-171-0/+47
| | | | Guenther
* tdbtool: avoid using c++ reserved words.Günther Deschner2009-12-171-2/+2
| | | | Guenther
* s3: Run RPC-SAMBA3-GETALIASMEMBERSHIP-0 in make testVolker Lendecke2009-12-171-0/+1
|
* s4:dsdb/common/util - make NTTIME attribute wrappers use a "const" messageMatthias Dieter Wallnöfer2009-12-171-4/+6
| | | | There is no reason to have the message non-const here.
* s3: Fix bug 6992, make test for getgrouplist cacheableJonas Gorski2009-12-171-3/+3
|
* s4-smbtorture: fix smbtorture after setprinter IDL fixes.Günther Deschner2009-12-171-4/+4
| | | | Guenther
* s3-spoolss: fix rpcclient after setprinter IDL fixes.Günther Deschner2009-12-171-2/+2
| | | | Guenther
* spoolss: more mork on SetPrinterInfo() levels.Günther Deschner2009-12-174-82/+102
| | | | Guenther
* s4-ntvfs: check if pvfs is NULL in pvfs_logoffbrendan powers2009-12-171-0/+5
| | | | | | | | pvfs can be NULL if the directory a share points to does not exist. In this case, there would be no open files, so it is safe to just return from the function. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:gensec: allow clearing local and remote address by passing NULLStefan Metzmacher2009-12-161-0/+10
| | | | metze
* s4-gensec: Remove obsolete socket_address vars and fns.Andreas Schneider2009-12-162-35/+0
|
* s4-gensec: Replace gensec_get_peer_addr with new tsocket based fn.Andreas Schneider2009-12-168-32/+29
|
* s4-gensec: Replace gensec_set_peer_addr with new tsocket based fn.Andreas Schneider2009-12-163-12/+1
|
* s4-gensec: Replace gensec_get_my_addr with new tsocket based fn.Andreas Schneider2009-12-163-23/+24
|
* s4-gensec: Replace gensec_set_my_addr() with new tsocket based fn.Andreas Schneider2009-12-163-27/+1
|
* s4-gensec: Added remote and local setter/getter using tsocket.Andreas Schneider2009-12-163-4/+127
|
* Final part of the fix for 6837 - "Too many open files" when trying to access ↵Jeremy Allison2009-12-161-12/+12
| | | | | | | | | large number of files Win7 needs a min of 16k file handles to work against a server. Jeremy.
* Add helpful debug of DACL for errors on ACL access.Jeremy Allison2009-12-161-2/+10
| | | | Jeremy.
* spoolss: add spoolss_DriverInfo7.Günther Deschner2009-12-164-0/+245
| | | | Guenther
* s3-pdbedit: allow to call "pdbedit -N description -u user" without ↵Günther Deschner2009-12-161-2/+4
| | | | | | specifiyng "-r". Guenther
* s4-dsdb: also mark the relax control non-critical when doneAndrew Tridgell2009-12-161-5/+3
|
* s4-dsdb: it is a better pattern to mark a control as done than remove itAndrew Tridgell2009-12-163-21/+7
| | | | | | | removing a control means it can't be seen by any other modules, which is usually not what is wanted. Better to just mark it non-critical, which means anyone else who wants to look at it can, but if nobody does its not an error.
* s4-dsdb: when the SD_FLAGS control is set, don't remove nTSecurityDescriptorAndrew Tridgell2009-12-161-10/+19
|
* s4-dsdb: don't actually remove the sd_flags control, just mark it non-criticalAndrew Tridgell2009-12-161-14/+10
| | | | | | | | | For controls that need to be seen by more than one module, it is best to just mark them non-critical when handled, instead of removing them. Otherwise lower modules can't see them. In this case we want the operational module to see the SD_FLAGS control
* s4-ldb: show the OID of any unhandled critical controlsAndrew Tridgell2009-12-161-4/+9
| | | | | | | It isn't very useful just saying that a control is not supported, without saying which one is the problem Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-ldb: fixed a transaction error on prepare_commitAndrew Tridgell2009-12-161-2/+2
| | | | | | | when a prepare commit fails, we need to give a cancel to all modules, not a commit! Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-ldb: added --show-deactivated-link command line optionAndrew Tridgell2009-12-161-1/+8
| | | | this adds the SHOW_DEACTIVATED_LINK control
* ldap: give a debug error when we don't know a controlAndrew Tridgell2009-12-161-0/+2
| | | | | | | This interface should really have a proper error interface, but at least a DEBUG() gives the user a chance of finding the error Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: added dsdb_get_deleted_objects_dn()Andrew Tridgell2009-12-161-0/+22
| | | | | | | This is based on the code from Eduardo Lima <eduardoll@gmail.com>, but uses the new helper functions added in the last couple of commits Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: added dsdb_find_nc_root()Andrew Tridgell2009-12-161-0/+64
| | | | | | | | | | | This is based on the function of the same name from Eduardo Lima <eduardoll@gmail.com>, but using ldb_dn_compare, to give us comparisons consistent with what the rest of the code uses. We will use this function in combination with dsdb_wellknown_dn() to find the Deleted Objects container for any object. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: added dsdb_wellknown_dn()Andrew Tridgell2009-12-161-0/+32
| | | | | | This finds a wellknown object given its GUID Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* libds: added GUIDs for wellknown AD objectsAndrew Tridgell2009-12-161-0/+13
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: added a dsdb_module_rename() callAndrew Tridgell2009-12-161-0/+43
| | | | | | This will be used by the replmd_delete() code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: added dsdb_module_modify()Andrew Tridgell2009-12-161-0/+40
| | | | | | This is used to do a sync modify in a module Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: fixed dsdb_module_dn_by_guid()Andrew Tridgell2009-12-161-3/+7
| | | | needs to ask for the DN in storage format, plus fix compilation errors
* s4-dsdb: dsdb_flags should be unsignedAndrew Tridgell2009-12-161-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: rename dsdb_module_search_handle_flags to dsdb_request_add_controlsAndrew Tridgell2009-12-163-6/+10
| | | | This function will be used for non-search controls, like relax
* s4-dsdb: added dsdb_module_dn_by_guid()Andrew Tridgell2009-12-161-0/+41
| | | | | | | This finds a DN given a GUID, searching below the current module in the module stack. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: use dsdb_dn_is_deleted_val()Andrew Tridgell2009-12-161-25/+22
| | | | | | | This also moves the check to before we parse the DN, which saves some unnecessary work Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: added dsdb_dn_is_deleted_val()Andrew Tridgell2009-12-161-0/+14
| | | | | | | This is used to determine if a extedned DN has the 'DELETED=1' component Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-ntvfs: try to fix bug 6989Andrew Tridgell2009-12-161-2/+2
| | | | | | bug 6989 is a rare crash that has occurred in production. My best guess as to the cause is the talloc_free() not being specific enough as to which parent needs to be freed.
* s4:drsuapi/getncchanges.c - Update the list of operational attributesMatthias Dieter Wallnöfer2009-12-161-7/+8
| | | | | - Reorder them as specified in "operational.c" - Add also the lan manager hash password attribute
* Ensure dos_mode can return FILE_ATTRIBUTE_NORMAL, then filter the returned ↵Jeremy Allison2009-12-152-18/+25
| | | | | | | attributes by protocol level. This makes us consistant in returning DOS attrs across all replies. Tested on OS/2 by Günter Kukkukk. Jeremy.
* s4-smbtorture: run GetPrinterDriver2 tests against each printer's driver.Günther Deschner2009-12-161-17/+45
| | | | Guenther
* s4:prog_guide4.txt: remove obsolete commentsStefan Metzmacher2009-12-151-14/+0
| | | | metze
* s4: Fixed the programming guide to reflect the current tree.Andreas Schneider2009-12-151-26/+25
|
* s4-kdc: Migrate to tsocket_address.Andreas Schneider2009-12-153-18/+80
|
* tsocket: Fixed tsocket_guide.txt asciidoc syntax.Andreas Schneider2009-12-151-148/+161
|