1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

18773 Commits

Author SHA1 Message Date
Jeremy Allison
2fd79d8bfc r13015: Make logic much clearer. From jpeach.
Jeremy.
(This used to be commit d9b6bdd84a)
2007-10-10 11:06:10 -05:00
Jeremy Allison
90372e1e93 r13012: Fix #3421 - it turns out krb5_kt_get_entry() on MIT
does an implicit open/read/close and blows away an
open keytab handle - so make sure we use a new
handle.
Wonderful analysis from Luke <ldeller@xplantechnology.com>
helped fix this.
Jeremy.
(This used to be commit 9d2f2385ad)
2007-10-10 11:06:10 -05:00
Volker Lendecke
fcd791c1da r12994: Fix cut&paste error, thanks to Björn Jachke <bj@sernet.de>
(This used to be commit 8176f5a282)
2007-10-10 11:06:10 -05:00
Volker Lendecke
0d3168381d r12993: Ouch...
(This used to be commit de0347cd70)
2007-10-10 11:06:10 -05:00
Gerald Carter
4dd192799d r12991: some fixes for BUG 3331 - solaris packaging
(This used to be commit b334052108)
2007-10-10 11:06:10 -05:00
Gerald Carter
e2de656314 r12990: BUG 3329: patch from David May <mayd@cygnus.uwa.edu.au> for Solaris shell script portability issues in 'make test'
(This used to be commit 19339a9510)
2007-10-10 11:06:09 -05:00
Lars Müller
c42be9fd38 r12986: Use d_fprintf(stderr, ...) for any error message in net.
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 f650e3bdaf)
2007-10-10 11:06:09 -05:00
Gerald Carter
f751954009 r12967: BUG 1061: don't corrupt the file name when reading an lmhosts file (-H) in nmbd. Patch from Andrew Esh <Andrew_Esh@adaptec.com>
(This used to be commit 14160c4961)
2007-10-10 11:06:09 -05:00
Lars Müller
bc1a5b7935 r12964: Rewind rem_backend in the case we have to workaround the idmap_ prefix.
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 6a5bf399a5)
2007-10-10 11:06:09 -05:00
Jeremy Allison
2dd7fd8f69 r12956: Fix for bug #3035 from SATOH Fumiyasu <fumiyas@miraclelinux.com>
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 dd185c7aa8)
2007-10-10 11:06:09 -05:00
James Peach
d67b72a0f2 r12953: Support the TCP_FASTACK socket option if it is available. Note that this will
not acutally help, but it is good to be complete.
(This used to be commit 2163e4b6b4)
2007-10-10 11:06:09 -05:00
James Peach
ed0c8e056d r12951: Tell the MIPSPro compiler to push DEBUG calls out of line.
(This used to be commit a346059912)
2007-10-10 11:06:08 -05:00
Gerald Carter
4c7b4cd33a r12946: fix a segfault in nmbd when 'wins support = yes' caused by double free
(This used to be commit c11372f4ec)
2007-10-10 11:06:08 -05:00
Jeremy Allison
bfc2bf8178 r12938: Fix for #3408 (change password fails) from William Jojo <jojowil@hvcc.edu>.
Jeremy.
(This used to be commit 5fc0ef8087)
2007-10-10 11:06:08 -05:00
Lars Müller
4dea23da04 r12936: Fix bug #3264.
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 34c7d8c069)
2007-10-10 11:06:08 -05:00
Alexander Bokovoy
a02415bf36 r12935: After discussion with Volker fix bug #3397 using a variant of the 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 93461646ce)
2007-10-10 11:06:08 -05:00
Jeremy Allison
ae4a576f68 r12922: Fix typo.
Jeremy.
(This used to be commit 1c32b352da)
2007-10-10 11:06:08 -05:00
Jeremy Allison
5f4a895cdd r12920: Fix for #3401 from Andrew Bartlett. Original fix from
Yau Lam Yiu <yiuext@cs.ust.hk>.
Jeremy.
(This used to be commit 4776101107)
2007-10-10 11:06:07 -05:00
Gerald Carter
005c88054f r12916: use rpcstr_pull() instead of unistr_to_ascii() when validating share names
(This used to be commit c08bc30698)
2007-10-10 11:06:07 -05:00
Gerald Carter
bb59be3e0d r12915: protect against changing the SCM security descriptor
(This used to be commit 5842da9968)
2007-10-10 11:06:07 -05:00
Gerald Carter
e7a1a0ead2 r12914: adding query/set ops for security descriptors on services.
(This used to be commit cefd2d7cb6)
2007-10-10 11:06:07 -05:00
Gerald Carter
c5e7ddc63b r12913: missed merge to fix BUG 3391; ensure we can lookup account policies
(This used to be commit 77575c64e4)
2007-10-10 11:06:06 -05:00
Gerald Carter
aa363846d6 r12912: patch from Tony Mountifield <tony@softins.co.uk> for BUG 3327 (fix bad access to gencache.tdb after fork() in smbmount
(This used to be commit 68399ce04c)
2007-10-10 11:06:06 -05:00
Günther Deschner
8eba11978d r12904: Fix #3264, allow to load idmap_ad with "idmap backend = ad".
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 a77e02177d)
2007-10-10 11:06:06 -05:00
Günther Deschner
967ab90b17 r12901: Fix netfileenum returning WERR_BUF_TOO_SMALL.
Guenther
(This used to be commit b8ff07b04a)
2007-10-10 11:06:06 -05:00
Günther Deschner
29ba5c17cd r12900: Merge from trunk:
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 4cb662ffd7)
2007-10-10 11:06:06 -05:00
Gerald Carter
dbac670166 r12889: BUG 3380: fix crash when changing printer drivers caused by accessing a previously freed pointer
(This used to be commit bcce3b69f8)
2007-10-10 11:06:06 -05:00
Jeremy Allison
d86ebaf198 r12885: Oops. Missed last part of correct patch for #3348.
Caught by Samba4 oplock torture tester.
Jeremy.
(This used to be commit c2476b2f75)
2007-10-10 11:06:05 -05:00
James Peach
92092cbcdc r12878: Don't use non-static array initialisers.
(This used to be commit 95b231f028)
2007-10-10 11:06:05 -05:00
Jeremy Allison
3317484799 r12877: Stop passing structs around in smb messages, instead
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 d01824b785)
2007-10-10 11:06:05 -05:00
Lars Müller
80f2848260 r12871: Merge Volkers rev 12667 from trunk as his analysis hit the nail on the
head.

