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

18847 Commits

Author SHA1 Message Date
Gerald Carter
0af1500fc0 r13316: Let the carnage begin....
Sync with trunk as off r13315
(This used to be commit 17e63ac4ed)
2007-10-10 11:06:23 -05:00
Jeremy Allison
21a30a1346 r13314: This code has been causing problems since 1.9.x I think.
Remove check_for_pipe() - Volker was completely correct.
If it gets re-added it will be in a old open call path, not
in the generic code path.
Jeremy.
(This used to be commit 50c894a6e9)
2007-10-10 11:06:23 -05:00
Gerald Carter
855e02f164 r13310: first round of server affinity patches for winbindd & net ads join
(This used to be commit 6c3480f9ae)
2007-10-10 11:06:23 -05:00
Volker Lendecke
989c9311c5 r13309: If the sid in the winbind name2sid cache is not valid (NT_STATUS_NONE_MAPPED),
we have S-0-0 as a SID in the cache. This leads to ugly level 0 messages from
string_to_sid. Avoid them.

Volker
(This used to be commit d62da3e987)
2007-10-10 11:06:23 -05:00
Lars Müller
ca2cd33a69 r13306: Do not call netbios_setup() if this file is sourced by sh or bash.
(This used to be commit 72c6432ae8)
2007-10-10 11:06:22 -05:00
Jeremy Allison
66d5a32d9c 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.
(This used to be commit e2fc8a196a)
2007-10-10 11:06:22 -05:00
Lars Müller
b9002fa1b6 r13296: Align trunk with branches/SAMBA_3_0.
Add missing '\' in branches/SAMBA_3_0.
(This used to be commit a60aed7a38)
2007-10-10 11:06:22 -05:00
Jeremy Allison
466230e5a1 r13294: Fix basic delete on close tests - don't forget to tell
the data struct how big the token is... :-).
Jeremy.
(This used to be commit f259de8b69)
2007-10-10 11:06:21 -05:00
Jeremy Allison
d14af63e6a 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.
(This used to be commit 23f16cbc2e)
2007-10-10 11:06:21 -05:00
Volker Lendecke
206cbff8b7 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
(This used to be commit b02b1d3ef3)
2007-10-10 11:06:21 -05:00
Günther Deschner
8b54e0b2a0 r13290: Adding Account Policy LDAP attributes for eDirectory schema.
Guenther
(This used to be commit de012e33a7)
2007-10-10 11:06:21 -05:00
Gerald Carter
af03523cec r13288: readding readme file
(This used to be commit f1ab089b19)
2007-10-10 11:06:21 -05:00
Gerald Carter
ee4fc9c73e r13287: removning readme file
(This used to be commit c20ad9d8c0)
2007-10-10 11:06:20 -05:00
Gerald Carter
6d7a1feef0 r13286: changing target file in another branch
(This used to be commit 91384c703c)
2007-10-10 11:06:20 -05:00
Jeremy Allison
86c9bac4c3 r13274: Fix for bug #3467. Not a show stopper.
jason qian <jason@infrant.com> was a *fantastic*
help in tracking this down.
Jeremy.
(This used to be commit 9f4a9c70fa)
2007-10-10 11:06:20 -05:00
Jeremy Allison
0e551cd5a2 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.
(This used to be commit 815340e1a4)
2007-10-10 11:06:20 -05:00
Jeremy Allison
a2cfc56bef r13260: Fix stupid bug Volker found for big-endian machines.
Jeremy.
(This used to be commit 31903cf25d)
2007-10-10 11:06:20 -05:00
Lars Müller
5256cacd3b 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.
(This used to be commit 4602cb5f53)
2007-10-10 11:06:20 -05:00
Jeremy Allison
4699d4741d r13238: Fix from Qiao Yang <qyang@stbernard.com> to ensure we
always update the failed time when we are adding a failed
connection.
Jeremy.
(This used to be commit 6f5af1dd41)
2007-10-10 11:06:19 -05:00
Gerald Carter
75e2239c58 r13235: fixing RedHat 7.x packaging
(This used to be commit dcdae7f483)
2007-10-10 11:06:19 -05:00
Gerald Carter
d75dc6fa20 r13233: build fixes for smbmnt; remove unused variable; ready to ship 3.0.21b now
(This used to be commit 51fe6bd845)
2007-10-10 11:06:19 -05:00
Gerald Carter
d44ad56879 r13232: defensive programming in an attempt to prevent crashes due to a PDC rebooting
(This used to be commit 9947943833)
2007-10-10 11:06:19 -05:00
Gerald Carter
8724ea7ef5 r13231: apparently strncat() is converted to strcat() on RH7.3 and similar systems. Fix the build on those boxes
(This used to be commit 0b8ed8136b)
2007-10-10 11:06:19 -05:00
Gerald Carter
7de55b30b7 r13229: * fix bad comparison caught by the AIX compiler in wbinfo code
* update output from mkversion.sh to include the SAMBA_VENDOR_PATCH
(This used to be commit 485f037094)
2007-10-10 11:06:19 -05:00
Simo Sorce
99fc191d51 r13224: better to cast the return too
(This used to be commit c068df483f)
2007-10-10 11:06:19 -05:00
Simo Sorce
6c58244def r13222: Never assume mode_t is of type int.
We were trashing the stack on machines that define mode_t as uint16_t
(This used to be commit 6c15af31bc)
2007-10-10 11:06:18 -05:00
Derrell Lipman
7ed3868780 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.
(This used to be commit aa25dc1248)
2007-10-10 11:06:18 -05:00
Derrell Lipman
c9811b857a 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.
(This used to be commit 5fbc2fbb46)
2007-10-10 11:06:18 -05:00
Derrell Lipman
9c15bd311d 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.)
(This used to be commit f2a24de769)
2007-10-10 11:06:18 -05:00
Volker Lendecke
ba611cb036 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
(This used to be commit 0e24c701ce)
2007-10-10 11:06:18 -05:00
Volker Lendecke
b2e8358b3d r13209: Make smbpasswd -a work again if passdb did not exist.
Volker
(This used to be commit e747ea7250)
2007-10-10 11:06:17 -05:00
Volker Lendecke
5fa89783ab 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
(This used to be commit 246b5b4356)
2007-10-10 11:06:17 -05:00
Jeremy Allison
bd34c2ac25 r13198: Fix issues exposed by Jerry's testing on 64-bit Solaris
(I hope). Separate 3.0.21b patch sent to Jerry.
Jeremy.
(This used to be commit 837e7ea7e4)
2007-10-10 11:06:17 -05:00
Lars Müller
0f46bfdce6 r13197: Add -k switch to dump the data of a single key.
(This used to be commit 23503ff45f)
2007-10-10 11:06:17 -05:00
Jeremy Allison
6f08a557ba r13194: Don't do extra memcpy's unless we're asked to.
Jeremy.
(This used to be commit f93e1e7556)
2007-10-10 11:06:17 -05:00
Jeremy Allison
6a097ab20e r13192: Fix up alignment issues when printing share mode
entries. Add paranioa to debug so we know when an
entry is unused.
Jeremy.
(This used to be commit fa5fab313e)
2007-10-10 11:06:16 -05:00
Jeremy Allison
139acd2470 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.
(This used to be commit c0ba64297a)
2007-10-10 11:06:16 -05:00
Jim McDonough
661be1d332 r13187: IBM Tivoli Directory Server schema updates from John Janosik
<jpjanosi@us.ibm.com>
(This used to be commit d45cc5e4f3)
2007-10-10 11:06:16 -05:00
Jeremy Allison
f1022af07b 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.
(This used to be commit 48dd8c732b)
2007-10-10 11:06:16 -05:00
Jeremy Allison
114a24c19b r13175: Actually make adding a new user into an empty pdbtdb
file create the file.
Jeremy.
(This used to be commit 31b3201f53)
2007-10-10 11:06:16 -05:00
Jeremy Allison
3ea781f62a r13172: Fix incorrect error message when new tdb not created correctly.
Jeremy.
(This used to be commit e5f19ad5ac)
2007-10-10 11:06:16 -05:00
Günther Deschner
abfc68fdc3 r13162: Allow to set the flags for a ds_enum_domain_trusts query in rpcclient.
Guenther
(This used to be commit e52b77b0a4)
2007-10-10 11:06:16 -05:00
Simo Sorce
69981e3341 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.
(This used to be commit c2c004a620)
2007-10-10 11:06:15 -05:00
Jeremy Allison
60bcd1bd77 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.
(This used to be commit 47178b1b5a)
2007-10-10 11:06:15 -05:00
Jeremy Allison
1a423304cc 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.
(This used to be commit 417ef5bffa)
2007-10-10 11:06:15 -05:00
Simo Sorce
77965f6cf6 r13138: old fix I forgot to commit
need to access info when using the ldap backend
(This used to be commit 80c0625667)
2007-10-10 11:06:15 -05:00
Simo Sorce
14b16baf69 r13137: make cleare where long ifdefs ends
(This used to be commit 58e48fef45)
2007-10-10 11:06:15 -05:00
Simo Sorce
5301c8b98d r13136: Fix handling user sid and user gid
(This used to be commit 65d5abda68)
2007-10-10 11:06:15 -05:00
Gerald Carter
efc04a2411 r13133: patch from Makr Proehl <m.proehl@science-computing.de> for dumping server role when calling 'testparm -s' (BUG 1336)
(This used to be commit a4c6eceaae)
2007-10-10 11:06:14 -05:00
Simo Sorce
f6adbe5d67 r13132: Old fix from Lars
tx
(This used to be commit 4488e1debb)
2007-10-10 11:06:14 -05:00