search for: objnetwork

Displaying 5 results from an estimated 5 matches for "objnetwork".

2013 Mar 20
2
Samba4 - mapping Network Drives based on Group membership
...ng else. This seems to be a permission issue querying Active Directory, and I have no idea on how to give users the permission to Query the AD in Samba4. Can anyone help? for reference here is the VBScript I use: On Error Resume Next Set objSysInfo = CreateObject("ADSystemInfo") Set objNetwork = CreateObject("Wscript.Network") strUserPath = "LDAP://" & objSysInfo.UserName Set objUser = GetObject(strUserPath) objNetwork.MapNetworkDrive "Z:", "\\10.100.1.128\Public" For Each strGroup in objUser.MemberOf strGroupPath = "LDAP://" &...
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
At the institution where I work, we have created a GPO to create and mount the 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") Director...
2014 Mar 04
0
Anybody have issues joining machines to a S4 AD domain using VBS
...t;xxxx.com" strPassword = "xxxx" strUser = "Joiner" strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") 'Join Computer to domain Set objNetwork = CreateObject("WScript.Network") strComputer = objNetwork.ComputerName Set objComputer = GetObject("winmgmts:{impersonationLevel=Impersonate}!\\" & _ strComputer & "\root\cimv2:Win32_ComputerSystem.Name='" & _ strComputer & "'") Ret...
2008 Jun 19
6
login scripts --what to use
Hi, We're setting up a PDC, and would like to have a login script to deliver the mapped drives to users in particular groups, and connect to printers. The printer drivers come from the [print$], share. Does anyone have any good resources for this? What's the easiest and simplest thing to get going --vbscript or batch files? Thanks, chris