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
e2fc8a196a r13299: From testing W2K3 and W2K the delete on close bit seems to be always
honored (ie. the file gets deleted) for derectories when set at open
time - even though it doesn't show in the qfileinfo call. This is not
true of files.... (if anyone from the EU is listening, it's stuff like
this that makes CIFS non-documentable :-).
Jeremy.
2007-10-10 11:06:22 -05:00
Lars Müller
a60aed7a38 r13296: Align trunk with branches/SAMBA_3_0.
Add missing '\' in branches/SAMBA_3_0.
2007-10-10 11:06:22 -05:00
Jeremy Allison
f259de8b69 r13294: Fix basic delete on close tests - don't forget to tell
the data struct how big the token is... :-).
Jeremy.
2007-10-10 11:06:21 -05:00
Jeremy Allison
23f16cbc2e r13293: Rather a big patch I'm afraid, but this should fix bug #3347
by saving the UNIX token used to set a delete on close flag,
and using it when doing the delete. libsmbsharemodes.so still
needs updating to cope with this change.
Samba4 torture tests to follow.
Jeremy.
2007-10-10 11:06:21 -05:00
Volker Lendecke
b02b1d3ef3 r13291: NT checks the minimum password age dynamically. That means we have to ignore
the sambapwdmustchange field if we can access the corresponding account
policy and calculate it dynamically based on the pwdlastset field.

Volker
2007-10-10 11:06:21 -05:00
Günther Deschner
de012e33a7 r13290: Adding Account Policy LDAP attributes for eDirectory schema.
Guenther
2007-10-10 11:06:21 -05:00
Gerald Carter
f1ab089b19 r13288: readding readme file 2007-10-10 11:06:21 -05:00
Gerald Carter
c20ad9d8c0 r13287: removning readme file 2007-10-10 11:06:20 -05:00
Gerald Carter
91384c703c r13286: changing target file in another branch 2007-10-10 11:06:20 -05:00
Jeremy Allison
9f4a9c70fa r13274: Fix for bug #3467. Not a show stopper.
jason qian <jason@infrant.com> was a *fantastic*
help in tracking this down.
Jeremy.
2007-10-10 11:06:20 -05:00
Jeremy Allison
815340e1a4 r13262: Arrgggg. Fix smbstatus and swat status to ignore
bloody placeholder share mode entries (I hate
these - I've had to add this filter code now to too
many places :-).
Jeremy.
2007-10-10 11:06:20 -05:00
Jeremy Allison
31903cf25d r13260: Fix stupid bug Volker found for big-endian machines.
Jeremy.
2007-10-10 11:06:20 -05:00
Lars Müller
4602cb5f53 r13257: Fix python build with older python versions (e.g. 2.2.1) like in United Linux 1 (UL) aka SuSE Linux Enterprise Server (SLES) 8. 2007-10-10 11:06:20 -05:00
Jeremy Allison
6f5af1dd41 r13238: Fix from Qiao Yang <qyang@stbernard.com> to ensure we
always update the failed time when we are adding a failed
connection.
Jeremy.
2007-10-10 11:06:19 -05:00
Gerald Carter
dcdae7f483 r13235: fixing RedHat 7.x packaging 2007-10-10 11:06:19 -05:00
Gerald Carter
51fe6bd845 r13233: build fixes for smbmnt; remove unused variable; ready to ship 3.0.21b now 2007-10-10 11:06:19 -05:00
Gerald Carter
9947943833 r13232: defensive programming in an attempt to prevent crashes due to a PDC rebooting 2007-10-10 11:06:19 -05:00
Gerald Carter
0b8ed8136b r13231: apparently strncat() is converted to strcat() on RH7.3 and similar systems. Fix the build on those boxes 2007-10-10 11:06:19 -05:00
Gerald Carter
485f037094 r13229: * fix bad comparison caught by the AIX compiler in wbinfo code
* update output from mkversion.sh to include the SAMBA_VENDOR_PATCH
2007-10-10 11:06:19 -05:00
Simo Sorce
c068df483f r13224: better to cast the return too 2007-10-10 11:06:19 -05:00
Simo Sorce
6c15af31bc r13222: Never assume mode_t is of type int.
We were trashing the stack on machines that define mode_t as uint16_t
2007-10-10 11:06:18 -05:00
Derrell Lipman
aa25dc1248 r13216: r12422@cabra: derrell | 2006-01-28 23:57:35 -0500
Fix cli_setpathinfo() to actually do what it's supposed to.

 Also, get rid of some apparently drug-induced code to deal with create time
 which isn't being manipulated anyway.
2007-10-10 11:06:18 -05:00
Derrell Lipman
5fbc2fbb46 r13214: r12420@cabra: derrell | 2006-01-28 19:10:58 -0500
This should fix bug #3446.

 - The authentication domain provided an an SMB URL was being ignored.  This
   patch fixes that.

 - There were a number of places where string copies were not being confirmed to
   be properly null-terminated.  Now, all string copies in libsmbclient.c are
   properly null-terminated.
2007-10-10 11:06:18 -05:00
Derrell Lipman
f2a24de769 r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500
lp_load() could not be called multiple times to modify parameter settings based
 on reading from multiple configuration settings.  Each time, it initialized all
 of the settings back to their defaults before reading the specified
 configuration file.

 This patch adds a parameter to lp_load() specifying whether the settings should
 be initialized.  It does, however, still force the settings to be initialized
 the first time, even if the request was to not initialize them.  (Not doing so
 could wreak havoc due to uninitialized values.)
