search for: objsysinfo

Displaying 1 result from an estimated 1 matches for "objsysinfo".

2013 Mar 20
2
Samba4 - mapping Network Drives based on Group membership
...f HR Group say, only a Public drive is mapped and nothing 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 o...