summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-printing: use sec_initial_uid() instead "0" in print_access_check().Günther Deschner2009-04-281-1/+1
| | | | | | | | Another babystep in order to make us pass RPC-SPOOLSS. Guenther (cherry picked from commit d9aaf3759ac7fd6ce07a347a0138bdfb27a6f929) (cherry picked from commit 63d4f5a5893dfcf8ff346bad100e8bd7052089ee)
* s4-smbtorture: test all levels in test_GetJob().Günther Deschner2009-04-281-8/+23
| | | | | | Guenther (cherry picked from commit 5f0c9c57f53f9b0026b4f58f68442a72103c0d7d) (cherry picked from commit feec2a814ee09800c26ae4c1f637796737b7ad2a)
* s3-spoolss: remove some direct checks for 0 uid in AddForm,SetForm,DelForm.Günther Deschner2009-04-281-4/+13
| | | | | | | | Also add some become_root()/unbecome_root() pairs which were missing IMHO. Guenther (cherry picked from commit 81b18464be170528d5e1549868bcbddbbcd60e1e) (cherry picked from commit 6689b0da85ac3b2f146c5e9851b73cf7d1e21c2b)
* s3-selftest: enable RPC-SPOOLSS.Günther Deschner2009-04-281-1/+1
| | | | | | Guenther (cherry picked from commit 6f90cdaf63b5b584c96b9ffc388c9e8df172db67) (cherry picked from commit 4677976a2081e4384b61d163d104c651e7a1f569)
* s4-smbtorture: Skip Job pause and resume on paused printers for Samba 3 for now.Günther Deschner2009-04-281-2/+6
| | | | | | Guenther (cherry picked from commit fe2828c3536eac18902a059049dd12b9b103f731) (cherry picked from commit 4c3b05d8486ddff87ed665d9b37f6bc47fc2a96b)
* s4-smbtorture: rework test_EnumPrinterDrivers() a little to succeed with s3.Günther Deschner2009-04-281-10/+13
| | | | | | | | Yes, I feel dirty for this but promise to come back and fix appropriately. Guenther (cherry picked from commit cb9c0cefaf61cf2c03f92a212dbf6673caa755dd) (cherry picked from commit f070e1d305f1b5abc9bc8f87ed552dbf9c1ea293)
* s4-smbtorture: Fix RPC-SPOOLSS-WIN for printers with a lot of jobs in the queue.Günther Deschner2009-04-281-0/+7
| | | | | | Guenther (cherry picked from commit 81253ec14623ed480905433e5bf5df7982cfbfa4) (cherry picked from commit 17c2e74370a9f748e33371c2a15597c415b50c1e)
* s3:docs: document the --request-timeout option of netStefan Metzmacher2009-04-281-0/+9
| | | | | | metze (cherry picked from commit cdbbc81bad5d53397bf80898cf68d8867cf64cba) (cherry picked from commit 1d1e859c4e08fed1775a170ccff459f3a18e13ba)
* s3:net: add --request-timeout optionStefan Metzmacher2009-04-283-0/+4
| | | | | | metze (cherry picked from commit 257809558bfab3e45703cf8be76357596392a3ea) (cherry picked from commit e20b8706401d1a4eee0fe494825deef6ab23ab23)
* s3:net_rpc: don't shutdown a cli_state passed from the callerStefan Metzmacher2009-04-281-9/+8
| | | | | | | | This fixes a crash bug if we timeout in net rpc trustdom list. metze (cherry picked from commit c0dfe0cf80ee50f395912b7d6aec0d87febd34c0) (cherry picked from commit d87563604ca7b1c18c5a84d76726c2a99dc454f8)
* s3: make installmo and uninstallmo scripts executableMichael Adam2009-04-282-0/+0
| | | | | Michael (cherry picked from commit 9deb558c5a3c380c7e4964e6fd2fc1b948115078)
* s3: Fix uninstallmoMichael Adam2009-04-281-1/+2
| | | | | Michael (cherry picked from commit 81dca118cd94988f55a5b4c43436a97d04309b48)
* s3-selftest: samba 3 also passes RPC-JOIN so enable it.Günther Deschner2009-04-281-1/+1
| | | | | | Guenther (cherry picked from commit 4f9d3400e5aa310e8071c0bb5d62ddaed1d846ee) (cherry picked from commit c33e3b84a706fa429ceeea81fb17c434e8f6cb4e)
* s3:registry: Prevent creation of keys containing the '/' character.Michael Adam2009-04-281-0/+10
| | | | | | | | | | | | | This creates a broken registry that can only be fixed with tdbtool, since the '/' sign is used as a key separator after normalization at a lower level. This makes e.g. "net conf setparm abc/def comment xyz" fail with WERR_INVALID_PARAM, which is much more desirable than a broken registry.tdb. Michael (cherry picked from commit 74385e90fa72b132088861d864cb275909ed7f6f)
* s3-samr: set the builtin_domain bool flag in get_samr_dispinfo_by_sid().Günther Deschner2009-04-281-0/+2
| | | | | | | | | | | Volker, please check. Found by torture test RPC-SAMR-PASSWORDS-PWDLASTSET (which we pass with this fix). Guenther (cherry picked from commit 0ba833f3eedff5dec272eb71f3b09becd8707156) (cherry picked from commit 4c8d90a077901f7901b8202abed54746679aa3a9)
* s3-selftest: enable RPC-SAMR-PASSWORDS-PWDLASTSET whilte testing Samba3.Günther Deschner2009-04-281-1/+2
| | | | | | Guenther (cherry picked from commit 490f6c418d8b1280d0a3b85773a72b2047122c12) (cherry picked from commit 7f6094fe8238f7a146fe7c45ab31f0e2244704bd)
* s4-smbtorture: disable CreateUser2 tests when running RPC-SAMR-PASSWORDS-PWDLASTGünther Deschner2009-04-281-1/+3
| | | | | | | | | | against Samba3. Samba 3 does not (yet) get all the ACB_flag settings right upon creation. Guenther (cherry picked from commit 32add69632ed4a2b877043c8df1185008516c299) (cherry picked from commit 93f4a4f89448f33dbcf67ebb92fd94e65579b3c4)
* s3-docs: fix typo in smb.conf.5.Günther Deschner2009-04-281-1/+1
| | | | | | Guenther (cherry picked from commit 05ea8daacabe62b6c20770a8518192c44e7eb763) (cherry picked from commit edf797fb614271c17bc005a661af8c8e8b913d81)
* s3-selftest: enable RPC-LSA-LOOKUPSIDS against samba 3.Günther Deschner2009-04-281-1/+1
| | | | | | Guenther (cherry picked from commit deb719a62e0909d476b9817c45a32766dc9709d7) (cherry picked from commit cfb5e97b88aae1780b5ef14baa15d9c692d157ab)
* s4-smbtorture: add LSA-LOOKUPSIDS to verify bug #6263.Günther Deschner2009-04-282-0/+89
| | | | | | Guenther (cherry picked from commit c794ba71b762676c1cfe1eba40b4a254f16ad06a) (cherry picked from commit e9af8e25f2c65decaf1a9e3c452c1a4c38042b48)
* s4-smbtorture: Fix crash in RPC-LSA-LOOKUPGünther Deschner2009-04-281-0/+2
| | | | | | Guenther (cherry picked from commit b0a0d2a0ae16929efa392705c3d7823da16f4d55) (cherry picked from commit a0c16dbb46ef334126db771d7adb908d822eac6d)
* s3-docs: document warn_pwd_expire pam_winbind option in manpage.Günther Deschner2009-04-281-1/+8
| | | | | | | | Andreas, please check. Guenther (cherry picked from commit 5517c0bcddfbd8c877fd1f909407824553a20e7f) (cherry picked from commit ed95e2978dd8b3c4a7e72569419748156ab5c760)
* Add torture tester to ensure we don't regress the ulogoff bug.Jeremy Allison2009-04-281-0/+45
| | | | | Jeremy. (cherry picked from commit 4ee6b7934e91b87122ff7bad4c89a0ab9bdd3bf0)
* Fix bug found by Tim Prouty, logging off and then re-using a vuid can cause ↵Jeremy Allison2009-04-281-0/+11
| | | | | | | | smbd to access a freed structure. Jeremy. (cherry picked from commit e023058f5b774ddbb61e8187aa7dbd2e6e25804d)
* When doing a cli_ulogoff don't invalidate the cnum, invalidate the vuid.Jeremy Allison2009-04-281-1/+1
| | | | | Jeremy. (cherry picked from commit be46b98ee38e17e4561ab58fe9b6ecc6b7919392)
* Don't look up local user for remote changes, even when root.Jim McDonough2009-04-281-6/+10
| | | | (cherry picked from commit 583d7c97bb5f9b62fab17ce2466442ece648331f)
* fix the build of net: dos_errstr is replaced by win_errstr...Michael Adam2009-04-281-1/+1
| | | | | | | I had the patch locally but forgot to commit before pushing - sorry... Michael (cherry picked from commit 986a36fd30f7f65c7ef79b945f7b95014872f30f)
* In net_conf_import, start a transaction when importing a single share.Martin Schwenke2009-04-281-0/+8
| | | | | | | | | | | | | Commit d69c3db9d44ad5d9fd1f5d7a9499f3bd79ecfb47 caused the transaction start to be conditional but the commit is still unconditional, so an error occurs when importing a single share. An alternate fix would be to return the transaction start to be unconditional but then it would occur before other error checking. Signed-off-by: Martin Schwenke <martin@meltin.net> Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit e344341ddd46e45b2ecdaf604cdd5d64adab6343)
* s3-lsa: Fix Bug #6263. Unexpected LookupSids reply crashes XP pre-SP3.Günther Deschner2009-04-281-1/+9
| | | | | | | LookupSids needs to bounce back string sids in case of NT_STATUS_NONE_MAPPED. Guenther (cherry picked from commit 1c9266c8caa59e287b993393b6050732a0b33547)
* Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+Jeremy Allison2009-04-2811-58/+50
| | | | | | | | What a difference a name makes... :-). Just because something is missnamed SAMR_ACCESS_OPEN_DOMAIN, when it should actually be SAMR_ACCESS_LOOKUP_DOMAIN, don't automatically use it for a security check in _samr_OpenDomain(). Jeremy. (cherry picked from commit 1994a8a5db5c3abd6292b81aa975e7b8fe8311d0)
* s4-smbtorture: Fix crash bugs in RPC-SAMR_ACCESSMASK.Günther Deschner2009-04-281-7/+15
| | | | | | | | Also disable security descriptor based tests while testing samba3. Guenther (cherry picked from commit e6aa3f2d09bd004341dde28b15ef769a09401f26) (cherry picked from commit 148fa23d95af164babd9135fc40d528ec147e372)
* s3-examples: make sure to match correct key name in adssearch.Günther Deschner2009-04-281-1/+1
| | | | | | Guenther (cherry picked from commit 6fe012ff78caf10f4bf5503b27030cd54563ad0b) (cherry picked from commit 6afb9614381f926b590c627f44cf5a93e11068ec)
* s4-smbtorture: define TORTURE_DEFAULT_SERVICE and set to netlogon.Günther Deschner2009-04-281-6/+8
| | | | | | Guenther (cherry picked from commit f1fd39c09f0e094c882775367b1e4c5772d7ee51) (cherry picked from commit 9c914cf1bd4ce2d7abba6a4e94e393cb930f259e)
* s3/WHATSNEW: Rewording.Karolin Seeger2009-04-151-3/+2
| | | | | Karolin (cherry picked from commit db49a0cf2c9b9b108ec10d9b962026032910f4e4)
* s3/WHATSNEW: Add tevent to the list of internal changes.Karolin Seeger2009-04-151-0/+4
| | | | | Karolin (cherry picked from commit 83a9cbece9d1f3141c4f6bf7586a80f0eae6e37f)
* s3/WHATSNEW: Correct description.Karolin Seeger2009-04-151-4/+5
| | | | | Karolin (cherry picked from commit 459aa55885edc03707d58eedd15bd54227729bee)
* s3/WHATSNEW: Add Günther's spools conversion.Karolin Seeger2009-04-151-0/+13
| | | | | Karolin (cherry picked from commit d8de3f43ef4d4e399c4c55fd9738539f0ff97145)
* Remove the so-far unused lua-stuff for the 3.4 releaseVolker Lendecke2009-04-15103-28194/+3
| | | | (cherry picked from commit 0349dad1633cd9574e0d8c7d2054e4c7dd0fdc21)
* s3/configure: Disable the automatic merged build.Karolin Seeger2009-04-151-3/+4
| | | | | Karolin (cherry picked from commit 3b028d8609d29de2610d1c91d3098aa6002b90c4)
* s3/WHATSNEW: Add some more Franky specific stuff.Karolin Seeger2009-04-151-4/+7
| | | | | Karolin (cherry picked from commit 4d5306d047674676fe8f4e788cac88def055841a)
* s3/WHATSNEW: Add reference to Franky.Karolin Seeger2009-04-151-0/+23
| | | | | Karolin (cherry picked from commit 0df89b9a991adf692b26f2c5e50d0ed90e244849)
* s3-spoolss: Fix format of description string in spoolss_PrinterInfo1.Günther Deschner2009-04-151-10/+6
| | | | | | | | | This is what windows does and should get us closer to show the appropriate printer location string in explorer. Guenther (cherry picked from commit 4721be488ceb8229d564e4b63ca9937603394e51) (cherry picked from commit 90643d5d5457959cf18a4b99f6ecb1bb88886fe0)
* netdomjoin-gui: make sure to grey out change fields when not running as root.Günther Deschner2009-04-151-0/+15
| | | | | | Guenther (cherry picked from commit ca3de0103b545c86c8507dfc7d042f1838d5dfb2) (cherry picked from commit cb96e70a1d9112d9e4fff1fda4cf64abc7985347)
* libwbclient: Fix undocumented arguments doxygen warnings.Günther Deschner2009-04-151-8/+8
| | | | | Guenther (cherry picked from commit f2b3fbf0c04a6f9484853da263174a472eb6bb6d)
* s3-nsswitch: fix make test_wbpad.Günther Deschner2009-04-151-1/+1
| | | | | | Guenther (cherry picked from commit 1b9384a11f2957bcfbe9f23e023c79535d4a7bc9) (cherry picked from commit e7c9c2f279eaa424ba7cfecd0bfd827520640f5d)
* socket_wrapper: fix the build on systems without ipv6 supportStefan Metzmacher2009-04-151-0/+2
| | | | | | metze (cherry picked from commit 74707e8e8e1be2cbaa71fb0442957be2e663cbde) (cherry picked from commit b5faa34596eed3ada7f45db991ef0beb0391ce82)
* s4-smbtorture: make sure samba3 does not regress in EnumServicesStatusW call.Günther Deschner2009-04-151-0/+3
| | | | | | Guenther (cherry picked from commit a2ef1fee69771f58c27604ef213405031f42ff96) (cherry picked from commit 3368cd38f710b9d21a3382bfd8971f0f6517eec1)
* s3-svcctl: fix memcpy in _svcctl_EnumServicesStatusW().Günther Deschner2009-04-151-2/+1
| | | | | | | | | | Make sure we are not copying more than what we have as valid data. Fix from Jeremy. Thanks a lot for watching this so closely! Guenther (cherry picked from commit fa302020ee39bf39bf324983cf8e381232691e76) (cherry picked from commit 5fc2656e600791667835775c94a86f788abbcc1a)
* s3-spoolss: remove unused dup_nt_devicemode().Günther Deschner2009-04-152-29/+0
| | | | | | Guenther (cherry picked from commit e3ceb0c65333cb870463971021e3af24d82abf26) (cherry picked from commit 0f48d27d6fb45bc61899916037a5133e3022ec59)
* s4-smbtorture: print SPOOLSS_JOB_CONTROL flags in RPC-SPOOLSS test.Günther Deschner2009-04-151-1/+32
| | | | | | Guenther (cherry picked from commit 4a2dfbf3c94c8fc4c2cbcbea3b138c5a9674f951) (cherry picked from commit f78af6c1f1bab5299ef286ada2477e849cf5ba97)