mirror of
https://github.com/samba-team/samba.git
synced 2025-11-07 12:23:51 +03:00
r21768: Fix the client dfs code such that smbclient can
process deep dfs links (ie. links that go to non root parts of a share). Make the directory handling conanonical in POSIX and Windows pathname processing. dfs should not be fully working in client tools. Please bug me if not. Jeremy.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
7e862b9080
commit
1c9e10569c
@@ -34,21 +34,6 @@
|
||||
* These definitions depend on smb.h
|
||||
*/
|
||||
|
||||
typedef struct file_info
|
||||
{
|
||||
SMB_BIG_UINT size;
|
||||
uint16 mode;
|
||||
uid_t uid;
|
||||
gid_t gid;
|
||||
/* these times are normally kept in GMT */
|
||||
struct timespec mtime_ts;
|
||||
struct timespec atime_ts;
|
||||
struct timespec ctime_ts;
|
||||
pstring name;
|
||||
pstring dir;
|
||||
char short_name[13*3]; /* the *3 is to cope with multi-byte */
|
||||
} file_info;
|
||||
|
||||
struct print_job_info
|
||||
{
|
||||
uint16 id;
|
||||
@@ -173,6 +158,21 @@ struct cli_state {
|
||||
BOOL case_sensitive; /* False by default. */
|
||||
};
|
||||
|
||||
typedef struct file_info {
|
||||
struct cli_state *cli;
|
||||
SMB_BIG_UINT size;
|
||||
uint16 mode;
|
||||
uid_t uid;
|
||||
gid_t gid;
|
||||
/* these times are normally kept in GMT */
|
||||
struct timespec mtime_ts;
|
||||
struct timespec atime_ts;
|
||||
struct timespec ctime_ts;
|
||||
pstring name;
|
||||
pstring dir;
|
||||
char short_name[13*3]; /* the *3 is to cope with multi-byte */
|
||||
} file_info;
|
||||
|
||||
#define CLI_FULL_CONNECTION_DONT_SPNEGO 0x0001
|
||||
#define CLI_FULL_CONNECTION_USE_KERBEROS 0x0002
|
||||
#define CLI_FULL_CONNECTION_ANONYMOUS_FALLBACK 0x0004
|
||||
|
||||
Reference in New Issue
Block a user