2007-10-10 11:06:18 -05:00
Volker Lendecke
0e24c701ce r13211: Fix remote password changing if password must change is set
The problem was that the ntlmssp bind silently failed in that case, we have to
do it anonymously. Or does anybody have a better idea?

Give a better error message if something else is wrong with the account.

Volker
2007-10-10 11:06:18 -05:00
Volker Lendecke
e747ea7250 r13209: Make smbpasswd -a work again if passdb did not exist.
Volker
2007-10-10 11:06:17 -05:00
Volker Lendecke
246b5b4356 r13202: Fix the build for --with-aio-support. Sorry.
Jeremy, configure.in decides whether aio support works quite early in the
sequence of checks. Wouldn't it be better to only use aio support if really
all necessary functions actually are around?

Volker
2007-10-10 11:06:17 -05:00
Jeremy Allison
837e7ea7e4 r13198: Fix issues exposed by Jerry's testing on 64-bit Solaris
(I hope). Separate 3.0.21b patch sent to Jerry.
Jeremy.
2007-10-10 11:06:17 -05:00
Lars Müller
23503ff45f r13197: Add -k switch to dump the data of a single key. 2007-10-10 11:06:17 -05:00
Jeremy Allison
f93e1e7556 r13194: Don't do extra memcpy's unless we're asked to.
Jeremy.
2007-10-10 11:06:17 -05:00
Jeremy Allison
fa5fab313e r13192: Fix up alignment issues when printing share mode
entries. Add paranioa to debug so we know when an
entry is unused.
Jeremy.
2007-10-10 11:06:16 -05:00
Jeremy Allison
c0ba64297a r13190: Fix #3458 from Andriy Gapon <avg@icyb.net.ua>. Don't
access free'd memory.
Jerry please pick up for 3.0.21b !
Jeremy.
2007-10-10 11:06:16 -05:00
Jim McDonough
d45cc5e4f3 r13187: IBM Tivoli Directory Server schema updates from John Janosik
<jpjanosi@us.ibm.com>
2007-10-10 11:06:16 -05:00
Jeremy Allison
48dd8c732b r13176: Fix show-stopper bug for 3.0.21b where 4 leg NTLMSSP SPNEGO
auth was not generating the correct auth header on the 4th
packet. This may fix a lot of Windows client complaints and
is essential for release.
Jeremy.
2007-10-10 11:06:16 -05:00
Jeremy Allison
31b3201f53 r13175: Actually make adding a new user into an empty pdbtdb
file create the file.
Jeremy.
2007-10-10 11:06:16 -05:00
Jeremy Allison
e5f19ad5ac r13172: Fix incorrect error message when new tdb not created correctly.
Jeremy.
2007-10-10 11:06:16 -05:00
Günther Deschner
e52b77b0a4 r13162: Allow to set the flags for a ds_enum_domain_trusts query in rpcclient.
Guenther
2007-10-10 11:06:16 -05:00
Simo Sorce
c2c004a620 r13148: Fix bug: #3413
Check that ldap admin dn is defined in smb.conf before
setting the ldap password in secrets.tdb

Based on patch by William Jojo <jojowil@hvcc.edu>

Simo.
2007-10-10 11:06:15 -05:00
Jeremy Allison
47178b1b5a r13147: Raise creds_server_step fail log messages to debug level 2.
These can happen in normal operation (I think - not 100%
sure) and don't want to alarm admins. Jerry please add this
to 3.0.21b.
Jeremy.
2007-10-10 11:06:15 -05:00
Jeremy Allison
417ef5bffa r13140: Fix swat - make sure it can list running services (ensure loopback_ip)
is defined. Jerry - this needs to be in 3.0.21b.
Jeremy.
2007-10-10 11:06:15 -05:00
Simo Sorce
80c0625667 r13138: old fix I forgot to commit
need to access info when using the ldap backend
2007-10-10 11:06:15 -05:00
Simo Sorce
58e48fef45 r13137: make cleare where long ifdefs ends 2007-10-10 11:06:15 -05:00
Simo Sorce
65d5abda68 r13136: Fix handling user sid and user gid 2007-10-10 11:06:15 -05:00
Gerald Carter
a4c6eceaae r13133: patch from Makr Proehl <m.proehl@science-computing.de> for dumping server role when calling 'testparm -s' (BUG 1336) 2007-10-10 11:06:14 -05:00
Simo Sorce
4488e1debb r13132: Old fix from Lars
tx
2007-10-10 11:06:14 -05:00
Gerald Carter
8217809d86 r13127: more spec file fixes for RHEL 2007-10-10 11:06:14 -05:00
Jeremy Allison
3f5860b8fb r13125: Very well spotted crash bug fix for #3343 from
SATOH Fumiyasu <fumiyas@miraclelinux.com>
Jerry please pick this up for 3.0.21b.
Jeremy.
2007-10-10 11:06:14 -05:00
Gerald Carter
4a8e457846 r13124: working on RHEL/Fedora packaging for 64-bit platforms and general cleanup 2007-10-10 11:06:14 -05:00
Jeremy Allison
103cac7dd3 r13119: Fix for #1779 from William Jojo <jojowil@hvcc.edu>
Jeremy.
2007-10-10 11:06:14 -05:00
Gerald Carter
e1f75ea637 r13110: remove an invalid debug message about call get_share_mode_lock() with a NULL service path and fname (we do it all the time internally) 2007-10-10 11:06:14 -05:00