NAS200 loses User Listing - prevents network drive mapping and display of shares

I haven't seen this posted -  my NAS200 has been bullet proof Since Dec 2007 when I got it -  has the latest firmware, but lately I lose the drive mapping to thios unit - I cn open the admin console and login but when displaying the user list, I see Error: Cannot find number of users. I al;so see no shares as defined. I have recycled and get this to work for a while but it eventiually (10 min to 2 hours) loses connectivity. I'vwe enabled and disabled guest accounts and other features in options. Anyone have any ideas? Is this syptomatic of a firmware issue or other problem. The disconnect is now very  consistent but just started in the last few days.

Since no one sems to have any responses - I'll report that I've reset this device many times - it always works for a while then exhibits this behavior - I can access the unit via web and it shows 'error - no users defined' -  share mapping reports similar issue 'no users defined'. This seems to be a result of the firmware 'losing' its user information, causing the drive to disconnect (even using the 'admin' user). I thnik it might be due to a heat problem - after it runs for a while it heats up -  the top drive noticably more than the lower drive. My problem was using Raid 0 so I need the drives right where they are. So far over two weeks I've transfered quite a bit of data using a sync tools to minimize duplicaitions and recopying files. This is slow but I've made progress. I let the drives cool overnight for example last night, restarted this morning, copied 4000 plus file (about half of one directory), and using logging can see that it then failed to find the share/files  at the halfway point, so its off for the moment. Resets, etc don't help. I've had this since 2007 so its out of warranty but I'm still guessing one of the drives is going bad or the unit is heating on its own and the heat contributes to the firmware failure .... any input Junior Specialists?

