summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-libnet: fix DEBUG statement in libnet_keytab.Günther Deschner2008-12-121-1/+1
| | | | | Guenther (cherry picked from commit 2dfeb2d5970f52e4948e22a2a4e4f47479a550dc)
* s3-libnet: fix build warning (missing prototype).Günther Deschner2008-12-121-2/+2
| | | | | Guenther (cherry picked from commit 60222a78c00ad9d1d09789024184c430bff0f68b)
* s3-libnet_samsync: print new line in display output.Günther Deschner2008-12-121-3/+3
| | | | | Guenther (cherry picked from commit 650077c22b2e67815c9a2fd8a1cc56986c0aaced)
* s3-samr: avoid code duplication for identical code in _samr_Connect2, 4 and 5.Günther Deschner2008-12-121-78/+15
| | | | | Guenther (cherry picked from commit 704b0d35707483a8fbf89da55a2d161375e56b3a)
* Use strtoul since id types are unsignedDan Sledz2008-12-121-2/+2
| | | | (cherry picked from commit 7eea7edfd02778599771edd3356888c848578766)
* s3-samr: fix rpcclient after idl change.Günther Deschner2008-12-121-3/+2
| | | | | Guenther (cherry picked from commit 7a3091a48b844bbad93c61a0570fd23bd87f76e1)
* s3-samr: modify logging in _samr_Connect2 so that it can be called from ↵Günther Deschner2008-12-121-4/+16
| | | | | | | other calls as well. Guenther (cherry picked from commit 332456f09bfea29e5a6558b5bd3b8c585892a3f5)
* s3-samr: a level 18 password set needs to set the pwdlastset as well.Günther Deschner2008-12-121-0/+4
| | | | | Guenther (cherry picked from commit 4260aadc2e00b6856d5cc2365ab751f3458472d5)
* s3-samr: fix samr_SetUserInfo level 18 server-side.Günther Deschner2008-12-121-16/+46
| | | | | Guenther (cherry picked from commit e22e9c09d1cb9102180b2a5401d21f391894f1ac)
* s3-samr: fix SAMR_FIELD_PASSWORD callers.Günther Deschner2008-12-123-4/+4
| | | | | Guenther (cherry picked from commit 2edf2cef9cb43a65ce8ee8e8a782d248856030dd)
* samr: make more explicit what SAMR_FIELD_PASSWORD{2} means.Günther Deschner2008-12-121-2/+2
| | | | | Guenther (cherry picked from commit c94cd674409f01d71bd9174829b1f05b95c50703)
* samr: fill in two unknowns in samr_UserInfo21.Günther Deschner2008-12-121-2/+2
| | | | | Guenther (cherry picked from commit e00a25dbba3daf06c744f998967c27c8a539e558)
* samr: fill in two unknowns in samr_DomInfo13.Günther Deschner2008-12-121-2/+1
| | | | | Guenther (cherry picked from commit b5e5124439b0215c2a82bf816f364661b4ba7785)
* s3-samr: fix init_samr_user_info2{1,3,5} callers.Günther Deschner2008-12-122-7/+7
| | | | | Guenther (cherry picked from commit ec3f80f86daa392a42c75edaee0865b6127347b1)
* s3-samr: fix samr callers of samr_UserInfo18.Günther Deschner2008-12-123-4/+9
| | | | | Guenther (cherry picked from commit 1cbbda7adcd6a5558fa259261c527aff6fc82477)
* s3-build: re-run make samba3-idl.Günther Deschner2008-12-122-36/+36
| | | | | Guenther (cherry picked from commit aed5272422f7842ac7aad6be5eadf813bdaf90d6)
* samr: fix samr_UserInfo18, lm/nt pwd mixup.Günther Deschner2008-12-121-2/+2
| | | | | Guenther (cherry picked from commit 299190ee53bc024abb832dfd6a832c4a756b99ee)
* samr: fix samr_UserInfo18. It also contains password_expired, thanks metze.Günther Deschner2008-12-121-0/+1
| | | | | Guenther (cherry picked from commit 6f466b2aeca8b3052dd8cf59ec1560bb23fe9c93)
* s3-samr: refuse do process UserSetInfo with 0 fields_present.Günther Deschner2008-12-121-0/+12
| | | | | Guenther (cherry picked from commit bfcff837ebde5b4d726bfccd62d72e5d062adbc0)
* s3-samr: simplify _samr_QueryUserInfo a lot and fix some few potential memleaks.Günther Deschner2008-12-121-167/+37
| | | | | Guenther (cherry picked from commit d5b7884b8e0ab5a92b9c69c4d1a812689f8d183e)
* s3-samr: fix samr_SetUserInfo{2} level 23.Günther Deschner2008-12-121-16/+21
| | | | | | | | Do not just start decoding/setting passwords when fields_present do not indicate there is a password to be set. Guenther (cherry picked from commit 90786ee2012e038b3ea5f5600903e7c208c6083b)
* s3-samr: _samr_EnumDomainUsers always returns a sam array (even w/o users).Günther Deschner2008-12-121-1/+1
| | | | | Guenther (cherry picked from commit fb575f6ce7915a41079afc8762fbf83e256c6631)
* s3-samr: fix return code for invalid name in _samr_LookupDomain.Günther Deschner2008-12-121-0/+3
| | | | | Guenther (cherry picked from commit d444a0d29c35715f5e1cf48d26f3d4064d93ff68)
* s3-samr: avoid enumeration and user creation on builtin domain handle.Günther Deschner2008-12-121-0/+10
| | | | | Guenther (cherry picked from commit 85a2c0607e25b8a3ca91c50f71f4d649d29bd0e3)
* s3-samr: support samr_CreateUser as well.Günther Deschner2008-12-121-10/+20
| | | | | Guenther (cherry picked from commit 584249dfffe5ed9efd67bfc598413d5d19eb80cf)
* s3-samr: support samr_QueryUserInfo2 as well.Günther Deschner2008-12-121-10/+15
| | | | | Guenther (cherry picked from commit 9b0f3359fc7cb27c5e4726b87ae4035e1908736a)
* s3-samr: add support for _samr_QueryUserInfo level 5.Günther Deschner2008-12-121-0/+108
| | | | | Guenther (cherry picked from commit e273479c7bdb57bbfaaae997a32fb3f2d8f7f896)
* s3-samr: add init_samr_user_info5.Günther Deschner2008-12-122-0/+66
| | | | | Guenther (cherry picked from commit 11a4ccc2b0f54324bbed2360fa48055fa43fee6d)
* Samba3-HOWTO: Fix usage of 'net idmap restore'.Karolin Seeger2008-12-111-1/+1
| | | | | | | | This fixes bug #5883. Karolin (cherry picked from commit b4a4e635246b88277b235fa343eda48bd4bb4ce3) (cherry picked from commit 5744177740120524740db884564142df19358ae7)
* VERSION: Raise version number.Karolin Seeger2008-12-111-1/+1
| | | | Karolin
* s3: merge german pam_winbind message translations from master.Günther Deschner2008-12-111-0/+181
| | | | | Guenther (cherry picked from commit aa0ef2f97d98e7ca80636a4dc8093d2034d0dbf1)
* Make the LookupRid access check match LookupName untilJeremy Allison2008-12-111-1/+1
| | | | | | we know the correct bits to use here. Jeremy. (cherry picked from commit 11bd02bc8e1484a953632d3293db716da2647c04)
* Fix usrmgr opening a user object as non-root.Jeremy Allison2008-12-111-1/+1
| | | | | Jeremy. (cherry picked from commit 6a4b0683e05ecc0bf57a1601c741582576f31b23)
* Fix a delete on close divergence from windows [2/2]Tim Prouty2008-12-115-54/+4
| | | | | | This second patch cleans up by removing all of the code that is made obsolete by the first patch. It should cause no functional changes. (cherry picked from commit c39c35f3e67a726c6464c1497e46fe7a2eb3dc77)
* Fix a delete on close divergence from windows [1/2]Tim Prouty2008-12-111-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | smbtorture4's BASE-DELETE:deltest17 was failing against win2k8, win2k3, and winXPsp2 but passing against samba. deltest17 does the following: 1. open file -> file is created 2. closes file 3. open file with DOC -> fnum1 4. check that DOC is not reported as being set from fnum1 5. opens file again Read Only -> fnum2 6. check that DOC is not reported as being set from either file handle 7. close fnum1 (the file handle that requested DOC to be set) 8. check if DOC is reported as being set from fnum2 * This is where windows and samba begin to diverge. Windows reports that the DOC bit is set, while samba reports that it is not set. 9. close fnum2 (the last remaining open handle for the file) 10.See if the file has been deleted. * On samba the file still exists. On windows the file was deleted. The way open_file_ntcreate is written now, if an open has the DOC bit set on the wire, DOC (fsp->initial_delete_on_close) is not set unless: a. the open creates the file, or b. there is an open file handle with a share_entry in the struct lck that has the SHARE_MODE_ALLOW_INITIAL_DELETE_ON_CLOSE bit set (let's call it SM_AIDOC). My understanding of SM_AIDOC is that it was added to differentiate between DOC being set on an open that creates a file vs an open that opens an existing. As described in step 8/10 above, it appears that windows does not make this differentiation. To resolve this issue there are two patches. This first patch is a simple proof of concept change that is sufficient to fix the bug. It removes the differentiation in open_file_ntcreate, and updates deltest17 to allow it to pass against win2k3/xp. This makes open_file_ntcreate more closely match the semantics in open_directory and rename_internals_fsp. This change also does not break any other tests in BASE-DELETE or "make test". Specifically test deltest20b which verifies the CIFSFS rename DOC semantics still passes :). (cherry picked from commit 69a2b8ea06bf65109ed8a44df38e62bcbac7c4a9)
* Fix bug #5688 LPQ process is orphaned if socket address parameter is invalidSATOH Fumiyasu2008-12-111-6/+33
| | | | (cherry picked from commit 7ef3e752bf56d130a242d6bb6e92fa76cae45fa0)
* build-docs: Change to the right directory before calling 'make clean'.Karolin Seeger2008-12-111-1/+1
| | | | | | | | This fixes build-docs if it's called from the create-tarball script. Karolin (cherry picked from commit dd3ef73c8c184eaec7ee515ef2130f30f9e481b3) (cherry picked from commit 8dd3a7bfde16e85a9ee509cf6bcfc788062705a5)
* s3-ldapsam: Fix Bug 5957: do not abort rename process on valid rename script.Günther Deschner2008-12-111-1/+1
| | | | | | Guenther (cherry picked from commit 26139344fd0fac4fdd2a6752628b252fbd9b7450) (cherry picked from commit 866efa63a26f75bbf17cd4bebf639594e2feafba)
* Fix bug #5953 - smbclient crashes: cli_list_new segmentation fault.Jeremy Allison2008-12-111-1/+1
| | | | | | Karolin: must be in 3.3 final. Thanks, Jeremy. (cherry picked from commit e9cad95d8728ac81ca13b5dea16167ceb4e4cf50)
* Fix logging to syslogDan Sledz2008-12-111-1/+1
| | | | (cherry picked from commit 76467c3b4e89cbeea4cb352ea4cb0b97fab17295)
* Fix bug #5928 - Option --version in testparm does not work.Tomasz Krasuski2008-12-111-1/+1
| | | | (cherry picked from commit 5eadcdfd93023157e582e04cbdadb9f55ed090bb)
* Fix lp_socket_address() prototype.Jeremy Allison2008-12-111-1/+1
| | | | | Jeremy. (cherry picked from commit 40747f209313ad6430bc35c1d82ffb5f516af621)
* Fix bug #5944 - nmbd does not boot if socket adress = "" is defined in smb.confYasuma Takeda2008-12-112-4/+17
| | | | (cherry picked from commit bcbdb0f2394acb9130763097c8192f4b497533eb)
* Fix for crash bug freeing a non-malloc'ed buffer if the client sends a ↵Volker Lendecke2008-12-111-0/+7
| | | | | | non-encrypted packet with the crypto state set. (cherry picked from commit 8b49bf06e252b3c37ba910f8b887f48232eb1a9b)
* mount.cifs: if mount user not specified use USER environment variableSteve French2008-12-111-1/+7
| | | | | | | | | | | | | | smbfs also would use the USER environment variable if the user was not specified on the mount command and no credential file specified, and mount.cifs man page says that we will use this environment variable (in most cases this will not cause a behavior change, because we were doing getuid of the current process which will usually be the same name). Fixes Samba bug #5934 Acked-by: Jeff Layton (cherry picked from commit a679d0e96ec54f4660537966b31ce2f56d5a1ea9)
* Fix bug #5937 - filenames with "*" char hide other filesJeremy Allison2008-12-111-6/+4
| | | | | Jeremy. (cherry picked from commit dda44029e98d581e358146443d66d3e243163f15)
* Fix bug #5929 - vfs_prealloc does not build with option ↵Henning Henkel2008-12-111-1/+1
| | | | | | --with-cluster-support and GPFS (cherry picked from commit e4ea7d93e6d60f5e5759e27bfa9e58ae955b0b3b)
* Remove unused var.Jeremy Allison2008-12-111-2/+0
| | | | | Jeremy. (cherry picked from commit a27251b9d58227dd5f258cf32e4117ce5e1e15e8)
* Fix bug #1254 - write list not working under share-level securityJeremy Allison2008-12-114-41/+52
| | | | | | | | | A somewhat more elegant fix than I could use for 3.2.x or 3.0.x. Turns out the only part of check_user_ok() that needs to change for share level security is the VUID cache pieces, so I can just always use check_user_ok() for all lp_security() cases. Jeremy (cherry picked from commit a808c53ec938a6aeb9f9ddc6a5a02273c7bfdcc9)
* winbindd: fix horrible mis-indentation of toplvl braces in getgrsid_sid2gid_rMichael Adam2008-12-111-2/+2
| | | | | | | to make code more readable Michael (cherry picked from commit d28a0f970e06c67729d71d505c35ae1d49ad6ccc)