[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
[samba.git] / source / include / ntdomain.h
index f1f9dcec4f5dee2d46668777357075ac6485f2d2..6ce0ef646467756ef73e0aef71c10d5d8b7130f2 100644 (file)
@@ -233,9 +233,17 @@ typedef struct pipes_struct {
        struct dcinfo *dc; /* Keeps the creds data from netlogon. */
 
        /*
-        * Credentials used for the pipe operations
+        * Windows user info.
+        */
+       fstring user_name;
+       fstring domain;
+       fstring wks;
+
+       /*
+        * Unix user name and credentials used when a pipe is authenticated.
         */
 
+       fstring pipe_user_name;
        struct current_user pipe_user;
        DATA_BLOB session_key;
  
@@ -321,7 +329,7 @@ typedef struct smb_np_struct {
         * returns: state information representing the connection.
         *          is stored in np_state, above.
         */
-       void *   (*namedpipe_create)(char *pipe_name, 
+       void *   (*namedpipe_create)(const char *pipe_name, 
                                          connection_struct *conn, uint16 vuid);
 
        /* call to perform a write / read namedpipe transaction.