Ignore:
Timestamp:
May 27, 2009, 9:09:42 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.2 branch to 3.2.8

Location:
branches/samba-3.2.x/source/include
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.2.x/source/include/ads.h

    r133 r232  
    7979                char *client_site_name;
    8080                time_t current_time;
    81                 int tried_closest_dc;
    8281                char *schema_path;
    8382                char *config_path;
  • branches/samba-3.2.x/source/include/config.h.in

    r228 r232  
    11/* include/config.h.in.  Generated from configure.in by autoheader.  */
     2
     3/* Define if building universal (internal helper macro) */
     4#undef AC_APPLE_UNIVERSAL_BUILD
    25
    36/* Whether the host os is aix */
     
    16961699#undef HAVE_STAT64
    16971700
    1698 /* whether struct stat has sub-second timestamps without struct timespec */
     1701/* whether struct stat has sub-second timestamps in st_uXtime */
    16991702#undef HAVE_STAT_HIRES_TIMESTAMPS
    17001703
     
    17051708#undef HAVE_STAT_ST_ATIMENSEC
    17061709
     1710/* whether struct stat contains st_atimespec */
     1711#undef HAVE_STAT_ST_ATIMESPEC
     1712
     1713/* whether struct stat contains st_atime_n */
     1714#undef HAVE_STAT_ST_ATIME_N
     1715
    17071716/* whether struct stat contains st_birthtime */
    17081717#undef HAVE_STAT_ST_BIRTHTIME
     
    17261735#undef HAVE_STAT_ST_CTIMENSEC
    17271736
     1737/* whether struct stat contains st_ctimespec */
     1738#undef HAVE_STAT_ST_CTIMESPEC
     1739
     1740/* whether struct stat contains st_ctime_n */
     1741#undef HAVE_STAT_ST_CTIME_N
     1742
    17281743/* Whether the stat struct has a st_flags member */
    17291744#undef HAVE_STAT_ST_FLAGS
     
    17341749/* whether struct stat contains st_mtimensec */
    17351750#undef HAVE_STAT_ST_MTIMENSEC
     1751
     1752/* whether struct stat contains st_mtimepec */
     1753#undef HAVE_STAT_ST_MTIMESPEC
     1754
     1755/* whether struct stat contains st_mtime_n */
     1756#undef HAVE_STAT_ST_MTIME_N
     1757
     1758/* whether struct stat contains st_uatime */
     1759#undef HAVE_STAT_ST_UATIME
     1760
     1761/* whether struct stat contains st_uctime */
     1762#undef HAVE_STAT_ST_UCTIME
     1763
     1764/* whether struct stat contains st_umtime */
     1765#undef HAVE_STAT_ST_UMTIME
    17361766
    17371767/* Define to 1 if you have the <stdarg.h> header file. */
     
    26932723#undef USE_SETUIDX
    26942724
    2695 /* Whether to include Active Directory support */
    2696 #undef WITH_ADS
    2697 
    2698 /* Whether to include AFS clear-text auth support */
    2699 #undef WITH_AFS
    2700 
    2701 /* Using asynchronous io */
    2702 #undef WITH_AIO
    2703 
    2704 /* Whether to include automount support */
    2705 #undef WITH_AUTOMOUNT
    2706 
    2707 /* Whether to build mount.cifs and umount.cifs */
    2708 #undef WITH_CIFSMOUNT
    2709 
    2710 /* whether to build cifs.upcall */
    2711 #undef WITH_CIFSUPCALL
    2712 
    2713 /* Whether to include DFS support */
    2714 #undef WITH_DFS
    2715 
    2716 /* Whether to enable DNS service discovery support */
    2717 #undef WITH_DNSSD_SUPPORT
    2718 
    2719 /* Whether to enable DNS Update support */
    2720 #undef WITH_DNS_UPDATES
    2721 
    2722 /* Whether to include AFS fake-kaserver support */
    2723 #undef WITH_FAKE_KASERVER
    2724 
    2725 /* Whether to include nisplus_home support */
    2726 #undef WITH_NISPLUS_HOME
    2727 
    2728 /* Whether to include PAM support */
    2729 #undef WITH_PAM
    2730 
    2731 /* Whether to include PAM MODULES support */
    2732 #undef WITH_PAM_MODULES
    2733 
    2734 /* Whether to use profiling */
    2735 #undef WITH_PROFILE
    2736 
    2737 /* Whether to use disk quota support */
    2738 #undef WITH_QUOTAS
    2739 
    2740 /* Whether to include sendfile() support */
    2741 #undef WITH_SENDFILE
    2742 
    2743 /* Whether to include experimental syslog support */
    2744 #undef WITH_SYSLOG
    2745 
    2746 /* Whether to include experimental utmp accounting */
    2747 #undef WITH_UTMP
    2748 
    2749 /* Whether to build winbind */
    2750 #undef WITH_WINBIND
    2751 
    2752 /* Define to 1 if your processor stores words with the most significant byte
    2753    first (like Motorola and SPARC, unlike Intel and VAX). */
    2754 #undef WORDS_BIGENDIAN
    2755 
    2756 /* xattr functions have additional options */
    2757 #undef XATTR_ADD_OPT
    2758 
    2759 /* Define to 1 if on AIX 3.
    2760    System headers sometimes define this.
    2761    We just want to avoid a redefinition error message.  */
     2725/* Enable extensions on AIX 3, Interix.  */
    27622726#ifndef _ALL_SOURCE
    27632727# undef _ALL_SOURCE
    27642728#endif
     2729/* Enable GNU extensions on systems that have them.  */
     2730#ifndef _GNU_SOURCE
     2731# undef _GNU_SOURCE
     2732#endif
     2733/* Enable threading extensions on Solaris.  */
     2734#ifndef _POSIX_PTHREAD_SEMANTICS
     2735# undef _POSIX_PTHREAD_SEMANTICS
     2736#endif
     2737/* Enable extensions on HP NonStop.  */
     2738#ifndef _TANDEM_SOURCE
     2739# undef _TANDEM_SOURCE
     2740#endif
     2741/* Enable general extensions on Solaris.  */
     2742#ifndef __EXTENSIONS__
     2743# undef __EXTENSIONS__
     2744#endif
     2745
     2746
     2747/* Whether to include Active Directory support */
     2748#undef WITH_ADS
     2749
     2750/* Whether to include AFS clear-text auth support */
     2751#undef WITH_AFS
     2752
     2753/* Using asynchronous io */
     2754#undef WITH_AIO
     2755
     2756/* Whether to include automount support */
     2757#undef WITH_AUTOMOUNT
     2758
     2759/* Whether to build mount.cifs and umount.cifs */
     2760#undef WITH_CIFSMOUNT
     2761
     2762/* whether to build cifs.upcall */
     2763#undef WITH_CIFSUPCALL
     2764
     2765/* Whether to include DFS support */
     2766#undef WITH_DFS
     2767
     2768/* Whether to enable DNS service discovery support */
     2769#undef WITH_DNSSD_SUPPORT
     2770
     2771/* Whether to enable DNS Update support */
     2772#undef WITH_DNS_UPDATES
     2773
     2774/* Whether to include AFS fake-kaserver support */
     2775#undef WITH_FAKE_KASERVER
     2776
     2777/* Whether to include nisplus_home support */
     2778#undef WITH_NISPLUS_HOME
     2779
     2780/* Whether to include PAM support */
     2781#undef WITH_PAM
     2782
     2783/* Whether to include PAM MODULES support */
     2784#undef WITH_PAM_MODULES
     2785
     2786/* Whether to use profiling */
     2787#undef WITH_PROFILE
     2788
     2789/* Whether to use disk quota support */
     2790#undef WITH_QUOTAS
     2791
     2792/* Whether to include sendfile() support */
     2793#undef WITH_SENDFILE
     2794
     2795/* Whether to include experimental syslog support */
     2796#undef WITH_SYSLOG
     2797
     2798/* Whether to include experimental utmp accounting */
     2799#undef WITH_UTMP
     2800
     2801/* Whether to build winbind */
     2802#undef WITH_WINBIND
     2803
     2804/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
     2805   significant byte first (like Motorola and SPARC, unlike Intel). */
     2806#if defined AC_APPLE_UNIVERSAL_BUILD
     2807# if defined __BIG_ENDIAN__
     2808#  define WORDS_BIGENDIAN 1
     2809# endif
     2810#else
     2811# ifndef WORDS_BIGENDIAN
     2812#  undef WORDS_BIGENDIAN
     2813# endif
     2814#endif
     2815
     2816/* xattr functions have additional options */
     2817#undef XATTR_ADD_OPT
    27652818
    27662819/* File offset bits */
     
    28132866#ifndef __CHAR_UNSIGNED__
    28142867# undef __CHAR_UNSIGNED__
    2815 #endif
    2816 
    2817 /* Enable extensions on Solaris.  */
    2818 #ifndef __EXTENSIONS__
    2819 # undef __EXTENSIONS__
    2820 #endif
    2821 #ifndef _POSIX_PTHREAD_SEMANTICS
    2822 # undef _POSIX_PTHREAD_SEMANTICS
    2823 #endif
    2824 #ifndef _TANDEM_SOURCE
    2825 # undef _TANDEM_SOURCE
    28262868#endif
    28272869
  • branches/samba-3.2.x/source/include/libsmb_internal.h

    r133 r232  
    114114        bool                                    initialized;
    115115
    116         /* dirent pointer location
    117          *
     116        /* dirent pointer location */
     117        struct smbc_dirent                      dirent;
     118        /*
    118119         * Leave room for any urlencoded filename and the comment field.
    119120         *
    120          * We really should use sizeof(struct smbc_dirent) plus (NAME_MAX * 3)
    121          * plus whatever the max length of a comment is, plus a couple of null
    122          * terminators (one after the filename, one after the comment).
     121         * We use (NAME_MAX * 3) plus whatever the max length of a comment is,
     122         * plus a couple of null terminators (one after the filename,
     123         * one after the comment).
    123124         *
    124125         * According to <linux/limits.h>, NAME_MAX is 255.  Is it longer
    125126         * anyplace else?
    126127         */
    127         char                                    dirent[1024];
     128        char                                    _dirent_name[1024];
    128129
    129130        /*
     
    175176         */
    176177        smbc_smb_encrypt_level                  smb_encryption_level;
     178
     179        /*
     180         * Should we request case sensitivity of file names?
     181         */
     182        bool                                    case_sensitive;
    177183
    178184        struct smbc_server_cache * server_cache;
     
    397403/* Functions in libsmb_path.c */
    398404int
    399 SMBC_urldecode(char *dest,
    400                char *src,
    401                size_t max_dest_len);
    402 
    403 int
    404 SMBC_urlencode(char *dest,
    405                char *src,
    406                int max_dest_len);
    407 
    408 int
    409405SMBC_parse_path(TALLOC_CTX *ctx,
    410406                SMBCCTX *context,
  • branches/samba-3.2.x/source/include/libsmbclient.h

    r138 r232  
    550550void
    551551smbc_setOptionSmbEncryptionLevel(SMBCCTX *c, smbc_smb_encrypt_level level);
     552
     553/**
     554 * Get whether to treat file names as case-sensitive if we can't determine
     555 * when connecting to the remote share whether the file system is case
     556 * sensitive. This defaults to FALSE since it's most likely that if we can't
     557 * retrieve the file system attributes, it's a very old file system that does
     558 * not support case sensitivity.
     559 */
     560smbc_bool
     561smbc_getOptionCaseSensitive(SMBCCTX *c);
     562
     563/**
     564 * Set whether to treat file names as case-sensitive if we can't determine
     565 * when connecting to the remote share whether the file system is case
     566 * sensitive. This defaults to FALSE since it's most likely that if we can't
     567 * retrieve the file system attributes, it's a very old file system that does
     568 * not support case sensitivity.
     569 */
     570void
     571smbc_setOptionCaseSensitive(SMBCCTX *c, smbc_bool b);
     572
    552573
    553574/**
  • branches/samba-3.2.x/source/include/proto.h

    r228 r232  
    448448bool dbwrap_fetch_uint32(struct db_context *db, const char *keystr,
    449449                         uint32_t *val);
    450 bool dbwrap_store_uint32(struct db_context *db, const char *keystr, uint32_t v);
     450int dbwrap_store_uint32(struct db_context *db, const char *keystr, uint32_t v);
    451451uint32_t dbwrap_change_uint32_atomic(struct db_context *db, const char *keystr,
    452452                                     uint32_t *oldval, uint32_t change_val);
     
    543543                                         struct timeval *to_ret);
    544544int event_loop_once(struct event_context *ev);
     545void event_context_reinit(struct event_context *ev);
    545546struct event_context *event_context_init(TALLOC_CTX *mem_ctx);
    546 int set_event_dispatch_time(struct event_context *event_ctx,
    547                             const char *event_name, struct timeval when);
    548 int cancel_named_event(struct event_context *event_ctx,
    549                        const char *event_name);
    550547void dump_event_list(struct event_context *event_ctx);
    551548
     
    990987ssize_t sys_read(int fd, void *buf, size_t count);
    991988ssize_t sys_write(int fd, const void *buf, size_t count);
     989ssize_t sys_writev(int fd, const struct iovec *iov, int iovcnt);
    992990ssize_t sys_pread(int fd, void *buf, size_t count, SMB_OFF_T off);
    993991ssize_t sys_pwrite(int fd, const void *buf, size_t count, SMB_OFF_T off);
     
    12471245void become_daemon(bool Fork, bool no_process_group);
    12481246bool reinit_after_fork(struct messaging_context *msg_ctx,
     1247                       struct event_context *ev_ctx,
    12491248                       bool parent_longlived);
    12501249bool yesno(const char *p);
     
    15181517                                  size_t *size_ret);
    15191518NTSTATUS read_data(int fd, char *buffer, size_t N);
     1519ssize_t write_data_iov(int fd, const struct iovec *orig_iov, int iovcnt);
    15201520ssize_t write_data(int fd, const char *buffer, size_t N);
    15211521bool send_keepalive(int client);
     
    46454645
    46464646bool saf_store( const char *domain, const char *servername );
     4647bool saf_join_store( const char *domain, const char *servername );
    46474648bool saf_delete( const char *domain );
    46484649char *saf_fetch( const char *domain );
     
    51115112bool is_unused_share_mode_entry(const struct share_mode_entry *e);
    51125113void set_share_mode(struct share_mode_lock *lck, files_struct *fsp,
    5113                         uid_t uid, uint16 mid, uint16 op_type, bool initial_delete_on_close_allowed);
     5114                    uid_t uid, uint16 mid, uint16 op_type);
    51145115void add_deferred_open(struct share_mode_lock *lck, uint16 mid,
    51155116                       struct timeval request_time,
     
    51215122NTSTATUS can_set_delete_on_close(files_struct *fsp, bool delete_on_close,
    51225123                                 uint32 dosmode);
    5123 bool can_set_initial_delete_on_close(const struct share_mode_lock *lck);
    51245124void set_delete_on_close_token(struct share_mode_lock *lck, UNIX_USER_TOKEN *tok);
    51255125void set_delete_on_close_lck(struct share_mode_lock *lck, bool delete_on_close, UNIX_USER_TOKEN *tok);
    51265126bool set_delete_on_close(files_struct *fsp, bool delete_on_close, UNIX_USER_TOKEN *tok);
    5127 bool set_allow_initial_delete_on_close(struct share_mode_lock *lck, files_struct *fsp, bool delete_on_close);
    51285127bool set_sticky_write_time(struct file_id fileid, struct timespec write_time);
    51295128bool set_write_time(struct file_id fileid, struct timespec write_time);
     
    65686567
    65696568NTSTATUS print_fsp_open(connection_struct *conn, const char *fname,
    6570                         files_struct *fsp);
     6569                        files_struct *fsp, SMB_STRUCT_STAT *psbuf);
    65716570void print_fsp_end(files_struct *fsp, enum file_close_type close_type);
    65726571
  • branches/samba-3.2.x/source/include/smb.h

    r228 r232  
    2828
    2929/* logged when starting the various Samba daemons */
    30 #define COPYRIGHT_STARTUP_MESSAGE       "Copyright Andrew Tridgell and the Samba Team 1992-2008"
     30#define COPYRIGHT_STARTUP_MESSAGE       "Copyright Andrew Tridgell and the Samba Team 1992-2009"
    3131
    3232
     
    765765
    766766#define SHARE_MODE_FLAG_POSIX_OPEN      0x1
    767 #define SHARE_MODE_ALLOW_INITIAL_DELETE_ON_CLOSE      0x2
    768767
    769768/* struct returned by get_share_modes */
     
    15811580
    15821581/* LDAP SSL options */
    1583 enum ldap_ssl_types {LDAP_SSL_ON, LDAP_SSL_OFF, LDAP_SSL_START_TLS};
     1582enum ldap_ssl_types {LDAP_SSL_OFF, LDAP_SSL_START_TLS};
    15841583
    15851584/* LDAP PASSWD SYNC methods */
  • branches/samba-3.2.x/source/include/version.h

    r230 r232  
    22#define SAMBA_VERSION_MAJOR 3
    33#define SAMBA_VERSION_MINOR 2
    4 #define SAMBA_VERSION_RELEASE 7
    5 #define SAMBA_VERSION_OFFICIAL_STRING "3.2.7"
     4#define SAMBA_VERSION_RELEASE 8
     5#define SAMBA_VERSION_OFFICIAL_STRING "3.2.8"
    66#define SAMBA_VERSION_STRING samba_version_string()
Note: See TracChangeset for help on using the changeset viewer.