]> git.sur5r.net Git - openldap/blobdiff - contrib/ldapc++/src/LDAPRebindAuth.h
some changes to make the library working with gcc 3.0 (mostly namespace
[openldap] / contrib / ldapc++ / src / LDAPRebindAuth.h
index bf6dfa139b8e8186137c072afd1dee14fb033f28..e631e67105a9baafc485eb60c770e6c4e2be80d8 100644 (file)
@@ -23,7 +23,7 @@ class LDAPRebindAuth{
          * @param dn  The DN that should be used for the authentication 
          * @param pwd   The password that belongs to the DN
          */
-        LDAPRebindAuth(const string& dn="", const string& pwd="");
+        LDAPRebindAuth(const std::string& dn="", const std::string& pwd="");
         
         /**
          * Copy-constructor
@@ -38,16 +38,16 @@ class LDAPRebindAuth{
         /**
          * @return The DN that was set in the constructor
          */
-        const string& getDN() const;
+        const std::string& getDN() const;
 
         /**
          * @return The password that was set in the constructor
          */
-        const string& getPassword() const;
+        const std::string& getPassword() const;
         
     private:
-        string m_dn;
-        string m_password;
+        std::string m_dn;
+        std::string m_password;
 };
 
 #endif //LDAP_REBIND_AUTH_H