summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* move to SAFE_FREE()Simo Sorce2001-09-1710-141/+91
|
* move to SAFE_FREE()Simo Sorce2001-09-1723-168/+129
|
* move to SAFE_FREE()Simo Sorce2001-09-175-22/+15
|
* move to SAFE_FREE()Simo Sorce2001-09-172-19/+16
|
* introduce SAFE_FREE() macro as suggested by andreas moroder.Simo Sorce2001-09-172-25/+24
|
* Fix compile warnings on IRIX's cc.Andrew Bartlett2001-09-161-3/+3
|
* Fix (I hope) for a number of little compile warnings found by the IRIXAndrew Bartlett2001-09-163-8/+8
| | | | | | compilers on the build farm. Andrew Bartlett
* Minor tidy-up.Andrew Bartlett2001-09-161-1/+1
|
* Fix up workstaion and kickoff time checks, moved to auth_smbpasswd.c whereAndrew Bartlett2001-09-168-80/+136
| | | | | | | | | 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.
* fixed compilation error in smbwAndrew Tridgell2001-09-161-11/+1
|
* Start pushing the NTSTATUS stuff out to the wire for session setups.Andrew Bartlett2001-09-162-51/+28
| | | | | | | | | 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
* Kill off the dangerous passwd program default, as its both veryAndrew Bartlett2001-09-162-2/+2
| | | | | | | system-dependent and can allow (when unix password sync = yes) the 'syncronisation' of root's password by a normal user :-( Andrew Bartlett
* Looks like it missed these. make_connection now no longer takes a 'username'Andrew Bartlett2001-09-152-43/+9
| | | | argument.
* free memory before returning.Simo Sorce2001-09-151-0/+7
| | | | tx Andreas Moroder.
* use variables _before_ freeing them!Simo Sorce2001-09-151-3/+2
| | | | thanks to Andreas Moroder for spotting these two.
* Kill off the //server/share%user hack in share level security.Andrew Bartlett2001-09-154-105/+27
| | | | | | This should help make much of this code simpiler. Andrew Bartlett
* update for .proto.stampAndrew Bartlett2001-09-151-0/+1
|
* Oops... For reference, NTLMv2 passwords are > 24 chars in length, whileAndrew Bartlett2001-09-151-1/+1
| | | | NTLMv1 passwords (and old LM passwords) are exactly 24 in lenghth.
* This looked suspicious now we are attempting to to NTLMv2.Andrew Bartlett2001-09-151-2/+2
| | | | Andrew Bartlett
* Fix up NTSTATUS stuff in rpcclient's help functionAndrew Bartlett2001-09-151-5/+5
|
* Restore the profiling data shmem parinoia. This whole area needs to beAndrew Bartlett2001-09-152-4/+12
| | | | fixed - an mmaped file or the like would be a good idea.
* Actually fill in the status for sainity checksAndrew Bartlett2001-09-151-1/+1
| | | | Andrew Bartlett
* Fixed up Solaris 64 bit configure.Jeremy Allison2001-09-154-706/+714
| | | | Jeremy.
* merges from 2.2Gerald Carter2001-09-144-765/+735
|
* merge from appliance_headGerald Carter2001-09-141-6/+6
|
* merge from 2.2Gerald Carter2001-09-141-0/+2
|
* Update manpage for new 'add machine script' paramaterAndrew Bartlett2001-09-141-0/+20
|
* Now that we always get back an NTSTATUS code actually pass it on to theAndrew Bartlett2001-09-144-34/+10
| | | | | | auth subsytem. Also kill off the (unneeded) wrapper fuction. Andrew Bartlett
* Finally commit my fix to this little mess...Andrew Bartlett2001-09-141-10/+25
| | | | | | | | 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
* Produce correct lanman and nt hashes in samsync smbpasswd output. TheTim Potter2001-09-141-5/+24
| | | | | output from samsync -p produces the same output as running PWDUMP.EXE on the domain controller except it happens via the sam synchronisation protocol.
* Merge prs_hash1() function from tng.Tim Potter2001-09-141-0/+24
|
* Decode 68-byte password blocks using sam replication password key (whichTim Potter2001-09-141-2/+4
| | | | is actually the user session key).
* Merge of sam_pwd_hash() function from tng.Tim Potter2001-09-141-0/+17
|
* Use session key from cli_state struct rather than the uninitialised oneTim Potter2001-09-141-4/+2
| | | | when calling cli_netlogon_sam_sync(). (-:
* Removed CHECK_STRUCT macro - it isn't used anywhere.Tim Potter2001-09-141-12/+0
|
* Oops.Tim Potter2001-09-141-1/+1
|
* Discovered a whole lot more opcodes on the LSA pipe while writing a rpcTim Potter2001-09-131-6/+38
| | | | | | | | 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. )-:
* Fixed return value for cli_dfs_exist() - nt4 returns 1, w2k returns 2.Tim Potter2001-09-131-10/+12
| | | | | Use werror_to_ntstatus() to convert error returns from dfs client functions into nt errors.
* added a new global option "hostname lookups = yes/no"Andrew Tridgell2001-09-132-0/+15
| | | | | | | | 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
* Terminate dfs referral alternate path string. DFS now works again in headTim Potter2001-09-131-1/+1
| | | | - hooray!
* Fixed problems with arg parsing as root with smbpasswd.Jeremy Allison2001-09-121-8/+11
| | | | Jeremy.
* Converted msdfs referral server code to use rpcstr_push() functions. StillTim Potter2001-09-121-12/+10
| | | | doesn't work though. )-:
* String length fix from Toomas Soome <tsoome@ut.ee>Tim Potter2001-09-121-1/+1
|
* Ignore torture test binaries.Tim Potter2001-09-121-0/+5
|
* Fixed typo.Tim Potter2001-09-121-2/+2
|
* Some patches to authentication:Tim Potter2001-09-1214-45/+63
| | | | | | | | | - the usersupplied_info now contains a smb_username (as it comes across on the wire) and a unix_username (after being passed through mapping functions) - when doing security={server,domain} use the smb_username, otherwise use the unix_username
* - enable MSDFS by default, there seems no reason not to have it enabledAndrew Tridgell2001-09-1212-75/+6
| | | | | | | | by default in Samba 3.x - got rid of some unused parameters in Makefile.in - declare DEBUGLEVEL in debug.h rather than in each file
* Hmm - needs to be converted to pull/push unistr routines. But at least itTim Potter2001-09-121-2/+8
| | | | compiles now which should keep the build farm happy.
* Converted DFS error returns to WERROR instead of uint32.Tim Potter2001-09-122-33/+39
|
* Moved and renamed DFS error constants from include/rpc_dfs.h to doserr.h toTim Potter2001-09-122-16/+17
| | | | fit in with new error reporting subsystem.