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>
Mon, 12 Jul 2010 04:36:30 +0000 (14:36 +1000)
These extra pointers help the s3compat code do it's job

source3/winbindd/winbindd.h

index 91ebb6a7a9b041b82ebd41a3673f5fff57121348..fc646e7783d2243502428191ada8f4f3a75d52ad 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 {