Scipt to prompt and authenticate users to AD and then map 2 next available drive letters to 2 network shares

Hi,
So I have been trying to write some code that will
prompt users to authenticate to AD and use that authentication to map the next 2 available drive letter to two network shares.
I have adopted using the HAT format as this provides me with the ability to prompt for a username and password and authenitcate to AD.
<script language="vbscript">
Function setSize()
window.resizeTo 350,300
Window.moveTo (screen.width-240)/2, (screen.height-600)/2
End Function
Function cmdSubmit_OnClick()
Dim strUser 'User Name variable
Dim strPW 'User Password variable
if auth.username.value = "" Then
msgbox ("ERROR: No User account information provided. Please Try Again!")
cmdSubmit_OnClick = False
Elseif auth.password.value = "" Then
msgbox ("ERROR: No User account information provided. Please Try Again!")
cmdSubmit_OnClick= False
Else
strUser = auth.username.value
strPW = auth.password.value
Authenticate strUser, strPW
End If
End Function
Public Sub Authenticate (Byref strUser, Byref strPW)
On Error Resume Next
Const ADS_SECURE_AUTHENTICATION = &H1
Const ADS_SERVER_BIND = &H200
Dim strPath 'LDAP path where the Users accounts are listed
Dim LDAP 'Directory Service Object reference variable
Dim strAuth 'Parses the User Name and Password through the DSObject
strPath = "LDAP://fanzldap.au.fjanz.com/rootDSE"
Set LDAP = GetObject("LDAP://company/rootDSE")
Set strAuth = LDAP.OpenDSObject(strPath, strUser, strPW, ADS_SECURE_AUTHENTICATION Or ADS_SERVER_BIND)
If Err.number <> 0 Then
intTemp = msgbox(strUser & " could not be authenticated", vbYES)
if intTemp = vbYes Then
'window.location.reload()
End If
Else
For Each obj in strAuth
If obj.Class = "user" Then
If obj.Get("samAccountName") = strUser Then
msgbox ("Success! " & strUser & " has been authenticated with Active Directory")
window.close()
Set wShell = CreateObject("Wscript.shell")
wShell.run "Firstletterali.vbs"
End If
End If
Next
End If
End Sub
</script>
<head>
<body style="background-color:#B0C4DE">
<img src=Title.jpg><br>
<HTA:APPLICATION
APPLICATIONNAME="User Login"
BORDER="thin"
SCROLL="no"
SINGLEINSTANCE="yes"
WINDOWSTATE="normal">
<title>NAS Authentication</title>
<body onload="vbs:setSize()">
<div class="style2">
<h3>NAS Archive Authentication</h3>
</div>
<form method="post" id="auth" name="auth">
<span class="style3"><strong>User Name:&nbsp; </strong></span>
<input id="Username" name="Username" type="text" style="width: 150px" /><br>
<span class="style3">
<strong>Password:&nbsp;&nbsp;&nbsp;&nbsp; </strong></span>
<input id="password" name="password" type="password" style="width: 150px" /><br><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="submit" value="Submit" name="cmdSubmit" />
<input type="button" value="Exit" onclick="self.close()">
</form>
</body>
</html>
using the above I can succefully authenticate users but I cant work out how to then use that authenticattion to map the next to available drive letters to a network source.
The code I have for that is
Option Explicit
Dim strDriveLetter, strRemotePath, strRemotePath1, strDriveLetter1
Dim objNetwork, objShell
Dim CheckDrive, DriveExists, intDrive
Dim strAlpha, strExtract, intAlpha, intCount
' The section sets the variables
strRemotePath = "\\mel\groups\Team\general"
strRemotePath1 = "\\mel\groups\Team\specific"
strDriveLetter = "B:"
strDriveLetter1 = "H:"
strAlpha = "BHIJKLMNOPQRSTUVWXYZ"
intAlpha = 0
intCount = 0
err.number= vbEmpty
' This sections creates two objects:
' objShell and objNetwork and then counts the drives
Set objShell = CreateObject("WScript.Shell")
Set objNetwork = CreateObject("WScript.Network")
Set CheckDrive = objNetwork.EnumNetworkDrives()
' This section operates the For ... Next loop
' See how it compares the enumerated drive letters
' With strDriveLetter
On Error Resume Next
DriveExists = False
' Sets the Outer loop to check for 24 letters in strAlpha
For intCount = 1 To 24
DriveExists = False
' CheckDrive compares each Enumerated network drive
' with the proposed drive letter held by strDriveLetter
For intDrive = 0 To CheckDrive.Count - 1 Step 2
If CheckDrive.Item(intDrive) = strDriveLetter _
Then DriveExists = True
Next
intAlpha = intAlpha + 1
' Logic section if strDriveLetter does not = DriveExist
' Then go ahead and map the drive
'Wscript.Echo strDriveLetter & " exists: " & DriveExists
If DriveExists = False Then objNetwork.MapNetworkDrive _
strDriveLetter, strRemotePath
call ShowExplorer ' Extra code to take you to the mapped drive
' Appends a colon to drive letter. 1 means number of letters
strDriveLetter = Mid(strAlpha, intAlpha,1) & ":"
' If the DriveExists, then it is necessary to
' reset the variable from true --> false for next test loop
If DriveExists = True Then DriveExists = False
Next
WScript.Echo "Out of drive letters. Last letter " & strDriveLetter
WScript.Quit(1)
'Sub ShowExplorer()
'If DriveExists = False Then Wscript.Echo strDriveLetter & " Has been mapped for archiving"
'If DriveExists = False Then objShell.run _
'("Explorer" & " " & strDriveLetter & "\" )
'If DriveExists = False Then WScript.Quit(0)
'End Sub
On Error Resume Next
DriveExists = False
' Sets the Outer loop to check for 24 letters in strAlpha
For intCount = 1 To 24
DriveExists = False
' CheckDrive compares each Enumerated network drive
' with the proposed drive letter held by strDriveLetter1
For intDrive = 0 To CheckDrive.Count - 1 Step 2
If CheckDrive.Item(intDrive) = strDriveLetter1 _
Then DriveExists = True
Next
intAlpha = intAlpha + 1
' Logic section if strDriveLetter1 does not = DriveExist
' Then go ahead and map the drive
'Wscript.Echo strDriveLetter1 & " exists: " & DriveExists
If DriveExists = False Then objNetwork.MapNetworkDrive _
strDriveLetter1, strRemotePath1
call ShowExplorer ' Extra code to take you to the mapped drive
' Appends a colon to drive letter. 1 means number of letters
strDriveLetter1 = Mid(strAlpha, intAlpha,1) & ":"
' If the DriveExists, then it is necessary to
' reset the variable from true --> false for next test loop
If DriveExists = True Then DriveExists = False
Next
WScript.Echo "Out of drive letters. Last letter " & strDriveLetter1
WScript.Quit(1)
Sub ShowExplorer()
If DriveExists = False Then Wscript.Echo strDriveLetter & " Has been mapped for archiving"
If DriveExists = False Then objShell.run _
("Explorer" & " " & strDriveLetter & "\" )
If DriveExists = False Then WScript.Quit(0)
End Sub
Now the above script will find the next availabe letter and map one location to it...I still havent worked out to create another loop for it to do it again. It obviously also requires that you already be authenticated to map to that location.
I looking for some help on how to marry these to scripts together.
Thanks
Ali

Hi Ali
Here is some code that will enumerate two free adjacent drive letters. It starts searching from "C" all the way to "Z" for two drives letters that are adjacent and returns the results in an array then echos the results. You can easily adapt this code to
map your network drives to each drive letter. Hope that helps
Cheers Matt :)
Option Explicit
Dim objFSO
On Error Resume Next
Set objFSO = CreateObject("Scripting.FileSystemObject")
ProcessScript
If Err.Number <> 0 Then
WScript.Quit
End If
On Error Goto 0
'Functions Processing Section
'Name : ProcessScript -> Primary Function that controls all other script processing.
'Parameters : None ->
'Return : None ->
Function ProcessScript
Dim driveLetters, driveLetter
If Not GetFreeDrives(driveLetters) Then
Exit Function
End If
For Each driveLetter In driveLetters
MsgBox driveLetter, vbInformation
Next
End Function
'Name : GetFreeDrives -> Searches for a pair of free adjacent drive letters.
'Parameters : adjacentDrives -> Input/Output : variable assigned to an array containing the first two free adjacent drives.
'Return : GetFreeDrives -> Returns True if Successful otherwise returns False.
Function GetFreeDrives(adjacentDrives)
GetFreeDrives = False
Dim drive, driveLetter, drivesDict, i
Set drivesDict = NewDictionary
driveLetter = "C"
'Add the drives collection into the dictionary.
For Each drive In objFSO.drives
drivesDict(drive.DriveLetter) = ""
Next
'Check drive letters C: to Z: for two free adjacent drive letters and set the "driveLetter" variable to the first one.
For i = Asc(driveLetter) To Asc("Z")
If Not drivesDict.Exists(Chr(i)) And Not drivesDict.Exists(Chr(i + 1)) Then
driveLetter = Chr(i)
Exit For
End If
Next
'If two free adjacent drive letters were not found then exit.
If driveLetter = "" Then
Exit Function
End If
adjacentDrives = Array(driveLetter, Chr(Asc(driveLetter) + 1))
GetFreeDrives = True
End Function
'Name : NewDictionary -> Creates a new dictionary object.
'Parameters : None ->
'Return : NewDictionary -> Returns a dictionary object.
Function NewDictionary
Dim dict
Set dict = CreateObject("scripting.Dictionary")
dict.CompareMode = vbTextCompare
Set NewDictionary = dict
End Function

