Age | Commit message (Collapse) | Author | Files | Lines |
|
This changes our behaviour when the setresuid call is available. We now not
only change the effective uid but also the real uid when becoming
unprivileged. This is mainly for improved AFS compatibility, as AFS selects
the token to send to the server based on the real uid of the process.
I tested this with a W2k server with two non-root 'runas' sessions. They come
in via a single smbd as two different users using two session setups. Samba on
Linux can still switch between the two uids, proved by two different files
created via those sessions.
Volker
(This used to be commit 556c62f93535c606122b22e7e843d9da9a1cd438)
|
|
Based on work by Ken Cross (kcross@nssolutions.com).
(This used to be commit 8ef7ac22ef1a60dca0a2d01dc6ff4ba14bc1549a)
|
|
to tty instead of stdout.
(This used to be commit 3cec478b82359c527065c3a8d44daae96b7ac57e)
|
|
reports an unitialized read which is obviously correct. And I hate valgrind
errors ;-)
Volker
(This used to be commit e5dbf2441c2ce7e7cb62f2538786e38bb8c8bdd9)
|
|
in iconv.c and nsswitch/). Using them means you're not thinking about multibyte at
all and I really want to discourage that.
Jeremy.
(This used to be commit d7e35dfb9283d560d0ed2ab231f36ed92767dace)
|
|
mount
(This used to be commit fb87388a9fe959ecb01d88e2f974b077bac0a34d)
|
|
some sid could not be mapped. Otherwise this call is unnecessarily
complicated to call.
Volker
(This used to be commit 1337338522242a430b3c5655ffdff3f701fbfcce)
|
|
map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
Jeremy.
(This used to be commit 7eaae388b35cb3d20cdd968b00d65c88fcee5878)
|
|
when reverse connecting back to a client for printer notify.
Jeremy.
(This used to be commit 06aa434c3fdb139e3f3143d19413556945cbcd4f)
|
|
Jeremy.
(This used to be commit 63f331564396e7a4f16dce95bb98d3b6c4b75351)
|
|
(This used to be commit 5a8dbccd66911642fabb6b8b38fff4477b76c3a1)
|
|
(This used to be commit f0a0771c02404c91cd64961f85622022a4e56b2f)
|
|
(This used to be commit 1482933089bd1e6114ad29d77ce229482f2d161b)
|
|
undefining the HAVE_MMAP symbol.
(This used to be commit c420195231457d3202157490f4bec335a788d8b4)
|
|
Jeremy.
(This used to be commit 89d42685b706233ab31734764e2e641834af3675)
|
|
sesssetup to fall back to 'user' instaed of failing is REA.LM\user
doesn't exist.
also fix include line in smb_acls.h as requested by metze
(This used to be commit 62ed2598b3441b3c198872df8eb55e594332807b)
|
|
Volker
(This used to be commit ccdcd88732c99497fc563379df7837c35eba72be)
|
|
from metze
(This used to be commit 1700e83ac8035db7d22b8c64c10f63cb3e3b9eb7)
|
|
back the same way we handle the DOS error. Although I don't see why
BUFFER_TOO_SMALL should not be handled as an error, simply copy the logic.
This is only called from smbcacls and smbcquotas.
Volker
(This used to be commit 169f4dfee08e8de05e729fd48209df91cf8ba255)
|
|
goes to stdout.
Note: This change permits use of testparm processing of smb.conf to be
redirected into a file that can be used as an smb.conf file. ie: All
information that should not be in smb.conf will be on stderr, all pertinent
smb.conf info will go to stdout.
Example of use:
A fully documented smb.conf.master file can be maintained.
To create smb.conf do:
testparm -s > smb.conf
(This used to be commit 0450dc97731d95c7cd3b2c8a54721991fd6165df)
|
|
(This used to be commit 3098a9e4b0cf6c0d6a6f2cda9ac60387bcda8198)
|
|
(This used to be commit f6f5cdb9aa0d7823c3a2327dfe681d22f56965da)
|
|
I still wouldn't recommend them, but at least they now work
(This used to be commit 76992e7d1655ed15d61254f2be651db020ec4f5e)
|
|
Jeremy.
(This used to be commit 4e00cad645635af66b62c6a5568264a09cf340f3)
|
|
(This used to be commit 17d71852ae0ea9577ec31429dfc6ae7b36f34c26)
|
|
(This used to be commit 3daefe9d17fb2c7b1c4d21593465e6788555b0fb)
|
|
Jeremy.
(This used to be commit 41d1870a51c259f0cf17caf59928a3b38b21ea11)
|
|
Jeremy.
(This used to be commit 5332af1124077f49e84836f5cedfbde98336b142)
|
|
(This used to be commit 63a82debd80eeb27f326c9c0643735dd5f9b99bf)
|
|
Jeremy.
(This used to be commit d817716519e1b2a619a46563ca44812a020a769a)
|
|
(This used to be commit 947425e7953929107d4821b1945e8475e02ff3fa)
|
|
(should help track down out of sequence bugs).
Jeremy.
(This used to be commit 6e21261fe40698b2ee46c802bd1c044a909f8e5d)
|
|
#ifdef HAVE_STAT_ST_BLKSIZE and #ifdef HAVE_STAT_ST_BLOCKS,
respectively.
Fixes bug 550 reported by Joachim Schmitz <schmitz@hp.com>.
(This used to be commit 18adfdbe0c6ed79ba8ac07956b1e7abc226556c3)
|
|
(This used to be commit f8994483484cab47f0d6a6934979f69402dba894)
|
|
(This used to be commit e34d21af3882a034810737039dbaae4d45e2645c)
|
|
From Joachim Schmitz <schmitz@hp.com>
(This used to be commit 22655a65ab73576557487e73c550b45296e534ec)
|
|
the trouble of detecting what the PIC suffix should actually be.
Change PICFLAG in configure.in to PICFLAGS for consistency.
Patches from Joachim Schmitz <schmitz@hp.com> for bug 574.
(This used to be commit ecfbc5f5295c64d1ba553356dd09f65e9b5d1ccb)
|
|
DEBUG() should not be called in winbind client code as it's actually
dynamically linked by glibc into programs that use the nsswitch
database functions.
(This used to be commit 90380a684af244175d216344101e734c85220a7b)
|
|
socket and add a comment to winbindd.c to explain the fancy calculation of
buffer offset.
(This used to be commit 7c7ef9680b7378e12ffdd0bf95ee7ad673bea2f5)
|
|
(This used to be commit 5eca81c66096a01eda1731892d044c09d4c18556)
|
|
(This used to be commit bda64a11f7c11ca303122299c3e41c49e6afd933)
|
|
(This used to be commit eb28ca80cae18effaa10fe0de4bdff7e709ac91c)
|
|
(Samba 2.2 did this in the LDAP code, but it fits better as a generic thing)
Andrew Bartlett
(This used to be commit dfd6bef580525cf719988c3a6eaaf47c46542de5)
|
|
Testing with Samba4 RAW-MUX code.
Jeremy.
(This used to be commit 533847c95d475921b0421ae113f52c44979939d2)
|
|
Jeremy.
(This used to be commit 7622a9dbbded8d07f976ec965adca5e92de3d2b0)
|
|
macro get recompiled after configure has ran.
This was done by touching the source file. This patch changes it to removing
the object file, so that you don't need write-access to the source directory.
(This used to be commit 1a95f5c9a9ad10046c481b7d3ad4e15a77e23144)
|
|
Jeremy.
(This used to be commit c682fae16a2fa18f951c69ba29b1a576f4e27d6b)
|
|
Patch by Stefan Metzmacher <metze@metzemix.de>
(This used to be commit 9f6cd8177db9a88f681f28a8dca044595ddaae88)
|
|
were found for $BACKEND
(This used to be commit 76229085dbc76942b9b83604ea820a433fad4b0f)
|
|
Jeremy.
(This used to be commit 84c993d9cd0bc57a8b8b9aa716af1336620e2c87)
|