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

16644 Commits

Author SHA1 Message Date
Jeremy Allison
d4ac326d46 r1412: Fix password history list in tdbsam. Fix some memory leaks. Add
my (C) to a header file that was at least 50% mine :-).
Jeremy.
(This used to be commit 8ee6060977)
2007-10-10 10:52:10 -05:00
Gerald Carter
c1a0b0a9e7 r1410: fix another bug caused by the docs target directories change
(This used to be commit e13d15994d)
2007-10-10 10:52:10 -05:00
Gerald Carter
0122d4ef5e r1407: revert change that broke the build on systems w/o krb5 files
(This used to be commit 89a11b5d7c)
2007-10-10 10:52:10 -05:00
Gerald Carter
824bc32be7 r1399: applying heimdal krb5 fixes from Guenther and fixing compile warnings in libadskerberos_keyatb.c
(This used to be commit 837f56ec8b)
2007-10-10 10:52:10 -05:00
Volker Lendecke
8c518daa86 r1396: Give the build farm a chance to be clean before 3.0.5. We don't accept
filenames ending in a dot.

Volker
(This used to be commit f17cb54a6f)
2007-10-10 10:52:10 -05:00
Jeremy Allison
c54a86b969 r1394: Const fix.
Jeremy.
(This used to be commit 9ac4945012)
2007-10-10 10:52:10 -05:00
Jeremy Allison
10f0c34a2a r1392: Added password history code to tdbsam backend. Not yet tested (ie. may
core dump) but compiles and links correctly. I will run the full set of
tests on the ldap sam and the tdb sam for password history tomorrow.
Jeremy.
(This used to be commit ac846420d0)
2007-10-10 10:52:09 -05:00
Jeremy Allison
76cf406197 r1390: Improve description of attribute.
Jeremy.
(This used to be commit ff7236a5f2)
2007-10-10 10:52:09 -05:00
Jeremy Allison
1c5867502a r1388: Adding password history code for ldap backend, based on a patch from
"Jianliang Lu" <j.lu@tiesse.com>. Multi-string attribute changed to
linearised pstring due to ordering issues. A few other changes to
fix race conditions. I will add the tdb backend code next. This code
compiles but has not yet been tested with password history policy
set to greater than zero. Targeted for 3.0.6.
Jeremy.
(This used to be commit dd54b2a3c4)
2007-10-10 10:52:09 -05:00
Jeremy Allison
b42a10a8ef r1386: We can't use sendfile for Win9x. It causes oplock failures (who knew....).
Jeremy.
(This used to be commit f423a63197)
2007-10-10 10:52:09 -05:00
Gerald Carter
d90c4a0462 r1384: ensure we remove the tdb entry for a job in the spooling state
(This used to be commit bc8cf6c852)
2007-10-10 10:52:09 -05:00
Gerald Carter
02001dfb6c r1381: fixing behavior found by gd@sernet.de; we must use the userPrincipalName value (host/hostname@REALM) and not the servicePrincipalName (host/fqdn@REALM) in the SASL binds
(This used to be commit 959da6e176)
2007-10-10 10:52:09 -05:00
Gerald Carter
dda9d76264 r1380: adding debug message when encouting an ASU specific bug in an rpc_bind reply
(This used to be commit c6e73ff091)
2007-10-10 10:52:08 -05:00
Jeremy Allison
bd1fbdbd8a r1378: Better debugging so I don't get confused what principal we mean.
Jeremy.
(This used to be commit de80e8b169)
2007-10-10 10:52:08 -05:00
Volker Lendecke
5aadb88b53 r1375: When setting writable=yes in smb.conf and only allow read access in the
security descriptor, allow read access. The code failed in this case.

Jeremy, could you please cross-check this? The way I understood your code it
could only work if smb.conf and secdesc said the same. This made the use of
srvmgr a bit difficult.... What was your intention on how to use the
share_info.tdb?

The current code might check the secdesc twice, but I don't see any decent way
around it that does not completely clutter the code.

Volker
(This used to be commit 7c673bd910)
2007-10-10 10:52:08 -05:00
Jeremy Allison
12b0bd2aca r1373: Fix from Guenther Deschner <gd@sernet.de> to ensure last error return is not invalid.
Jeremy.
(This used to be commit 4bdf914cba)
2007-10-10 10:52:08 -05:00
Gerald Carter
600e904aa1 r1370: BUG 1297 - prevent map_username() from being called twice during logon
(This used to be commit e1364ff774)
2007-10-10 10:52:08 -05:00
Gerald Carter
39354eaa6c r1368: fix configure check so that if you set --enable-cups[=yes] and don't have the devel files, the configure script will exit with an error
(This used to be commit e2c7651e16)
2007-10-10 10:52:08 -05:00
Gerald Carter
924ddbac48 r1361: patch from Guenther Deschner <gd@sernet.de> to ensure that REG_SZ values in the SetPrinterData actually get written in UNICODE strings rather than ASCII
(This used to be commit 29000c1f80)
2007-10-10 10:52:07 -05:00
Volker Lendecke
776aa21df5 r1340: _samr_lookupsids with more than 32 (MAX_REF_DOMAINS) SIDs failed. This
happened because init_dom_ref did not find the domain in question in
the list of already mentioned domains.

