Menu

Local logon ok but remote...

Help
Rudi
2007-05-31
2013-04-17
  • Rudi

    Rudi - 2007-05-31

    Hi to all,
    first of all thanks for this project, simple and very useful.
    I have a server (RHEL 4) and I configured libnss on it, is works only for local logon (I mean su, ssh, login and so on) but not for nis client connected to it. Client see all server's users but not users inside libnss mysql.  "ypcat passwd.byname" doesn't show mysql user while "getent passwd" shows all.
    E.G.

    user1 on mysql and user2 on passwd
    on server login user1,user2 works
    on client only login user2 and for user1 systems say: "user1 doesn't exixst"

    I think is a problem on my NIS configuration but I can understand where.
    Bye,

    Rudi

     
    • Rudi

      Rudi - 2007-05-31

      OK, too much rush obviously. Nis is different from Nss...

       
    • Rudi

      Rudi - 2007-05-31

      [9354]: _nss_mysql_connect_sql: Connecting to xxx.xxx.xxx.xxx
      [9354]: _nss_mysql_connect_sql: EXIT (NSS_UNAVAIL)
      [9354]: _nss_mysql_escape_string: EXIT (NSS_UNAVAIL)
      [9354]: _nss_mysql_build_query: EXIT (NSS_UNAVAIL)
      [9354]: _nss_mysql_lookup: EXIT (NSS_UNAVAIL)
      [9354]: _nss_mysql_getpwnam_r: EXIT (NSS_UNAVAIL)
      [9354]: _nss_mysql_atexit_handler: ENTER
      [9354]: _nss_mysql_close_sql: ENTER
      [9354]: _nss_mysql_close_result: ENTER
      [9354]: _nss_mysql_close_result: EXIT
      [9354]: _nss_mysql_close_sql: EXIT (NSS_SUCCESS)
      [9354]: _nss_mysql_safe_memset: ENTER
      [9354]: _nss_mysql_safe_memset: EXIT (0x119a44)
      [9354]: _nss_mysql_atexit_handler: EXIT

      And that's all if client connects to a remote database, what is the problem? All other log infox are OK.

      I use cvs version of package, same configuration on client and server. Firewall and other stuff are down.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.