Menu

can't login rolodap (1.0 release)

Help
2002-05-10
2002-11-13
  • aldo gentile

    aldo gentile - 2002-05-10

    Hello,

    After trying many times I could not login to rolodap.
    I followed the steps of the rolodaphowto.
    I imported an ldif file without errors, and verified the contents with
    the ldapsearch command.
    I checked the tree of the structure with gq.
    But I was unable to login to rolodap  I tried to login with the login:
    agent password: agent.
    I am using cleartext password for testing.
    I don't know where to look for my mistakes.
    Someone could help me please?
    This files are included into this mail:
    sland.conf, rolodap.conf  and sample.ldif.

    Thank you.
    Aldo Gentile
    ....................................................................
    This is my slapd.conf

    database ldbm
    suffix  "o=lacapital"
    rootdn  "cn=aldo,o=lacapital"
    # Iam using clear text password just for testing
    rootpw  colon
    directory /var/lib/ldap
    index default pres,eq
    index memberof,objectClass,uid pres,eq
    index cn,sn,givenname eq,sub

    ........................................................
    rolodap.conf

    # the ip address or the resolvable name of the ldap server
    LDAPSERVER_IP  : alg

    # the base dn that you connect to the ldap server with
    LDAPSERVER_BASE_DN : o=lacapital

    # the base filter you want applied to all searches, leave blank for
    none

    LDAPSERVER_BASE_FILTER : (objectclass=person)

    # the default organization you want all new users and groups to belong
    to
    DEFAULT_ORGANIZATION : lacapital

    # the ldap server that contains user authentication information, this
    can be the same as LDAPSERVER_IP
    AUTH_LDAPSERVER_IP : alg

    # the auth server's base DN
    AUTH_LDAPSERVER_BASE_DN  : ou=usuarios,o=lacapital

    # The dn to the ldap group that contains all of the rolodap
    administrators
    ADMIN_GROUP_DN  :  cn=rolodapadmin,o=lacapital

    # bind to directory server as once the user is authenticated to the
    auth
    server.  this should not be a "god" user
    BIND_AS  : cn=aldo,o=lacapital

    # bind password
    BIND_PASSWORD : colon

    # the dn to the group of users that get to do conflict checks
    CONFLICT_GROUP_DN : cn=rolodapconflict,o=lacapital.com.ar

    PAGE_SIZE   : 50

    # added to the base dn so we know where in the tree to store contacts
    CONTACTBASE_DN : ou=contactos

    # Url the user is taken to when they log out of rolodap
    LOGOUT_URL : rolodap.sourceforge.net

    # ou for groups
    GROUP_OU : ou=grupos

    MAXCACHE :  1000

    MINCACHE :  51

    TEMPFILE : /var/www/html/rolodap/temp

    # the name of the smtp server that can be used to send email from
    within
    Rolodap.
    SMTP    :   postino.lacapital.com.ar

    # unix path to rolodap without trailing slash
    ROLODAPAPATH :  /var/www/html/rolodap

    # url path to rolodap without the http://  and without trailing slash
    URL :   alg.lacapital.com.ar/rolodap

    # the user to bind to the auth server with a single admin account that
    # as the needed access to make changes to users
    AUTH_SERVER_BIND_AS :  rolodap
    AUTH_SERVER_BIND_PASSWORD : password
    .....................................
    my ldif file

    dn: o=lacapital
    objectclass: top
    objectclass: organization
    o: lacapital

    dn: ou=contacts,o=lacapital
    objectclass: top
    objectclass: organizationalunit
    ou: contacts

    dn: ou=groups,o=lacapital
    objectclass: top
    objectclass: organizationalunit
    ou: groups

    dn: ou=books,o=lacapital
    objectclass: top
    objectclass: organizationalunit
    ou: books

    dn: ou=users,o=lacapital
    objectclass: top
    objectclass: organizationalunit
    ou: users

    dn: cn=roloaplastuid,o=lacapital
    objectclass: top
    objectclass: rolodapadmin
    cn: rolodaplastuid
    rolodaplastuid : 0

    dn: cn=firmwide,o=lacapital
    objectclass: top
    objectclass: rolodapbook
    cn: firmwide

    dn: cn=manager,o=lacapital
    objectclass: top
    objectclass: organizationalrole
    cn: manager

    dn: cn=rolodapadmins,o=lacapital
    objectclass: top
    objectclass: groupofnames
    cn: admins
    member: uid=agent,ou=users,o=lacapital

    dn: cn=rolodap,o=lacapital
    objectclass: top
    objectclass: organizationalrole
    objectclass: person
    cn: rolodap
    sn: rolodap
    userpassword : password

    dn: uid=agent,ou=users,o=lacapital
    objectclass : top
    objectclass : person
    objectclass : inetorgperson
    objectclass : rolodapuser
    objectclass : rolodapcontact
    uid : agent
    userpassword : agent
    cn : agente
    sn : ag
    givenname : ag
    rolodapadmin : yes

    ...........................

     
    • Roy Verrips

      Roy Verrips - 2002-05-24

      I am having the same problems - Also followed INSTALL and HOWTO step by step and can't log in, but can browse LDAP server fine using other LDAPExplorer and all content seems correctly inserted into the database?

      Also using rolodap-v1 and openldap-2.0.6-7

      Please help

      Snowmann

       
      • aldo gentile

        aldo gentile - 2002-05-24

        Finally I could start my rolodap server. In some way it is working.
        I changed the follwing words in my rolodap.conf:
        usuarios -->users
        contacots -->contacts
        grupos -->groups

        (read my file.ldif)

        I login as agent password agent, but I cant add new users. When I try to do that action I get the message Unable to bind to LDAP server.

        I don't know where it is the error.

        Maybe some can help me at this point.
        Thanks

        Aldo

         
        • John Lederer

          John Lederer - 2002-05-24

          Aldogent,

          I am sorry you did not get a quick response. Our communications seem to have broken down. I am pleased you got your problem resolved.

          Rolodap is not set up to be multilingual (though we would be happy to have someone do the work), and I suspect that the PHP code couldn't match up.

          Please let us know how you do, and I am sorry again that you did not get a response.

           
      • John Lederer

        John Lederer - 2002-05-24

        Snowmann, I am sorry you are having trouble. Dan Freed, the authro usually responds to these ands he is much better than I <g>. But maybe I can help.

        When you say you cannot login, are you referring to the login screen for Rolodap?  Are you logging in as the administrative user you set up?

        John

         
    • Michael

      Michael - 2002-11-13

      same problem with setup also. followed instructions word by word, but cannot login. The test of the error message is this:

      Error!!
      Either the username or password you entered are incorrect. Click below to attempt logging in again (do NOT use your browser's back button) If you continue to have problems please contact your network administrator.

      Return to Rolodap.

      My rolodap.conf looks like this

      # This is the configuration file for Rolodap
      #      Use the # character to indicated a comment
      # put this in /etc/rolodap.conf

      # the ip address or the resolvable name of the ldap server
      LDAPSERVER_IP        :    10.5.2.191
      # the base dn that you connect to the ldap server with
      LDAPSERVER_BASE_DN    :    O=Southern Railway

      # the base filter you want applied to all searches, leave blank for none
      LDAPSERVER_BASE_FILTER    :    (objectclass=person)

      # the default organization you want all new users and groups to belong to
      DEFAULT_ORGANIZATION    :    Southern Railway

      # the ldap server that contains user authentication information, this can be the same as LDAPSERVER_IP
      AUTH_LDAPSERVER_IP    :    10.5.2.191
      # the auth server's base DN
      AUTH_LDAPSERVER_BASE_DN        :    O=Southern Railway

      # The dn to the ldap group that contains all of the rolodap administrators
      ADMIN_GROUP_DN  :  cn=rolodapadmin,o=arius.com

      # bind to directory server as once the user is authenticated to the auth server.  this should not be a "god" user
      BIND_AS        :    cn=ldapadmin,O=Southern Railway

      # bind password
      BIND_PASSWORD    :    secret

      # the dn to the group of users that get to do conflict checks
      CONFLICT_GROUP_DN : cn=rolodapconflict,o=arius.com

      # page size for users home rolodap page, this determines
      # how many entries will show up on each page.
      # don't make this too big or your web server will really notice it.
      PAGE_SIZE   : 50

      # added to the base dn so we know where in the tree to store contacts
      CONTACTBASE_DN    : ou=contacts

      # Url the user is taken to when they log out of rolodap
      LOGOUT_URL    :    rolodap.sourceforge.net

      # ou for groups
      GROUP_OU    :    ou=books

      # max results to cache,  If you are using a server with low memory this should be set to a lower number unless you only have a couple
      # of users.  You'll have to play around with this number to find an optimal number for performance.  what happens if a book or
      # ldapsearch result is larger than this cache limit?  The result just isn't cached so the end user will see slower results, but your
      # server won't be bogged down with large amounts of memory being sucked up
      MAXCACHE    :     1000

      # MINCACHE is the smallest number of results that Rolodap bothers to cache.  Set to 1 to cache everything up to MAXCACHE
      # results.  If you don't want to waste memory caching small result sets set this number higher.  I would recomend not making this any lower
      # than 1 + PAGESIZE.
      MINCACHE    :     51

      # The following are the defaults for the appearance for rolodap they are self describing
      # these can be any HTML valid color names or hex codes
      # Background color for all pages
      BGCOLOR        :     #FFFFF2

      TEXTCOLOR    :     #010101

      LINKCOLOR    :    #0000FF

      NAMEROWCOLOR    :    #A6A6A6

      NAMEROWFONTCOLOR    :    #FFFFFF

      TITLEBARCOLOR    :    #AB314D

      TITLEBARFONTCOLOR    :    #FFFFFF

      TABLEBGCOLOR : #DDDDD9

      SHOWPERSONTEXT : #ff0000
         
      ALERT_COLOR : #ff0000

      # directory to store temp files, this needs to be accessable from the web server so these files can be downloaded. and the
      # process that your web server runs under needs to be able to write to this folder as well.
      # don't use relative paths here only absolute paths will work
      TEMPFILE    :    /var/www/html/rolodap/temp

      # the name of the smtp server that can be used to send email from within Rolodap.
      SMTP    :   mail.someserver.com

      # unix path to rolodap without trailing slash
      ROLODAPAPATH :  /usr/www/html/rolodap

      # url path to rolodap without the http://  and without trailing slash
      URL :   www.somecompany.com/rolodap

      # url to open up alternate user admin page.  This should only be
      # uncommented if you are using an seperate ldap server to
      # authenticate Rolodap users.  It is assumed that you have
      # a means to administer and add users.
      # USER_ADMIN_URL :  http://ldapusers.arius.com/

      # Only one of the following options should be enabled
      # either these two

      # the user to bind to the auth server with a single admin account that
      # as the needed access to make changes to users
      AUTH_SERVER_BIND_AS :  ldapadmin
      AUTH_SERVER_BIND_PASSWORD : secret

      # or this one
      # bind to auth server as self.  Use this to tell rolodap to have admins
      # if this is enabled you will need to have some access permissions
      # setup appropriatly on the auth server so that admins
      # have access to change other users records.
      BIND_AUTH_AS_SELF : yes

      Where am I going wrong ?

      Please help

       

Log in to post a comment.

MongoDB Logo MongoDB