Could others please double-check this?

Thanks,

Volker
(This used to be commit d7b2e41f00)
2007-10-10 10:52:07 -05:00
Volker Lendecke
5f9af6df05 r1338: A netlogon schannel failure is a normal event with XP clients. They cache the
netlogon session key and try to reconnect using that key. This fails with a
restarted smbd, we expect another serverauth2. XP falls back immediately.

Make the corresponding messages a debug level 3, not 0 to not flood log.smbd.

Volker
(This used to be commit 4fda68a62f)
2007-10-10 10:52:07 -05:00
Richard Sharpe
7b4151e173 r1333: NFS Quota support from Dan Peterson.
(This used to be commit 609828444d)
2007-10-10 10:52:07 -05:00
Rafal Szczesniak
03bf0d85a1 r1332: Typo fix.
(This used to be commit 659ddcc443)
2007-10-10 10:52:07 -05:00
Volker Lendecke
6c1baa6f4c r1330: Fix the build for systems without ldap headers
(This used to be commit b7267121af)
2007-10-10 10:52:07 -05:00
Volker Lendecke
75925d8098 r1328: Fix the build
(This used to be commit 49f3f0412f)
2007-10-10 10:52:06 -05:00
Jeremy Allison
f5b4721d6d r1326: Modification to get_dc_list to check negative cache. From "Joe Meadows" <jameadows@webopolis.com>.
Jeremy.
(This used to be commit 4cc38b8aea)
2007-10-10 10:52:06 -05:00
Jeremy Allison
c531f726c4 r1325: Always use GetTimeOfDay() (wrapper). Ensure ldap replication
sleep time is not more than 5 seconds. Should fix issue
reported by Chris Garrigues <cwg@deepeddy.com>.
Jeremy.
(This used to be commit fbc06831d3)
2007-10-10 10:52:06 -05:00
Jelmer Vernooij
3382b0a21a r1320: Return an error when the last command read from stdin fails in smbclient +
prepare for better error checking in tar..
(This used to be commit 374f00b56b)
2007-10-10 10:52:06 -05:00
Volker Lendecke
0b3cfe4aab r1318: Install libsmbclient into $(LIBDIR), not into hardcoded ${prefix}/lib. This
helps amd64 systems with /lib and /lib64 and an explicit configure --libdir
setting.

Thanks to Bjoern Jacke <bj@sernet.de>

Volker
(This used to be commit cc1881c143)
2007-10-10 10:52:06 -05:00
Jeremy Allison
569177a194 r1317: Patch from Joe Meadows "Joe Meadows" <jameadows@webopolis.com> to
add a timeout to the ldap open calls. New parameter, ldap timeout
added.
Jeremy.
(This used to be commit e5b3094c4c)
2007-10-10 10:52:06 -05:00
Volker Lendecke
aa9be75d8a r1314: Restore the 2.2 'force unknown acl user' parameter. When getting a security
descriptor for a file, if the owner sid is not known, the owner uid is set to
the current uid. Same for group sid.

This makes xcopy /o possible for files that are owned by local users/groups
(local administrators for example).

Thanks to Guenther for his persistence :-)

