Howdy,

I have noticed something very interesting with WSS 3.0 in AD Creation Mode.
If I delete a user from the site, say by accident, then add them back in
there is a number affixed to their username, i.e. dlozzi3. Why? The user was
deleted. It will add the number if the user already exists but I deleted the
user. Does SharePoint cache users? If so, how do I override it? I just want
the same username back.

Thanks

--
David Lozzi
Delphi Technology Solutions
Blog: www.lozzi.net

Re: Deleting and recreating users by callahan

callahan
Wed Dec 19 21:49:47 CST 2007

I bet it's because the user was deleted from the site but not from the OU in
AD.

In Active Directory, each user account must have a unique name. When WSS
creates an account in AD, that's it, it's created. When you delete an
account in SharePoint, it doesn't change the user account object in AD.
This means, when you recreate the account in SharePoint, it tries to
generate the account again, see's the existing account with the same name,
and then generates the new one with a number after it instead.

To override it, when you delete a user in SharePoint, you need to remember
to go to the OU in AD and delete the corresponding account object so
SharePoint can reuse the name when you recreate the SharePoint user.
-callahan



"David Lozzi" <dlozzi@(remove-this)delphi-ts.com> wrote in message
news:B649AE04-813F-42EB-B582-F6B4999D8164@microsoft.com...
> Howdy,
>
> I have noticed something very interesting with WSS 3.0 in AD Creation
> Mode.
> If I delete a user from the site, say by accident, then add them back in
> there is a number affixed to their username, i.e. dlozzi3. Why? The user
> was
> deleted. It will add the number if the user already exists but I deleted
> the
> user. Does SharePoint cache users? If so, how do I override it? I just
> want
> the same username back.
>
> Thanks
>
> --
> David Lozzi
> Delphi Technology Solutions
> Blog: www.lozzi.net



Re: Deleting and recreating users by dlozzi

dlozzi
Thu Dec 20 06:58:01 CST 2007

Thanks for the thought out response, but the user account is deleted from the
OU as well. Think of how messy AD would get if SP never deleted the accounts!
No way of knowing which accounts were active and which ones were deleted from
SP. Anyway, the acount is deleted from the OU in AD...
--
David Lozzi
Delphi Technology Solutions
Blog: www.lozzi.net


"callahan" wrote:

> I bet it's because the user was deleted from the site but not from the OU in
> AD.
>
> In Active Directory, each user account must have a unique name. When WSS
> creates an account in AD, that's it, it's created. When you delete an
> account in SharePoint, it doesn't change the user account object in AD.
> This means, when you recreate the account in SharePoint, it tries to
> generate the account again, see's the existing account with the same name,
> and then generates the new one with a number after it instead.
>
> To override it, when you delete a user in SharePoint, you need to remember
> to go to the OU in AD and delete the corresponding account object so
> SharePoint can reuse the name when you recreate the SharePoint user.
> -callahan
>
>
>
> "David Lozzi" <dlozzi@(remove-this)delphi-ts.com> wrote in message
> news:B649AE04-813F-42EB-B582-F6B4999D8164@microsoft.com...
> > Howdy,
> >
> > I have noticed something very interesting with WSS 3.0 in AD Creation
> > Mode.
> > If I delete a user from the site, say by accident, then add them back in
> > there is a number affixed to their username, i.e. dlozzi3. Why? The user
> > was
> > deleted. It will add the number if the user already exists but I deleted
> > the
> > user. Does SharePoint cache users? If so, how do I override it? I just
> > want
> > the same username back.
> >
> > Thanks
> >
> > --
> > David Lozzi
> > Delphi Technology Solutions
> > Blog: www.lozzi.net
>
>
>

Re: Deleting and recreating users by callahan

callahan
Thu Dec 20 09:29:40 CST 2007

Hmm, then in my experience you should be able to reuse the name...

Sorry about that David, without the account already being in AD, I've never
had a problem reusing a name...
-callahan
"David Lozzi" <dlozzi@(remove-this)delphi-ts.com> wrote in message
news:14F9B54D-6CF7-44A9-9C98-BEB340A983BC@microsoft.com...
> Thanks for the thought out response, but the user account is deleted from
> the
> OU as well. Think of how messy AD would get if SP never deleted the
> accounts!
> No way of knowing which accounts were active and which ones were deleted
> from
> SP. Anyway, the acount is deleted from the OU in AD...
> --
> David Lozzi
> Delphi Technology Solutions
> Blog: www.lozzi.net
>
>
> "callahan" wrote:
>
>> I bet it's because the user was deleted from the site but not from the OU
>> in
>> AD.
>>
>> In Active Directory, each user account must have a unique name. When WSS
>> creates an account in AD, that's it, it's created. When you delete an
>> account in SharePoint, it doesn't change the user account object in AD.
>> This means, when you recreate the account in SharePoint, it tries to
>> generate the account again, see's the existing account with the same
>> name,
>> and then generates the new one with a number after it instead.
>>
>> To override it, when you delete a user in SharePoint, you need to
>> remember
>> to go to the OU in AD and delete the corresponding account object so
>> SharePoint can reuse the name when you recreate the SharePoint user.
>> -callahan
>>
>>
>>
>> "David Lozzi" <dlozzi@(remove-this)delphi-ts.com> wrote in message
>> news:B649AE04-813F-42EB-B582-F6B4999D8164@microsoft.com...
>> > Howdy,
>> >
>> > I have noticed something very interesting with WSS 3.0 in AD Creation
>> > Mode.
>> > If I delete a user from the site, say by accident, then add them back
>> > in
>> > there is a number affixed to their username, i.e. dlozzi3. Why? The
>> > user
>> > was
>> > deleted. It will add the number if the user already exists but I
>> > deleted
>> > the
>> > user. Does SharePoint cache users? If so, how do I override it? I just
>> > want
>> > the same username back.
>> >
>> > Thanks
>> >
>> > --
>> > David Lozzi
>> > Delphi Technology Solutions
>> > Blog: www.lozzi.net
>>
>>
>>