r23792: convert Samba4 to GPLv3
[jra/samba/.git] / source4 / libcli / ldap / ldap.h
index 1deabf0b10221b97a2cb3463ff90abfd2a6a873a..fd622de4494664934fe7737e80b91d3f441c8bcd 100644 (file)
@@ -5,7 +5,7 @@
     
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.
    
    This program is distributed in the hope that it will be useful,
@@ -14,8 +14,7 @@
    GNU General Public License for more details.
    
    You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software
-   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
 */
 
@@ -79,7 +78,7 @@ enum ldap_result_code {
        LDAP_ALIAS_DEREFERENCING_PROBLEM        = 36,
        LDAP_INAPPROPRIATE_AUTHENTICATION       = 48,
        LDAP_INVALID_CREDENTIALS                = 49,
-       LDAP_INSUFFICIENT_ACCESS_RIGHTs         = 50,
+       LDAP_INSUFFICIENT_ACCESS_RIGHTS         = 50,
        LDAP_BUSY                               = 51,
        LDAP_UNAVAILABLE                        = 52,
        LDAP_UNWILLING_TO_PERFORM               = 53,
@@ -247,6 +246,11 @@ struct ldap_message {
        struct ldb_control    **controls;
 };
 
+struct event_context;
+struct cli_credentials;
+struct dom_sid;
+struct asn1_data;
+
 #include "libcli/ldap/ldap_proto.h"
 
 #endif