s3:winbindd Add hooks for s3compat into source3/winbindd
authorAndrew Bartlett <abartlet@samba.org>
Fri, 14 May 2010 14:10:56 +0000 (00:10 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 21 Sep 2010 05:52:11 +0000 (15:52 +1000)
These extra pointers help the s3compat code do it's job

source3/winbindd/winbindd.h

index 1ba24b5d0a6ed6ce0b113920486e3e677ba70277..767b1f5524acf1e53d541603590c9575c03b3b24 100644 (file)
@@ -50,6 +50,10 @@ struct sid_ctr {
        enum lsa_SidType type;
 };
 
+/* These allow a glue into winbindd from the s3compat layer */
+struct wbsrv_samba3_call;
+struct wbsrv_connection;
+
 struct winbindd_cli_state {
        struct winbindd_cli_state *prev, *next;   /* Linked list pointers */
        int sock;                                 /* Open socket from client */
@@ -71,6 +75,10 @@ struct winbindd_cli_state {
 
        struct getpwent_state *pwent_state; /* State for getpwent() */
        struct getgrent_state *grent_state; /* State for getgrent() */
+
+/* These allow a glue into winbindd from the s3compat layer */
+       struct wbsrv_connection *wbsrv_conn;
+       struct wbsrv_samba3_call *call;
 };
 
 struct getpwent_state {