Volker
(This used to be commit 80e57d2790)
2007-10-10 10:52:05 -05:00
Jeremy Allison
a003d0e5d2 r1311: Turn on sendfile for non-oplocked files. tridge proved
this is the correct thing to do on a train in Germany :-).
Turn on sendfile by default ! It's about time.....
Jeremy.
(This used to be commit ec614a8f7d)
2007-10-10 10:52:05 -05:00
Jeremy Allison
57c07e2785 r1304: Turns out non-io opens that cause oplock breaks are a *different* set
of desired access flags from those that cause sharing violations.
Oplock breaks are caused by : ~(SYNCHRONIZE_ACCESS|FILE_READ_ATTRIBUTES|FILE_WRITE_ATTRIBUTES)
Sharing violations are caused by : ~(SYNCHRONIZE_ACCESS|READ_CONTROL_ACCESS|FILE_READ_ATTRIBUTES|FILE_WRITE_ATTRIBUTES)
We now pass the torture rename test again.
I still need to work out if subsequent opens will cause sharing violations with an existing open
mode of SYNCHRONIZE_ACCESS|READ_CONTROL_ACCESS|FILE_READ_ATTRIBUTES|FILE_WRITE_ATTRIBUTES;
Jeremy.
(This used to be commit 38002bfc1c)
2007-10-10 10:52:05 -05:00
Jeremy Allison
b04c782281 r1301: Fix bogus error message when using "mangling method = hash" rather
than hash2. We are already calculating lengths so just use memcpy
not safe_strcpy().
Jeremy.
(This used to be commit a5a3df7853)
2007-10-10 10:52:05 -05:00
Jeremy Allison
7310ba1b18 r1299: Don't "break" - "continue" ! Otherwise we only expire the first name !
Doh !
Jeremy.
(This used to be commit 451d289f69)
2007-10-10 10:52:05 -05:00
Volker Lendecke
33c2230524 r1297: Yes, it does survive valgrind for my tests :-)
Check in the 'winbind proxy only' mode -- no new parameter required :-)

If you don't set idmap uid or idmap gid, winbind will not do idmap stuff, it
will only proxy the netlogon request and thus speed up the authentication of
domain users.

Volker
(This used to be commit 29235f0c69)
2007-10-10 10:52:05 -05:00
Volker Lendecke
baf7cf42a6 r1295: To be able to send a message to the background queue updated, we need to be
root. Otherwise the USR1 signal will not be delivered.

Volker
(This used to be commit c66be874d8)
2007-10-10 10:52:04 -05:00
Jeremy Allison
e8a1292d91 r1290: Ensure we remove DNS and DNSFAIL records immediately on timeout.
Fix for #607.
Jeremy.
(This used to be commit e6ff6d95d2)
2007-10-10 10:52:04 -05:00
Volker Lendecke
d095357d08 r1287: Attempt to fix the build for systems without kerberos headers.
Volker
(This used to be commit 43020cf459)
2007-10-10 10:52:04 -05:00
Volker Lendecke
407ab8474a r1285: Put variable definitions into a block before the statements...
Volker
(This used to be commit e8786506b8)
2007-10-10 10:52:04 -05:00
Volker Lendecke
e3fcc0fc27 r1283: Fix typo
(This used to be commit 3af4348faf)
2007-10-10 10:52:04 -05:00
Volker Lendecke
dd8b8286d0 r1282: gcc 3.2 on SuSE 8.2 does not like #ifdefs inside a macro argument (DEBUG).
Volker
(This used to be commit b491e76625)
2007-10-10 10:52:04 -05:00
Jeremy Allison
3e0f586298 r1263: Make "defer sharing violations" a global parameter.
Jeremy.
(This used to be commit 42cdeccc36)
2007-10-10 10:52:04 -05:00
Jeremy Allison
7f05a7d0c8 r1260: Added new parameter in the protocol section. "defer sharing violations",
by default set to "yes" (to correctly emulate Windows). I've added this to
ensure if we find a critical problem with this new code when 3.0.5 ships
it can be turned off to test for bugs.
Jeremy.
(This used to be commit bee0619cc4)
2007-10-10 10:52:03 -05:00
Jeremy Allison
e13ba6ebd5 r1259: Ensure we pass Samba4 RAW-RENAME test.
Jeremy.
(This used to be commit 756a004311)
2007-10-10 10:52:03 -05:00
Jeremy Allison
efd2a06594 r1257: Ensure we deferr a sharing violation on rename correctly.
Jeremy.
(This used to be commit b52a04a5cd)
2007-10-10 10:52:03 -05:00
Jeremy Allison
073c542c51 r1255: Ensure we check attributes correctly on rename request. Gets us further with
Samba4 RAW-RENAME test.
Jeremy.
(This used to be commit f17382ad8a)
2007-10-10 10:52:03 -05:00
Jeremy Allison
af5750d3ba r1248: Fix from Nick Wellnhofer <wellnhofer@aevum.de> to prevent
lp_interfaces() list from being corrupted.
Jeremy.
(This used to be commit c892545960)
2007-10-10 10:52:03 -05:00
Jeremy Allison
6106de34e5 r1247: Final fix to make this compile on Heimdal.
Jeremy.
(This used to be commit b462b8fa2f)
2007-10-10 10:52:02 -05:00
Jeremy Allison
41416f3876 r1245: I think the parameter for "password" and "data" was reversed.
CHECK THIS !
Jeremy.
(This used to be commit d4abeefe3e)
2007-10-10 10:52:02 -05:00