Age | Commit message (Collapse) | Author | Files | Lines |
|
list of structures rather than the dodgy parsing code we had before
this also gets smbw working correctly with no initial workgroup (using
name_status_find on __MSBROWSE__ returns)
(This used to be commit f2be88a8738a39ca5c98936edb7537cd701348a1)
|
|
used in lp_load().
(This used to be commit 4d80ee4f41ac3d61579c9cf23cb815d7fe5da5db)
|
|
smbw
(This used to be commit 8f97d59186ee3b52f623d30dfb7b195ec721ec0c)
|
|
(This used to be commit 600eb0eb0036631b7e6d8aa7cddbc378368c002c)
|
|
workgroup, password) tuple to be provided by another function.
(This used to be commit 644c78d64a6d7b7e44414c579de660321a0a6b34)
|
|
(This used to be commit ae80ca637cd4de6d18f995a4b6e1e1e21ab63581)
|
|
(This used to be commit 614fd4119ce5aa37acd03321dc6ef263ae16bdc5)
|
|
(This used to be commit d97f5d57d07b03c1df69099625b9d3faabe3f605)
|
|
(This used to be commit 453a822a76780063dff23526c35408866d0c0154)
|
|
(This used to be commit d78224a7d27097fa00d9e2a7b02efd7383d833ff)
|
|
(This used to be commit 36f9ce7993adc5a26e808842233108f28b8fdebf)
|
|
fn decides whether to encrypt password or not.
(This used to be commit 6d14db6a6c101e86b3c62d5098a05d29ae4e9cd8)
|
|
needed this for some tests.
- removed code that said "if lm password is not encrypted then encrypt both
lm and nt passwords". actually it said "if lm password length is not 24
bytes and we're in security=user mode..."
it didn't bother to check whether the nt password was NULL or not, and
doing the encryption inside cli_session_setup is the wrong place.
- checked all instances where cli_session_setup is called with cleartext
passwords that are expected to then be encrypted (see above) with the
test "if pwlen != 24...". there was only one: all the others either
provide encrypted passwords, do null sessions or use
cli_establish_connection.
* recommendation: use cli_establish_connection() in smbwrapper/smbw.c
(This used to be commit 2a509e9606f8aefbefa6e7b49878726464dbed44)
|
|
(This used to be commit 57e025494692b1e54d4d83192e6c15d4d1454353)
|
|
- split sam_passwd and smb_passwd into separate higher-order function tables
- renamed struct smb_passwd's "smb_user" to "unix_user". added "nt_user"
plus user_rid, and added a "wrap" function in both sam_passwd and smb_passwd
password databases to fill in the blank entries that are not obtained
from whatever password database API instance is being used.
NOTE: whenever a struct smb_passwd or struct sam_passwd is used, it MUST
be initialised with pwdb_sam_init() or pwd_smb_init(), see chgpasswd.c
for the only example outside of the password database APIs i could find.
- added query_useraliases code to rpcclient.
- dealt with some nasty interdependencies involving non-smbd programs
and the password database API. this is still not satisfactorily
resolved completelely, but it's the best i can do for now.
- #ifdef'd out some password database options so that people don't
mistakenly set them unless they recompile to _use_ those options.
lots of debugging done, it's still not finished. the unix/NT uid/gid
and user-rid/group-rid issues are better, but not perfect. the "BUILTIN"
domain is still missing: users cannot be added to "BUILTIN" groups yet,
as we only have an "alias" db API and a "group" db API but not "builtin-alias"
db API...
(This used to be commit 5d5d7e4de7d1514ab87b07ede629de8aa00519a1)
|
|
(This used to be commit 05696b4bbfb66bfdbdc19f395efe062ac890bc41)
|
|
Tidied up some of the mess (no other word for it). Still doesn't
compile cleanly. There are calls with incorrect parameters that
don't seem to be doing the right thing.
This code still needs surgery :-(.
Jeremy.
(This used to be commit 18ff93a9abbf68ee8c59c0af3e57c63e4a015dac)
|
|
(This used to be commit 5be3c37f50eac35cad3eadf0d24e7a4ee04c075e)
|
|
client/client.c:
client/clitar.c:
include/client.h:
smbwrapper/smbw_dir.c:
smbwrapper/smbw_stat.c:
smbwrapper/smbw.c:
lib/util.c: Converted all use of 'mode' to uint16.
smbd/quotas.c: Fixed stupid comment bug I put in there :-(.
printing/printing.c: Fix from J.F. to new code.
Jeremy.
(This used to be commit bacd3e9d2036a804e73644a28fc498f229c8446c)
|
|
I did this when I saw yet another bug report complaining about
smbclient intermittently missing files. Rather than applying more
patches to smbclient it was better to move to the more robust
clientgen.c code.
The conversion wasn't perfect, I probably lost some features of
smbclient while doing it, but at least smbclient should be consistent
now. It if fails it should _always_ fail rather than giving people the
false impression of a reliable utility.
the tar stuff seems to work, but hasn't had much testing as I never
use it myself. I'm sure someone will find bugs in my conversion of
smbtar.c. It was quite tricky as it did a lot of its own SMB calls. It
now uses clientgen.c exclusively.
smbclient is still quite messy, but at least it doesn't build its own
SMB packets.
I haven't touched smbmount as I never use it. Mike, do you want to
convert smbmount to use clientgen.c?
(This used to be commit e14ca7765ace1b721dad8eca4a527a4e4a8f1ab8)
|
|
test for both before including ACL support.
(This used to be commit 86743dfda446fddaffff7cbb57ca6b5901948ad5)
|
|
(for example /usr/bin/man because it is setgid).
(This used to be commit 85f639ab2ba72dda5a00cf11c8ee705f5a51ec54)
|
|
changes uses the unique index number from a SMB_QUERY_FILE_ALL_INFO to
try to provide inode numbers. If it is 0 then use the hash of the
filename as before.
(This used to be commit 2565ccf9de9d5e80fdb5bcadbc7130faba386d95)
|
|
descriptors by catching close attempts on those fds and returning
EBADF.
(This used to be commit 9d863fb1681a5b03696552e1d93fe339b4bae455)
|
|
(This used to be commit 252fe1e7014b2bf79a3abfa52fb77db9129074c7)
|
|
instead the shared variable area is used.
this fixes problems with /bin/sh under solaris
(This used to be commit 4eb7b5c6a81447755dfa1be27479027333ed6f26)
|
|
(This used to be commit 636182f18346af457f905cd784e68ae5d4f75d0e)
|
|
(as it is everywhere else).
smbwrapper/smbsh.c: For IRIX n32 binaries, set _RLDN32_LIST not _RLD32_LIST.
Exec users preferred shell is SHELL environment variable is set.
tests/fcntl_lock.c: Added sys/types.h for systems that need this.
Jeremy.
(This used to be commit 50413d0d819d4f13e760ca8439c5bdde0898d63e)
|
|
(This used to be commit 5b7b24d3f9a74b241f7e767de4a2bae601adf88a)
|
|
(This used to be commit dc08f1a5c92e86c41dc03f6a4d10d5779f3d9c34)
|
|
(This used to be commit 72bce217ef474f056d8f6675667ec78d1772ff37)
|
|
has some *horrible* bugs !
smbwrapper/shared.c smbwrapper/smbsh.c smbwrapper/smbw.c: Fixed gcc warnings.
Jeremy.
(This used to be commit 76448d1d82a78520953c662afee0886122ce134b)
|
|
(This used to be commit 9b249c075e53e6cf75399d60a6371648c03104fa)
|
|
- added a shared variable area based on a unlinked open file, and
implement a general get/set interface to it
- cache hostname lookups and master ip lookups in shared variable area
(This used to be commit 279cbe69efd75450113d2da0da5e67b29f3702b1)
|
|
Jeremy.
(This used to be commit 60dc1a4a00a22088d33369588b0d5eb292cf084a)
|
|
(This used to be commit 121e321a12c5da5cb44ca1baece7e25c3ab7f943)
|
|
have. Needed for server diagnosis purposes...
Jeremy.
(This used to be commit 04d79a9ae515e7259277f9980552f1d61df239f1)
|
|
that didn't have _STAT_VER_LINUX_OLD defined. maybe you want to sort
this out properly...
(This used to be commit aa9dd697d41ed5bed1bddab519ea80df9e6f21f1)
|
|
(This used to be commit 784b1590c8c305d6876a14fcaa6fc17b9daac6d0)
|
|
(This used to be commit e0445419b2d50ae6efef36f4f295ebcfdbf1ad82)
|
|
(This used to be commit 62fdeef1b79c5c4c9bf0e860881651711bb80b9a)
|
|
- got smbtorture to compile
- removed %D from some of lukes code - Luke, what is %D? it ain't
portable anyway
(This used to be commit 91597c12fb593f49b23c7cea5b64dbb89a0428b3)
|
|
(This used to be commit 349469221a84658048790d7567b4fcea43c0b759)
|
|
(This used to be commit 6121f7c8c2d63fd12266327a6f2ac9a5e717dccc)
|
|
(This used to be commit e5ed0e6f96835c5b189368faf4555d07f1f6b19c)
|
|
(This used to be commit 9efbb21f35aca6f86ed3cb9c58ebec40e5d44b90)
|
|
(This used to be commit f374706cbf654bdb33df3074cb1a8101af0201eb)
|
|
(This used to be commit 42765a654f9fe45160760e61a80d789279ee6198)
|
|
(This used to be commit fda52c6fd1ff0c46948bff7156742dab1dd1eacd)
|
|
(This used to be commit d651229ef3eb06035d015770c5ea018f33234ebc)
|