summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-05-12s3 onefs: Self-contend level2 oplocks on BRLZack Kirsch2-2/+14
2009-05-12s3 onefs: Fix ignore sacl parameterTim Prouty4-24/+36
2009-05-12s3: Fix strict locking with chained readsTim Prouty1-22/+24
Move the strict lock/unlock code down a level for reads to avoid calling chain_reply before the unlock.
2009-05-12s3: Fallback to the legacy sid_to_(uid|gid) instead of returning NULL.Aravind Srinivasan2-26/+4
This is very similar to be1dfff02d562e42a7847bd02fed8538630d3f41
2009-05-12s3 auth: Make debug message louder and more usefulDan Sledz1-2/+3
2009-05-13s3-spoolss: move SPL_ARCH_X defines to IDL.Günther Deschner1-8/+0
Guenther
2009-05-13s3-netdomjoin-gui: prepare to call out for NetRenameMachineInDomain() to ↵Günther Deschner1-1/+48
rename computers in domains. Guenther
2009-05-12s3-netdomjoin-gui: Fix join prompt dialog test.Günther Deschner1-1/+1
Guenther
2009-05-12s3-netdomjoin-gui: use NetServerGetInfo() level 101 to get hostname.Günther Deschner1-2/+7
Guenther
2009-05-12s3-netdomjoin-gui: inspect the correct computername string beforeGünther Deschner1-1/+1
enabling/disabling the change button. Guenther
2009-05-12Clean up assignments to iov_base, ensure it's always cast to void *. This ↵Jeremy Allison11-32/+32
should quieten some warnings with picky compilers on the buildfarm. Jeremy.
2009-05-12Fix the last few format arg missmatches I missed.Jeremy Allison1-4/+4
Jeremy.
2009-05-12Convert response.extra_data.data from malloc to tallocVolker Lendecke8-98/+47
2009-05-12Fix bug 6157Volker Lendecke3-1/+60
This patch picks the alphabetically smallest one of the multi-value attribute "uid". This fixes a regression against 3.0 and also becomes deterministic.
2009-05-12s3-printing: Fix vlp testprinter application.Günther Deschner2-31/+30
Jeremy, we cannot just access cache_path() here without calling lp_load and friends as well as parsing configfile from the commandline in order to make "make test/selftest" find the correct conffile with path, etc. I just changed it to pass the target tdbfilename as an argument, ok ? Guenther
2009-05-12s3:build: extend the support fo Debian GNU/kFooBar to kOpenSolarisMichael Adam1-5/+5
As suggested by Robert Millan. Michael
2009-05-12s3:build: support non-linux gnu portsMichael Adam1-4/+16
This is based on a patch by the debian package maintainers, adapted for the merged branch. Michael
2009-05-12s3:loadparm: free the file_list at the start of loadparmMichael Adam1-0/+2
This should reduce the waste of memory when using "config file" or "config backend". It also reduces the risk of triggering reloads due to some old unused files being checked. Michael
2009-05-12s3:loadparm: refactor freeing of file_list out into free_file_lists()Michael Adam1-13/+21
Michael
2009-05-12s3:proto.h: remove old param/params.c prototypeMichael Adam1-7/+0
Michael
2009-05-11Fix warning about unused label with no sendfile.Jeremy Allison1-1/+2
Jeremy.
2009-05-11Fix a bunch of compiler warnings about wrong format types.Jeremy Allison18-57/+61
Should make Solaris 10 builds look cleaner. Jeremy.
2009-05-11Hopefully fix the buildfarm. Add some debug level 10 messagesJeremy Allison2-5/+20
I used to track down the vlp problem, change the vlp test printer not to use a static path of /tmp/vlp.tdb for the virtual print database (as this will eventually fill up). Cause it to use a virtual print database inside the cachepath. Jeremy.
2009-05-12s3-samr: implement _samr_RidToSid().Günther Deschner1-10/+30
Guenther
2009-05-12s3-samr: Let _samr_TestPrivateFunctionsDomain() return ↵Günther Deschner1-1/+0
NT_STATUS_NOT_SUPPORTED to make RPC-SAMR happy. Guenther
2009-05-11Fix some nonempty blank linesVolker Lendecke1-37/+37
2009-05-11Correct typos; semicolons instead of commasDerrell Lipman1-7/+7
2009-05-11s3-samr: Fix Bug #5859, renaming of samr objects failed due to samr ↵Günther Deschner1-0/+3
setuserinfo access checks. Torture test to follow... Guenther
2009-05-11Add checks for non_root mode to help buildfarm spoolss tests.Jeremy Allison1-14/+18
Reviewed by Guenther. Jeremy.
2009-05-11s3-lsa: Fix _lsa_LookupNames2() server implementation which always returned ↵Günther Deschner1-0/+1
a NULL sid_array since 3.2.0. Found by torture test. This makes it possible to search for users while adding them to groups via windows usermanager. Guenther
2009-05-11s3-selftest: enable RPC-LSA-LOOKUPNAMES against Samba 3.Günther Deschner1-1/+1
Guenther
2009-05-11s3-net: add "net dom renamecomputer" to rename machines in a domain.Günther Deschner2-3/+114
dmarkey, please test :) Guenther
2009-05-10Provide a libsmbclient interface for programs requiring threadsDerrell Lipman4-1/+288
- This adds two functions: smbc_thread_posix() which provides access to the internal threading implementation using pthread; and smbc_thread_impl() where the user provides each of the functions required by Samba, to give access to the thread implementation's native capabilities. Derrell
2009-05-09wb_int_trans -> wb_simple_trans in wbclient.cVolker Lendecke1-148/+24
2009-05-09Add wb_simple_trans_send/recvVolker Lendecke2-1/+137
2009-05-09Pass also sername to check password scriptSimo Sorce1-4/+12
2009-05-09Fix the mangle1 testVolker Lendecke1-1/+1
2009-05-09Do not call SMB_VFS_GET_REAL_FILENAME if the name is mangledVolker Lendecke1-6/+11
The GPFS get_real_file name does not know about mangled names. Tim, if onefs does not either, you need this bugfix :-) In case onefs does 8.3 names, we need to pass the mangled flag down to SMB_VFS_GET_REAL_FILENAME to give GPFS a chance say ENOTSUPP and do the fallback.
2009-05-09s3:libsmb: fix layering of cli_ntrename_internal and its callersStefan Metzmacher1-29/+35
It's easier to have cli_ntrename_internal as a semetric async tevent_req function. cli_ntrename() and cli_nt_hardlink() should be callers on top of cli_ntrename_internal(). metze
2009-05-08s3: Fix chained sesssetupAndX/tconn messagesTim Prouty1-0/+7
A sesssetupAndX chained with a tconn will not correctly set the TID in the response header. I'm seeing an XP client send this chained sesssetup/tconn when samba has security = share. Samba's current behavior is to return a TID of 0 in the smb header rather than the actual TID. This patch also updates the UID in the header as well.
2009-05-09s3-samr: Fix SetUserInfo level 16 and 21 w.r.t. ACB_AUTOLOCK acct_flag.Günther Deschner1-0/+10
It is not allowed to *set* this flag remotely if it has been not set already. Found by torture test. Guenther
2009-05-09s3-samr: Fix SetUserInfo level 7 when there has been no name change.Günther Deschner1-0/+6
Found by torture test. Guenther
2009-05-08s3-selftest: enable running RPC-SAMR-USERS against Samba3.Günther Deschner1-1/+1
Guenther
2009-05-08s3-samr: more accurateness in _samr_SetDomainInfo().Günther Deschner1-3/+3
Guenther
2009-05-08Fix bug #6330 - DFS doesn't work on AIX. Jeremy.Jeremy Allison2-0/+14
2009-05-08Expand the comment explaining why user_in_group_sid isJeremy Allison1-1/+6
not reliable for winbindd users from foreign domains. Jeremy.
2009-05-08s3:smbd: fix posix acls when setting an ACL without explicit ACE for the ↵Stefan Metzmacher1-3/+18
owner (bug#2346) The problem of bug #2346 remains for users exported by winbindd, because create_token_from_username() just fakes the token when the user is not in the local sam domain. This causes user_in_group_sid() to give totally wrong results. In uid_entry_in_group() we need to check if we already have the full unix token in the current_user struct. If so we should use the current_user unix token, instead of doing a very complex user_in_group_sid() which doesn't give reliable results anyway. metze
2009-05-08s3:smbd: fix the fix for mapped IPv4 address handling in release_ip().Michael Adam1-2/+2
It was too late... Thanks Metze for noticing. Michael
2009-05-08s3-selftest: run RPC-LSA-GETUSER against Samba 3.Günther Deschner1-1/+2
Guenther
2009-05-08s3-samr: implement more info levels in _samr_QueryDomainInfo().Günther Deschner1-0/+82
Gets us closer to pass RPC-SAMR. Guenther