1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

6318 Commits

Author SHA1 Message Date
Simo Sorce
c0ef0e113e move to SAFE_FREE()
(This used to be commit 67db8f03c5c9e81e11b5f3276b50ee23e09a2659)
2001-09-17 11:48:29 +00:00
Simo Sorce
2d6a3079b8 move to SAFE_FREE()
(This used to be commit fc71962409e11509a60fb2be6741c32970865881)
2001-09-17 11:37:57 +00:00
Simo Sorce
61b2794968 move to SAFE_FREE()
(This used to be commit a95943fde0ad89ae3f2deca2f7ba9cb5ab612b74)
2001-09-17 11:25:41 +00:00
Simo Sorce
87945989c0 move to SAFE_FREE()
(This used to be commit 5ceecc7bef71b455ba7c4efd9928e2433dccc961)
2001-09-17 10:26:23 +00:00
Simo Sorce
e7db47bffb move to SAFE_FREE()
(This used to be commit 94b0fde8a8a4e888cee93ebde79390c7942a2785)
2001-09-17 10:00:29 +00:00
Simo Sorce
941a3a5d3a move to SAFE_FREE()
(This used to be commit 549fe42bd48b3418e63ba4872bc5992dae46d514)
2001-09-17 09:41:30 +00:00
Simo Sorce
091dbaa00b move to SAFE_FREE()
(This used to be commit 09bf4425492fd96672ddd7a31d88854adcf7f0fe)
2001-09-17 09:25:57 +00:00
Simo Sorce
4561e8a8ea move to SAFE_FREE()
(This used to be commit 64d35e94fe6f7e56353b286162f670c8595a90e6)
2001-09-17 05:04:17 +00:00
Simo Sorce
84ab9d2cb3 move to SAFE_FREE()
(This used to be commit fb0984e60fd69100d9866304b83b4f3c85e9aea2)
2001-09-17 04:58:38 +00:00
Simo Sorce
b50d10c2a3 move to SAFE_FREE()
(This used to be commit 03dc67788f68c9e01b5a82fdf43f837cb19f4608)
2001-09-17 04:52:45 +00:00
Simo Sorce
1f312492ec move to SAFE_FREE()
(This used to be commit 1446a1562b1c618c023b056f476e26da7ee3d532)
2001-09-17 04:35:51 +00:00
Andrew Tridgell
23af074326 fixed ctemp in server and client. It turns out that ctemp on NT is completely broken, and it's pointless to emulate their brokenness completely in this case, but at least this makes us use approximately the same packet format. The spec is complelet wrong in this case
(This used to be commit 2d507ec669def6d49304559e53d6c14af9b290a9)
2001-09-17 04:23:48 +00:00
Simo Sorce
81fdc3c3f7 move to SAFE_FREE()
(This used to be commit e61aec84edaf55b9ee087b076d2f1311033dc839)
2001-09-17 04:16:35 +00:00
Simo Sorce
acc3732971 typo
(This used to be commit 23dc3fc7009ce40064db57d5ec8b720c7d9350a8)
2001-09-17 03:44:52 +00:00
Andrew Tridgell
7f641b4676 fixed compilation of groupdb
(This used to be commit 23e2561a1c303942cfceae8929e0806db91b4aa4)
2001-09-17 03:40:55 +00:00
Simo Sorce
bcbd75f7ad move to SAFE_FREE()
(This used to be commit 48fc6a6cd52e01b287030fbbf0aa08a6814c5e11)
2001-09-17 03:33:37 +00:00
Simo Sorce
484a7c0341 move to SAFE_FREE()
(This used to be commit 60e907b7e8e1c008463a88ed2b076344278986ef)
2001-09-17 02:19:44 +00:00
Simo Sorce
31c3f7a8b2 move to SAFE_FREE()
(This used to be commit 89833bbbd8508dcdca70dff2c94e1d8f22535f1f)
2001-09-17 00:58:15 +00:00
Simo Sorce
77bdea1b95 move to SAFE_FREE()
(This used to be commit 29db6ef7a7c4df51adf964c0aecb1164e4ab7dee)
2001-09-17 00:52:47 +00:00
Simo Sorce
e2d393bd24 introduce SAFE_FREE() macro as suggested by andreas moroder.
(This used to be commit b7edd55885791f9aded11a0b0a131e02a819f374)
2001-09-17 00:47:40 +00:00
Andrew Bartlett
b0c3915d5e Fix compile warnings on IRIX's cc.
(This used to be commit 5b369bce69c2cbe01f938a643d3b9e71bc2075c4)
2001-09-16 08:29:03 +00:00
Andrew Bartlett
f7f0200210 Fix (I hope) for a number of little compile warnings found by the IRIX
compilers on the build farm.

