1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

18846 Commits

Author SHA1 Message Date
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 50c894a6e949d4d3579926650674f381a821a671)
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 6c3480f9aecc061660ad5c06347b8f1d3e11a330)
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 d62da3e9875592af91469bf75ca32be77a40ea59)
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 72c6432ae8b8bf2330fc1a8019d332ab95b57e4e)
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 e2fc8a196a06f76aa47fabc30872c701a2f7ccec)
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 a60aed7a38ab5d4401db207d52925e59f1e445f3)
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 f259de8b69f94ae8b5f4553180f245234bffd397)
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 23f16cbc2e8cde97c486831e26bcafd4ab4a9654)
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 b02b1d3ef3bceec1957d025c642e306a65310d22)
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 de012e33a75e0aa72fbfe2cf1258689e0d7680e2)
2007-10-10 11:06:21 -05:00
Gerald Carter
af03523cec r13288: readding readme file
(This used to be commit f1ab089b19fa631d38b81230466b0e2b7aa49a8d)
2007-10-10 11:06:21 -05:00
Gerald Carter
ee4fc9c73e r13287: removning readme file
(This used to be commit c20ad9d8c03a15afc670dc74921e9e9530174ff6)
2007-10-10 11:06:20 -05:00
Gerald Carter
6d7a1feef0 r13286: changing target file in another branch
(This used to be commit 91384c703cadce9ae262503958dba42389b34321)
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 9f4a9c70fa232047868e5d8a3f132a2dd6bfee82)
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 815340e1a413f98c1c36aacc1c34041e9160d0e3)
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 31903cf25d4075b8518e370b7618de41510f7995)
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 4602cb5f53f05404f10c69b01dd8fd5ac492c5c5)
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 6f5af1dd413d07430ead9382422dda14acf3464d)
2007-10-10 11:06:19 -05:00
Gerald Carter
75e2239c58 r13235: fixing RedHat 7.x packaging
(This used to be commit dcdae7f483f642605e158b405939178587971bec)
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 51fe6bd845f33139654f641947cffeaaf8e88124)
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 994794383361cfe5d58098ae494489fb0164e1df)
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 0b8ed8136b5c5b9b7bb5615dc8dc27eec7c49506)
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 485f0370942880a71095da5096e414b28193b150)
2007-10-10 11:06:19 -05:00
Simo Sorce
99fc191d51 r13224: better to cast the return too
(This used to be commit c068df483f44a23ad813acd10d583be863128382)
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 6c15af31bcee1e82578b61cae10423b37c285f10)
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 aa25dc1248b15e8e1b39cf8a98496e5aba475c4a)
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 5fbc2fbb461f02ad6c889de2ce9929c605a44e24)
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 f2a24de769d1b2266e576597c57a8e3b1e2a2b51)
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 0e24c701ce3755d71de7fdccb9f4564b381bf996)
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 e747ea7250b3ff19aee49072a2cf95840ff50b85)
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 246b5b43566f15732091ec9a775b864399f9418d)
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 837e7ea7e40cedc6b01e023445feb4a90c4bf8b9)
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 23503ff45f2a377728bc5ebb1e6db2755bb5ca2b)
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 f93e1e75563679dc07958168b283dfc0eb2de5b0)
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 fa5fab313e3728ff49c00ca1097242039506f83e)
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 c0ba64297a00d75cd537693425c6b544e70578c1)
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 d45cc5e4f38bd1aa69d5c3ae8d19e2ea98976fac)
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 48dd8c732b890e3fd3d8e80ace765487601cfb26)
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 31b3201f537220ec82d6fecbb4c457bfe3dbb9c9)
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 e5f19ad5ac1b728de4ca5a6c37c0d79b0752f536)
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 e52b77b0a4e29387d2333a340868e839683df729)
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 c2c004a620ecbd895786dc6f16fb6a616f354a0a)
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 47178b1b5ad06905f345a0f6b6267701d8aefddb)
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 417ef5bffaefee698cbea4b06aff691f01ac56d1)
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 80c0625667f28253e9b6f1ac1a5c88aa8261f9b0)
2007-10-10 11:06:15 -05:00
Simo Sorce
14b16baf69 r13137: make cleare where long ifdefs ends
(This used to be commit 58e48fef450f71ac15219f73897801c5a66a2c44)
2007-10-10 11:06:15 -05:00
Simo Sorce
5301c8b98d r13136: Fix handling user sid and user gid
(This used to be commit 65d5abda68fa0cacbff489ea1e4bfeffd58c83cb)
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 a4c6eceaaeeeaa6f0af2ae0689631710d36dbd59)
2007-10-10 11:06:14 -05:00
Simo Sorce
f6adbe5d67 r13132: Old fix from Lars
tx
(This used to be commit 4488e1debb00f6e3b53c71826a91bae001250902)
2007-10-10 11:06:14 -05:00
Gerald Carter
0bd71d77cb r13127: more spec file fixes for RHEL
(This used to be commit 8217809d86567fb4f8eb57a4d634b21c3a4c67e5)
2007-10-10 11:06:14 -05:00