summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs/smbcalls.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r7477: Add MPR_TYPE_PTR to ejs_typeof().Tim Potter1-1/+2
(This used to be commit 8574f64ca2bda864f472067ae594285b6f5dc957)
2007-10-10r7351: Start of ejs smb client library. I need to figure out a nice API hereTim Potter1-0/+1
that doesn't expose too much of the cifs protocol but still allows people to do neat things. Also, talloc lifetimes need to be thought about properly. (This used to be commit 8062e808ef5102b96e1b3de046c858e4a69b4d82)
2007-10-10r7350: Remove unused label.Tim Potter1-1/+0
(This used to be commit ada004595760605134eb741da9c549521938c2ce)
2007-10-10r7268: allocate the strings to avoid them disappearing under our feetSimo Sorce1-5/+5
(This used to be commit ddd7454cb3e2445fd32682b380be89c70f8a22cb)
2007-10-10r7267: REMOTE_HOST is a better choiceSimo Sorce1-34/+65
(This used to be commit 41bae267e29614d300ec2505c927ab17ccbbe64f)
2007-10-10r7266: Split the different types of js function defines into separate files,Tim Potter1-243/+7
as there are going to be a lot more of them. (This used to be commit b086768589ee27de6616945bbea42b18b40d25d5)
2007-10-10r7261: Pass by reference is done in js via MPR_TYPE_OBJECT. Update argumentTim Potter1-2/+7
parsing and example for resolveName(). (This used to be commit 1a4a54931733ebfa743401a184fe460c044427b4)
2007-10-10r7255: Change syntax of resolveName() js function to be more like theTim Potter1-26/+28
resolve_name() C function. I can't figure out how to return variables by reference though. Writing to argv[] doesn't seem to work. (This used to be commit aef99859f28570b60f4fefe2981160269f6eb02a)
2007-10-10r7238: Add pam auth support in swatSimo Sorce1-0/+82
(This used to be commit 8a98572a3b5dba58181dc402dbebae5452656012)
2007-10-10r7135: make typeof() complient with ECMA 11.4.3Andrew Tridgell1-11/+12
(This used to be commit 29ab4cc6cb244255ab75af7ae2076b51209f4f2d)
2007-10-10r7083: Add a ejs hook to the resolve_name() function.Tim Potter1-0/+51
We need to figure out what the best way to return NTSTATUS codes. In the Python wrappers I threw an exception which could be caught by some code, but I'm not sure whether this is possible in ejs. (This used to be commit 6911e46c6a576a379ea06f9ba3ef6a62653170f0)
2007-10-10r7078: - fix an uninitialised variable in smbscriptAndrew Tridgell1-4/+4
- fixed handle passing in the smb/ejs interface calls, so they can be called safely from esp (This used to be commit 45ea1b64413de577366939b2106f657f6c47b1bd)
2007-10-10r7072: moved the esp hooks calls to the ejs level, so we can call them fromAndrew Tridgell1-0/+259
both esp scripts and ejs scripts. This allows the smbscript program to call all the existing extension calls like lpGet() and ldbSearch() Also fixed smbscript to load smb.conf, and setup logging for DEBUG() I left the unixAuth() routine in web_server/calls.c at the moment, as that is really only useful for esp scripts. I imagine that as we extend esp/ejs, we will put some functions in scripting/ejs/ for use in both ejs and esp, and some functions in web_server/ where they will only be accessed by esp web scripts (This used to be commit e59ae64f60d388a5634559e4e0887e4676b70871)