Andrew Bartlett
(This used to be commit 0ff0a91a6baf7cf6b3ca59a2b4067cc07e3f2f88)
2001-09-16 08:24:44 +00:00
Andrew Bartlett
6ff605c283 Minor tidy-up.
(This used to be commit dbb21aedbf10ebc4ef0d549c4f919cf91459eef7)
2001-09-16 07:32:06 +00:00
Andrew Bartlett
dec3cbcaf0 Fix up workstaion and kickoff time checks, moved to auth_smbpasswd.c where
they can have general effect.

Fixed up workstaion support in the rest of samba, so that we can do these
checks.

Pass through the workstation for cli_net_logon(), if supplied.
(This used to be commit 7f04a139b2ee34b4c282590509cdf21395815a7a)
2001-09-16 06:35:35 +00:00
Andrew Tridgell
9bae3609ac fixed compilation error in smbw
(This used to be commit d1e9fb7778268a626b0550fa350d55d8eec7706e)
2001-09-16 03:49:15 +00:00
Andrew Bartlett
4d89a65a84 Start pushing the NTSTATUS stuff out to the wire for session setups.
Rework the 'map to guest' code, its now possible to follow what its trying
to do...

Add an NT_STATUS_EQUAL(x,y) macro to make this stuff sane to look at.

Andrew Bartlett
(This used to be commit d618880661976644a6ee713edf969ad561e82097)
2001-09-16 02:35:55 +00:00
Andrew Bartlett
41432074f5 Kill off the dangerous passwd program default, as its both very
system-dependent and can allow (when unix password sync = yes) the
'syncronisation' of root's password by a normal user :-(

Andrew Bartlett
(This used to be commit eecda11eef8bff73286c6a3c9f89ed0d1dcd7f73)
2001-09-16 00:07:04 +00:00
Andrew Bartlett
06ccf1e499 Looks like it missed these. make_connection now no longer takes a 'username'
argument.
(This used to be commit 0e1322227b0a91226b4b85c8e0ff838ebfd9e962)
2001-09-15 23:32:19 +00:00
Simo Sorce
13301415ca free memory before returning.
tx Andreas Moroder.
(This used to be commit 8d60a825f74a340beba11193a28fd83b0c4a8129)
2001-09-15 14:03:25 +00:00
Simo Sorce
72c35310b2 use variables _before_ freeing them!
thanks to Andreas Moroder for spotting these two.
(This used to be commit 01f30ca0ad472eaab8f80ec4278b1d391be3a1ae)
2001-09-15 13:21:54 +00:00
Andrew Bartlett
7892c494e7 Kill off the //server/share%user hack in share level security.
This should help make much of this code simpiler.

