summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2001-09-14merge from 2.2Gerald Carter1-0/+2
(This used to be commit 0e4d2384dee905c730d011595337ff5ecc260a13)
2001-09-14Now that we always get back an NTSTATUS code actually pass it on to theAndrew Bartlett4-34/+10
auth subsytem. Also kill off the (unneeded) wrapper fuction. Andrew Bartlett (This used to be commit 96f06b490ac5e9fd86debccf8d41675fa41f7726)
2001-09-14Finally commit my fix to this little mess...Andrew Bartlett1-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 (This used to be commit ef377ea0cc55cb6647ecd7a634cf5983e11cfe99)
2001-09-14Produce correct lanman and nt hashes in samsync smbpasswd output. TheTim Potter1-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. (This used to be commit 5da98620021cda92d4752e7388f0e0cdfcd0e8cd)
2001-09-14Merge prs_hash1() function from tng.Tim Potter1-0/+24
(This used to be commit 3245714243d15160b9e0e27c413fef65ea91f455)
2001-09-14Decode 68-byte password blocks using sam replication password key (whichTim Potter1-2/+4
is actually the user session key). (This used to be commit 0f041597f8afa378fc3177264f1e52e014e6cf00)
2001-09-14Merge of sam_pwd_hash() function from tng.Tim Potter1-0/+17
(This used to be commit b6cb6b837ac06d8b9cb898668e69236b64a8b698)
2001-09-14Use session key from cli_state struct rather than the uninitialised oneTim Potter1-4/+2
when calling cli_netlogon_sam_sync(). (-: (This used to be commit e4a3231a074b01cb1d6c4bf42e0a8e687e584413)
2001-09-14Removed CHECK_STRUCT macro - it isn't used anywhere.Tim Potter1-12/+0
(This used to be commit 06c619b395f212ec3122cf1c804b27afba04e79d)
2001-09-14Oops.Tim Potter1-1/+1
(This used to be commit 4c92d82bdb35db3e01a162fb0aa00a6fe7486c70)
2001-09-13Discovered a whole lot more opcodes on the LSA pipe while writing a rpcTim Potter1-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. )-: (This used to be commit f0ef301cff57c9bf07694e0675eec67c61367afb)
2001-09-13Fixed return value for cli_dfs_exist() - nt4 returns 1, w2k returns 2.Tim Potter1-10/+12
Use werror_to_ntstatus() to convert error returns from dfs client functions into nt errors. (This used to be commit a83061ef3e4933c52e7206270b455a3888fa63a8)
2001-09-13added a new global option "hostname lookups = yes/no"Andrew Tridgell2-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 (This used to be commit 2b83ad03965d00bba88fe56452d2990099b75ef1)
2001-09-13Terminate dfs referral alternate path string. DFS now works again in headTim Potter1-1/+1
- hooray! (This used to be commit 95df7ede465d835eb8ca1d1466c5153caf1a0d71)
2001-09-12Fixed problems with arg parsing as root with smbpasswd.Jeremy Allison1-8/+11
Jeremy. (This used to be commit 6399cf490dffbd162afa06f18cdd6e0364db567d)
2001-09-12Converted msdfs referral server code to use rpcstr_push() functions. StillTim Potter1-12/+10
doesn't work though. )-: (This used to be commit ec7296d6e9b5b61bac778c2093ee0cd0e23a2344)
2001-09-12String length fix from Toomas Soome <tsoome@ut.ee>Tim Potter1-1/+1
(This used to be commit 42417a425b524bc74360fdf6f1a16bfad38b9818)
2001-09-12Ignore torture test binaries.Tim Potter1-0/+5
(This used to be commit c5a94780dc653260cf6abd09f6a321b93806529a)
2001-09-12Some patches to authentication:Tim Potter14-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 (This used to be commit d34fd8ec0716127c7a68eeb8e77d1ae8cc07b547)
2001-09-12- enable MSDFS by default, there seems no reason not to have it enabledAndrew Tridgell12-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 (This used to be commit b8651acb9c0d7248a6a2e82c33b1e43633fd83fd)
2001-09-12Hmm - needs to be converted to pull/push unistr routines. But at least itTim Potter1-2/+8
compiles now which should keep the build farm happy. (This used to be commit 5686a2cfe874e8b30bcb2781fa4bfe7ae0cefb17)
2001-09-12Converted DFS error returns to WERROR instead of uint32.Tim Potter2-33/+39
(This used to be commit 97286570ef6f9151b5fe0be32aa4b294e7db9ab8)
2001-09-12Moved and renamed DFS error constants from include/rpc_dfs.h to doserr.h toTim Potter2-16/+17
fit in with new error reporting subsystem. (This used to be commit dbfd50d447e4166a4233034885666d985ca6beb8)
2001-09-11Tweak the building rules under Solaris with CC.Richard Sharpe2-262/+264
(This used to be commit d3758404d43b1b4be0b980a4fe078cab458e6d21)
2001-09-11Added a string for NT_STATUS_OK, m'kay?Tim Potter1-0/+1
(This used to be commit ff149308349fbf80399d9d541659f3c1d668306a)
2001-09-11Make sure to commit configureRichard Sharpe1-266/+265
(This used to be commit a3f5139beb774163f811d9e68839742b4d938e87)
2001-09-11Some small changes to configure to remove things like -X4 etc on compiles.Richard Sharpe1-4/+3
(This used to be commit ec6c5da124bc0f090d8aef40247acd44aa2850f9)
2001-09-10Fix for second logic bug when handing oplock breaks and client messagesJeremy Allison1-1/+11
simultaneously. Jeremy. (This used to be commit 227325b2d63dad55cbcda9608fba676fb6ce5584)
2001-09-10left out {Herb Lewis1-1/+1
(This used to be commit 70bd17473a2106ef41b5d921595ce537ec1871cb)
2001-09-10prevent segv by not calling tdb_traverse and tdb_close if tdb_open_logHerb Lewis1-18/+20
returns NULL. (This used to be commit afdf93836b59d5d9ede2ac0f3298d99471872829)
2001-09-10cut-n-paste errorGerald Carter1-1/+1
(This used to be commit b2ed211df0cad2013fd8ff67f48bf73962cc1d39)
2001-09-10merge from APPLIANCE_HEADGerald Carter1-12/+21
(This used to be commit 55bd514c4576a273dac1ac5c37207a96b41f6572)
2001-09-10convert more code to use XFILEAndrew Tridgell4-46/+45
(This used to be commit fd24265c06f6d2b636c1863941a33029dd9f3828)
2001-09-10convert more code to use XFILEAndrew Tridgell9-50/+44
(This used to be commit fe6679dffba9a92bb35933ad52172c9be0e9ef90)
2001-09-10declare dbf in one spotAndrew Tridgell21-19/+7
(This used to be commit f41c3bb80f1e498a9d27f6e236b0ff3a742764c9)
2001-09-10more static/dead fnsAndrew Tridgell2-11/+2
(This used to be commit f59826c0c9ba283c25faeec2cbdc7e19cca7aa04)
2001-09-10kill a dead fn and make a local one staticAndrew Tridgell2-80/+4
(This used to be commit 1e9815105e235ad1141b899b03d3de756d217d49)
2001-09-10made a couple of local fns staticAndrew Tridgell3-7/+13
(This used to be commit f0851202a852bed28fbd2446b44ce2b977ddacd8)
2001-09-10passdb/smbpassfile ain't needed any more - it only provided migration from ↵Andrew Tridgell2-298/+1
an ancient file format, not relevant for Samba 3.0 (This used to be commit 954adb630d7c41a45de3a0d656d03499e20727b6)
2001-09-10added xfileAndrew Tridgell2-0/+384
(This used to be commit 7c2fe172c3322433571e73a0bef5c67168dd7c80)
2001-09-10replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell28-110/+86
replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor limit that we hit with nasty consequences on some systems I would eventually prefer us to have a configure test to see if we need to replace stdio, but for now this code needs to be tested widely so I'm enabling it by default. (This used to be commit 1af8bf34f1caa3e7ec312d8109c07d32a945a448)
2001-09-09Make sure that if there are no interfaces, name_register_wins does notRichard Sharpe1-0/+7
segfault. (This used to be commit a7842fac94a3f772da0e6ddf14044df24af798a9)
2001-09-09fixed typoAndrew Tridgell1-1/+1
(This used to be commit 160906b57de8d1f8f76e716e0691223f743e07eb)
2001-09-09removed pointless parameter from readfile()Andrew Tridgell1-3/+3
(This used to be commit 0742342ec496bec7246e067280737cd507465b50)
2001-09-09fixed missing const on d_printf declarationAndrew Tridgell1-3/+3
(This used to be commit 865e0507e6e6ad6a71d833c4f2a0f57362637719)
2001-09-08convert more code to using d_printfAndrew Tridgell7-564/+566
(This used to be commit 60d297303488ed583537ca2853828fccd6da2ade)
2001-09-07Change the description on --with-pam_smbpass to make it clearer - some peopeAndrew Bartlett4-67/+81
seem to think you need this module for normal samba/PAM operation. rerun autoconf rerun autoheader (Note that --with-pam_smbpass still doesn't build, but at least when it does again only people who actually need it will select it). (This used to be commit bbda3dd7422a434f19ca8968dab8f9f210254c2f)
2001-09-07Don't fail if no owner/group owner set. Use existing owners.Jeremy Allison1-3/+7
Jeremy. (This used to be commit 9961c4c1a3b2dbf8d1062bc1fa103488c0d0ba79)
2001-09-07#ifdef out function when not used.Jeremy Allison1-0/+2
Jeremy. (This used to be commit fa8d626a2773569a454451e77ea56c707b33b69e)
2001-09-07added "display charset" option in smb.conf, along with d_printf()Andrew Tridgell8-155/+318
which should now be used instead of DEBUG(0) or printf() for interactive messages I have only converted client.c to use d_printf(), and the code hasn't had much testing yet. Eventually we want all interactive code to use d_printf(), plus SWAT (This used to be commit 266d8e67669adb329f25676c4bc4d4c50f223428)