search for: strgroup

Displaying 2 results from an estimated 2 matches for "strgroup".

Did you mean: trgroup
2013 Mar 20
2
Samba4 - mapping Network Drives based on Group membership
...et 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://" & strGroup Set objGroup = GetObject(strGroupPath) strGroupName = objGroup.CN Select Case strGroupName Case "HR" objNetwork.MapNetworkDrive "N:", "\\10.100.1.128\HR"...
2004 Mar 05
1
Errors related to Samba in httpd log!
......") ;************************************************************************* *********** ;**************************** USER DEFINED FUNCTIONS ******************************** ;************************************************************************* *********** FUNCTION ISINGROUP($strGroup) ; Quick, surefire way of testing if user is member of a group ; Avoids use of untested possible alternative of LDAP via RPC ; Needs a directory named after each group under netlogon directory, ; with chmod 750, owner root, group = name of dir and withn each d...