Age | Commit message (Collapse) | Author | Files | Lines |
|
out the error handling into a bunch of separate functions rather than all
being handled in one big function.
Fetch error codes from the last received packet:
void cli_dos_error(struct cli_state *cli, uint8 *eclass, uint32 *num);
uint32 cli_nt_error(struct cli_state *);
Convert errors to UNIX errno values:
int cli_errno_from_dos(uint8 eclass, uint32 num);
int cli_errno_from_nt(uint32 status);
int cli_errno(struct cli_state *cli);
Detect different kinds of errors:
BOOL cli_is_dos_error(struct cli_state *cli);
BOOL cli_is_nt_error(struct cli_state *cli);
BOOL cli_is_error(struct cli_state *cli);
This also means we now support CAP_STATUS32 as we can decode and understand
NT errors instead of just DOS errors. Yay!
Ported a whole bunch of files in libsmb to use this new API instead of the
just the DOS error.
(This used to be commit 6dbdb0d813f3c7ab20b38baa1223b0b479aadec9)
|
|
(This used to be commit 00703d306f14a5977df75cb04ee34ae8628ed40e)
|
|
(This used to be commit 589aaa5fb1ac55d8b0d5ae95921f071eb6ddacf6)
|
|
emphasise the fact that the spoolss pipe returns DOS error codes instead of
32-bit nt status codes.
(This used to be commit 5f5ed41ee872d842e944cd2e84a80de714ad4385)
|
|
(This used to be commit 1bd8b6f79754aa8a14a7841b88f1c00d7a3767eb)
|
|
encryption functions have outputs as the last arguments.
(This used to be commit fb60798a771a7a2358d78e5cef97487addf930e7)
|
|
(This used to be commit 6ab0e949d18b97ea7177175a4e6abb5ba076db98)
|
|
Jeremy.
(This used to be commit 36e01dcdbd0fc0083ac31ec942bb033a2997a16a)
|
|
Changed alignment offset to 1 to allow netmon to parse ok.
Jeremy.
(This used to be commit fd89261a2c74910bd1cf8271d862a7b050b49f32)
|
|
Jeremy.
(This used to be commit 635f3a3ee2704bb593aaa2642be6c5ec00830b64)
|
|
fails.
Jeremy.
(This used to be commit 1f6e3d18cdf460eb2569b737813f94d22680553e)
|
|
Jeremy.
(This used to be commit 61141c371ae160f03c2259e2dbc0910e63890275)
|
|
(This used to be commit ef01739708479c43f529c646dd136ee5670b08f9)
|
|
can't be set after the listen().
Andrew Bartlett
(This used to be commit 23b6772a2454ff3b480807a4ca8f58e8a0dc0c81)
|
|
(This used to be commit 2c73ae4ac7ad56730ef22a1b5f6ca3351cf7036e)
|
|
changed some code to exploit the fact that Realloc(NULL, size) == malloc(size)
fixed some possible mem leaks, or seg faults.
thanks to andreas moroder (mallocs not checked in client/client.c, client/smbumount.c)
(This used to be commit 7f33c01688b825ab2fa9bbb2730bff4f2fa352be)
|
|
we occasionally don't make the connection to the server.
(This used to be commit 08e99f4c12ad8747a8fd0e47ed4165cea428128d)
|
|
(This used to be commit 04d978258ba2fea702232c815e140ab12364e8e7)
|
|
stuff. From Andrew Esh <AEsh@tricord.com>
(This used to be commit 78207d0fc8c4641fbd8f63f469c4135357edfad8)
|
|
Jermey.
(This used to be commit 84e15b81992977fd546f2118d1f9847cf0713fa0)
|
|
(This used to be commit a7bf5e2ab84e21198a22e893e8640710a9ba2f7b)
|
|
Jeremy.
(This used to be commit e4a295b730b3d1ee784c896611d184c7699c74e7)
|
|
Jeremy.
(This used to be commit 3bf2419f4b7a9d46a1d48062212a6a6579c22b92)
|
|
Jeremy.
(This used to be commit d1e7cf6073f2dcb91ec468f5f249610dd9f1623a)
|
|
matt_zinkevicius@hp.com
(This used to be commit ce22267ec840aaa3cc8f9b88a62b45c723a06b01)
|
|
(This used to be commit 4c9f010a1eef81addfea0315bef81570bc604f8a)
|
|
Jeremy.
(This used to be commit b7bd512d9a9b543b9caf93c264776db6852c03ea)
|
|
Jeremy.
(This used to be commit 298595e8cb0ac4f5b5ad9a522cca79d030d7e0fc)
|
|
Fix typo in lmhosts manpage
(This used to be commit 9fff946cf113b4858b730f5ba644d5648ba95027)
|
|
(This used to be commit 8878a44868073d50e4ce729a1812f43e1a96e2ae)
|
|
(This used to be commit 0b3fbd9e6ee2ec10fe7f0187e850834accfa492f)
|
|
Claudia Moroder <claudiamoroder@st-ulrich.suedtirol.net>
(This used to be commit b5373f4b59cfe1cffe915e5d4eb29ed83fe99ba6)
|
|
Claudia Moroder <claudiamoroder@st-ulrich.suedtirol.net>
(This used to be commit 99ce277fc857069f86824a3c0cd8012f4cede1b6)
|
|
(This used to be commit e4831d4d010d432d710553deac8201c14eea47a7)
|
|
never commit without building.
sorry.
(This used to be commit f87924aec4ff3ad1855b470c33df2e0ae9d51d85)
|
|
thanks to andreas moroder
(This used to be commit b29a549cdd85d42a1697041ab04f0ae4eddd23ca)
|
|
Volker
(This used to be commit b4f06c3ecf8af60352bc9e3af9c35c00827faad2)
|
|
Jeremy.
(This used to be commit 352a02bf5c1b3ab9db92f86fd22f7a781a2c2996)
|
|
Jeremy.
(This used to be commit 28b4ee1eba5fbfd83c000a0e485632c477b7bfa9)
|
|
We may need to rename this file smbauth.h, as auth.h
is so generic it will probably conflict with system header
files on some systems.
Jeremy.
(This used to be commit dd4a6edd497053f4e393216884d356975efef799)
|
|
which I will confirm once I can find a box it would break on in the first place.
(this is the pam accounts as nobody thing we had with 2.2.0)
Andrew Bartlett
(This used to be commit 9746ad12bd2d310e5c255c7ea491b87170b807af)
|
|
samba-technical a few weeks ago.
The idea here is to standardize the checking of user names and passwords,
thereby ensuring that all authtentications pass the same standards. The
interface currently implemented in as
nt_status = check_password(user_info, server_info)
where user_info contains (mostly) the authentication data, and server_info
contains things like the user-id they got, and their resolved user name.
The current ugliness with the way the structures are created will be killed
the next revision, when they will be created and malloced by creator functions.
This patch also includes the first implementation of NTLMv2 in HEAD, but which
needs some more testing. We also add a hack to allow plaintext passwords to be
compared with smbpasswd, not the system password database.
Finally, this patch probably reintroduces the PAM accounts bug we had in
2.2.0, I'll fix that once this hits the tree. (I've just finished testing
it on a wide variety of platforms, so I want to get this patch in).
(This used to be commit b30b6202f31d339b48d51c0d38174cafd1cfcd42)
|
|
(This used to be commit c9cbe3237e01983a5063e5680ad71c7579009f28)
|
|
Jeremy.
(This used to be commit c51cfc7f0d3ad1614ca1e0330c8707f7b263b8e6)
|
|
Jeremy.
(This used to be commit 4d5fe9ed4fc2c3bb7830ab14eead8d12eed37de9)
|
|
Ok - now we're no longer trying to reach a silly 1k loc target,
change the formatting to be *readable* - eg.
change if (x) y else z to be :
if (x)
y
else
z
and other compact sillyness. Oh look - when I did this I found
some areas where we *WEREN'T CHECKING SYSTEM CALL ERROR RETURNS !!!!*
CompSci 101 guys....... :-).
Jeremy.
(This used to be commit 38d2e6983a6be8232ae7ce21a950d69dd95ce3e6)
|
|
of people somehow thinking this was related to user profiles.
Hope this is ok Herb.
jerry
(This used to be commit 5704a9f0bb7f78c34f4141512159d0e7eb4305b8)
|
|
allocation
to be done. Without it just does the ftruncate.
Jeremy.
(This used to be commit 0b052f103e82369088bc30724b86d8892c395cdb)
|
|
Jeremy.
(This used to be commit d862be4b680fc495d920fa802854032e668a2073)
|
|
Jeremy.
(This used to be commit d82efc61ef16533c5652a5d4a9863f8317cb4ea2)
|