Usernames
 




IT Certification FAQ

 
|
Home
|
Microsoft
|
CISCO
|
CompTIA
|
Exam/Study FAQ
|
Employment FAQ
| Links  | Forums  |
Book Reviews


FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  ProfileProfile  Log in to check your private messagesPrivate messages  Log inLog in

Usernames

 
Post new topic   Reply to topic    Forum Index -> microsoft.public.windows.server.active_directory
Author Message
MarcusB
Guest





PostPosted: Thu May 18, 2006 3:08 pm    Post subject: Usernames Reply with quote

We got problems with users names and logins script.
Our users are mapped to the share which have the same name as the
username. Some user names are longer than 20 letters and than we got
problems.
When user log in using:
domain.xx.se\usernamexxxxxxxxxxxxxxxxxxxxx

than he(she) can log in, but username when we checked %username" or
ObjNetwork.username is cutted to 20 letters.
What kind solution you can suggest?


Marcus
Back to top
Paul Williams [MVP]
Guest





PostPosted: Thu May 18, 2006 4:48 pm    Post subject: Re: Usernames Reply with quote

What is the problem? If you're talking about username (sAMAccountName) then
it can only be 20 characters. Perhaps you are setting the
userPrincipalName? If so, this shouldn't affect the profile folder as that
is built from your sAMAccountName.

Also, you can work round your issue with your logon script by truncating the
username to 20 chars before comparing to a folder, or whatever you are
doing.

Or am I missing something? If so, what is your issue?

--
Paul Williams
Microsoft MVP - Windows Server - Directory Services
http://www.msresource.net | http://forums.msresource.net
Back to top
MarcusB
Guest





PostPosted: Thu May 18, 2006 6:42 pm    Post subject: Re: Usernames Reply with quote

I do not want truncating user names to 20 characters. We have user names
build like this: name.familyname and sometimes it happen that people
have longer login names than 20 characters. I want that they still can
log using their simple login names note like "domain name\ username",
just user name.

Marcus

Paul Williams [MVP] wrote:
Quote:
What is the problem? If you're talking about username (sAMAccountName) then
it can only be 20 characters. Perhaps you are setting the
userPrincipalName? If so, this shouldn't affect the profile folder as that
is built from your sAMAccountName.

Also, you can work round your issue with your logon script by truncating the
username to 20 chars before comparing to a folder, or whatever you are
doing.

Or am I missing something? If so, what is your issue?
Back to top
Paul Williams [MVP]
Guest





PostPosted: Thu May 18, 2006 7:23 pm    Post subject: Re: Usernames Reply with quote

When you say user name, are you referring to the Pre-windows 2000 user name
or the user logon name?

--
Paul Williams
Microsoft MVP - Windows Server - Directory Services
http://www.msresource.net | http://forums.msresource.net
Back to top
MarcusB
Guest





PostPosted: Fri May 19, 2006 3:52 pm    Post subject: Re: Usernames Reply with quote

Pre-windows 2000 user name and user logon name are the same thing in
our situation. I do not want that people will use user names with doamin
name together, it is to long.

Marcus
Paul Williams [MVP] wrote:
Quote:
When you say user name, are you referring to the Pre-windows 2000 user name
or the user logon name?
Back to top
Paul Williams [MVP]
Guest





PostPosted: Fri May 19, 2006 4:20 pm    Post subject: Re: Usernames Reply with quote

They are only the same thing if they are less than 20 chars. If they are
more, then the pre-2k name is truncated. This is what I'm getting at. The
sAMAccountName is only 20 chars long.

--
Paul Williams
Microsoft MVP - Windows Server - Directory Services
http://www.msresource.net | http://forums.msresource.net
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> microsoft.public.windows.server.active_directory All times are GMT
Page 1 of 1

 

Copyright © 2002-2006 Web-S-Sense Pty. Ltd. All rights reserved.

Powered by phpBB
Advertising | Policies/Disclaimers | Contact us | Link to us


Featured Sites: Free Antivirus and Antispyware Info | Free PC Support | MCSE Directory