• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 162
  • Last Modified:

Full Path of Username from Active Directory

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.
0
ktrask36
Asked:
ktrask36
  • 2
1 Solution
 
Mike KlineCommented:
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.

Thanks


Mike
0
 
ktrask36Author Commented:
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.
0
 
LupinusCommented:
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.
0
 
Mike KlineCommented:
In your example mharrington  would be the samaccountname, that can't be more than 20 characters.

Thanks

Mike
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now