|
|
| Author |
Message |
MarcusB Guest
|
Posted: Thu May 18, 2006 3:08 pm Post subject: Usernames |
|
|
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
|
Posted: Thu May 18, 2006 4:48 pm Post subject: Re: Usernames |
|
|
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
|
Posted: Thu May 18, 2006 6:42 pm Post subject: Re: Usernames |
|
|
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
|
Posted: Thu May 18, 2006 7:23 pm Post subject: Re: Usernames |
|
|
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
|
Posted: Fri May 19, 2006 3:52 pm Post subject: Re: Usernames |
|
|
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
|
Posted: Fri May 19, 2006 4:20 pm Post subject: Re: Usernames |
|
|
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 |
|
 |
|