summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r1308: move smb_panic() to lib/fault.cStefan Metzmacher3-25/+106
merge the backtrace stuff from 3.0 metze (This used to be commit 4daf1bafc71cc8f13188aeb85d81aa7513d57d95)
2007-10-10r1307: remove unused stuff from pasn1Stefan Metzmacher1-39/+18
metze (This used to be commit 1727ef2bb9377ace00700f3c3e32ea6a4d267f60)
2007-10-10r1306: commit the first steps of my ASN.1 compilerStefan Metzmacher4-0/+769
called 'pasn1', it works like 'pidl' and we may can autogenerate ASN.1 code out of it. (NOTE: the complete LDAP ASN.1 definition is in the RFC 2251, and maybe some others too :-) I'm not completly shure if we'll use it in future, but I commit it so that it won't be lost... metze (This used to be commit ddcaf7b63a0bc49ef1fc2d85d0ba81d67db48790)
2007-10-10r1305: Grrr, fix my build breakage...Andrew Bartlett1-1/+1
Declare variables at the start of a block. Andrew Bartlett (This used to be commit 9f5394703e81db9ed93648e06e48b0364a04a696)
2007-10-10r1294: A nice, large, commit...Andrew Bartlett33-1397/+1569
This implements gensec for Samba's server side, and brings gensec up to the standards of a full subsystem. This means that use of the subsystem is by gensec_* functions, not function pointers in structures (this is internal). This causes changes in all the existing gensec users. Our RPC server no longer contains it's own generalised security scheme, and now calls gensec directly. Gensec has also taken over the role of auth/auth_ntlmssp.c An important part of gensec, is the output of the 'session_info' struct. This is now reference counted, so that we can correctly free it when a pipe is closed, no matter if it was inherited, or created by per-pipe authentication. The schannel code is reworked, to be in the same file for client and server. ntlm_auth is reworked to use gensec. The major problem with this code is the way it relies on subsystem auto-initialisation. The primary reason for this commit now.is to allow these problems to be looked at, and fixed. There are problems with the new code: - I've tested it with smbtorture, but currently don't have VMware and valgrind working (this I'll fix soon). - The SPNEGO code is client-only at this point. - We still do not do kerberos. Andrew Bartlett (This used to be commit 07fd885fd488fd1051eacc905a2d4962f8a018ec)
2007-10-10r1293: IndentAndrew Bartlett1-3/+5
Andrew Bartlett (This used to be commit 9002584c020a48ab37cce103b4413e871aae2985)
2007-10-10r1292: Add const to the subsystem/module registration code.Andrew Bartlett4-5/+12
Add some 'multi init' code, until we get a better set of infrustructure. Andrew Bartlett (This used to be commit 982422b2d286335378531ae9523e74192340af3c)
2007-10-10r1291: rename struct smbsrv_context to smbsrv_connectionStefan Metzmacher26-393/+369
because this is the connection state per transport layer (tcp) connection I also moved the substructs directly into smbsrv_connection, because they don't need a struct name and we should allway pass the complete smbsrv_connection struct into functions metze (This used to be commit 60f823f201fcedf5473008e8453a6351e73a92c7)
2007-10-10r1286: rename struct tcon_context to smbsrv_tconStefan Metzmacher1-1/+1
metze (This used to be commit a6c0ca9de52b2395b092cb245bb94cbd55dfdd46)
2007-10-10r1281: move include/context.h to smb_server/smb_server.hStefan Metzmacher2-1/+1
metze (This used to be commit 7b4ad993ad7c937ef9bee1a48a8bda62f2f5d3b9)
2007-10-10r1280: rename struct request_context to smbsrv_requestStefan Metzmacher28-373/+373
metze (This used to be commit a85d2db5826a84b812ea5162a11f54edd25f74e3)
2007-10-10r1279: rename struct tcon_context to smbsrv_tconStefan Metzmacher20-299/+299
metze (This used to be commit 99473fab4b1ff87a795f3c08f4c521d9beb504c0)
2007-10-10r1278: rename struct user_context to smbsrv_userStefan Metzmacher2-7/+7
metze (This used to be commit a9ba29e00fc818e798079c42888da3f20f3d1634)
2007-10-10r1277: rename struct server_context to smbsrv_ontextStefan Metzmacher26-233/+231
because I need server_context fot the generic server infastructure metze (This used to be commit 0712f9f30797e65362c99423c0cf158a2f539000)
2007-10-10r1276: Return data for enumprinters level 2 and 5.Tim Potter1-1/+77
(This used to be commit cf4e9080d52a5461650062f21f95b7887e3f3411)
2007-10-10r1275: Make spoolss_PrinterInfo2 and spoolss_PrinterInfo5 public so we canTim Potter1-2/+2
use them in the enumprinters server code. (This used to be commit 5fcba0aa2019e489e3936ec13dd11a5e8d74ba9f)
2007-10-10r1274: revert -r 1239 as discussed with abartletStefan Metzmacher6-460/+433
metze (This used to be commit 52e2d038252bd745d53c687d266ad3ad62efa6fc)
2007-10-10r1271: Return spoolss enumprinters info level1 from spoolss.ldb - woot!Tim Potter3-21/+49
(This used to be commit 60e48790dc7ee8a98be1914ff4a2c335d25639a8)
2007-10-10r1270: Start to break samdb into general bits so we can share code with otherTim Potter2-39/+67
similar dbs. (This used to be commit 1162e2fcff177cbbe84506efea0f79f68ecb233c)
2007-10-10r1269: Add a 'base' field to the ndr_ofs_list structure which is the base toTim Potter2-1/+5
which the offset applies to. In an array of structures containing relative members, the offset applies to the start of the array element being marshalled. Previously, there was no way to access the relevant structure start as by the time we have hit buffers, the head of the offset list will be the last structure being marshalled. Interestingly enough, this makes relstrs go away. I think we thought they were a special case in samba 3 but it turns out they are just regular relative elements in the idl. This makes spoolss a lot simpler than I thought it would be. I've run the samr and lsa tests and this doesn't seem to break anything. It looks like security descriptors are the only structures that contain relative members. Oh yeah, this will probably require a 'make clean && make' otherwise you will get bizzare errors. (This used to be commit d379dcdfd5f41e7cf7668354c3011b8ace190953)
2007-10-10r1268: varient -> variantTim Potter8-14/+14
(This used to be commit de5984c95602ca67e8ac3139c3aa4330b74266e0)
2007-10-10r1266: Start to split out EnumPrinters into a separate fn for each info level.Tim Potter1-20/+44
(This used to be commit 6b24ee38646f3476eaf8eda946488b46180038e2)
2007-10-10r1264: Make sure to initialize ofs_list when creating new ndr_{push,pull}Tim Potter1-0/+2
structures. (This used to be commit 6a39b17f6d8776ae695dc5c6caa0990ab2733e3c)
2007-10-10r1250: We no longer use these #definesAndrew Bartlett1-3/+0
Andrew Bartlett (This used to be commit e03195335931194372468bed2d758d4b9f686fe2)
2007-10-10r1239: move the old msrpc_<gen|parse>() functions to ↵Stefan Metzmacher6-433/+460
ndr_<push|pull>_format_blob() simular to ndr_<push|pull>_struct_blob() metze (This used to be commit b25dd341e0febd550a2936ca484b6fecce2ff8c2)
2007-10-10r1235: as the pidl code init all output data.Stefan Metzmacher2-3/+3
we should do it manualy too. metze (This used to be commit d3b80fd40a07575c18593523070986b7aed6de92)
2007-10-10r1234: valgrind found this uninitialised var...Stefan Metzmacher1-1/+8
But I don't know how to fix this correct, so maybe this needs to be fixed (tridge: can you please look at this) metze (This used to be commit b8b4d0d5bf037c79102709ea995ad8b8d6a9caff)
2007-10-10r1233: -move smb related code to smb_server/*Stefan Metzmacher6-286/+221
-move process_model code to smbd/process_model.c -remove some used code metze (This used to be commit 10dd8487290a2876253ce69033e374d23b42e704)
2007-10-10r1229: the name of the protocol should be in first place of a function nameStefan Metzmacher2-10/+10
rename <read|write|free>_spnego_data() into spnego_<read|write|free>_data metze (This used to be commit 3f57c8f596eb6ad31a024acaf60fefcfd28d8387)
2007-10-10r1228: use int64_t instead of long longStefan Metzmacher3-8/+8
(jra: please use: void, char int, uint_t, [u]int<8|16|32|64>_t types in new code) metze (This used to be commit 626bb153c45405f93a96bc5019241af506fac163)
2007-10-10r1227: use uint64_t instead of unsigned long longStefan Metzmacher1-2/+2
metze (This used to be commit 238acc5acf026d341186ed2debcf5d131f2dde96)
2007-10-10r1226: Return dummy information for two printers. Note that ndr_push_array()Tim Potter1-7/+14
can be used here - neat! (This used to be commit 5d0013438e6f838da44e6c7e74e4c49d477da3f1)
2007-10-10r1211: Some output from rpcclient -c enumprinters to remind me what a relativeTim Potter1-0/+71
string looks like. I'm not sure relstrs can be shoehorned into the ndr code as easily as adding a LIBNDR_STR flag. (This used to be commit e216c6a707ee3927d4187962774d59828550e380)
2007-10-10r1210: A skeleton spoolssdb, based on samdb.Tim Potter3-1/+95
(This used to be commit 487211f1ae105fd1972fecf521654dab81175c86)
2007-10-10r1208: Return some dummy printer information for the EnumPrinters RPC.Tim Potter1-6/+51
rpcclient enumprinters prints this information OK. Some minor cut&paste cleanups. (This used to be commit 1c749a3a348a2df477808d4fcc5377832bffa5e9)
2007-10-10r1207: Add spoolss to the list of endpoint servers.Tim Potter1-1/+1
(This used to be commit 2b9f364ed052c43b6074da9f5f03908ac81840f3)
2007-10-10r1206: Give the spoolss pipe an endpoint.Tim Potter1-1/+2
Make PrinterInfo1 struct public so we can call the push function in spoolss_EnumPrinters(). (This used to be commit f4309f3ced337cf5d968f62e80adee1eb75201af)
2007-10-10r1205: Whoops - this should fix the build.Tim Potter1-2/+5
(This used to be commit e21f324937df2fe70b693112bd0b6fe6575d70ed)
2007-10-10r1204: decrpc -> dcerpcTim Potter2-4/+4
(This used to be commit a5e3a26fc9a7e2c616302ed3b4a021f5755a4a13)
2007-10-10r1201: Skeleton versions of OpenPrinterEx() and ClosePrinter() to get the hangTim Potter2-3/+76
of things. (This used to be commit 3e79a6219eca3b96fe04d66b6cdfb11400c1771d)
2007-10-10r1200: Add 'gensec', our generic security layer.Andrew Bartlett17-1359/+1169
This layer is used for DCERPC security, as well as ntlm_auth at this time. It expect things like SASL and the CIFS layer to use it as well. The particular purpose of this layer is to introduce SPENGO, which needs generic access to the actual implementation mechanisms. Schannel, due to it's 'interesting' setup properties is in GENSEC, but is only in the RPC code. Andrew Bartlett (This used to be commit 902af49006fb8cfecaadd3cc0c10e2e542083fb1)
2007-10-10r1199: Make talloc_asprintf_append() work on a NULL source string as if it wereAndrew Bartlett1-1/+5
just a alloc_asprintf(). (makes it easier to use in a loop) Andrew Bartlett (This used to be commit 5816d09c47252d2ee8732722b3cc44ea865b8fcc)
2007-10-10r1198: Merge the Samba 3.0 ntlm_auth, including the kerberos and SPENGO parts.Andrew Bartlett19-1092/+1967
I have moved the SPNEGO and Kerberos code into libcli/auth, and intend to refactor them into the same format as NTLMSSP. Andrew Bartlett (This used to be commit 58da78a7460d5d0a4abee7d7b84799c228e6bc0b)
2007-10-10r1197: Fix my build breakage, variables at the top of a block only...Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 57ca89eab37b9d3dd83124d9d0f5a526aca0979f)
2007-10-10r1196: Remove unused pstring/fstring functions.Andrew Bartlett1-45/+0
Andrew Bartlett (This used to be commit 4f06bf4ab8cc61aec730f84766306119eb976c57)
2007-10-10r1189: Now that we use a common 'base' return structure for the SamLogonAndrew Bartlett1-37/+25
call, avoid code duplication in the torture suite. Andrew Bartlett (This used to be commit b6128c2a9d8e23dad0b14106f45a0638655d6cd7)
2007-10-10r1188: Use generated pidl template for this file and return DCESRV_FAULT insteadTim Potter1-406/+672
of a bogus WERROR. (This used to be commit 261531ce0a7f33eda5358319312877dc85386edb)
2007-10-10r1187: * Remove testing hack (actually check signatures on NTLM2).Andrew Bartlett1-5/+2
* Remove unreached counter increment * Print the correct NTLMSSP key. (This used to be commit b96700695479c19c7b2c190616420762409fdf0d)
2007-10-10r1186: Clarify why this is a 'bogus' negitive test. If we pass it, we mayAndrew Bartlett1-0/+8
still be broken. Andrew Bartlett (This used to be commit da5f311732d626c500dc5eaf6d457fee49e2da99)
2007-10-10r1185: Hey look an endpoint for the spoolss pipe!Tim Potter4-1/+762
Doesn't do much at the moment except compile. (This used to be commit ed9c4d7d70041879fa5005222f6cf84af558abef)