1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-22 05:57:43 +03:00

18842 Commits

Author SHA1 Message Date
Jeremy Allison
1ca4abffd0 r13095: Fix warnings assigning int to a size_t.
Jeremy.
2007-10-10 11:06:13 -05:00
Gerald Carter
d40f06018b r13093: adding vendor patch level string as announced on samba-technical ml 2007-10-10 11:06:13 -05:00
Jeremy Allison
5f5f87584f r13091: Fix gcc warning about using '0' with %s.
Jeremy.
2007-10-10 11:06:13 -05:00
Gerald Carter
1c7787e4a1 r13089: quick fix to work around building ilbnss_winbind.so on SOlaris when --enable-developer is specified 2007-10-10 11:06:13 -05:00
Gerald Carter
e6afdf1df5 r13086: hooking max connections into 'add share' as well (although the WinXP UI doesn't give you a way to set the value on add 2007-10-10 11:06:13 -05:00
Gerald Carter
af68748baa r13085: hook the max connections spin box in the share properties MMC plugin
dialog to the 'max connections' smb.conf parameter.  Also added the max
uses int from the SHARE_INFO_2 structure to the 'modify share command'
2007-10-10 11:06:13 -05:00
Gerald Carter
ef69cf9614 r13083: patch suggested by Adam Nielsen for better smbstatus formatting 2007-10-10 11:06:13 -05:00
Gerald Carter
e43775fb31 r13082: revert an accidentally commited patch (still in progress) 2007-10-10 11:06:12 -05:00
Gerald Carter
c908dbc4b2 r13081: correct fix for the segv in nmbd caused by a double free on namerec. 2007-10-10 11:06:12 -05:00
Deryck Hodge
0fdb062f35 r13072: Fix segfault in vfstest and smbtorture.
deryck
2007-10-10 11:06:12 -05:00
Lars Müller
6ff25eb840 r13058: Add %w macro for the winbind seperator which allows us for example
valid users = %S, %D%w%S
2007-10-10 11:06:12 -05:00
Gerald Carter
b99ef469d1 r13048: trying to fix the confusion over packaging platforms 2007-10-10 11:06:12 -05:00
Gerald Carter
bec01ad3d6 r13047: specfile updates from John T. 2007-10-10 11:06:11 -05:00
Jeremy Allison
a2bb2e3e81 r13042: Fix for bug #3248 Stefan Burkei <stefan@burkei.de>.
When doing auth_crap authentication use the client
given workstation name not our own.
Jeremy.
2007-10-10 11:06:11 -05:00
Jeremy Allison
2ab5aeca89 r13028: Fix for #3419 - vfs_full_audit *never* worked
correctly. Static variables were used !
Jeremy.
2007-10-10 11:06:11 -05:00
James Peach
652b511ff2 r13027: Support file change notifications from FAM. 2007-10-10 11:06:11 -05:00
Günther Deschner
3a6e41a0cb r13024: Add is_null_sid.
GUenther
2007-10-10 11:06:11 -05:00
Jeremy Allison
f8d09d111c r13023: Ensure we notice if we exit due to guest user setup fail.
Jeremy.
2007-10-10 11:06:10 -05:00
Günther Deschner
088abfcdd1 r13020: Prevent cli_krb5_get_ticket of getting into an infite loop. This whole
area of code needs to be reworked later on.

Guenther
2007-10-10 11:06:10 -05:00
Jeremy Allison
d9b6bdd84a r13015: Make logic much clearer. From jpeach.
Jeremy.
2007-10-10 11:06:10 -05:00
Jeremy Allison
9d2f2385ad 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.
2007-10-10 11:06:10 -05:00
Volker Lendecke
8176f5a282 r12994: Fix cut&paste error, thanks to Björn Jachke <bj@sernet.de> 2007-10-10 11:06:10 -05:00
Volker Lendecke
de0347cd70 r12993: Ouch... 2007-10-10 11:06:10 -05:00
Gerald Carter
b334052108 r12991: some fixes for BUG 3331 - solaris packaging 2007-10-10 11:06:10 -05:00
Gerald Carter
19339a9510 r12990: BUG 3329: patch from David May <mayd@cygnus.uwa.edu.au> for Solaris shell script portability issues in 'make test' 2007-10-10 11:06:09 -05:00
Lars Müller
f650e3bdaf 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.
2007-10-10 11:06:09 -05:00
Gerald Carter
14160c4961 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> 2007-10-10 11:06:09 -05:00
Lars Müller
6a5bf399a5 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.
2007-10-10 11:06:09 -05:00
Jeremy Allison
dd185c7aa8 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.
2007-10-10 11:06:09 -05:00
James Peach
2163e4b6b4 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.
2007-10-10 11:06:09 -05:00
James Peach
a346059912 r12951: Tell the MIPSPro compiler to push DEBUG calls out of line. 2007-10-10 11:06:08 -05:00
Gerald Carter
c11372f4ec r12946: fix a segfault in nmbd when 'wins support = yes' caused by double free 2007-10-10 11:06:08 -05:00
Jeremy Allison
5fc0ef8087 r12938: Fix for #3408 (change password fails) from William Jojo <jojowil@hvcc.edu>.
Jeremy.
2007-10-10 11:06:08 -05:00
Lars Müller
34c7d8c069 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.
2007-10-10 11:06:08 -05:00
Alexander Bokovoy
93461646ce 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.
2007-10-10 11:06:08 -05:00
Jeremy Allison
1c32b352da r12922: Fix typo.
Jeremy.
2007-10-10 11:06:08 -05:00
Jeremy Allison
4776101107 r12920: Fix for #3401 from Andrew Bartlett. Original fix from
Yau Lam Yiu <yiuext@cs.ust.hk>.
Jeremy.
2007-10-10 11:06:07 -05:00
Gerald Carter
c08bc30698 r12916: use rpcstr_pull() instead of unistr_to_ascii() when validating share names 2007-10-10 11:06:07 -05:00
Gerald Carter
5842da9968 r12915: protect against changing the SCM security descriptor 2007-10-10 11:06:07 -05:00
Gerald Carter
cefd2d7cb6 r12914: adding query/set ops for security descriptors on services. 2007-10-10 11:06:07 -05:00
Gerald Carter
77575c64e4 r12913: missed merge to fix BUG 3391; ensure we can lookup account policies 2007-10-10 11:06:06 -05:00
Gerald Carter
68399ce04c r12912: patch from Tony Mountifield <tony@softins.co.uk> for BUG 3327 (fix bad access to gencache.tdb after fork() in smbmount 2007-10-10 11:06:06 -05:00
Günther Deschner
a77e02177d 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
2007-10-10 11:06:06 -05:00
Günther Deschner
b8ff07b04a r12901: Fix netfileenum returning WERR_BUF_TOO_SMALL.
Guenther
2007-10-10 11:06:06 -05:00
Günther Deschner
4cb662ffd7 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
2007-10-10 11:06:06 -05:00
Gerald Carter
bcce3b69f8 r12889: BUG 3380: fix crash when changing printer drivers caused by accessing a previously freed pointer 2007-10-10 11:06:06 -05:00
Jeremy Allison
c2476b2f75 r12885: Oops. Missed last part of correct patch for #3348.
Caught by Samba4 oplock torture tester.
Jeremy.
2007-10-10 11:06:05 -05:00
James Peach
95b231f028 r12878: Don't use non-static array initialisers. 2007-10-10 11:06:05 -05:00
Jeremy Allison
d01824b785 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.
2007-10-10 11:06:05 -05:00
Lars Müller
9a8e1c8b4c r12871: Merge Volkers rev 12667 from trunk as his analysis hit the nail on the
head.

Volker: Thanks for poking me last week.
2007-10-10 11:06:05 -05:00