[Samba] How to tell if option "with-acl-support" is compiledin Solaris smbd?

Hai Wu hwu3 at wpo.it.luc.edu
Thu Dec 25 03:36:29 GMT 2003


Thanks. I am still not sure whether option "with-acl-support" has been compiled in the smbd.

The following is the output:

Build environment:
   Built by:    root at hxwu-dt-tt
   Built on:    Tue Dec 23 15:00:40 CST 2003
   Built using: gcc
   Build host:  SunOS hxwu-dt-tt 5.9 Generic_112233-08 sun4u sparc SUNW,Sun-Blade-100
   SRCDIR:      /space/hxwu/swinstall/samba-3.0.1/source
   BUILDDIR:    /space/hxwu/swinstall/samba-3.0.1/source

Paths:
   SBINDIR: /usr/local/samba/sbin
   BINDIR: /usr/local/samba/bin
   SWATDIR: /usr/local/samba/swat
   CONFIGFILE: /usr/local/samba/lib/smb.conf
   LOGFILEBASE: /usr/local/samba/var
   LMHOSTSFILE: /usr/local/samba/lib/lmhosts
   LIBDIR: /usr/local/samba/lib
   SHLIBEXT: so
   LOCKDIR: /usr/local/samba/var/locks
   PIDDIR: /usr/local/samba/var/locks
   SMB_PASSWD_FILE: /usr/local/samba/private/smbpasswd
   PRIVATE_DIR: /usr/local/samba/private

 System Headers:
   HAVE_SYS_ACL_H
   HAVE_SYS_FCNTL_H
   HAVE_SYS_FILIO_H
   HAVE_SYS_IOCTL_H
   HAVE_SYS_IPC_H
   HAVE_SYS_MMAN_H
   HAVE_SYS_MODE_H
   HAVE_SYS_MOUNT_H
   HAVE_SYS_PARAM_H
   HAVE_SYS_RESOURCE_H
   HAVE_SYS_SELECT_H
   HAVE_SYS_SHM_H
   HAVE_SYS_SOCKET_H
   HAVE_SYS_SOCKIO_H
   HAVE_SYS_STATFS_H
   HAVE_SYS_STATVFS_H
   HAVE_SYS_STAT_H
   HAVE_SYS_SYSCALL_H
   HAVE_SYS_SYSLOG_H
   HAVE_SYS_TERMIO_H
   HAVE_SYS_TIME_H
   HAVE_STROPTS_H
   HAVE_SYSLOG_H
   HAVE_TERMIOS_H
   HAVE_TERMIO_H
   HAVE_UNISTD_H
   HAVE_UTIME_H

 UTMP Options:
   HAVE_GETUTMPX
   HAVE_UTMPX_H
   HAVE_UTMP_H
   HAVE_UT_UT_EXIT
   HAVE_UT_UT_ID
   HAVE_UT_UT_NAME
   HAVE_UT_UT_PID
   HAVE_UT_UT_TIME
   HAVE_UT_UT_TYPE
   HAVE_UT_UT_USER
   PUTUTLINE_RETURNS_UTMP
   WITH_UTMP

 HAVE_* Defines:
   HAVE_ADDRTYPE_IN_KRB5_ADDRESS
   HAVE_AP_OPTS_USE_SUBKEY
   HAVE_ATEXIT
   HAVE_BER_SCANF
   HAVE_BZERO
   HAVE_CHMOD
   HAVE_CHOWN
   HAVE_CHROOT
   HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS
   HAVE_CONNECT
   HAVE_CREAT64
   HAVE_CRYPT
   HAVE_CUPS
   HAVE_DIRENT_D_OFF
   HAVE_DLCLOSE
   HAVE_DLERROR
   HAVE_DLOPEN
   HAVE_DLSYM
   HAVE_DUP2
   HAVE_ENDNETGRENT
   HAVE_ERRNO_DECL
   HAVE_EXECL
   HAVE_EXPLICIT_LARGEFILE_SUPPORT
   HAVE_FCHMOD
   HAVE_FCHOWN
   HAVE_FCNTL_LOCK
   HAVE_FCVT
   HAVE_FOPEN64
   HAVE_FSEEKO64
   HAVE_FSTAT
   HAVE_FSTAT64
   HAVE_FSYNC
   HAVE_FTELLO64
   HAVE_FTRUNCATE
   HAVE_FTRUNCATE64
   HAVE_FTRUNCATE_EXTEND
   HAVE_FUNCTION_MACRO
   HAVE_GETCWD
   HAVE_GETDENTS
   HAVE_GETGRENT
   HAVE_GETGRNAM
   HAVE_GETMNTENT
   HAVE_GETNETGRENT
   HAVE_GETRLIMIT
   HAVE_GETSPNAM
   HAVE_GETTIMEOFDAY_TZ
   HAVE_GLOB
   HAVE_GRANTPT
   HAVE_GSSAPI
   HAVE_GSS_DISPLAY_STATUS
   HAVE_ICONV
   HAVE_IFACE_IFCONF
   HAVE_IMMEDIATE_STRUCTURES
   HAVE_INITGROUPS
   HAVE_INNETGR
   HAVE_KRB5
   HAVE_KRB5_AUTH_CON_SETUSERUSERKEY
   HAVE_KRB5_ENCRYPT_DATA
   HAVE_KRB5_FREE_KTYPES
   HAVE_KRB5_GET_PERMITTED_ENCTYPES
   HAVE_KRB5_KEYTAB_ENTRY_KEY
   HAVE_KRB5_LOCATE_KDC
   HAVE_KRB5_MK_REQ_EXTENDED
   HAVE_KRB5_PRINCIPAL2SALT
   HAVE_KRB5_PRINC_COMPONENT
   HAVE_KRB5_SET_DEFAULT_TGS_KTYPES
   HAVE_KRB5_SET_REAL_TIME
   HAVE_KRB5_STRING_TO_KEY
   HAVE_KRB5_TKT_ENC_PART2
   HAVE_KRB5_USE_ENCTYPE
   HAVE_LDAP
   HAVE_LDAP_DOMAIN2HOSTLIST
   HAVE_LDAP_INIT
   HAVE_LDAP_INITIALIZE
   HAVE_LDAP_SET_REBIND_PROC
   HAVE_LIBCOM_ERR
   HAVE_LIBGEN
   HAVE_LIBGSSAPI_KRB5
   HAVE_LIBK5CRYPTO
   HAVE_LIBKRB5
   HAVE_LIBLBER
   HAVE_LIBLDAP
   HAVE_LIBNSL
   HAVE_LIBPAM
   HAVE_LIBRESOLV
   HAVE_LIBSEC
   HAVE_LIBSENDFILE
   HAVE_LIBSOCKET
   HAVE_LINK
   HAVE_LLSEEK
   HAVE_LONGLONG
   HAVE_LSEEK64
   HAVE_LSTAT64
   HAVE_MEMMOVE
   HAVE_MEMORY_KEYTAB
   HAVE_MEMSET
   HAVE_MKNOD
   HAVE_MKTIME
   HAVE_MMAP
   HAVE_NATIVE_ICONV
   HAVE_NL_LANGINFO
   HAVE_OPEN64
   HAVE_PASSWD_PW_AGE
   HAVE_PASSWD_PW_COMMENT
   HAVE_PATHCONF
   HAVE_PIPE
   HAVE_POLL
   HAVE_PREAD
   HAVE_PREAD64
   HAVE_PUTUTLINE
   HAVE_PUTUTXLINE
   HAVE_PWRITE
   HAVE_PWRITE64
   HAVE_RAND
   HAVE_RANDOM
   HAVE_READDIR64
   HAVE_READLINK
   HAVE_REALPATH
   HAVE_RENAME
   HAVE_ROOT
   HAVE_SECURE_MKSTEMP
   HAVE_SELECT
   HAVE_SENDFILEV
   HAVE_SENDFILEV64
   HAVE_SETBUFFER
   HAVE_SETGROUPS
   HAVE_SETLINEBUF
   HAVE_SETLOCALE
   HAVE_SETNETGRENT
   HAVE_SETPGID
   HAVE_SETSID
   HAVE_SHMGET
   HAVE_SIGACTION
   HAVE_SIGPROCMASK
   HAVE_SIGSET
   HAVE_SIG_ATOMIC_T_TYPE
   HAVE_SNPRINTF
   HAVE_SNPRINTF_DECL
   HAVE_SOCKLEN_T_TYPE
   HAVE_SOLARIS_ACLS
   HAVE_SRAND
   HAVE_SRANDOM
   HAVE_STAT64
   HAVE_STAT_ST_BLKSIZE
   HAVE_STAT_ST_BLOCKS
   HAVE_STRCASECMP
   HAVE_STRCHR
   HAVE_STRDUP
   HAVE_STRERROR
   HAVE_STRFTIME
   HAVE_STRLCAT
   HAVE_STRLCPY
   HAVE_STRPBRK
   HAVE_STRTOUL
   HAVE_STRUCT_DIRENT64
   HAVE_STRUCT_FLOCK64
   HAVE_SYMLINK
   HAVE_SYSCALL
   HAVE_SYSCONF
   HAVE_SYSLOG
   HAVE_UNIXSOCKET
   HAVE_UPDWTMP
   HAVE_UPDWTMPX
   HAVE_USLEEP
   HAVE_UTIMBUF
   HAVE_UTIME
   HAVE_UTIMES
   HAVE_UX_UT_SYSLEN
   HAVE_VA_COPY
   HAVE_VOLATILE
   HAVE_VSNPRINTF
   HAVE_VSNPRINTF_DECL
   HAVE_VSYSLOG
   HAVE_WAITPID
   HAVE_YP_GET_DEFAULT_DOMAIN
   HAVE__ACL
   HAVE__CHDIR
   HAVE__CLOSE
   HAVE__CLOSEDIR
   HAVE__DUP
   HAVE__DUP2
   HAVE__ET_LIST
   HAVE__FACL
   HAVE__FCHDIR
   HAVE__FCNTL
   HAVE__FORK
   HAVE__FSTAT
   HAVE__FSTAT64
   HAVE__GETCWD
   HAVE__GETDENTS
   HAVE__LLSEEK
   HAVE__LSEEK
   HAVE__LSTAT
   HAVE__LSTAT64
   HAVE__OPEN
   HAVE__OPEN64
   HAVE__OPENDIR
   HAVE__PREAD
   HAVE__PREAD64
   HAVE__PWRITE
   HAVE__PWRITE64
   HAVE__READ
   HAVE__READDIR
   HAVE__READDIR64
   HAVE__SEEKDIR
   HAVE__STAT
   HAVE__STAT64
   HAVE__TELLDIR
   HAVE__WRITE

 --with Options:
   WITH_ADS
   WITH_PAM
   WITH_SENDFILE
   WITH_UTMP
   WITH_WINBIND

 Build Options:
   BROKEN_GETGRNAM
   BROKEN_NISPLUS_INCLUDE_FILES
   COMPILER_SUPPORTS_LL
   DEFAULT_DISPLAY_CHARSET
   DEFAULT_DOS_CHARSET
   DEFAULT_UNIX_CHARSET
   LDAP_SET_REBIND_PROC_ARGS
   PACKAGE_BUGREPORT
   PACKAGE_NAME
   PACKAGE_STRING
   PACKAGE_TARNAME
   PACKAGE_VERSION
   REPLACE_GETPASS
   RETSIGTYPE
   SEEKDIR_RETURNS_VOID
   SIZEOF_INO_T
   SIZEOF_INT
   SIZEOF_LONG
   SIZEOF_OFF_T
   SIZEOF_SHORT
   SOLARIS_SENDFILE_API
   STAT_STATVFS64
   STAT_ST_BLOCKSIZE
   STDC_HEADERS
   STRING_STATIC_MODULES
   SUNOS5
   SYSCONF_SC_NGROUPS_MAX
   SYSV
   TIME_WITH_SYS_TIME
   USE_SETREUID
   WITH_ADS
   WITH_PAM
   WITH_SENDFILE
   WITH_WINBIND
   WORDS_BIGENDIAN
   _ALIGNMENT_REQUIRED
   _FILE_OFFSET_BITS
   _LARGEFILE64_SOURCE
   _MAX_ALIGNMENT
   charset_CP437_init
   charset_CP850_init
   loff_t
   static_init_auth
   static_init_charset
   static_init_idmap
   static_init_pdb
   static_init_rpc
   static_init_vfs
   vfs_audit_init
   vfs_cap_init
   vfs_default_quota_init
   vfs_extd_audit_init
   vfs_fake_perms_init
   vfs_netatalk_init
   vfs_readonly_init
   vfs_recycle_init

