So the -c parameter is used to delete user (for exemple) in AD. For exemple, if you delete an user in OpenLDAP, your user are delete in AD. But with certain configuration, the -c parameter delete all when you launch the sync with this parameter. Like that : lsc -f c:\lsc-openldap2ad\etc -c all -s all

Indeed, when i begin with the LSC Project, i had this problem, but i have now resolv this problem, and now when i delete an user in my OpenLDAP, only this user is delete in AD.

Can you join your configuration for user ?

Regards


Le 01/06/2010 12:57, Gunter Holzer a écrit :

Hi,

I´m confused about the start parameter of lsc.

If I use "lsc -f c:\lsc-openldap2ad\etc -c all -s all" all users synced from OpenLDAP to AD correctly and right afterwards they get deleted instantly??

(see below)

If I start lsc with "-s all" only the users keep residing in AD - but if I delete a user in OpenLDAP it doesn´t get deleted in AD.

So what´s up with the "-c all" parameter??

What about " lsc.tasks.ADuser.condition.delete = false" in lsc.properties. Does it override the "-c all"?

Regards,

Gunter

################ lsc -f c:\lsc-openldap2ad\etc -c all -s all#############################

Jun 01 12:41:45 - INFO  - Starting sync for ADuser

Jun 01 12:41:45 - INFO - Connecting to LDAP server ldap://141.69.121.114:389/dc

=ldap,dc=test as cn=admin,dc=ldap,dc=test

Jun 01 12:41:45 - INFO - Connecting to LDAP server ldap://141.69.121.117:389/DC

=test,DC=local as cn=Administrator,cn=Users,dc=test,dc=local

Jun 01 12:41:45 - INFO - # Adding new entry CN=Pavel Chekov,OU=lsc for ADuser

dn: CN=Pavel Chekov,OU=lsc,DC=test,DC=local

changetype: add

userPrincipalName: [email protected]

sn: Chekov

cn: Pavel Chekov

sAMAccountName: pchekov

userAccountControl: 66048

objectClass: organizationalPerson

objectClass: person

objectClass: user

objectClass: top

givenName: Pavel

displayName: Pavel Chekov

Jun 01 12:41:45 - INFO  - # Adding new entry CN=Jane Doe,OU=lsc for ADuser

dn: CN=Jane Doe,OU=lsc,DC=test,DC=local

changetype: add

userPrincipalName: [email protected]

mail: [email protected]

sn: Doe

cn: Jane Doe

sAMAccountName: jdoe

userAccountControl: 66048

objectClass: organizationalPerson

objectClass: person

objectClass: user

objectClass: top

givenName: Jane

displayName: Jane Doe

Jun 01 12:41:45 - INFO - All entries: 2, to modify entries: 2, modified entries

: 2, errors: 0

Jun 01 12:41:45 - INFO  - Starting clean for ADuser

Jun 01 12:41:45 - INFO - # Removing entry CN=Pavel Chekov,OU=lsc,DC=test,DC=loc

al for ADuser

dn: CN=Pavel Chekov,OU=lsc,DC=test,DC=local

changetype: delete

Jun 01 12:41:45 - INFO - # Removing entry CN=Jane Doe,OU=lsc,DC=test,DC=local f

or ADuser

dn: CN=Jane Doe,OU=lsc,DC=test,DC=local

changetype: delete

Jun 01 12:41:45 - INFO - All entries: 2, to modify entries: 2, modified entries

: 2, errors: 0

Jun 01 12:41:45 - INFO  - Starting sync for group

Jun 01 12:41:45 - INFO - All entries: 2, to modify entries: 0, modified entries

: 0, errors: 0

Jun 01 12:41:45 - INFO  - Starting clean for group

Jun 01 12:41:45 - INFO - All entries: 2, to modify entries: 0, modified entries

: 0, errors: 0

###############################END###################################################

#####################lsc -f c:\lsc-openldap2ad\etc -s all#######################################

Jun 01 12:51:41 - INFO  - Starting sync for ADuser

Jun 01 12:51:41 - INFO - Connecting to LDAP server ldap://141.69.121.114:389/dc

=ldap,dc=test as cn=admin,dc=ldap,dc=test

Jun 01 12:51:43 - INFO - Connecting to LDAP server ldap://141.69.121.117:389/DC

=test,DC=local as cn=Administrator,cn=Users,dc=test,dc=local

Jun 01 12:51:44 - INFO - # Adding new entry CN=Pavel Chekov,OU=lsc for ADuser

dn: CN=Pavel Chekov,OU=lsc,DC=test,DC=local

changetype: add

userPrincipalName: [email protected]

sn: Chekov

cn: Pavel Chekov

sAMAccountName: pchekov

userAccountControl: 66048

objectClass: organizationalPerson

objectClass: person

objectClass: user

objectClass: top

givenName: Pavel

displayName: Pavel Chekov

Jun 01 12:51:44 - INFO  - # Adding new entry CN=Jane Doe,OU=lsc for ADuser

dn: CN=Jane Doe,OU=lsc,DC=test,DC=local

changetype: add

userPrincipalName: [email protected]

mail: [email protected]

sn: Doe

cn: Jane Doe

sAMAccountName: jdoe

userAccountControl: 66048

objectClass: organizationalPerson

objectClass: person

objectClass: user

objectClass: top

givenName: Jane

displayName: Jane Doe

Jun 01 12:51:44 - INFO - All entries: 2, to modify entries: 2, modified entries

: 2, errors: 0

Jun 01 12:51:44 - INFO  - Starting sync for group

Jun 01 12:51:44 - INFO  - # Adding new entry cn=ai,ou=lsc for group

dn: cn=ai,ou=lsc,DC=test,DC=local

changetype: add

member: CN=Jane Doe,OU=lsc,DC=test,DC=local

cn: ai

objectClass: group

objectClass: top

Jun 01 12:51:44 - INFO  - # Adding new entry cn=wi,ou=lsc for group

dn: cn=wi,ou=lsc,DC=test,DC=local

changetype: add

member: CN=Jane Doe,OU=lsc,DC=test,DC=local

cn: wi

objectClass: group

objectClass: top

Jun 01 12:51:44 - INFO - All entries: 2, to modify entries: 2, modified entries

: 2, errors: 0


_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to