Similar Messages

  • Authorize and authenticate user

    Hi,
    I understand the difference between authorization and authentication but most tools use a single or similar class to do both.
    Oracle seems to use BPMAuthorizationService to authorize using "jazn.com" and IWorkflowContext to authenticate an user.
    Please see the queries below and help me understand the rational behind using them.
    What is this ShortHistoryTaskType?
    Thanks,
    BPMAuthorizationService
    BPMAuthorizationService bpmAuthServ = wfSvcClient.getAuthorizationService
    ("jazn.com");
    IWorkflowServiceClient
    IWorkflowContext ctx = // Use default realm
                   querySvc.authenticate("bpeladmin", "welcome1", "jazn.com",null);
    Edited by: me_sun on Jul 8, 2009 10:31 AM

    can you confirm if you are using getActions or getAction API
    Also you may want to enable "Allow Management Operations" in AccessGate configuration in oamconsole
    what is exception you get while invoking api
    hope this helps

  • UDT and UDF - User-defined Tables and Fields

    Dear All,
    I am writing a Query to permit the Cashier to check her Cash entries and balances on a Daily basis.
    Basically, it's a General Ledger, but I want the Query - Selection Criteria window to display only a few GL codes namely GL codes 1240601, 1240602, 1240603 etc.
    I don't know if I am doing it right. This is what I did (SAP B1 8.8):
    UDT
    I created a UDT called TEST2 using:
    Tools -> Customization Tools -> User-defined Tables - Setup
    UDF
    Then I created a field in the UDT called GlCod using User-Defined Fields - Management
    Title : GlCod
    Description : GL Code
    Type : Alphanumeric 30
    Field Data
    In the Field Data window, I ticked the Set Valid Values for Fields checkbox and filled in the blanks as follows:
    #                  Value                Description
    1                 1240601             Cash in Hand (Rs)
    2                 1240602             Cash in Hand (USD Notes)
    3                 1240603             Cash in Hand (Euro Notes)
    etc...
    Query
    Then I wrote my Query (see below).
    When I run it, I get the Selection Criteria screen as I wanted:
    Query - Selection Criteria
    GL Code                                   ...............   (arrow here)
    Posting Date                              ...............
    [OK]                [Cancel]
    When I click on the GL Code arrow, I get a window with the exact choices I need. It looks like this:
    1240601 -  Cash in Hand (Rs)
    1240602 -  Cash in Hand (USD Notes)
    1240603 -  Cash in Hand (Euro Notes)
    Executing the Query
    The Query seems to run normally, but nothing is generated on the screen, and there's no Error Message.
    What can be wrong about this query?
    I suspect that the GL codes in JDT1 and TEST2 are not of the same data type, so that INNER JOIN returns nothing.
    Thanks,
    Leon Lai
    Here's my SQL
    declare @TEST2 TABLE
    (GlCod varchar(30))
    declare @GlCod nvarchar (30)
    set @GlCod =/*SELECT T0.U_GlCod from [dbo].[@TEST2] T0 where T0.U_GlCod=*/  '[%0]'
    declare @refdt datetime
    set @ref=/*SELECT T1.RefDate from [dbo].[JDT1] T1 where T1.RefDate=*/ '[%1]'
    select
    t1.Account as 'GL Code',
    t1.RefDate as 'Posting Date',
    t0.U_GlCod as 'Restricted GL Codes'
    from JDT1 T1
    INNER JOIN @TEST2 T0 ON T0.[U_GlCod] = T1.[Account]
    WHERE
    t1.RefDate <= @refdt
    and
    t0.U_GLCod = @GlCod

    Try this:
    declare @GlCod nvarchar (30)
    set @GlCod =/*SELECT T0.U_GlCod from [dbo].[@TEST2] T0 where T0.U_GlCod=*/  '[%0]'
    declare @refdt datetime
    set @refdt=/*SELECT T1.RefDate from [dbo].[JDT1] T1 where T1.RefDate=*/ '[%1]'
    select
    t1.Account as 'GL Code',
    t1.RefDate as 'Posting Date'
    from JDT1 T1
    WHERE
    t1.RefDate <= @refdt
      and
    T1.[Account] = @GlCod
    (There is no need to declare the memoria table @test2 if you already created one table with this name.
    And there is no need to a join.)
    Edited by: István Korös on Aug 15, 2011 1:27 PM

  • Once we download it brings up a box that says "Run as" and has User name: Administrator and a box for Password. We can't get past this point. What do we do?

    we tried to dowload Firefox and it tried to run..it then brought up the box that states Run as at the top. It says: You may not have the necessary permissions to use all the features of this program you are about to run. You may run this program as a different user ot continue to run the program as the current user.
    Current user(Owner-PC\Owner)
    Run the program as the following user:
    User name: Administrator
    Password:
    ok cancel

    Make sure that you do not run the Firefox directly via the download dialog in IE, but save the file to the desktop and start the installation with a double-click.
    You may need to use "Run as Administrator" via the right-click context menu if you do not get a UAC alert.

  • Can you authenticate users from 2 different AAA-servers for one specific tunnel-group?

    I need to authenticate users from two separate AD LDAP databases on the same tunnel-group. I would like them to use the same tunnel-group and thereby using the  same group-alias. I tried creating a new aaa-server group and putting both LDAP servers into group but apparently the ASA does not roll through the separate servers in the aaa-server group and will stop if the first server states that the authentication failed.
    I also tried assigning multiple aaa-server groups into the tunnel-group authentication-server-group but that also did not work. I finally tried to create a separate tunnel-group and assigning it the same group-alias but the ASA will not allow me to assign the same group-alias to different tunnel-group. What is the best way to accomplish this without having to create a new group-alias that will show up and possible confuse the dumb users requiring this access? Please help.

    If you don't want ANY drop down I believe you can do it in a kludgy sort of way.
    Eliminate all the group aliases (which are used to populate the dropdown) and make a local database of the users for the sole purpose of assigning / restricting them to a non-default tunnel-group which authenticates to the secondary LDAP server. 
    You can also send out a non-published URL that points to a second tunnel-group not in the dropdown.
    Of course, we can accomplish this if the AAA server is ISE. ISE 1.3 can authenticate users to multiple AD domains (with or without trust relationships) or a single domain with multiple join points in the Forest.
    The ISE answer makes me wonder - could you establish trust between the domains and authenticate users that way?

  • Authenticate user by LDAP server

    Environment: WLS6.0 Netscape Directory Server 4.1
    I have successful protect a servlet and authenticate user by "File Realm". But I can't authenticate user by "Security Realm(LDAP). Pls tell me any configure I miss.
    ======weblogic.xml entites========
    <security-rike-assignment>
    <role-name>manager</role-name>
    <principal-name>joan</principal-name>
    <principal-name>awang</principal-name>
    </security-role-assignment>
    (the user joan has defined in "File Realm", and there is a user in LDAP: uid=awang, ou=IT, dc=CMD)
    And why the user "awang" can't access the servlet (the username field enter "awang"; the password filed enter "awang123")
    =====config.xml entities=====
    <LDAPRealm AuthProtocol="simple" Crdential="awang123" GroupDN="dc=CMD" GroupIsContext="false" LDAPURL="ldap://127.0.0.1:389" Name="defaultLDAPRealmForNetscapeDirectoryServer" Principal="uid=awang, ou=IT, dc=CMD" UserAuthentication="local" UserDN="dc=CMD" UserNameAttribute="uid"

    You can use jsp's and servlets.
    Have a .jsp (i.e. login.jsp) that has 2 fields username / password and a submit button i.e.
    <form method="post" action="/servlet/LoginServlet">
    <input type="text" size="15" name="username" value="">
    <input type="password" size="15" name="password" value="">
    <input type="submit" name="Submit" value="Authenticate">
    </form>In your servlet (i.e. LoginServlet) is where you retrieve the username / password by doing something like:
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
      String username = request.getParameter("username");
      String password = request.getParameter("password"); 
    }You would now do your LDAP authentication. see http://java.sun.com/products/jndi/tutorial/ldap/security/ldap.html
    Depending on whether the authentication was successful or not you would redirect the user to an error page or to the next .jsp (i.e changePassword.jsp) where they can change their password.

  • Server Behaviours...Authenticate User

    I am trying to create a login page using macromedia, I got
    the form setup with text box's and button.. then I try and go to
    server behavior and authenticate user... but that choice is not
    there..
    How do I get that choice ?

    > Yes a site has been setup and it's setup to use ASP.net
    VB. Testing server is
    > also setup.
    and this is an .asp page that's been saved to within this
    site folder...
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • How can authenticate users´portal in OIM?

    I have installed Aqualogic Interaction 6.5, and I want import and authenticate users from OIM(or another LDAP)? What i can do?
    I read that i must install Oracle webcenter identity services? It´s true? Where i can adquire?
    thanks

    I have not tried with 6.5, btu I think you just need to install one of the identity services which allow you to sync and authenticate against various sources (LDAP, AD, etc). See here for more info http://edocs.bea.com/alui/integration/

  • How to get "fast user switching" and network shares playing nice

    I've been alternating between banging my head against a wall and reading every forum I could find to try and get a reasonable compromise between using "Fast user switching" and sharing a folder from a file server.  It baffles me how the network share/mount model of OSX/AFP is completely killed by fast-user-switching; this is a big problem with Apple requiring users to be actively logged in to share music/video from iTunes which therefore essentially requires fast-user-switching if anyone else wants to use the computer.  (anyone find it odd that you can share files without being logged in, but sharing songs requires an active login for each user who is sharing?  Apple: time to make iTunes sharing a service!)
    For the sake of example, lets just say I want to share my /Groups folder from my desktop and have it be accessible to my laptop.  Here are all the things that I tried:
    Apple Method 1) Share /Groups in the Server.app on the desktop (running Lion Server), use finder on the laptop and drag the share icon to "Login Items", alternative use a startup Apple script using "mount volume"  Both of the options work and will mount the /Groups folder under /Volumes/Groups, of course when the second person logs in via fast-user-switching (and occasionally the first person for no apparent reason), they will get /Volumes/Groups-1 since /Volumes/Groups is already taken.  Tomorrow we log in a different order and now the previously /Volumes/Groups-1 user has their mount at /Volumes/Group and vice versa.  Any links, aliases, finder sidebar references, and application settings which pointed to yesterday's location are now BROKEN.  Not very user friendly to my mother-in-law who is trying to find those pictures of the kids and doesn't know anything about mount points. I also can't reasonably mirror the file location structure on the desktop so that application preferences that are synced between the two (portable home directories) work.   fail.
    Apple Method 2) Use automounter and set up by hand direct maps for /Groups or an indirect maps for the children of /Groups.  Now it will automatically get mounted to /network/servers/SERVER/Groups/ on the laptop and on the desktop it will automatically create a similar symlink structure so that the same path (/network/servers/SERVER/Groups) work both on desktop and laptop.  Cool.  Except when the second person logs in, the /network/servers/SERVER/Groups/ mountpoint is already owned by the first user and they don't have any permissions to access it.  Fail.
    Apple Method 3) Use mount_afs and specify directly the mount-points.  Have each user have their own startup AppleScript which mounts /Groups to a different location (e.g. /Users/Shared/username/Groups) that way they don't conflict with multiple users.  On the desktop, set up symlinks from /Users/Shared/username/Group to /Groups so that it will be the same as the client and applications settings will work when synchronized back/forth by portable-home-directories.  Will it work, yes it does, but what a bear to maintain.  Is this really what I should expect to do just to have multiple users on my desktop and laptop (which again is essentially required now if I want to do any type of iTunes sharing).  This can't be what apple expects.
    What I ended up doing - the "not quite apple" solution.
    Non-Apple Method 4) After a read of "Autofs: Automatically Mounting Network File Shares in Mac OS X" (http://images.apple.com/business/docs/Autofs.pdf) at the very end there is a single paragraph  of "Kerberized NFS": "A Kerberized NFS mount can have multiple connections from multiple users, each using the correct user’s credentials for each transaction. This allows administrators to support multiple users, each authenticated with their own credentials to the same mount point. This is very different from AFP and SMB mounts," (emphasis mine)
    It appears that by using good 'ole NFS (abeint with Kerberos for security!) you can actually have multiple users on the same mount point.  Roughly following the guidance at https://support.apple.com/kb/TA24986?viewlocale=en_US.  What I needed to do was:
    1) create /etc/exports on my desktop and add a single line "/Groups -sec=krb5".  The existence of /etc/exports triggered a start of nfsd which no longer has any GUI options in Lion.
    2) Add a line to /etc/auto_master on my laptop "/-  auto_mymounts" to reference a new direct map.
    3) Create /etc/auto_mymounts and add a single line "/Groups         SERVER:/Groups" to create the direct map.
    THAT'S IT.  Three lines in three files.
    Now when I log into my laptop, there is a /Groups that is a network mount of my desktop's /Groups, same location AND it works for all of my users, even simultaneously. 
    In the end I'm happy with what I've got, but man was this a difficult path just to support fast-user-switching.  In Lion, Apple appears to be getting away from NFS (no longer turned on by default and remove from the GUI controls) but clearly this really useful functionality which doesn't exist in AFP. 
    I'm really curious, after all this work.  Any other ways to accomplish this?

    In my example above, yes I chose to mount the share "Groups" to the top of the root since that is where I put it on my server and I wanted to keep them similar; but that was just my preference, it isn't a requirement.  You can export and mount from other directories.

  • User Facing Features and Upgrades from 6.x and 7.x (MWI, DND, CFA, ...)

    The 9.1.1 upgrade guide states:
    "For upgrades from Cisco Unified Communications Manager Release 8.x, changes that are made to the following user-facing features get preserved after the upgrade completes ...".
    What happens to user facing features like MWI and CFA for upgrades from 6.x and 7.x?

    Hi,
    you can refer the link which says 
    User Provisioning
    For upgrades from Cisco Unified Communications Manager Release 4.x and 5.x, any provisioning that the end user performs to user-facing features after the upgrade begins could get lost.
    For upgrades from Cisco Unified Communications Manager Release 6.x, changes that are made to the following user-facing features get preserved after the upgrade completes:
    •Call Forward All (CFA)
    •Message Waiting Indication (MWI)
    •Privacy Enable/Disable
    •Do Not Disturb Enable/Disable (DND)
    •Extension Mobility Login (EM)
    •Hunt Group Logout
    •Device Mobility
    •CTI CAPF status for end users and application users
    •Credential hacking and authentication
    •Recording enabling
    •Single Number Reach enabling
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/cucos/7_1_2/cucos/osg_712_cm/iptpch7.html
    regds,
    aman

  • Different software and database user

    I want to install oracle software and oracle database on two difference user
    Software user: orasoft
    Primary group: oinstall
    Secondary group: dba
    User Home: /u01/orasoft
    $ORACLE_HOME=/u00/app/oracle/product/10.2.0
    /u00: owner: orasoft:oinstall permission 775 (before installing software)
    Database User: oradb
    Primary group: dba
    Secondary group: oinstall
    User Home: /u01/oradb
    In this scenario,
    Software is getting installed perfectly; I’m getting permissions issue for creating database
    1. Do I need to change the $ORACLE_HOME permissions to 775 after software installation for the database to get installed without any issue?
    2. if I do this, then the permission executables also gets changed to rwx-rwx-rx.

    Hi,
    First of all, I cannot really see the concept behind the user management how you have assigned orasoft and oradb users to oinstall and dba groups.
    Why cannot oinstall be the primary for both users and dba is the secondary? As well as what OS group do you plan to be the sysdba and sysoper groups?
    Second of all what do you mean by:
    user8209189 wrote:
    I want to install oracle software and oracle database on two difference userWhat kind of oracle software do you mean by the first oracle software ? What Oracle component are you refering here?
    As well as:
    user8209189 wrote:
    2. if I do this, then the permission executables also gets changed to rwx-rwx-rx.Be careful with playing with such permissions in the Oracle binary home as certain binary files require SUID settings (e.g. rwS)
    Regards,
    Jozsef

  • Windows 7 - Files missing from network share after trying to burn and no data cached to be burned

    I ran into an issue trying to burn some file from a network share using Windows 7 Home Professional.  I was trying to burn some .jpg files from a mapped network share drive using explorer.  Every time I would drag the files to be burned from
    the share drive to the explorer screen to be burned, the files would disappear from the share.  To make things worse the files would not show up in the screen to be burned.  I was unable to locate any of the files on either of the systems when performing
    a search after this took place.  I verified that the steps that I was taking to burn the files were the same as outlined on the Microsoft site.  No matter what I did to burn these files, they were deleted from the mapped network drive. 
    Below are the steps that I took that both resulted in the files being deleted as well as what I had to do to finally burn the disc.
    Steps that resulted in files being deleted:
    1. Insert blank CD into drive. 
    2. From prompt select burn using explorer (Mastered Format)
    3. Enter title and select with CD/DVD, click Next.
    4. Open a second explorer window, navigate to mapped network drive with files to be burned and snap next to explorer to be burned.
    5. Drag and drop the files from the share drive to CD.
    This where the train would fall off the tracks every time.  I would receive a message that the file(s) no longer exist and if I wanted to continue.  From here the files would be deleted from the share drive.  The best part is that the files
    would also NOT be locally stored to be burned. 
    Steps to burn share files WITHOUT delete:
    Follow steps outlined above, but instead of just dragging and dropping the files as outlined in step 5 select the files from the network share location, right mouse select copy.  Then right mouse select paste in the explorer window to be burned.
    I have tested this many times and every time ended up with the same problem.  At this point I am sure that there is a problem with the way that Windows 7 is performing the burn.  The system that I was using to burn is Windows 7 Home Professional
    with all the patches and updates loaded.  The remote system is Windows XP Professional with all the patches and updates loaded.
    Thanks in advance

    Yes, the problem is still continuing. However, after looking into as much of it as I can, I can confirm something that r.p.b_ started stumbling on. The files are deleted IF AND ONLY IF a user is using the built-in Windows 7 disc burning utility AND is dragging
    and dropping the files to the drive from a network share; this doesn't happen locally. If you watch what happens in the native folder, the files are literally scrubbed from the drive as they are processed and added to the image. However, if you Right Click
    on the files and copy them, then Right Click->Paste onto the drive, they remain. (The keyboard shortcuts also worked.) Also, 3rd party disc burning utilities function they way the should. (In other words, they don't delete the files.)
    My speculation is that there's a bug in the coding that sees the network share as a temporary buffer file while the image is being prepared. Then, as the files are processed in what ever way is needed, the "temporary buffer" is being deleted. The result:
    lost files on a network share. But, this is just speculation.

  • Home network and FTP giving diffrent drive letters

    I have my iTunes library on a home server and I have it synced to that drive letter (i.e. X:). When I am remote, which is often in my job, I ftp in and get a different drive letter (i.e. T:). When I attempt to do anything it is telling me it can’t the file. But, when I try to use the T: drive it wants to erase and re-sync to that drive. These drives are mapped and cannot have the same letter. Is there a way around this? I am more familiar with Microsoft Zune software, which you can sync from several drives and it only will sync what is different.

    Hi, Bill...  
    I'm using PowerShell to query a database and then write the results to a  shared network folder on a Linux server which is mapped to a drive letter.  I'm using the ISE... (I *love* the ISE), and it just would be a lot easier if  had those
    mapped drives available.  I'm thinking that the workaround is to execute test-path to test whether the path is usable. If the test-path returns false, then map a temporary drive.  But it seems like a bit of a kludge, and I wasn't sure if there was
    some best practice that I was missing.  
    I'm also curious to know why the drives are visible, but inaccessible, in the ISE.  
    Does the ISE actually create a separate environment different from, or "on top of" the normal PS command line environment? 
    And, why doesn't the ISE session inherit the mapped drives?  
    --- L

  • DAC server start-up error and Can't authenticate user

    HI,
         we have installed DAC server in Linux machine and client on windows. By using DAC client we restored the backup of DAC repository, DAC client was working fine still restoration and after restoring it’s not logging in. It throws error like "Can't authenticate user"
    while starting DAC services in Unix server it throws an error like
    ANOMALY INFO An exception occurred. Shutting down server...
    MESSAGE:::/u01/DAC/jdk/jre/lib/i386/xawt/libmawt.so: libXext.so.6: cannot open shared object file: No such file or directory
    EXCEPTION CLASS::: java.lang.UnsatisfiedLinkError
    Note: since DAC client is not separately available for windows we have installed dac server also and while installing and after installing we never configured to connect to the dac server which is in Linux, we have configured only DB.
    we have successfully installed OBIEE, Informatica, and DAC version is 10.1.3.4.1.
    How to start the DAC services?
    How to configure dac client to connect to DAC server and how to solve this "Can't authenticate user" issue?
    Pls help in this regard.
    Thanks in advance.

    EddyLau wrote:
    Hi,
    I encounter the "Can't authenticate user" error in DAC first setup after installation when it prompt up to ask for setting up administrator id and password.
    here's my sql statement to create database schema for dac in oracle database.
    grant dba, connect, resource, create view, create session to SSE_ROLE;
    create user DEV_DAC identified by "password";
    grant DEV_DAC to SSE_ROLE;
    grant dba, connect, resource, create view, create session, grant any role to DEV_DAC;
    I tried dropping the data schema and create it again but still fail to authenticate.
    did I grant enough privileges to the database schema?
    Please help.
    Thanks,
    EddyLogin to DEV_DAC using the credentials from SQL Developer or sql
    Then do select * from W_ETL_USER -- here you will see 2 Administrator id's listed
    now run the command Delete From W_ETL_USER
    Now login to dac client with Administrator and pwd which you have set earlier.
    Mark as helpful or correct if it helps
    Thanks,
    RM

  • How to authenticate external and internal users on different AD

    What is the recommended way to authenticate external users as well as internal employees in a customer facing application?
    We have external users in an Active Directory in the DMZ and our employees in our internal DMZ.  Unfortunately we don't have an identity management system in place and wondering if there is a way we could authenticate user against two active directories without creating a trust between them.
    We are implementing EP7.0
    Thanks in Advance.

    You can also use user partitioning. A feature of the UME which allows for having different user persistence options for different users. What you could do in this case have the external user stored in the local db or an LDAP for the external users and the internal users stored in an internal LDAP directory. For more details about <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/e0/b60b404b2b1e07e10000000a1550b0/frameset.htm">user partitioning</a>, please see the docs.
    regards,
    Patrick

Maybe you are looking for

  • HELP Imac has gone crazy....can't open any major apps!

    I am using an Imac. I am a relatively new to Mac...convert actually.   I was in the middle of typing a google gmail email then the screen just freezes up. I press the power button because nothing is reponsice, not even getting a color wheel. System r

  • Error in Transaction SFP when trying to upload a form (note 1387091)

    Hiho I'm trying to upload a form that was attached to note 1387091 with transaction SFP. When I try to upload the form I get the following error message: Error occurred in SAFP UI My procedure is the following one: I go to transaction SFP, type in th

  • Apple File Settings "Greyed" out?

    I'm trying to access the Apple File Setting pane of a folder that is shared through my workgroup manager however all the settings have been greyed out. Specifically I want to toggle the option of Inherit permissions from parent as opposed to the curr

  • Hard drive crash, new OS

    My hard drive crashed and i bought a new computer.. however given what i needed for school Windows was the better OS than MAC so now i have windows vista. I was not able to transfer my music however before my harddrive crashed and if i try to sinc it

  • Session variable in the title

    I want to add my session variable in the title. I used the following: @{biServer.variables['NQ_SESSION.myvariable']} and I got the default session variable value and not the current one. I know about the way to add column and use it in narrative text