How can i delete one duplicate system entry?

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

PrisonMind
Posts: 308
Joined: Thu Jul 10, 2008 5:00 am
Location: Adua

How can i delete one duplicate system entry?

Postby PrisonMind » Mon Feb 07, 2011 5:19 am

hi,

i have double entry in my system directory.
the second one is the old one which i didn´t need anymore.
how can delete only this entry?

the wrong one is this
S=Scott/G=Chris/OU1=scalix01/OU2=plant1/CN=Scott, Chris/INTERNET-ADDR="Scott, Chris" <Chris.Scott@scalix01.mail.com>=

omsearch -e "CN=Scott, Chris"
S=Scott/G=Chris/OU1=scalix04/CN=Scott, Chris/INTERNET-ADDR="Scott, Chris" <Chris.Scott@mail.com>="Scott, Chris" <chris2@mail.com>/UL-AUTHID=chris2/UL-CAPS=6/UL-CLASS=Full/UL-IL=GERMAN/SOURCE-LID=4305/PROPAGATED-BY=42768/EMPL-ORG=….
S=Scott/G=Chris/OU1=scalix01/OU2=plant1/CN=Scott, Chris/INTERNET-ADDR="Scott, Chris" <Chris.Scott@scalix01.mail.com>="Scott, Chris chris2@scalix01.mail.com>/UL-AUTHID=chris2/UL-CAPS=6/UL-CLASS=Full/UL-IL=GERMAN/EMPL-ORG=...

mikethebike
Posts: 566
Joined: Mon Nov 28, 2005 4:16 pm
Location: England

Re: How can i delete one duplicate system entry?

Postby mikethebike » Tue Feb 08, 2011 7:17 am

omsearch -e S=Scott/G=Chris -m @all-attr@

look for the LID (local unique id), and use that to delete

omdelent -e S=Scott/G=Chris/lid=xxx

if the entry was added locally (and the good one was added by a dirsync as your post implies...it has a propogated-by), you could also use:

omdelent -e "S=Scott/G=Chris/propogated-by="

Mick


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 5 guests