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, 8 Jun 2010 01:46:51 +0000 (11:46 +1000)
These extra pointers help the s3compat code do it's job

source3/winbindd/winbindd.h

index b8835c0b0ba38ea3eb99bab00166ebabbcdac861..c708b9d00c7f38315040e6a237cafef503673a95 100644 (file)
@@ -48,6 +48,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 */
@@ -69,6 +73,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 {