Andrew Bartlett
(This used to be commit fb0c3629c360fd0c57129500474960e6da6f9ef0)
2001-09-15 12:55:59 +00:00
Andrew Bartlett
cde3f0fae1 update for .proto.stamp
(This used to be commit d3a731a3d52a0cc297404b74e74cc9376ddd597f)
2001-09-15 12:24:09 +00:00
Andrew Bartlett
eb8a3778d0 Oops... For reference, NTLMv2 passwords are > 24 chars in length, while
NTLMv1 passwords (and old LM passwords) are exactly 24 in lenghth.
(This used to be commit 51baa1614d1a338f50dbf8eaa5ea31ab58c11409)
2001-09-15 12:20:21 +00:00
Andrew Bartlett
90b5a6279e This looked suspicious now we are attempting to to NTLMv2.
Andrew Bartlett
(This used to be commit 21baa33946a24159ebe873ac37cf30581437aa1a)
2001-09-15 12:16:22 +00:00
Andrew Bartlett
1c6b0ff99e Fix up NTSTATUS stuff in rpcclient's help function
(This used to be commit 512e9a5f94ba71bdea2bdecb8f21f9daad51ef3a)
2001-09-15 03:57:12 +00:00
Andrew Bartlett
9a846daf44 Restore the profiling data shmem parinoia. This whole area needs to be
fixed - an mmaped file or the like would be a good idea.
(This used to be commit bc1385fc5e55eeed626615fad92877296064a27e)
2001-09-15 02:10:22 +00:00
Andrew Bartlett
1c8c7c558b Actually fill in the status for sainity checks
Andrew Bartlett
(This used to be commit d47016de52e9e5c468edf4c87dc60535a9796b99)
2001-09-15 01:59:44 +00:00
Jeremy Allison
ab35704cc0 Fixed up Solaris 64 bit configure.
Jeremy.
(This used to be commit 36516b2ca97e8644a29055dfab868aced644f9aa)
2001-09-15 00:29:54 +00:00
Gerald Carter
a3203a7b16 merges from 2.2
(This used to be commit b619458dde158c37a4420a28a7e1e1f70e7a18d1)
2001-09-14 15:33:09 +00:00
Gerald Carter
bd7595ec37 merge from appliance_head
(This used to be commit f70b1707e42b3f7aaa38cc5637fcc5cbcdd5a26a)
2001-09-14 15:22:49 +00:00
Gerald Carter
c045bd74cb merge from 2.2
(This used to be commit 0e4d2384dee905c730d011595337ff5ecc260a13)
2001-09-14 15:19:15 +00:00
Andrew Bartlett
d7dc065a91 Update manpage for new 'add machine script' paramater
(This used to be commit 68dc525e8e7906a8618b6d28c5543ce89768563d)
2001-09-14 12:30:14 +00:00
Andrew Bartlett
b7a0c13289 Now that we always get back an NTSTATUS code actually pass it on to the
auth subsytem.  Also kill off the (unneeded) wrapper fuction.

Andrew Bartlett
(This used to be commit 96f06b490ac5e9fd86debccf8d41675fa41f7726)
2001-09-14 10:38:40 +00:00
Andrew Bartlett
cbd99a13c5 Finally commit my fix to this little mess...
The same function that adds machines to the system also adds users, and the
new 'add user script'/'add machine script' distinction needs to be made
correctly.  Also introduces a sainity check for correct $ termination.

Andrew Bartlett
(This used to be commit ef377ea0cc55cb6647ecd7a634cf5983e11cfe99)
2001-09-14 10:31:39 +00:00
Tim Potter
b031544207 Produce correct lanman and nt hashes in samsync smbpasswd output. The
output from samsync -p produces the same output as running PWDUMP.EXE on
the domain controller except it happens via the sam synchronisation protocol.
(This used to be commit 5da98620021cda92d4752e7388f0e0cdfcd0e8cd)
2001-09-14 04:37:49 +00:00
Tim Potter
504eff41b3 Merge prs_hash1() function from tng.
(This used to be commit 3245714243d15160b9e0e27c413fef65ea91f455)
2001-09-14 04:36:19 +00:00
Tim Potter
c849bd3196 Decode 68-byte password blocks using sam replication password key (which
is actually the user session key).
(This used to be commit 0f041597f8afa378fc3177264f1e52e014e6cf00)
2001-09-14 04:35:48 +00:00
Tim Potter
82a8f8a171 Merge of sam_pwd_hash() function from tng.
(This used to be commit b6cb6b837ac06d8b9cb898668e69236b64a8b698)
2001-09-14 04:34:06 +00:00
Tim Potter
0dab2c3e31 Use session key from cli_state struct rather than the uninitialised one
when calling cli_netlogon_sam_sync().  (-:
(This used to be commit e4a3231a074b01cb1d6c4bf42e0a8e687e584413)
2001-09-14 04:32:52 +00:00
Tim Potter
27cbee1b4e Removed CHECK_STRUCT macro - it isn't used anywhere.
(This used to be commit 06c619b395f212ec3122cf1c804b27afba04e79d)
2001-09-14 04:31:15 +00:00