Volker: Thanks for poking me last week.
(This used to be commit 9a8e1c8b4c)
2007-10-10 11:06:05 -05:00
Gerald Carter
10b182fe73 r12870: fixing net rpc registry enumerate from overwritnig the open subkey handle
(This used to be commit cc2e7052bd)
2007-10-10 11:06:05 -05:00
Jeremy Allison
e03a68ff7e r12855: Remove erroneous commenting out of valgrind fix.
Jeremy.
(This used to be commit b76c7b6132)
2007-10-10 11:06:05 -05:00
Günther Deschner
54b1c585bb r12853: Fix segfault in "net rpc vampire|samdump" (Bugzilla #3390).
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 eaaeaa767e)
2007-10-10 11:06:04 -05:00
Derrell Lipman
673c356488 r12852: r12150@cabra: derrell | 2006-01-11 13:21:14 -0500
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 2b48665006)
2007-10-10 11:06:04 -05:00
Volker Lendecke
19563e6744 r12840: Add -W to smbpasswd. Thanks to William Jojo <jojowil@hvcc.edu>.
Volker
(This used to be commit 2942f3594b)
2007-10-10 11:06:04 -05:00
Volker Lendecke
933a8ec57e r12839: - apply changes from svn r4963 also for VFS configure - KRB5_CONFIG should not
be used - rename it to KRB5CONFIG

Thanks to Björn Jacke <bj@sernet.de>

Volker
(This used to be commit 9c44fef5be)
2007-10-10 11:06:04 -05:00
Volker Lendecke
5bad6e3a4a r12837: - configure check for Tru64 EA functions (not yet implemented)
- find Tru64 AIO lib in configure

Thanks to Björn Jacke <bj@sernet.de>

Volker
(This used to be commit 044dc33173)
2007-10-10 11:06:04 -05:00
Tim Potter
0b192df2ea r12802: Fix for bugzilla #3389 from William Jojo. This fixes failures on AIX in
linking smbd when the symbol table for ld exceeds 65536 bytes.
(This used to be commit 679fc45935)
2007-10-10 11:06:04 -05:00
Gerald Carter
fbbe89ea30 r12794: BUG 3340: patch from William JoJo <jojowil@hvcc.edu> to fix automatic inclusion of aio support on AIX
(This used to be commit f19f7961ee)
2007-10-10 11:06:03 -05:00
Günther Deschner
1e9d8d4857 r12788: Since we have agreed on the case of winbindd names, we can store a
sid_to_name lookup result already after doing a sucessfull name_to_sid
lookup.

Guenther
(This used to be commit 2456832a6d)
2007-10-10 11:06:03 -05:00
Günther Deschner
7745148580 r12787: Revert last commit that removed our logic of memorizing negative
name_to_sid lookups in the cache.

Guenther
(This used to be commit 348d309688)
2007-10-10 11:06:03 -05:00
Volker Lendecke
263cbe122a r12781: Support the level parameter for lsa_lookupsids.
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 a01fa43ed2)
2007-10-10 11:06:03 -05:00
Volker Lendecke
cc58924179 r12771: Apply patch from bug 3374, attempt to fix build on tru64.
Thanks to "The Written Word" -- whoever that is :-)

Volker
(This used to be commit 7d0956f0bd)
2007-10-10 11:06:03 -05:00
Volker Lendecke
92e85d325f r12760: Fix bug 3384
(This used to be commit 9d366da172)
2007-10-10 11:06:03 -05:00
Derrell Lipman
96d0d186db r12759: r12128@cabra: derrell | 2006-01-07 15:34:01 -0500
Incorporate a number of changes suggested by David Collier-Brown  Thanks, David!
(This used to be commit 0ae65b9af5)
2007-10-10 11:06:03 -05:00
Derrell Lipman
f396e2248a r12758: r12127@cabra: derrell | 2006-01-03 15:22:18 -0500
remove old superfluous comment and ifdef
(This used to be commit ee7fcb43ad)
2007-10-10 11:06:02 -05:00
Derrell Lipman
9a8ca1901c r12757: r12126@cabra: derrell | 2006-01-03 15:21:36 -0500
added flag to not request authentication information
(This used to be commit 8396c4b26c)
2007-10-10 11:06:02 -05:00
Günther Deschner
850b7c4e87 r12742: Don't write null sid mappings into the winbindd_cache.tdb.
Guenther
(This used to be commit 1e0124efc5)
2007-10-10 11:06:02 -05:00
Volker Lendecke
4d1d826be4 r12735: After talking to Tridge and Jeremy... This needs to be made more generic
before it goes in.

Volker
(This used to be commit 2c3d5c029a)
2007-10-10 11:06:02 -05:00