Simo Sorce
e7db47bffb
move to SAFE_FREE()
...
(This used to be commit 94b0fde8a8
)
2001-09-17 10:00:29 +00:00
Simo Sorce
941a3a5d3a
move to SAFE_FREE()
...
(This used to be commit 549fe42bd4
)
2001-09-17 09:41:30 +00:00
Simo Sorce
091dbaa00b
move to SAFE_FREE()
...
(This used to be commit 09bf442549
)
2001-09-17 09:25:57 +00:00
Simo Sorce
4561e8a8ea
move to SAFE_FREE()
...
(This used to be commit 64d35e94fe
)
2001-09-17 05:04:17 +00:00
Simo Sorce
84ab9d2cb3
move to SAFE_FREE()
...
(This used to be commit fb0984e60f
)
2001-09-17 04:58:38 +00:00
Simo Sorce
b50d10c2a3
move to SAFE_FREE()
...
(This used to be commit 03dc67788f
)
2001-09-17 04:52:45 +00:00
Simo Sorce
1f312492ec
move to SAFE_FREE()
...
(This used to be commit 1446a1562b
)
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 2d507ec669
)
2001-09-17 04:23:48 +00:00
Simo Sorce
81fdc3c3f7
move to SAFE_FREE()
...
(This used to be commit e61aec84ed
)
2001-09-17 04:16:35 +00:00
Simo Sorce
acc3732971
typo
...
(This used to be commit 23dc3fc700
)
2001-09-17 03:44:52 +00:00
Andrew Tridgell
7f641b4676
fixed compilation of groupdb
...
(This used to be commit 23e2561a1c
)
2001-09-17 03:40:55 +00:00
Simo Sorce
bcbd75f7ad
move to SAFE_FREE()
...
(This used to be commit 48fc6a6cd5
)
2001-09-17 03:33:37 +00:00
Simo Sorce
484a7c0341
move to SAFE_FREE()
...
(This used to be commit 60e907b7e8
)
2001-09-17 02:19:44 +00:00
Simo Sorce
31c3f7a8b2
move to SAFE_FREE()
...
(This used to be commit 89833bbbd8
)
2001-09-17 00:58:15 +00:00
Simo Sorce
77bdea1b95
move to SAFE_FREE()
...
(This used to be commit 29db6ef7a7
)
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 b7edd55885
)
2001-09-17 00:47:40 +00:00
Andrew Bartlett
b0c3915d5e
Fix compile warnings on IRIX's cc.
...
(This used to be commit 5b369bce69
)
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 0ff0a91a6b
)
2001-09-16 08:24:44 +00:00
Andrew Bartlett
6ff605c283
Minor tidy-up.
...
(This used to be commit dbb21aedbf
)
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 7f04a139b2
)
2001-09-16 06:35:35 +00:00
Andrew Tridgell
9bae3609ac
fixed compilation error in smbw
...
(This used to be commit d1e9fb7778
)
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 d618880661
)
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 eecda11eef
)
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 0e1322227b
)
2001-09-15 23:32:19 +00:00
Simo Sorce
13301415ca
free memory before returning.
...
tx Andreas Moroder.
(This used to be commit 8d60a825f7
)
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 01f30ca0ad
)
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 fb0c3629c3
)
2001-09-15 12:55:59 +00:00
Andrew Bartlett
cde3f0fae1
update for .proto.stamp
...
(This used to be commit d3a731a3d5
)
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 51baa1614d
)
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 21baa33946
)
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 512e9a5f94
)
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 bc1385fc5e
)
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 d47016de52
)
2001-09-15 01:59:44 +00:00
Jeremy Allison
ab35704cc0
Fixed up Solaris 64 bit configure.
...
Jeremy.
(This used to be commit 36516b2ca9
)
2001-09-15 00:29:54 +00:00
Gerald Carter
a3203a7b16
merges from 2.2
...
(This used to be commit b619458dde
)
2001-09-14 15:33:09 +00:00
Gerald Carter
bd7595ec37
merge from appliance_head
...
(This used to be commit f70b1707e4
)
2001-09-14 15:22:49 +00:00
Gerald Carter
c045bd74cb
merge from 2.2
...
(This used to be commit 0e4d2384de
)
2001-09-14 15:19:15 +00:00
Andrew Bartlett
d7dc065a91
Update manpage for new 'add machine script' paramater
...
(This used to be commit 68dc525e8e
)
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 96f06b490a
)
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 ef377ea0cc
)
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 5da9862002
)
2001-09-14 04:37:49 +00:00
Tim Potter
504eff41b3
Merge prs_hash1() function from tng.
...
(This used to be commit 3245714243
)
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 0f041597f8
)
2001-09-14 04:35:48 +00:00
Tim Potter
82a8f8a171
Merge of sam_pwd_hash() function from tng.
...
(This used to be commit b6cb6b837a
)
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 e4a3231a07
)
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 06c619b395
)
2001-09-14 04:31:15 +00:00
Tim Potter
22be9b68fd
Oops.
...
(This used to be commit 4c92d82bdb
)
2001-09-14 00:20:38 +00:00
Tim Potter
8b67689feb
Discovered a whole lot more opcodes on the LSA pipe while writing a rpc
...
scanner. There's lots of quota, privilege, and trusted domain goodness
waiting to be reverse engineered here!
Unfortunately the scanner can crash LSASS.EXE on NT4 just by writing
packets containing 0xdeadbeef. )-:
(This used to be commit f0ef301cff
)
2001-09-13 07:15:35 +00:00
Tim Potter
f04f28a622
Fixed return value for cli_dfs_exist() - nt4 returns 1, w2k returns 2.
...
Use werror_to_ntstatus() to convert error returns from dfs client functions
into nt errors.
(This used to be commit a83061ef3e
)
2001-09-13 01:00:46 +00:00
Andrew Tridgell
5366c4c542
added a new global option "hostname lookups = yes/no"
...
This should finally kill off the remaining places where we
attempt reverse lookups of the IP of the client. It may be that some
pam modules called via the session code will need "hostname lookups = yes"
but I've left it off by default as most sites don't need it and so
many sites have broken reverse maps
(This used to be commit 2b83ad0396
)
2001-09-13 00:30:47 +00:00