Full Path of Username from Active Directory

Posted on 2011-10-25
Last Modified: 2012-12-12
We have a piece of software that is using our Active Directory to get usernames and passwords in order to log into the software. For some reason, any username that is longer than 10 in Active Directory will not work with our software. Does anyone know the full path of a username from Active Directory? Our network is called langroup2 so I"m sure it is using langroup2\mharrington for example, but I'm wondering if it sees anything else in front of the langroup2. Our user id's are set to 28 and the network ids are set to 256 so I don't think it is anything within our piece of software. I'm guessing maybe it's something more it is getting from Active Directory that I can't see. Any information would be appreciated.
Question by:ktrask36
    LVL 57

    Accepted Solution

    That is odd, if you are using domain\username then it is using the samaccountname attribute.  The sam account name can only be 20 characters...what did you mean by 28.

    Have you talked to the software vendor...they may be able to help with their product.



    Author Comment

    What is the samaccountname?

    28 is the limit the software has for user id's. One of our users would be langroup2\mharrington which is exactly 20 so I'm not sure what is doesn't like. That is why I was thinking it might be looking at something more than domain\username.
    LVL 1

    Expert Comment

    This would have to be a limitation in the Vendor's Application.  Having made numerous VBScripts for many things, I can tell you it's easy to have a "glitch" in the program.. :)  As for Active Directory, the sAMAccountName would be the correct location for the User's Login ID.  I would contact the vendor to resolve this since we can only speculate as to the cause, whereas they should be able to identify it.
    LVL 57

    Expert Comment

    by:Mike Kline
    In your example mharrington  would be the samaccountname, that can't be more than 20 characters.



    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Mapping Drives using Group policy preferences Are you still using old scripts to map your network drives if so this article will show you how to get away for old scripts and move toward Group Policy Preference for mapping them. First things f…
    This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
    This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now