summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r12986: Use d_fprintf(stderr, ...) for any error message in net.Lars Müller16-255/+278
All 'usage' messages are still printed to stdout. Fix some compiler warnings for system() calls where we didn't used the return code. Add appropriate error messages and return with the error code we got from system() or NT_STATUS_UNSUCCESSFUL. (This used to be commit f650e3bdafc4c6bcd7eb4bcf8b6b885b979919eb)
2007-10-10r12967: BUG 1061: don't corrupt the file name when reading an lmhosts file ↵Gerald Carter1-3/+4
(-H) in nmbd. Patch from Andrew Esh <Andrew_Esh@adaptec.com> (This used to be commit 14160c496112e06e4ea0d0a5aa5bad2b58e90601)
2007-10-10r12964: Rewind rem_backend in the case we have to workaround the idmap_ prefix.Lars Müller1-0/+6
Else SAFE_FREE seg faults. Thanks to Günther for pointing me at this. I've implemented in in this was as we should announce to remove the idmap_ strip stuff after some time at all. (This used to be commit 6a5bf399a59b4f07a1560d534629cb14e20b5d3f)
2007-10-10r12956: Fix for bug #3035 from SATOH Fumiyasu <fumiyas@miraclelinux.com>Jeremy Allison1-1/+13
On a Windows share, a file with read-only dosmode can be opened with DELETE_ACCESS. But on a Samba share (delete readonly = no), it fails with NT_STATUS_CANNOT_DELETE error. This semantic causes a problem that a user can not rename a file with read-only dosmode on a Samba share from a Windows command prompt (i.e. cmd.exe, but can rename from Windows Explorer). Jeremy. (This used to be commit dd185c7aa8de156dab58b065bf73905b2a29f40d)
2007-10-10r12953: Support the TCP_FASTACK socket option if it is available. Note that ↵James Peach1-0/+3
this will not acutally help, but it is good to be complete. (This used to be commit 2163e4b6b453ebf1fefc64e74890300108bbf8f6)
2007-10-10r12951: Tell the MIPSPro compiler to push DEBUG calls out of line.James Peach1-0/+6
(This used to be commit a346059912c05d2b4a27892571d6e89f44907d5c)
2007-10-10r12946: fix a segfault in nmbd when 'wins support = yes' caused by double freeGerald Carter1-3/+5
(This used to be commit c11372f4ec49634e2ae2e6b9ddf4d2b72976f9c5)
2007-10-10r12938: Fix for #3408 (change password fails) from William Jojo ↵Jeremy Allison1-3/+7
<jojowil@hvcc.edu>. Jeremy. (This used to be commit 5fc0ef80876a666c285585f8b55e1909e8f2e0bf)
2007-10-10r12936: Fix bug #3264.Lars Müller1-0/+6
If we detect a leading 'idmap_' for the idmap backend setting we strip this and inform about the deprecated config with DEBUG 0. I'm not sure if we should set a TTL of one year or five additional releases from now for this code. This is required for the changes Günther made as the first step to solve bug #3264. With this fix we can even run with an old config. This is very important as we else will break existing configurations with an update. (This used to be commit 34c7d8c0694369760340843318f873e26546cb2e)
2007-10-10r12935: After discussion with Volker fix bug #3397 using a variant of the ↵Alexander Bokovoy4-2/+113
patch by Alex Deiter (tiamat@komi.mts.ru). Introduces level 9 of getuserinfo and allows to successfully install MS SMS2003 on a member of a Samba domain. Also added support for this level in rpcclient. The code for infolevel 9 is modelled upon Samba-TNG by Alex Deiter. Jerry, we need this in 3.0.21b. (This used to be commit 93461646ce2ad6e2f8b11d40ce98722d56a83b43)
2007-10-10r12922: Fix typo.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 1c32b352da270370e65d25939fdc56c2a415190f)
2007-10-10r12920: Fix for #3401 from Andrew Bartlett. Original fix fromJeremy Allison1-0/+5
Yau Lam Yiu <yiuext@cs.ust.hk>. Jeremy. (This used to be commit 4776101107923e425a153fe0457dbf61f4c99935)
2007-10-10r12916: use rpcstr_pull() instead of unistr_to_ascii() when validating share ↵Gerald Carter2-8/+4
names (This used to be commit c08bc30698eac2f3f5dd8257b4fd7c3e23e6de39)
2007-10-10r12915: protect against changing the SCM security descriptorGerald Carter1-0/+5
(This used to be commit 5842da99681c15437c11e9925dec24c8c0e3708a)
2007-10-10r12914: adding query/set ops for security descriptors on services.Gerald Carter5-3/+324
(This used to be commit cefd2d7cb6140b068d66e2383e9acfa4c3c4b4c7)
2007-10-10r12913: missed merge to fix BUG 3391; ensure we can lookup account policiesGerald Carter1-2/+5
(This used to be commit 77575c64e4e961f37ccf5b2dd17e41c74678ea45)
2007-10-10r12912: patch from Tony Mountifield <tony@softins.co.uk> for BUG 3327 (fix ↵Gerald Carter2-1/+7
bad access to gencache.tdb after fork() in smbmount (This used to be commit 68399ce04ca4509d51950d2d7b1ed817e82bf17c)
2007-10-10r12904: Fix #3264, allow to load idmap_ad with "idmap backend = ad".Günther Deschner3-7/+6
Finally cleanup the way idmap modules are build and loaded, idmap_rid now will have to be loaded without prefix, just "rid". Guenther (This used to be commit a77e02177dcefaaccf863aa8d237ea35a2ec52d1)
2007-10-10r12901: Fix netfileenum returning WERR_BUF_TOO_SMALL.Günther Deschner1-1/+1
Guenther (This used to be commit b8ff07b04afe82bdce5d1f69513ce67ecde5b030)
2007-10-10r12900: Merge from trunk:Günther Deschner2-1/+45
Correctly handle the case where users logon with an expired password. In that case pam_sm_authenticate has to return PAM_SUCESS instead of PAM_NEW_AUTHTOK_REQD or PAM_AUTHTOK_EXPIRED and pam_sm_acct_mgmt has to take care of requesting an immediate password change. (see the Linux PAM documentation). Fixes Bugzilla #1524, #3205. Tested with login, sshd, kdm and gdm on Linux. Thanks to Scott Barker <Scott_Barker@mtechIT.com>. Guenther (This used to be commit 4cb662ffd76dbe30003c618c94ccf6ebd4afb48c)
2007-10-10r12889: BUG 3380: fix crash when changing printer drivers caused by ↵Gerald Carter1-0/+2
accessing a previously freed pointer (This used to be commit bcce3b69f83f52deb308d8c2f5165000468bd552)
2007-10-10r12885: Oops. Missed last part of correct patch for #3348.Jeremy Allison1-1/+0
Caught by Samba4 oplock torture tester. Jeremy. (This used to be commit c2476b2f75f6521700107a46028f54110083aa52)
2007-10-10r12878: Don't use non-static array initialisers.James Peach1-1/+2
(This used to be commit 95b231f0285c65bcdc62cd453cea634f9f5e7f91)
2007-10-10r12877: Stop passing structs around in smb messages, insteadJeremy Allison8-75/+245
always linearize into little-endian. Should fix all Solaris issues with this, plus provide a cleaner base moving forward for cluster-aware Samba where smbd's can communicate across different compilers/architectures (eventually these message will have to go cross-machine). Jeremy. (This used to be commit d01824b78576a034428e1cef73868d1169057991)
2007-10-10r12871: Merge Volkers rev 12667 from trunk as his analysis hit the nail on theLars Müller1-1/+1
head. Volker: Thanks for poking me last week. (This used to be commit 9a8e1c8b4c302a8e8a4a39b8ec8df2536acfebe2)
2007-10-10r12870: fixing net rpc registry enumerate from overwritnig the open subkey ↵Gerald Carter1-1/+0
handle (This used to be commit cc2e7052bd05a15f43268ce87dc29506bb5bb5bf)
2007-10-10r12855: Remove erroneous commenting out of valgrind fix.Jeremy Allison1-1/+1
Jeremy. (This used to be commit b76c7b613282dc89c54faf3e7cef98f7651c5a9d)
2007-10-10r12853: Fix segfault in "net rpc vampire|samdump" (Bugzilla #3390).Günther Deschner2-6/+20
The session key, after beeing set, was zeroed later on by the prs_init in the CLI_DO_RPC macro. Guenther (This used to be commit eaaeaa767e86151886964dcdd9f3186f0b31ed53)
2007-10-10r12852: r12150@cabra: derrell | 2006-01-11 13:21:14 -0500Derrell Lipman1-30/+15
Although RTLD_NEXT was not working properly a number of years ago, it seems to be now. Replace dlopen(/lib/libc...) with direct use of RTLD_NEXT (This used to be commit 2b4866500640891fcb1ca7b24997df17f1b077cc)
2007-10-10r12840: Add -W to smbpasswd. Thanks to William Jojo <jojowil@hvcc.edu>.Volker Lendecke1-1/+9
Volker (This used to be commit 2942f3594ba39748dca0238f1e1a5c744a7afffb)
2007-10-10r12839: - apply changes from svn r4963 also for VFS configure - KRB5_CONFIG ↵Volker Lendecke1-4/+4
should not be used - rename it to KRB5CONFIG Thanks to Björn Jacke <bj@sernet.de> Volker (This used to be commit 9c44fef5bec76d383d25b73ecc01dc1fc25b3f20)
2007-10-10r12837: - configure check for Tru64 EA functions (not yet implemented)Volker Lendecke1-11/+23
- find Tru64 AIO lib in configure Thanks to Björn Jacke <bj@sernet.de> Volker (This used to be commit 044dc331739d4a1678bbf6347df9725f709f5be3)
2007-10-10r12802: Fix for bugzilla #3389 from William Jojo. This fixes failures on AIX inTim Potter1-1/+1
linking smbd when the symbol table for ld exceeds 65536 bytes. (This used to be commit 679fc459357d3ddfac1786726e4d2ccdada0b05f)
2007-10-10r12794: BUG 3340: patch from William JoJo <jojowil@hvcc.edu> to fix ↵Gerald Carter1-1/+1
automatic inclusion of aio support on AIX (This used to be commit f19f7961eef9d9fe345279c5ab35d18dff14e5ea)
2007-10-10r12788: Since we have agreed on the case of winbindd names, we can store aGünther Deschner1-2/+5
sid_to_name lookup result already after doing a sucessfull name_to_sid lookup. Guenther (This used to be commit 2456832a6d9ad2590dc02e147cc2c2e87d5a3a7a)
2007-10-10r12787: Revert last commit that removed our logic of memorizing negativeGünther Deschner1-3/+1
name_to_sid lookups in the cache. Guenther (This used to be commit 348d309688260d17d9cdbf11fc54ad30829ceae5)
2007-10-10r12781: Support the level parameter for lsa_lookupsids.Volker Lendecke1-0/+2
Simplify the interfaces to domain trusts a bit: Nothing outside secrets.c needs to know we're storing stuff in ucs2. Volker (This used to be commit a01fa43ed2d43f79940795b70a330c6a9ddf1b45)
2007-10-10r12771: Apply patch from bug 3374, attempt to fix build on tru64.Volker Lendecke2-0/+5
Thanks to "The Written Word" -- whoever that is :-) Volker (This used to be commit 7d0956f0bd28728fbb8b4c24c4ed3cdcc04e2daf)
2007-10-10r12760: Fix bug 3384Volker Lendecke1-0/+30
(This used to be commit 9d366da172a13fe9fd6e940f95d58dac534f3b31)
2007-10-10r12759: r12128@cabra: derrell | 2006-01-07 15:34:01 -0500Derrell Lipman10-287/+479
Incorporate a number of changes suggested by David Collier-Brown Thanks, David! (This used to be commit 0ae65b9af566e02eece9bb7865047c037468d470)
2007-10-10r12758: r12127@cabra: derrell | 2006-01-03 15:22:18 -0500Derrell Lipman1-5/+1
remove old superfluous comment and ifdef (This used to be commit ee7fcb43ad456929f1f005f47c52a4b4d46c5087)
2007-10-10r12757: r12126@cabra: derrell | 2006-01-03 15:21:36 -0500Derrell Lipman1-2/+11
added flag to not request authentication information (This used to be commit 8396c4b26c9911887ed1c1ce17c31af462ee6883)
2007-10-10r12742: Don't write null sid mappings into the winbindd_cache.tdb.Günther Deschner1-1/+3
Guenther (This used to be commit 1e0124efc54810125bbfae6dce536b2c4fff62c1)
2007-10-10r12735: After talking to Tridge and Jeremy... This needs to be made more genericVolker Lendecke7-209/+7
before it goes in. Volker (This used to be commit 2c3d5c029a31111e1fe84ddc13c1bfc183d8bfde)
2007-10-10r12721: GPFS 2.4 on Linux will contain some windows semantics, ie share ↵Volker Lendecke7-7/+209
modes and oplocks across the cluster. Adapt Samba to it. The gpfs API is called via libgpfs.so. This code is written with dlopen(), so that you can compile on a system with gpfs installed and later on run on systems without gpfs available. So to actually make Samba call gpfs share mode calls you need to compile with gpfs.h and libgpfs.so around and set 'gpfs share = yes' on the shares you export from GPFS. Volker (This used to be commit 2253b17a1a88555291b59d52c826c81c2b8f7e7f)
2007-10-10r12714: Fix segfault in pdb_nds.c.Günther Deschner2-5/+5
Guenther (This used to be commit f78c7f8abea4cb598eca78fa3beacee8a3caee20)
2007-10-10r12713: Remove use of uint8_t -> uint8.Jeremy Allison4-11/+11
Jeremy. (This used to be commit 4473ac4ef9c86574fc49b1e67089b59b14b6d10d)
2007-10-10r12678: One moreVolker Lendecke1-0/+2
(This used to be commit f80fe785bcecd1a27df650e3fdbfd01621b9cc58)
2007-10-10r12663: Fix a memleakVolker Lendecke1-0/+4
(This used to be commit 3ee6b732f4210e6de6716364ec166f44f29f4463)
2007-10-10r12660: Happy New Year!Stefan Metzmacher1-1/+1
metze (This used to be commit 5cef2c320b22a865f32a25412ce506442e255fc3)