summaryrefslogtreecommitdiffstats
path: root/source/libsmb/smbencrypt.c
Commit message (Collapse)AuthorAgeFilesLines
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-07-101-2/+1
|
* r23780: Find and fix more GPL2 -> GPL3.Jeremy Allison2007-07-091-1/+1
| | | | Jeremy.
* r23741: Combined merge of 23726, 23727 and 23731 from 3_0:Volker Lendecke2007-07-071-1/+2
| | | | | | | | | | | | | | | | | | | | | 23726: Explicitly pass down the FLAGS2 field to srvstr_pull_buf. The next checkin will pull this up to srvstr_get_path. At that point we can get more independent of the inbuf, the base_ptr in pull_string will only be used to satisfy UCS2 alignment constraints. 23731: Explicitly pass down FLAGS2 to srvstr_get_path. Next step is to remove the bug that in the trans2 code we use the inbuf as the base pointer to decide whether we need ucs2 alignment where we need to use the beginning of the params buffer 23731: Forgot one reference to inbuf
* r22909: Change prototype of dump_data(), so that it takes unsigned char *Michael Adam2007-05-151-25/+25
| | | | | | | | | | instead of char *, which matches what samba4 has. Fix all the callers to prevent compiler warnings. This essentially ports r22001 from SAMBA_3_0 to SAMBA_3_0_26. There are a few additional type cast corrections.
* r22844: Introduce const DATA_BLOB data_blob_null = { NULL, 0, NULL }; andVolker Lendecke2007-05-141-2/+2
| | | | replace all data_blob(NULL, 0) calls.
* r19488: British trains are at least good for something...Jeremy Allison2006-10-241-18/+50
| | | | | | | Merge back the winbindd changes from SAMBA_3_0 to a release branch. This compiles, but hasn't been valgrinded or tested. That will come... Jeremy.
* r18967: Fix in case we do another 3.0.23 release.Jeremy Allison2006-09-281-0/+6
| | | | | | | | | From tridge : this bug affects Samba3 too. I'm actually surprised nobody has reported that Samba3 on Solaris Sparc with the native compiler can't join Windows domains. If it worked we were just lucky. I suspect it just didn't work.
* r13553: Fix all our warnings at -O6 on an x86_64 box.Jeremy Allison2006-02-181-1/+1
| | | | Jeremy.
* r13396: Add in userinfo26, re-enable userinfo25 - took the knowledgeJeremy Allison2006-02-081-0/+19
| | | | | | from Samba4 on how to decode the 532 byte password buffers. Getting closer to passing samba4 RPC-SCHANNEL test. Jeremy.
* r12713: Remove use of uint8_t -> uint8.Jeremy Allison2006-01-041-1/+1
| | | | Jeremy.
* r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4Jeremy Allison2005-10-181-12/+12
| | | | | x86_64 box. Jeremy.
* r10656: BIG merge from trunk. Features not copied overGerald Carter2005-09-301-28/+2
| | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck)
* r7391: - Added client-support for various lsa_query_trust_dom_info-calls and aGünther Deschner2005-06-081-0/+66
| | | | | | | | | | | | | | | | | | | | | | rpcclient-tester for some info-levels. Jerry, I tried to adopt to prs_pointer() where possible and to not interfere with your work for usrmgr. - Add "net rpc trustdom vampire"-tool. This allows to retrieve Interdomain Trust(ed)-Relationships from NT4-Servers including cleartext-passwords (still stored in the local secrets.tdb). The net-hook was done in cooperation with Lars Mueller <lmuelle@suse.de>. To vampire trusted domains simply call: net rpc trustdom vampire -S nt4dc -Uadmin%pass Guenther
* r7033: Call a spade a spade :-).Jeremy Allison2005-05-271-1/+1
| | | | Jeremy.
* r7031: Added encrypt/decrypt function for LSA secrets and trustedJeremy Allison2005-05-271-0/+29
| | | | | domain passwords on the wire. Jeremy.
* r5961: final round of compiler warning fixes based on feedback from Jason MaderGerald Carter2005-03-221-1/+1
|
* r1661: Changed the password history format so that each history entryJeremy Allison2004-08-051-0/+20
| | | | | | | consists of a 16 byte salt, followed by the 16 byte MD5 hash of the concatination of the salt plus the NThash of the historical password. Allows these to be exposed in LDAP without security issues. Jeremy.
* r1492: Rework our random number generation system.Andrew Bartlett2004-07-141-3/+3
| | | | | | | | | | On systems with /dev/urandom, this avoids a change to secrets.tdb for every fork(). For other systems, we now only re-seed after a fork, and on startup. No need to do it per-operation. This removes the 'need_reseed' parameter from generate_random_buffer(). Andrew Bartlett
* r176: Improve our fallback code for password changes - this would be betterAndrew Bartlett2004-04-121-3/+9
| | | | | | | | | | | | | | with more correct NTLMSSP support in client and server, but it will do for now. Also implement LANMAN password only in the classical session setup code, but #ifdef'ed out. In Samba4, I'll make this run-time so we can torture it. Lanman passwords over 14 dos characters long could be considered 'invalid' (they are truncated) - so SMBencrypt now returns 'False' if it generates such a password. Andrew Bartlett
* r69: Global rename of 'nt_session_key' -> 'user_session_key'. The session ↵Andrew Bartlett2004-04-061-4/+4
| | | | | | | key could be anything, and may not be based on anything 'NT'. This is also what microsoft calls it.
* r4: merge in the SAMBA_3_0 branch from cvsCVS Import User2004-04-041-3/+7
| | | | | | | | to checkout try this: svn co svn+ssh://svn.samba.org/home/svn/samba/branches/SAMBA_3_0 samba-3_0-work metze
* r2: import HEAD into svn+ssh://svn.samba.org/home/svn/samba/trunkCVS Import User2004-04-041-0/+526
metze