search for: wscript

Displaying 20 results from an estimated 178 matches for "wscript".

Did you mean: script
2010 Dec 15
2
How to run VBscript using wine?
Dear All, I want to run some vbscripts on Linux, but after searching and trying several days, I failed complete. Here is what I did: *ENV*: Ubuntu 10.10 x86_64 wine-1.3.9 (from wine ppa) *SCRIPT*:test.vbs MsgBox("HelloWorld!") *Method One*: wine wscript test.vbs fixme:wscript:wWinMain Could not find engine for L".vbs" *Method Two*: Step 1: winetricks wsh56vb Executing wine /home/fracting/.cache/winetricks/vbs56men.exe fixme:msvcrt:_setmbcp trail bytes data not available for DBCS codepage 0 - assuming all bytes Install of wsh5...
2018 Apr 18
2
Update from el7.4 to el7.5 broke samba 4.6.14
Hi Rowland, Yes, that's right (Thank you). Here is what happened: On the DC's, libldb was this version on el7.4: - libldb-1.1.29-2.el7_4.wing.x86_64 (from Wing's repo). el7.5 brought in a more recent version: - libldb-1.2.2-1.el7.x86_64 - libldb-1.2.2-1.el7.i686 What would be the best course of action here? A) Downgrade el7.5 to libldb-1.1.29-2.el7_4.wing.x86_64? B) rebuild
2018 Apr 17
4
Update from el7.4 to el7.5 broke samba 4.6.14
Hi all, After upgrading my first Samba AD DC from el7.4 to el7.5, I had the pain of being greeted with a non-fonctional Samba. When I used samba-tool, I was greeted with that message: root at dc00 ~]# samba-tool dbcheck ldb: module version mismatch in ../source4/dsdb/samdb/ldb_modules/acl.c : ldb_version=1.2.2 module_version=1.1.29 ldb: failed to initialise module /usr/lib64/samba/ldb/acl.so :
2014 Dec 21
2
Home auto creation
I want to auto create home directories for users when they login for the first time . I need kerbos authentication is possible to set it up on same host as domain controller so ad users can take ownership of home folder -- Join my framily E02705708hn 3032 last name BURGHARDT state is co Cheapest sprint service only 25 a month.
2014 Dec 21
0
Home auto creation
...directories persons from users, follows the script. create the file name.vbs with the content Option Explicit Dim objNetwork, objShell, wshShell, wshell, strDesktop, oShellLink, user1, FileClass, Directory Dim strDriveLetter, strRemotePath, strUserName, strNewName Set wshell = createobject("wscript.network") user1 = wshell.username Set FileClass = CreateObject("Scripting.FileSystemObject") Directory = "\\server\usuarios\" & user1 If FileClass.FolderExists (Directory) = False Then FileClass.CreateFolder (Directory) End If strDriveLetter = "N:" strRe...
2005 Jun 01
2
Can WMI be used in WINE apps?
Hi, After some googling I've found that there's very little said about the possibility of using WMI from Wine. Has someone done any progress about it? I find this subject very important; if you feel interested here's why: One may think this is a somehow fanciful intention, after all WMI exists for the purpouse of administering Windows, and no doubt that's best done from
2012 Mar 31
3
clear console
hi, I use R - 2.15(32bit), and want to make a code to clear a console. Actually, I used to run following code to do that but after update the version of R from 2.14 to 2.15, it doesn't work. cls <- function (t) { require(RDCOMClient) wsh <- COMCreate("Wscript.Shell") wsh$SendKeys("\f") invisible(wsh) } cls() or cls <- function() { require(rcom) wsh <-comCreateObject("Wscript.Shell") comInvoke(wsh, "SendKeys", "\f") invisible(wsh) } cls() Can anybody help me to solve this prob...
2014 Apr 25
1
Samba 4.1.4 compilation error
...wafdir) File "/home/samba/samba-4.1.4/buildtools/wafadmin/Scripting.py", line 145, in prepare prepare_impl(t, cwd, ver, wafdir) File "/home/samba/samba-4.1.4/buildtools/wafadmin/Scripting.py", line 135, in prepare_impl main() File "/home/samba/samba-4.1.4/wscript", line 280, in main wildcard_main(wildcard_cmd) File "./buildtools/wafsamba/samba_wildcard.py", line 110, in wildcard_main fun(ctx) File "/home/samba/samba-4.1.4/buildtools/wafadmin/Scripting.py", line 241, in configure conf.sub_config([''])...
2013 Nov 09
2
Enumeratings shares on Samba (3/4) servers with vbs
Hi, Working on an login script here for my samba4 servers. I try to get an list of the shares on server with this vb code. Set shares = GetObject("WinNT://SERVER/LanmanServer") For Each s In shares WScript.Echo s.Name Next The code works fine against Windows 2003/2008 R2. But if SERVER is an Samba Server (tested 3.6.x/4.0.10) i get an group not found error. Other this like printer enumeration works Set printers = GetObject("WinNT://SERVER,Computer") printers.Filter=Array("PrintQu...
2007 Mar 19
1
error running a vb script in wine
...quot; "<shortcut location>" 'Example: cscript mk_shortcut.vbs "notepad_shortcut" "C:\Windows \Notepad.exe" "U:\some_directory" 'TODO: Add some error checking (currently none since I don't know how in VBScript) Dim WSHShell, fs Set WSHShell = WScript.CreateObject("WScript.Shell") Set fs = WScript.CreateObject("Scripting.FileSystemObject") Function MakeDesktopShortcut( name, target, shortcut_location ) Dim Shortcut,StartupPath Set Shortcut = WSHShell.CreateShortcut(shortcut_location & "\" & name & "...
2017 Jun 03
3
Building from source on an ARM71 based router
...wafdir) File "/opt/test/samba-4.6.4/third_party/waf/wafadmin/Scripting.py", line 145, in prepare prepare_impl(t, cwd, ver, wafdir) File "/opt/test/samba-4.6.4/third_party/waf/wafadmin/Scripting.py", line 135, in prepare_impl main() File "/opt/test/samba-4.6.4/wscript", line 350, in main wildcard_main(wildcard_cmd) File "./buildtools/wafsamba/samba_wildcard.py", line 110, in wildcard_main fun(ctx) File "/opt/test/samba-4.6.4/third_party/waf/wafadmin/Scripting.py", line 241, in configure conf.sub_config(['']) Fil...
2013 Oct 08
1
git folder moved : waf : The top source directory has moved. Please run distclean and reconfigure
..._MAKE=1 python ./buildtools/bin/waf build > cannot find include/config.h > Waf: Entering directory `/home/serveur/git/samba4/bin' > bld.curdir > /media/data/git/samba4/lib/replace/../../buildtools/wafsamba is not a > child of /home/serveur/git/samba4 > /media/data/git/samba4/wscript: error: Traceback (most recent call last): > File "/media/data/git/samba4/buildtools/wafadmin/Utils.py", line > 647, in recurse > exec(compile(txt, file_path, 'exec'), dc) > File "/media/data/git/samba4/wscript_build", line 30, in <module> >...
2017 Jun 03
2
Building from source on an ARM71 based router
...wafdir) File "/opt/test/samba-4.6.4/third_party/waf/wafadmin/Scripting.py", line 145, in prepare prepare_impl(t, cwd, ver, wafdir) File "/opt/test/samba-4.6.4/third_party/waf/wafadmin/Scripting.py", line 135, in prepare_impl main() File "/opt/test/samba-4.6.4/wscript", line 350, in main wildcard_main(wildcard_cmd) File "./buildtools/wafsamba/samba_wildcard.py", line 110, in wildcard_main fun(ctx) File "/opt/test/samba-4.6.4/third_party/waf/wafadmin/Scripting.py", line 241, in configure conf.sub_config(['']) Fil...
2015 Jan 26
1
how to add new vfs module to build...
...files (vfs_full_audit.c) and that rebuilds as expected. >> >> I want to step back now and create a unique module name, but >> I'm having trouble getting it to be included in the build. >> Using vfs_full_audit.c as my example, I've added entries into >> source3/wscript and source3/modules/wscript_build. >> Then I run make at the top level, but don't see my module built. >> >> What am I missing here? > default_shared_modules.extend(TO_LIST('vfs_ceph')) > > You might want to use ceph as an optional module example. > > Vo...
2016 Jan 15
1
Samba Installation
While doing samba installation I got stuck in the configuring step. The output of ./configure gives me the following error:- ..... Checking for custom code : Could not find the python development headers /usr/src/samba-4.3.4/wscript:98: error: the configuration failed (see '/usr/src/samba-4.3.4/bin/config.log') My wscript file on line 98 shows: 'conf.SAMBA_CHECK_PYTHON_HEADERS(mandatory=True)' I have set my python version as 2.6.5 and tried to change it to 2.7.11 but for some reason it is not showing up in...
2010 Jul 26
1
Help on Samba 4
...update 4 machine and are facing problems. We have downloaded the samba4 tar ball from http://repo.or.cz/w/Samba.git/snapshot/master.tar.gz After untarring it we have done cd source4 ./autogen.sh ./configure But at this stage itself we are getting the following error: /root/Samba/source4/wscript: error: Traceback (most recent call last): File "/root/Samba/buildtools/bin/.waf-1.5.17-164170d221747ffbb50f4a8b9ccc2b2a/waf admin/Utils.py", line 198, in load_module exec(compile(code,file_path,'exec'),module.__dict__) File "/root/Samba/source4/wscript", line 11...
2015 Jan 24
2
how to add new vfs module to build...
...modifying one of the existing module source files (vfs_full_audit.c) and that rebuilds as expected. I want to step back now and create a unique module name, but I'm having trouble getting it to be included in the build. Using vfs_full_audit.c as my example, I've added entries into source3/wscript and source3/modules/wscript_build. Then I run make at the top level, but don't see my module built. What am I missing here? Tx Ed
2016 Oct 26
6
samba-4.5.1 build problem
..."/usr/src/samba/samba-4.5.1/third_party/waf/wafadmin/Scripting.py", line 145, in prepare prepare_impl(t, cwd, ver, wafdir) File "/usr/src/samba/samba-4.5.1/third_party/waf/wafadmin/Scripting.py", line 135, in prepare_impl main() File "/usr/src/samba/samba-4.5.1/wscript", line 347, in main wildcard_main(wildcard_cmd) File "./buildtools/wafsamba/samba_wildcard.py", line 110, in wildcard_main fun(ctx) File "/usr/src/samba/samba-4.5.1/third_party/waf/wafadmin/Scripting.py", line 241, in configure conf.sub_config([''])...
2011 May 17
2
CentOS 5.6 X86_64 install problem
I am trying to install samba 4 on a CentOS 5.6 X86_64 with all update installed following the directions from http://wiki.samba.org/index.php/Samba4/HOWTO Installed git and am able to use that to pull down latest version of samba source code ran ./configure.developer (can post output from this long file if needed) Once that was done I ran the make command and got this at the end
2013 Oct 29
2
creating an ubuntu package of version 4.1.0
...m': /home/nils/build2/samba4/bin/../source3/lib/util.c:1310: undefined reference to `hash_any' Did this happen to anybody before? Did anybody already succeed in building a ubuntu- or debian-package of samba 4.1.0? Nice regards, bbb -------------- next part -------------- Index: samba4/wscript =================================================================== --- samba4.orig/wscript 2013-10-29 18:13:14.464962744 +0000 +++ samba4/wscript 2013-10-29 18:17:07.732967883 +0000 @@ -66,6 +66,10 @@ gr = opt.option_group('developer options') + opt.add_option('--disable-nt...