Type sizes:
   sizeof(char):    1
   sizeof(int):     4
   sizeof(long):    4
   sizeof(uint8):   1
   sizeof(uint16):  2
   sizeof(uint32):  4
   sizeof(short):   2
   sizeof(void*):   4

Builtin modules:
    pdb_ldap pdb_smbpasswd pdb_tdbsam pdb_guest rpc_lsa rpc_reg rpc_lsa_ds rpc_wks rpc_net rpc_dfs rpc_srv rpc_spoolss rpc_sam
r idmap_ldap idmap_tdb auth_rhosts auth_sam auth_unix auth_winbind auth_server auth_domain auth_builtin


>>> Tom Dickson <bombcar at bombcar.com> 12/24/03 21:05 PM >>>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

smbd -b

- -Tom

Hai Wu wrote:
| How can I tell if option "with-acl-support" is compiled in Solaris smbd?
|
| Here's the output using ldd:
| bash-2.05$ ldd /usr/local/samba/sbin/smbd
|         libldap.so.2 =>  /usr/lib/libldap.so.2
|         liblber.so.2 =>  /usr/lib/liblber.so.2
|         libgssapi_krb5.so.2 =>   /usr/lib/libgssapi_krb5.so.2
|         libkrb5.so.3 =>  /usr/lib/libkrb5.so.3
|         libk5crypto.so.3 =>      /usr/lib/libk5crypto.so.3
|         libcom_err.so.3 =>       /usr/lib/libcom_err.so.3
|         libsocket.so.1 =>        /usr/lib/libsocket.so.1
|         libnsl.so.1 =>   /usr/lib/libnsl.so.1
|         libresolv.so.2 =>        /usr/lib/libresolv.so.2
|         libcups.so.2 =>  /usr/lib/libcups.so.2
|         libpam.so.1 =>   /usr/lib/libpam.so.1
|         libsendfile.so.1 =>      /usr/lib/libsendfile.so.1
|         libsec.so.1 =>   /usr/lib/libsec.so.1
|         libgen.so.1 =>   /usr/lib/libgen.so.1
|         libdl.so.1 =>    /usr/lib/libdl.so.1
|         libiconv.so.2 =>         /usr/local/lib/libiconv.so.2
|         libc.so.1 =>     /usr/lib/libc.so.1
|         libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
|         libmp.so.2 =>    /usr/lib/libmp.so.2
|         libcmd.so.1 =>   /usr/lib/libcmd.so.1
|         /usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1
|
| If it is NOT compiled in Solaris, how can I get it compiled? I ran
.../configure --with-acl-support when I configured samba, and the whole
process did not error out.
|
| Thanks,
| Hai
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/6lOCRliD/69byygRAojQAKCBHioUw723obttNAHXUHQ5RKw2UgCfa/Gn
QzAVihkgk9Qm4NrPrv1c76k=
=SS1+
-----END PGP SIGNATURE-----

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list