Similar Messages

  • Hidden network drives "home" and "net" shown in folder view Adobe Bridge CS5 / Lion Problem

    Updated to Mac OS X 10.7.2 Lion and got this "problem":
    The hidden network drives "home" and "net" shown in folder view Adobe Bridge CS5 (unlike in 10.6 Snow Leopard).
    Normally these network drives are hidden (in Finder and other Apps) - but Adobe Bridge CS5 is showing them, despite "show hidden files" is unchecked in Adobe Bridge.
    Not a dramatic "bug", but it also shouldn't be a big problem for Adobe Bridge engineers to solve this. My first question to the Adobe Support was answered like: "we don't know what Apple did change, so we cannot do anything". Hmmm, are you serious?
    I tried to resolve that problem by myself but failed. So, if an Adobe engineer is reading this post: perhaps Adobe Bridge is ignoring the automounter master map (that was my approach to resolve it):
    # Automounter master map
    +auto_master                    # Use directory service
    /net           -hosts                 -nobrowse,hidefromfinder,nosuid
    /home                                        auto_home       -nobrowse,hidefromfinder
    /Network/Servers               -fstab
    /-                              -static
    You cannot do anything to these folders, so it is not a serious issue, but, I mean, did someone at Adobe check compatibiliy with 10.7 and ignored this issue? If so, are there an other issues ignored?
    But I guess, the compatibilty update for Bridge CS5 for Lion is Bridge CS6 - to be fair: I also have to say, that in general Bridge is running okay on Mac OS X 10.7.2 (but could be better, as always;)

    Hi Curt Y,
    thanks for your answer! Yes you' re right, I forgot to mention that ... before I posted here, I sent a bug report via the Apple Bug Report webpage about the issue ... of course, here are 2 parties involved.
    I had a similiar problem once and I got a meesage back from Apple: "that it is a 3rd party problem, sorry" (it was about color management).
    I am just a user and I often feel very strange about Apple's (topsecret) communication behaviour ... Whatever, what do I know about software engineering? - Right.
    Maybe someone on this forum has an idea, because I'm afraid, thus it is not a serious bug, no one would take care about it in the next time (during my research I found an older post here on the forum about the same problem ...).
    thanks for help in advance,
    jobumac

  • BADI or User Exit validation of operations tab and displaying an error mess

    Hello,
    Could you please let me know the BADI or User Exit validation of operations tab and displaying an error message in iw32
    Thanks,
    Suresh Mgl

    Hi ..
    I tried that user-exit...but i need to block the changes for purchase requisition which is in released stutus..
    .i hope i need to do implicite enchancement spot.....could you please help me to do that..
    Thanks,
    Suresh Mgl

  • Network Drive Mapping for users who have Port 445 (possibly others) Blocked by their ISP to a Server 2008 system

    Nice to see my original posts are still up.  I was hoping that in the ensuing time someone had found a solution.  At least I can now see many other posting the same problems.  :)  Thought I was losing it for a while.
    We have 100% proven that the problem (in our case) is from the ISP blocking port 445 (possibly others but 445 for SURE) with the reasoning that it prevents the spread of some Internet "worms".  It also just happens to prevent people who work
    from home from being able to map to their network drives at work.
    What I was hoping was that eventually someone would comer up with a solution for this short of having to load a server using a different OS from Windows.  The SMB protocol is the one needing port 445 as far as I can tell.  Not all ISP block
    port 445 and the laptops that use those ISP's  have no problem.  Unless they travel.  Then it is "hit or miss" as to whether the ISP for the Hotel they stay at blocks it.
    I have run multiple tests to prove that this was in FACT the problem.  Even the particular ISP in question which is a very large national ISP company freely admits they do this supposedly to prevent the spread of an unnamed Internet Worm.  It also
    happens to prevent Business use of their Internet by Home Subscribers at they cannot map to their Business Servers which also need port 445 to map.
    I have used WebDAV successfully to get around this but at a huge loss of speed and performance.  Cloud services all do essentially the same thing and all have pretty much the same loss of speed.
    If anyone has come across a method of allowing a drive mapping to be rerouted to any other port, that is the only hope I have short of changing to an alternate OS for the Office Server and even then I cant be sure until I try if it would help.  I read
    somewhere about the possibility of routing through a proxy but again, the problem would still be that the requests for mapping are expected on port 445 on the server and they will not get through even to the proxy since the originating ISP is the one blocking
    the port from the User's system. 
    Any help or suggestions would be greatly appreciated  I have posted this question now for several years with no one yet providing a working solution.  Hope burns Eternal though :)

    Yes, OwnCloud is an option as well as many others.  Even self hosted Cloud services such as the WD MyCloud all work.  The problem is speed.  JungleDisk is the best I have found so far.  I am not sure exactly what they use to allow the
    drive mapping but it seems to work faster that anything else I have found.
    VPN's don't work.  At least none of them I have tried.   I can connect a VPN with no problem.  But still cannot map a drive over it.   Actually, there are some issues with the VPN as well but these are just a matter of methodology. 
    Mapping to the FQDN works for some people while others require the public IP.  Some users on some ISP's can map using the FQDN, others have to map to the IP.  That in itself was a bit odd.
    I have tried every trick I could find including adding  the IP and/or FQDN to the Windows Hosts file on the server as well as on the client systems.  This actually did help to get the VPN to connect in some cases.  However, it still would
    not allow me to map a drive letter.
    I can create a Network Place,  This also works.  But it will not allow me to MAP that "network place" to a drive letter.  I have tried multiple utilities that allow mapping of Drive letters to almost anything but they wont work to map to a
    Network Place.
    The software that needs the mapped drive is a SQL database which runs on port 2004.  The program itself has no problems at all connecting to the server to run the database.  Even on systems which cannot map to the needed drive letter for the documents
    referred to in the database.    Users can run it and look up all kinds of material but it it is only a half-solution since the database refers to files stored in a "common-mapped" drive letter.  Which I cannot Map.
    I have tried every possible configuration of the VPN setup I could find, I have even tried a "Test System" with the NIC connected directly to the T1 Modem.  With all firewalls off and no AV software.  Even if that had worked,  there is no
    way I could run like that.  But it didn't.  Same issues.  All this did was put the blame squarely on the User's ISP which was the only reason I did it.  I had to rule out even the slightest chance that it was something in our equipment.
    This was already almost a certain fact since the same user could take their laptop to a WiFi Hotspot at a fast food restaurant and connect as well as map the drive.  As soon as they went back home, no drive.  On the ones I could convince to pay
    the extra charges, if they switched to a business connection from their ISP, No Problems.
    On most MiFi or other Cellular Internet devices, No Problem,  Although that had a habit of changing.  We had a few that worked for a while, then they got a software update for their MiFi which immediately blocked the ability to map.  Others
    it would be that some models of Cellular HotSpot units worked while other would not work even if both came from the same carrier.
    Coincidentally, we had none of these problems before two other events occurred: 
    One was the release of Server 2008 R2, (which was a kid of "surprise" change for all of us used to Server 2008 R1.  Welcomed changes, but not expected with a simple SP release. 
    The other was IPV6 finally became a reality:  June of 2012.
    This left us with much head scratching as to what was the real cause of the problem.  It took months to narrow it down to port blocking by the Outside ISP's with a 100% certainty.  Even tried reloading a system with Server 2008 R1 just to rule
    that out.  As well as disabling IPV6 on every network device.  The problem stayed with the User when Outside and which ISP they were connected to.
    Currently we are using a mix of normal VPNs for those who can run them, and CLOUD access for those who can't.  Even this is problematic since we have to keep both the local copy and the cloud copy in constant sync so that everyone sees the same versions
    of the same files on each one.
    Sorry to make this so long but I wanted to cover everything to show that we tried it all.  The only thing left short of getting the ISP's to remove the port blocks would be to find a way to route the SMB file requests around port 445 in some way. 
    I have been told that this is easy enough if using a file system other than Windows but that is not an option even if true. 
    Thanks for the updates and ideas.  I keep hoping that eventually there will be some secure method for mapping a drive letter that does not depend on having port 445.

  • How can I change the BlackBerry Link Network Drive mapping from Z: to something else?

    Hello,
    I generally have a mapping to my NFS server on Z:, and my iTunes library has a relative path to Z: for all of my music - the fact that Link is automatically picking Z: as my network sync target for my device does not work for me to sync music, or anything really. I can't figure out how to change this value to something else.
    I found the registry key: \HKEY_CURRENT_USER\Software\Research In Motion\Device Manager\Device Settings\<DEVICENAME>\VolumeMapping with a default blank REG_SZ - can I use this key at all to manually change drive mappings for my device? If so, what is the key/value pair I need and will this mess up any assumptions taken inside the Link software for synching?
    ... Also, I have a Feature Enhancement Request to go along with this issue: Add a "Change drive map letter" button beside the "Turn on wireless connections to my computer" button in Link, and add the same option in the context menu to the 'Device Manager' for the mapping (which currently just says 'Explore').
    Thanks for the help,
     - Jeff

    I do not know a lot about this subject but since Device Manager is not a Device and the BlackBerry Phone is not recognized as a Device in Disk management unless Mass Storage is turned ON it looks as if by design you cannot change the Drive Letter.
    Also if Mass Storage is turned On in the Phone Settings File Manager and BB link will not work but the BB Phone will then be recognized as a Device in Disk Management and the Drive Letter can be changed, this has no effect on the Drive Letters for Device Manager.
    Normally to change the Drive Letter and Paths of a Device once the Device is plugged you would go to Administrative Tools, Computer Management, Disk Management, right click the Device and choose "Change Drive Letter and Paths"
    Changing the Registry or Uninstalling Device Manager but keeping BB Link or looking for a Utility that can change the Drive Letter such as the one that many XP users had called TweakUI (only worked in XP) or changing the Drive Letter for your Network may be the only way.

  • Windows Network Drive Mapping properties not being associated with Test Stand deployment

    I recently upgraded a TestStand/LabVIEW (Developer Suite 2012 DS1) deployment project from a Windows XP Pro OS to Windows 7 Enterprise. Now, when I run the Test Stand deployment, Network paths that used to be hard coded into my File Globals are no longer recognized. I re-wrote the vi's, and put "File Dialog" pop-ups so that I could see what path the control is being opened up at, and what appears to be happening is the Network Drive that I am defaulted to is appearing as if it is "disconnected" in the navigation window, and the path is defaulted to my root directory. I can navigate out to my network path no problem from the navigation window, and after the first time I perform this user action, subsequent executions open up to the path I have hard coded in my Sequence File Globals. However, if I reboot my host computer, I again have to go through the exercise of manually pointing to the proper network location? If I use the Windows Explorer to check Mapped Networked Drives, everything is properly mapped and connected.
    Has anyone ever seen this behavior? 

    Hi ATE Dude 22,
    I have not come across this problem before but here is a document from MSDN and one from NI which discuss file path conventions. From what I've seen, UNC is also accepted under Windows XP so I would advise using it for your file globals.
    Cheers,
    KyleP
    Applications Engineer
    National Instruments

  • Network Drives Mapping Issue

    Hello Everyone,
    Since 10 days we have been facing a very different issue. A user in my company is not able to map shared drives on his Windows 7 Laptop.
    There are 6 windows-7 workstations having a Share in their respective c drive.  C:\ABC\xxx_share. These folders has "everyone" on both share and security permissions.
    \machine1\xxx_share (Using single slash instead of double slash here becoz its not letting me post links here)
    \machine2\xxx_share
    \machine3\xxx_share
    \machine4\xxx_share
    \machine5\xxx_share
    \machine6\xxx_share
    when we try accessing \machine1\c$ - nothing comes out.
    We have tried mapping through IP address
    We have tried force mapping through CMD
    we checked firewall, everything is off.
    I have directly added the user to all the 6 folders even though user is not able to map it.
    We are not able to diagnose as what an issue can be here.
    The machine is pingable and we are able to take RDP a couple of days back, but now even the machines are not accessible.
    I would request your help.
    Thanks
    Metal Musician

    Thanks Mike. Yes i tried mapping to the shared folder only. I just tried to check C$ whether it accessible or not.
    It was not accessible. This is not resolved yet
    If you cannot even RDP to the clients that is not the problem of shared folders etc. However C$ is accessible to local admins, security software disable access to those hidden shares as a default behavior. McAfee HIP is a case in point. Also hidden shares can
    be disabled too.
    Mahdi Tehrani   |  
      |  
    www.mahditehrani.ir
    Please click on Propose As Answer or to mark this post as
    and helpful for other people.
    This posting is provided AS-IS with no warranties, and confers no rights.
    How to query members of 'Local Administrators' group in all computers?

  • Network drive mapping Issue in WINDOWS 8 Client

    HI,<o:p></o:p>
    We have 2 Win2k8 R2 Domain controller. & around 100 Windows XP & Windows 7 Client. All the network mapping which was mapped through Group policy
    is worked fine.<o:p></o:p>
    Recently we have added 5 machines of WINDOWS 8 Client in our Network. We have observed that in none of the Windows 8 client machines,  Network drives are not
    getting automatically mapped. I checked through Gpresulr/r to confirm that whether the policy get applied or not, All the Windows 8 client machines has GP Applied.<o:p></o:p>
    I have run gpupdate & restart the machine, I have slow the network logging of Windows 8 Client,but it couldn't help me.
    <o:p>Regards,</o:p>
    <o:p>Chetan</o:p>

    Hi,
    In Group Policy Preferences,is "Reconnect" option ticked? If yes, please un-tick this option and check the result. Meanwhile, please check the below post which is discussing the same problem in Windows 8.
    Group Policy Preferences Drive Maps Not Working in Windows 8 RTM When "Reconnect" Option is Active
    http://social.technet.microsoft.com/Forums/en-US/winserverGP/thread/64e01325-9b2f-477c-ab51-7b10692b583a
    If this post does not help solve the problem, I suggest you ask in Group Policy forum.

  • N8 Belle and Network Drive mapping.

    Hello! Today I tried to move a large video file from my phone to a pc, but I didn't have the USB cable with me and nobody has the mini-usb cable laying around and Bluetooth is way too slow. Then I remembered using the convenient "Map Network Drive" option. I tried looking in the file browser where it was before, but then after googling it I found out that it was removed in Belle.
    I hope it's coming back as I remember it to be pretty convenient as wi-fi is pretty fast and I see no reason in removing features with updates.
    Thanks

    Hello! Today I tried to move a large video file from my phone to a pc, but I didn't have the USB cable with me and nobody has the mini-usb cable laying around and Bluetooth is way too slow. Then I remembered using the convenient "Map Network Drive" option. I tried looking in the file browser where it was before, but then after googling it I found out that it was removed in Belle.
    I hope it's coming back as I remember it to be pretty convenient as wi-fi is pretty fast and I see no reason in removing features with updates.
    Thanks

  • Database Network Drive mapping during MDT Build

    Edit: Wow..it looks like most of my question got cut off.  I blame the new forums.
    I'm getting the below errors during my MDT build process.  I think its because of the SQL Share information inside of MDT.  Will these errors go away if I remove this?  I'll post my CS.ini tomorrow when I'm back at work and don't have to do
    it via RDP.
    Validating connection to
    \\devsqldbmdt.DOMAIN.dev\SQLShareDEV$ ZTIGather 6/27/2013 2:38:49 AM 0 (0x0000)
    Unable to connect to share: The network name cannot be found.
    ( 0x80070043 ) , trying to connect without username.  ZTIGather 6/27/2013 2:38:49 AM 0 (0x0000)
    The network name cannot be found.
     ZTIGather 6/27/2013 2:38:49 AM 0 (0x0000)
    Unable to connect to
    \\devsqldbmdt.DOMAIN.dev\SQLShareDEV$.  Sleeping for 5 seconds. ZTIGather 6/27/2013 2:38:49 AM 0 (0x0000)
    Unable to connect to share: The network name cannot be found.
    ( 0x80070043 ) , trying to connect without username.  ZTIGather 6/27/2013 2:38:54 AM 0 (0x0000)
    The network name cannot be found.
     ZTIGather 6/27/2013 2:38:54 AM 0 (0x0000)
    I'm not sure where to proceed from here.  Should I remove the SQL Share from my Database Connection string?

    Let me elaborate on my original post..since I'm at work now and I can post my CS.ini.
    I have two servers based on how we would go to production.
    DEVMDT001
    DEVSQL508
    The MDT server hosts WDS and the Deployment Share.  SQL is on the remote server with some of our other infrastructure applications.  This is how our SQL team wants to support SQL rather than SQL Express.
    How do I need to set up the SQL Share (and do I need to?)
    Heres my CS.ini (with some editing done.)
    [Settings]
    Priority=DefaultGateway, CSettings, CRoles, Locations, LSettings, MMSettings, RSettings, RApps, Init, ByIsVM, Default
    Properties=SQLServerName, SQLDatabase, BIOSVersion, SMBIOSBIOSVersion, ProductVersion, ScottServerConfig, SkipScottComputerSettings, SkipDRACSettings, DRACConnection, DRACDHCP, DRACIP, DRACSubnet, DRACGateway, MyCustomProperty
    [DefaultGateway]
    172.30.23.1=DEV
    [DEV]
    SQLServerName=devsqldbmdt.DOMAIN.dev
    SQLDatabase=MDTDEV
    [CSettings]
    SQLServer=%SQLServerName%
    Database=%SQLDatabase%
    Netlib=DBNMPNTWSQLShare=DeploymentShare$
    Table=ComputerSettings
    Parameters=UUID, AssetTag, SerialNumber, MacAddress
    ParameterCondition=OR
    [CRoles]
    SQLServer=%SQLServerName%
    Database=%SQLDatabase%
    Netlib=DBNMPNTW
    Table=ComputerRoles
    Parameters=UUID, AssetTag, SerialNumber, MacAddress
    ParameterCondition=OR
    [Locations]
    SQLServer=%SQLServerName%
    Database=%SQLDatabase%
    Netlib=DBNMPNTWSQLShare=DeploymentShare$
    Table=Locations
    Parameters=DefaultGateway
    [LSettings]
    SQLServer=%SQLServerName%
    Database=%SQLDatabase%
    Netlib=DBNMPNTWSQLShare=DeploymentShare$
    Table=LocationSettings
    Parameters=DefaultGateway
    [MMSettings]
    SQLServer=%SQLServerName%
    Database=%SQLDatabase%
    Netlib=DBNMPNTWSQLShare=DeploymentShare$
    Table=MakeModelSettings
    Parameters=Make, Model
    [RSettings]
    SQLServer=%SQLServerName%
    Database=%SQLDatabase%
    Netlib=DBNMPNTWSQLShare=DeploymentShare$
    Table=RoleSettings
    Parameters=Role
    [RApps]
    SQLServer=%SQLServerName%
    Database=%SQLDatabase%
    Netlib=DBNMPNTWSQLShare=DeploymentShare$
    Table=RoleApplications
    Parameters=Role
    Order=Sequence

  • Redirected network drive, iTunes, and iOS 8.0.2

    It took me two days to troubleshoot this problem.  I'm up and functioning again, but I thought I'd post this in case anyone else has the peculiar circumstances that broke my iTunes.  Systems:  Windows 8.1, iTunes 11.4.0.18, iPhone 5S 32GB.  Symptoms: after upgrade to iOS 8.0.2, iTunes sync would fail every time at the same point, after syncing Outlook contacts and calendar, after syncing music, at the point where it starts to sync apps.  I isolated it to that instant by doing a clean install of iOS and a clean install of iTunes, empty music library, one app ready to sync, start the sync, and boom!  Failed every time.  Ruled out any problem with the phone, to the point of trying it with an entirely new phone pre-loaded with 8.0.2.
    I eventually found that if I set up a new Windows user and installed iTunes, it worked fine.  Then I realized that the key variable was redirection of the My Music folder.  We keep everything on a server that gets backed up regularly, with the Windows "My Documents" directory redirected to "\\server2\ldh\My Documents\" and Music redirected to "\\server2\ldh\Music\".  When I went back to my regular user account and removed that folder redirection, pointing it back to "C:\users\ldh\Music\", all was well.
    No explanation for why music and contacts would sync but apps wouldn't.  The contacts reside in the redirected "My Documents" directory, and the music files reside in a network drive M: mapped to "\\server2\share\musicfiles\".  The apps reside in "...\Music\iTunes\Mobile Applications", as standard.
    This didn't happen with iOS 8.0.1.  Everything was working fine until the 8.0.2 upgrade, and then after the upgrade every sync failed until I found the work-around. 
    My file server is running Ubuntu Linux 14.04.1 and Samba 4.1.6-Ubuntu.  I don't have a Windows server any more, so I can't say whether the the problem is stems from redirecting the Music folder per se -- if redirecting Music to a folder on a Windows server would have produced the same result -- or if it stems from some complex interaction among iOS, Windows, Samba, and Linux.  If the latter, that might explain why no one on any bulletin board seemed to have this problem.  But just in case there's a kindred spirit out there somewhere, I thought I'd document the issue.  Who knows, maybe Apple will even find the problem and fix it. 

    This is actually his is actiually a wider problem, with the introduction of iTunes version 14, Apple created a problem with accessing iTunes located on a network drive. This happened to me last year and 2nd Level support wasn't aware of the scale of the problem nor the level of angst in their own forms.
    i Had to resolve my problem by physically mapping the network drive.
    Now that I have had to rebuild my PC, my domain policies have automatically redirected the iTunes library.  tt worked ok on the day of installing iTune, but has not worked since. 
    ONe would have thought they they would have fixed this in the intervening period

  • GPP Drive map and logon impact

    Hello,
    GPP drive mapping requires synchronous processing which cause slower logon time. But it seems after reading this article here http://blogs.technet.com/b/grouppolicy/archive/2013/05/23/group-policy-and-logon-impact.aspx  that if you
    don't modify the GPP drive mapping after it has been applied, for every other logon, policies will be process asynchronously resulting faster logon. This is not what I experiment, even if I don't modify the GPP, every two logon, policies are
    process synchronously
    Here another way to improve logon time when using GPP drive map :
    http://social.technet.microsoft.com/wiki/contents/articles/12221.troubleshooting-the-drive-maps-preference-extension-in-group-policy-replace-mode-only-maps-the-drive-every-other-logon.aspx?wa=wsignin1.0
    ... The reconnect option is the same as mapping a drive using the /PERSISTENT attribute. This allows the state of the mapped drive to be saved between user logon sessions.  In this solution, use Create action to map a drive that persists between user
    logons. This would allow for faster logons because
    Group Policy wouldn’t be forced to run synchronously every logon cycle.
    Same here, even if I set the persistence attribute, every two logon, policies are processed synchronously.
    Are those both articles given wrong information or do I miss something?
    Thank you for your help.
    Chris

    >
    http://blogs.technet.com/b/grouppolicy/archive/2013/05/23/group-policy-and-logon-impact.aspx
    This article is misleading in terms of foreground/background/sync/async.
    I tend to say we have two processing modes only: sync and async. sync
    can only occur at startup/logon, and it only occurs if several other
    conditions are met (these conditions are correct in the above blog
    post). sync in my terms is identical to foreground, and async is
    identical to background :)
    So the question still is: Do you have any policy settings in place that
    might force the next processing to be sync?
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • BAPI to get all user lists for input object,authorizations, and profiles

    Hi Experts,
    BAPI to get all user lists for input specific object, authorizations, profiles and values?
    Any useful answer will be rewarded with suitable points.
    Thanks,
    Rohan

    Hi
    use the fun module/Bapi's
    BAPI_USER_GET_DETAIL
    BAPI_USER_LOCPROFILES_ASSIGN
    BAPI_USER_LOCPROFILES_DELETE
    BAPI_USER_LOCPROFILES_READ
    BAPI_USER_PROFILES_ASSIGN
    BAPI_USER_PROFILES_DELETE
    SUSR_BAPI_USER_PROFILES_ASSIGN
    SUSR_BAPI_USER_PROFILES_DELETE
    also you can use the tables UST12 for user based authorizations
    AGR_USERS   -roles assignment for users
    AGR_PROF  - Profile data for roles
    AGR_DEFINE - Auth Profiles for users
    See the AGR_* and US* tables further
    Reward points if useful
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • Retriving user list from ldap (username - first and last, dn, cn)

    Hi,
    I tried connecting LDAP server and succesfully connected and now i need to get userlist from LDAP can anyone give me a sample code to get userlist from LDAP.
    public static boolean testLDAP() {
                   InitialDirContext ctx = null;
                   try {
                           Hashtable htbl = new Hashtable();
                           htbl.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
                           htbl.put(Context.PROVIDER_URL, "ldap://padl:389");
                           htbl.put(Context.URL_PKG_PREFIXES, "com.sun.jndi.url");
                           htbl.put(Context.REFERRAL, "ignore");
                           htbl.put(Context.SECURITY_AUTHENTICATION, "simple");
                           htbl.put(Context.SECURITY_PRINCIPAL, "cn=administrator");
                           htbl.put(Context.SECURITY_CREDENTIALS, "password");
                           ctx = new InitialDirContext(htbl);                       
                           if (ctx != null) {
                                   ctx.close();
                                   return true;
                   catch (NamingException e) {
                           System.out.println("Error Connecting to LDAP Server.");
                           System.out.println(e.toString());
                           ctx=null;
                           return false;
                   return false;
           }Thank You.

    Ok here is the code to fetch userlist(First Name, Last Name, cn, dn, mail) from LDAP.
    import java.util.Hashtable;
    import javax.naming.Context;
    import javax.naming.NameNotFoundException;
    import javax.naming.NamingEnumeration;
    import javax.naming.NamingException;
    import javax.naming.directory.Attributes;
    import javax.naming.directory.DirContext;
    import javax.naming.directory.InitialDirContext;
    import javax.naming.directory.SearchControls;
    import javax.naming.directory.SearchResult;
    public class UserListFromLDAP
       public static void main(String args[])
          Hashtable env = new Hashtable();
          env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
          env.put(Context.PROVIDER_URL,"ldap://host:389");
          DirContext ctx;
          try {
             ctx = new InitialDirContext(env);
          } catch (NamingException e) {
             throw new RuntimeException(e);
          NamingEnumeration results = null;
          try {
             SearchControls controls = new SearchControls();
             controls.setSearchScope(SearchControls.SUBTREE_SCOPE);
             results = ctx.search("", "(objectclass=person)", controls);
             while (results.hasMore()) {
                SearchResult searchResult = (SearchResult) results.next();           
                Attributes attributes = searchResult.getAttributes(); 
                System.out.println("dn----------> "+searchResult.getName());
                System.out.println("cn----------> "+attributes.get("cn").get());
                if (attributes.get("givenName")!=null)
                     System.out.println("First Name--> "+attributes.get("givenName").get());
                System.out.println("Last Name---> "+attributes.get("sn").get());
                System.out.println("Mail--------> "+attributes.get("mail").get()+"\n\n");
          } catch (NameNotFoundException e) {
               System.out.println("Error : "+e);
          } catch (NamingException e) {
             throw new RuntimeException(e);
          } finally {
             if (results != null) {
                try {
                   results.close();
                } catch (Exception e) {
                     System.out.println("Error : "+e);
             if (ctx != null) {
                try {
                   ctx.close();
                } catch (Exception e) {
                     System.out.println("Error : "+e);
    }Here is the code to search user from LDAP based on cn and sn
    import java.util.Hashtable;
    import javax.naming.Context;
    import javax.naming.NameNotFoundException;
    import javax.naming.NamingEnumeration;
    import javax.naming.NamingException;
    import javax.naming.directory.Attributes;
    import javax.naming.directory.DirContext;
    import javax.naming.directory.InitialDirContext;
    import javax.naming.directory.SearchControls;
    import javax.naming.directory.SearchResult;
    public class LDAPUserSearch
       public static void main(String args[])
          Hashtable env = new Hashtable();
          env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
          env.put(Context.PROVIDER_URL,"ldap://host:10389");
          DirContext ctx;
          try {
             ctx = new InitialDirContext(env);
          } catch (NamingException e) {
             throw new RuntimeException(e);
          NamingEnumeration results = null;
          // give either cn or sn to check     
          String cn = "Common Name";
          String sn = "lastName";
          try {
             SearchControls controls = new SearchControls();
             controls.setSearchScope(SearchControls.SUBTREE_SCOPE);
             if(!cn.equalsIgnoreCase("") && !sn.equalsIgnoreCase("")){
                  System.out.println("Please test with either cn or sn");
             else if(cn!=null && !cn.equalsIgnoreCase("")){
                  System.out.println("Result based on cn:");
                  results = ctx.search("", "(cn="+cn+")", controls);
             else if(sn!=null && !sn.equalsIgnoreCase("")){
                  System.out.println("Result based on sn:");
                  results = ctx.search("", "(sn="+sn+")", controls);
             else{
                  System.out.println("No results found");
             while (results.hasMore()) {
                 SearchResult searchResult = (SearchResult) results.next();
                 Attributes attributes = searchResult.getAttributes();
                 System.out.println("Full Name:--------> "+attributes.get("cn").get());
                 if(attributes.get("givenName")!=null)
                      System.out.println("First Name:-------> "+attributes.get("givenName").get());
                 System.out.println("Last Name:--------> "+attributes.get("sn").get());
                 System.out.println("Mail:-------------> "+attributes.get("mail").get());
          } catch (NullPointerException e) {
               // Leave this...
          catch (NameNotFoundException e) {
             System.out.println("Error : "+e);
          } catch (NamingException e) {
             throw new RuntimeException(e);
          } finally {
             if (results != null) {
                try {
                   results.close();
                } catch (Exception e) {
                     System.out.println("Error : "+e);
             if (ctx != null) {
                try {
                   ctx.close();
                } catch (Exception e) {
                     System.out.println("Error : "+e);
       public static void common() {
    }

  • Windows 7 Pro randomly loses connection to some network drives/shares.

    This is a strange one.  I can see where others are having the same issue but I have not found an answer yet so hence this post. 
    This issue is happening on a Win 7 Pro system.  As far as I know we are not having this issue on any XP systems. 
    Problem:  I have at least one Windows 7 system that every so often will lose access to network shares on our network.  It does not lose access to all mapped drives or shares just to a couple and one server in particular
    - other shares are still working fine.
    I have logged on as another user to test the profile but it has the same issue.  It doesn't matter if I try to access the mapped drive or browse directly to the share.  It will not connect.
    Once I reboot the computer, access is restored like it should be.  It will work for a few hours and then go bonkers again.   HELP!!

    Please make the following changes
    On the Server whose map drives you don't see
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters
    Value: autodisconnect
    Data type : REG_DWORD
    Value: ffff (Hex)
    On windows 7 client 
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters
    Value Name: KeepConn
    Value Type: REG_DWORD
    Value: 65535 (dec value in seconds)

Maybe you are looking for

  • File doesn't open all the time

    I have created a numbers file that has several different sheets and on each sheet different tables. There is a lot of referencing in the file from one table to another. First it was about 307Kb (14 sheets) and then, adding some new sheets (up to 19)

  • BAPI to select a radio button in subscreen of standard screen

    Hi All,     I have a requirement ,Please help me in solving this. I have created a subscreen in sales order which contains 4 radio buttons. Now i need to write a BAPI to change to radio button B from radio button A. Can some one explain me how to do

  • How do I move songs?

    my four-year old ipod video has seen better days and i dont want to lose all my songs and videos. how do get all my songs and videos off my ipod and into my computer safely? they are not on my computer now because my hard drive crashed a couple month

  • Seeburger logging in j2ee\cluster\tmp

    Hello all, We are experiencing massive logging in \j2ee\cluster\tmp. Numerous files (today over 5000 of them) with an .swp extention are created. In the files, the following text can be found: InhouseDocReader moveNext(): com.seeburger.jucon.dochandl

  • AQ Adapter Dynamic Routing

    Hi I have posted this query in AQ forum,am posting this again in adapters forum hoping to get some solution for the below issue. I am using AQ Adapter to configure my OSB Buisness services to enqueue/Dequeue messages to my AQ queues. My requirement i