Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    mablasfor Guest

    Default error oxldapsync.pl

    Hi!!!
    This happens when I run oxldapsync.pl:

    /opt/oxldapsync/sbin/oxldapsync.pl -c "1" -A oxadminmaster -P ************ -f /opt/oxldapsync/etc/ldapsync.conf -v -s
    Could not get current userlist! Unknown Error 106
    Could not get current userlist! Unknown Error 106

    Any suggestion?

  2. #2
    Pro-OX Guest

    Default

    hi mablasfor,

    i've got the same problem. But i don't have any solution too.

    I hope anybody can help us.

    Do you please post your oxldapsync.log file?
    Last edited by Pro-OX; 04-23-2010 at 08:10 AM.

  3. #3
    Join Date
    Sep 2008
    Posts
    28

    Default

    Quote Originally Posted by mablasfor View Post
    Hi!!!
    This happens when I run oxldapsync.pl:

    /opt/oxldapsync/sbin/oxldapsync.pl -c "1" -A oxadminmaster -P ************ -f /opt/oxldapsync/etc/ldapsync.conf -v -s
    Could not get current userlist! Unknown Error 106
    Could not get current userlist! Unknown Error 106

    Any suggestion?
    You need to name the context admin. Not the master admin. if you used the official ox howto it should be oxadmin.

  4. #4
    Pro-OX Guest

    Default

    I use the offical oxldapsync.
    I tried it with the oxadmin, but i saw the same error message.

    That's why i'm so confused.

  5. #5
    mablasfor Guest

    Default

    I change the masteradmin by contextadmin and the error has changed:
    Error on search : No such object at /opt/oxldapsync/sbin/../lib/OX/LDAPConnector/ldap.pm line 155.

    This is ldap.pm:
    sub searchgroups()
    {
    my ($self) = @_;
    my $ldap = $self->{ldap};
    my $basedn = $self->{groupbasedn};
    my $mesg = $self->subsearch($ldap, $basedn, $self->{groupfilter});
    $mesg->code && die "Error on search $@ : " . $mesg->error; ------>line 155
    $self->{GroupSearchObj} = $mesg;
    }

    Help please!!
    Last edited by mablasfor; 04-26-2010 at 08:31 AM.

  6. #6
    mablasfor Guest

    Default

    Ok it's solved.
    It was a bad configuration in ldapsync.conf
    Last edited by mablasfor; 04-28-2010 at 10:52 AM.

  7. #7
    Pro-OX Guest

    Default

    what problem was it exactly?
    maybe that's the problem what i've got

  8. #8
    mablasfor Guest

    Default

    upload your ldapsync file if is possible.

  9. #9
    Pro-OX Guest

    Default

    you mean the ldsync.conf?

  10. #10
    Pro-OX Guest

    Default

    sub syncGroups()
    {
    my $ldapobj = shift;
    my $config_hash = shift;

    if (! defined($ldapobj)) { die("sub syncGroups: ldapobj undefined\n");
    if (! defined($config_hash)) { die("sub syncGroups: config_hash undefin

    my $userhelper = OX::User::Helper->new($config_hash->{contextid},$confi
    my @oxUserList = $userhelper->getOXUserList();

    my $grouphelper = OX::Group::Helper->new($config_hash->{contextid},$con

    my $groups = $ldapobj->getGroups();

    foreach my $groupkey (keys%$groups)
    {
    if ($groups->{$groupkey}{'member'})
    {
    $grouphelper->processGroup($groupkey, $groups->{$groupkey}{'dis
    }
    }

    if ($config_hash->{deletegroups} eq "yes")
    {
    $grouphelper->deleteNotTouchedGroups();
    }
    }

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •