[Samba] Samba unable to connect to ldap

Cardon Denis denis.cardon at tranquilitsystems.com
Tue Jun 5 19:37:40 GMT 2007


Adam DiCaprio a écrit :
> Need some help if anyone can provide it on this issue. I have a very basic
> setup and am trying to have samba utilize openldap. I have made sure the
> password is correct but for whatever reason, I am unable to connect.
> Here is
> a log of what is going on. Any help would be greatly apprecated. TIA

is it normal that your smb.conf file is in /usr/local/samba/lib/ and
your secret.tdb is in /etc/samba/ directory?

What do you get if you do tdbdump /etc/samba/secret.tdb? You should get,
  among other things, your ldap connexion DN and password in clear.
Perhaps you have stored your ldap credential in another secret.tdb file?

Hope this helps

Denis


> 
> 
> 
> Maximum core file size limits now 16777216(soft) -1(hard)
> get_current_groups: user is in 7 groups: 0, 1, 2, 3, 4, 6, 10
> smbd version 3.0.25a started.
> Copyright Andrew Tridgell and the Samba Team 1992-2007
> uid=0 gid=0 euid=0 egid=0
> Build environment:
>   Built by:    root at zimbra1.hfc.com
>   Built on:    Sun Jun  3 14:16:00 PDT 2007
>   Built using: gcc
>   Build host:  Linux zimbra1.hfc.com 2.6.9-42.ELsmp #1 SMP Wed Jul 12
> 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux
>   SRCDIR:      /usr/samba-3.0.25a/source
>   BUILDDIR:    /usr/samba-3.0.25a/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: /etc/samba/secrets.tdb
>   PRIVATE_DIR: /usr/local/samba/private
> 
> System Headers:
>   HAVE_SYS_ACL_H
>   HAVE_SYS_CAPABILITY_H
>   HAVE_SYS_CDEFS_H
>   HAVE_SYS_FCNTL_H
>   HAVE_SYS_IOCTL_H
>   HAVE_SYS_IPC_H
>   HAVE_SYS_MMAN_H
>   HAVE_SYS_MOUNT_H
>   HAVE_SYS_PARAM_H
>   HAVE_SYS_PRCTL_H
>   HAVE_SYS_QUOTA_H
>   HAVE_SYS_RESOURCE_H
>   HAVE_SYS_SELECT_H
>   HAVE_SYS_SHM_H
>   HAVE_SYS_SOCKET_H
>   HAVE_SYS_STATFS_H
>   HAVE_SYS_STATVFS_H
>   HAVE_SYS_STAT_H
>   HAVE_SYS_SYSCALL_H
>   HAVE_SYS_SYSLOG_H
>   HAVE_SYS_SYSMACROS_H
>   HAVE_SYS_TIME_H
>   HAVE_SYS_TYPES_H
>   HAVE_SYS_UIO_H
>   HAVE_SYS_UNISTD_H
>   HAVE_SYS_UN_H
>   HAVE_SYS_VFS_H
>   HAVE_SYS_WAIT_H
>   HAVE_SYS_XATTR_H
> 
> Headers:
>   HAVE_ACL_LIBACL_H
>   HAVE_AIO_H
>   HAVE_ALLOCA_H
>   HAVE_ARPA_INET_H
>   HAVE_ASM_TYPES_H
>   HAVE_ASM_UNISTD_H
>   HAVE_ATTR_XATTR_H
>   HAVE_CTYPE_H
>   HAVE_DIRENT_H
>   HAVE_DLFCN_H
>   HAVE_EXECINFO_H
>   HAVE_FCNTL_H
>   HAVE_FLOAT_H
>   HAVE_FNMATCH_H
>   HAVE_GLOB_H
>   HAVE_GRP_H
>   HAVE_GSSAPI_GSSAPI_GENERIC_H
>   HAVE_GSSAPI_GSSAPI_H
>   HAVE_INTTYPES_H
>   HAVE_KRB5_H
>   HAVE_LANGINFO_H
>   HAVE_LASTLOG_H
>   HAVE_LBER_H
>   HAVE_LDAP_H
>   HAVE_LIMITS_H
>   HAVE_LOCALE_H
>   HAVE_MEMORY_H
>   HAVE_MNTENT_H
>   HAVE_NETDB_H
>   HAVE_NETINET_IN_H
>   HAVE_NETINET_IN_SYSTM_H
>   HAVE_NETINET_IP_H
>   HAVE_NETINET_TCP_H
>   HAVE_NET_IF_H
>   HAVE_NSS_H
>   HAVE_PWD_H
>   HAVE_READLINE_HISTORY_H
>   HAVE_READLINE_READLINE_H
>   HAVE_RPCSVC_NIS_H
>   HAVE_RPCSVC_YPCLNT_H
>   HAVE_RPCSVC_YP_PROT_H
>   HAVE_RPC_RPC_H
>   HAVE_SETJMP_H
>   HAVE_SHADOW_H
>   HAVE_STDARG_H
>   HAVE_STDBOOL_H
>   HAVE_STDINT_H
>   HAVE_STDIO_H
>   HAVE_STDLIB_H
>   HAVE_STRINGS_H
>   HAVE_STRING_H
>   HAVE_SYSCALL_H
>   HAVE_SYSLOG_H
>   HAVE_TERMIOS_H
>   HAVE_TERMIO_H
>   HAVE_TIME_H
>   HAVE_UNISTD_H
>   HAVE_UTIME_H
>   HAVE_VALGRIND_MEMCHECK_H
>   HAVE_VALGRIND_VALGRIND_H
> 
> UTMP Options:
>   HAVE_GETUTMPX
>   HAVE_UTMPX_H
>   HAVE_UTMP_H
>   HAVE_UT_UT_ADDR
>   HAVE_UT_UT_EXIT
>   HAVE_UT_UT_HOST
>   HAVE_UT_UT_ID
>   HAVE_UT_UT_NAME
>   HAVE_UT_UT_PID
>   HAVE_UT_UT_TIME
>   HAVE_UT_UT_TV
>   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_ASPRINTF
>   HAVE_ASPRINTF_DECL
>   HAVE_ATEXIT
>   HAVE_BACKTRACE_SYMBOLS
>   HAVE_BER_SCANF
>   HAVE_BOOL
>   HAVE_BZERO
>   HAVE_C99_VSNPRINTF
>   HAVE_CAP_GET_PROC
>   HAVE_CHMOD
>   HAVE_CHOWN
>   HAVE_CHROOT
>   HAVE_COMPARISON_FN_T
>   HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS
>   HAVE_CONNECT
>   HAVE_CREAT64
>   HAVE_CRYPT
>   HAVE_DECL_ASPRINTF
>   HAVE_DECL_RL_EVENT_HOOK
>   HAVE_DECL_SNPRINTF
>   HAVE_DECL_VASPRINTF
>   HAVE_DECL_VSNPRINTF
>   HAVE_DEVICE_MAJOR_FN
>   HAVE_DEVICE_MINOR_FN
>   HAVE_DIRENT_D_OFF
>   HAVE_DLCLOSE
>   HAVE_DLERROR
>   HAVE_DLOPEN
>   HAVE_DLSYM
>   HAVE_DUP2
>   HAVE_ENDMNTENT
>   HAVE_ENDNETGRENT
>   HAVE_ERRNO_DECL
>   HAVE_EXECL
>   HAVE_EXPLICIT_LARGEFILE_SUPPORT
>   HAVE_FCHMOD
>   HAVE_FCHOWN
>   HAVE_FCNTL_LOCK
>   HAVE_FCVT
>   HAVE_FGETXATTR
>   HAVE_FLISTXATTR
>   HAVE_FOPEN64
>   HAVE_FREMOVEXATTR
>   HAVE_FSEEKO64
>   HAVE_FSETXATTR
>   HAVE_FSID_INT
>   HAVE_FSTAT
>   HAVE_FSTAT64
>   HAVE_FSYNC
>   HAVE_FTELLO64
>   HAVE_FTRUNCATE
>   HAVE_FTRUNCATE64
>   HAVE_FTRUNCATE_EXTEND
>   HAVE_FUNCTION_MACRO
>   HAVE_GETCWD
>   HAVE_GETDIRENTRIES
>   HAVE_GETGRENT
>   HAVE_GETGRNAM
>   HAVE_GETMNTENT
>   HAVE_GETNETGRENT
>   HAVE_GETPAGESIZE
>   HAVE_GETPGRP
>   HAVE_GETPWENT_R
>   HAVE_GETRLIMIT
>   HAVE_GETSPNAM
>   HAVE_GETTIMEOFDAY_TZ
>   HAVE_GETXATTR
>   HAVE_GLOB
>   HAVE_GRANTPT
>   HAVE_GSSAPI
>   HAVE_GSS_DISPLAY_STATUS
>   HAVE_HISTORY_LIST
>   HAVE_ICONV
>   HAVE_IFACE_IFCONF
>   HAVE_IMMEDIATE_STRUCTURES
>   HAVE_INITGROUPS
>   HAVE_INITIALIZE_KRB5_ERROR_TABLE
>   HAVE_INNETGR
>   HAVE_KERNEL_CHANGE_NOTIFY
>   HAVE_KERNEL_OPLOCKS_LINUX
>   HAVE_KERNEL_SHARE_MODES
>   HAVE_KRB5
>   HAVE_KRB5_AUTH_CON_SETUSERUSERKEY
>   HAVE_KRB5_C_ENCTYPE_COMPARE
>   HAVE_KRB5_C_VERIFY_CHECKSUM
>   HAVE_KRB5_ENCRYPT_BLOCK
>   HAVE_KRB5_ENCRYPT_DATA
>   HAVE_KRB5_FREE_DATA_CONTENTS
>   HAVE_KRB5_FREE_KEYTAB_ENTRY_CONTENTS
>   HAVE_KRB5_FREE_UNPARSED_NAME
>   HAVE_KRB5_GET_PERMITTED_ENCTYPES
>   HAVE_KRB5_GET_RENEWED_CREDS
>   HAVE_KRB5_KEYBLOCK_IN_CREDS
>   HAVE_KRB5_KEYTAB_ENTRY_KEY
>   HAVE_KRB5_KEYUSAGE_APP_DATA_CKSUM
>   HAVE_KRB5_KT_FREE_ENTRY
>   HAVE_KRB5_LOCATE_KDC
>   HAVE_KRB5_MK_REQ_EXTENDED
>   HAVE_KRB5_PRINCIPAL2SALT
>   HAVE_KRB5_PRINC_COMPONENT
>   HAVE_KRB5_SET_DEFAULT_TGS_ENCTYPES
>   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_KRB5_VERIFY_CHECKSUM
>   HAVE_KV5M_KEYTAB
>   HAVE_LDAP
>   HAVE_LDAP_ADD_RESULT_ENTRY
>   HAVE_LDAP_INIT
>   HAVE_LDAP_INITIALIZE
>   HAVE_LDAP_SET_REBIND_PROC
>   HAVE_LGETXATTR
>   HAVE_LIBCOM_ERR
>   HAVE_LIBGSSAPI_KRB5
>   HAVE_LIBK5CRYPTO
>   HAVE_LIBKRB5
>   HAVE_LIBLBER
>   HAVE_LIBLDAP
>   HAVE_LIBREADLINE
>   HAVE_LIBRESOLV
>   HAVE_LINK
>   HAVE_LINUX_READAHEAD
>   HAVE_LINUX_XFS_QUOTAS
>   HAVE_LISTXATTR
>   HAVE_LLISTXATTR
>   HAVE_LLSEEK
>   HAVE_LONGLONG
>   HAVE_LONG_LONG
>   HAVE_LREMOVEXATTR
>   HAVE_LSEEK64
>   HAVE_LSETXATTR
>   HAVE_LSTAT
>   HAVE_LSTAT64
>   HAVE_MAGIC_IN_KRB5_ADDRESS
>   HAVE_MAKEDEV
>   HAVE_MEMALIGN
>   HAVE_MEMCPY
>   HAVE_MEMMOVE
>   HAVE_MEMSET
>   HAVE_MKDIR_MODE
>   HAVE_MKDTEMP
>   HAVE_MKNOD
>   HAVE_MKTIME
>   HAVE_MLOCK
>   HAVE_MLOCKALL
>   HAVE_MMAP
>   HAVE_MUNLOCK
>   HAVE_MUNLOCKALL
>   HAVE_NANOSLEEP
>   HAVE_NATIVE_ICONV
>   HAVE_NEW_LIBREADLINE
>   HAVE_NL_LANGINFO
>   HAVE_NO_ACLS
>   HAVE_NO_AIO
>   HAVE_OPEN64
>   HAVE_PATHCONF
>   HAVE_PEERCRED
>   HAVE_PIPE
>   HAVE_POLL
>   HAVE_POSIX_CAPABILITIES
>   HAVE_POSIX_FADVISE
>   HAVE_POSIX_MEMALIGN
>   HAVE_PRCTL
>   HAVE_PREAD
>   HAVE_PREAD64
>   HAVE_PRINTF
>   HAVE_PUTUTLINE
>   HAVE_PUTUTXLINE
>   HAVE_PWRITE
>   HAVE_PWRITE64
>   HAVE_QUOTACTL_LINUX
>   HAVE_RAND
>   HAVE_RANDOM
>   HAVE_READDIR64
>   HAVE_READLINK
>   HAVE_REALPATH
>   HAVE_REMOVEXATTR
>   HAVE_RENAME
>   HAVE_SECURE_MKSTEMP
>   HAVE_SELECT
>   HAVE_SENDFILE64
>   HAVE_SETBUFFER
>   HAVE_SETEGID
>   HAVE_SETENV
>   HAVE_SETENV_DECL
>   HAVE_SETEUID
>   HAVE_SETGROUPS
>   HAVE_SETLINEBUF
>   HAVE_SETLOCALE
>   HAVE_SETMNTENT
>   HAVE_SETNETGRENT
>   HAVE_SETPGID
>   HAVE_SETRESGID
>   HAVE_SETRESGID_DECL
>   HAVE_SETRESUID
>   HAVE_SETRESUID_DECL
>   HAVE_SETSID
>   HAVE_SETXATTR
>   HAVE_SHMGET
>   HAVE_SHORT_KRB5_MK_ERROR_INTERFACE
>   HAVE_SIGACTION
>   HAVE_SIGBLOCK
>   HAVE_SIGPROCMASK
>   HAVE_SIGSET
>   HAVE_SIG_ATOMIC_T_TYPE
>   HAVE_SNPRINTF
>   HAVE_SNPRINTF_DECL
>   HAVE_SOCKETPAIR
>   HAVE_SOCKLEN_T_TYPE
>   HAVE_SRAND
>   HAVE_SRANDOM
>   HAVE_STAT64
>   HAVE_STAT_HIRES_TIMESTAMPS
>   HAVE_STAT_ST_ATIM
>   HAVE_STAT_ST_BLKSIZE
>   HAVE_STAT_ST_BLOCKS
>   HAVE_STAT_ST_CTIM
>   HAVE_STAT_ST_MTIM
>   HAVE_STRCASECMP
>   HAVE_STRCASESTR
>   HAVE_STRCHR
>   HAVE_STRDUP
>   HAVE_STRERROR
>   HAVE_STRFTIME
>   HAVE_STRNDUP
>   HAVE_STRNLEN
>   HAVE_STRPBRK
>   HAVE_STRSIGNAL
>   HAVE_STRTOK_R
>   HAVE_STRTOL
>   HAVE_STRTOLL
>   HAVE_STRTOQ
>   HAVE_STRTOUL
>   HAVE_STRTOULL
>   HAVE_STRTOUQ
>   HAVE_STRUCT_DIRENT64
>   HAVE_STRUCT_FLOCK64
>   HAVE_STRUCT_STAT_ST_RDEV
>   HAVE_STRUCT_TIMESPEC
>   HAVE_ST_RDEV
>   HAVE_SYMLINK
>   HAVE_SYSCONF
>   HAVE_SYSLOG
>   HAVE_SYS_QUOTAS
>   HAVE_TICKET_POINTER_IN_KRB5_AP_REQ
>   HAVE_TIMEGM
>   HAVE_UNIXSOCKET
>   HAVE_UNSETENV
>   HAVE_UPDWTMP
>   HAVE_UPDWTMPX
>   HAVE_USLEEP
>   HAVE_UTIMBUF
>   HAVE_UTIME
>   HAVE_UTIMES
>   HAVE_VASPRINTF
>   HAVE_VASPRINTF_DECL
>   HAVE_VA_COPY
>   HAVE_VOLATILE
>   HAVE_VSNPRINTF
>   HAVE_VSNPRINTF_DECL
>   HAVE_VSYSLOG
>   HAVE_WAITPID
>   HAVE_WORKING_AF_LOCAL
>   HAVE_WRFILE_KEYTAB
>   HAVE_XFS_QUOTAS
>   HAVE_YP_GET_DEFAULT_DOMAIN
>   HAVE__Bool
>   HAVE__ET_LIST
>   HAVE__VA_ARGS__MACRO
>   HAVE___CLOSE
>   HAVE___DUP2
>   HAVE___FCNTL
>   HAVE___FORK
>   HAVE___FSTAT
>   HAVE___FXSTAT
>   HAVE___LSEEK
>   HAVE___LSTAT
>   HAVE___LXSTAT
>   HAVE___OPEN
>   HAVE___OPEN64
>   HAVE___PREAD64
>   HAVE___PWRITE64
>   HAVE___READ
>   HAVE___STAT
>   HAVE___WRITE
>   HAVE___XSTAT
> 
> --with Options:
>   WITH_ADS
>   WITH_CIFSMOUNT
>   WITH_QUOTAS
>   WITH_SENDFILE
>   WITH_UTMP
>   WITH_WINBIND
> 
> Build Options:
>   COMPILER_SUPPORTS_LL
>   CONFIG_H_IS_FROM_SAMBA
>   DEFAULT_DISPLAY_CHARSET
>   DEFAULT_DOS_CHARSET
>   DEFAULT_UNIX_CHARSET
>   KRB5_CREDS_OPT_FREE_REQUIRES_CONTEXT
>   KRB5_TICKET_HAS_KEYINFO
>   KRB5_VERIFY_CHECKSUM_ARGS
>   LDAP_SET_REBIND_PROC_ARGS
>   LINUX
>   LINUX_SENDFILE_API
>   PACKAGE_BUGREPORT
>   PACKAGE_NAME
>   PACKAGE_STRING
>   PACKAGE_TARNAME
>   PACKAGE_VERSION
>   REALPATH_TAKES_NULL
>   RETSIGTYPE
>   SEEKDIR_RETURNS_VOID
>   SHLIBEXT
>   SIZEOF_CHAR
>   SIZEOF_DEV_T
>   SIZEOF_INO_T
>   SIZEOF_INT
>   SIZEOF_LONG_LONG
>   SIZEOF_OFF_T
>   SIZEOF_SHORT
>   SIZEOF_SIZE_T
>   SIZEOF_SSIZE_T
>   STAT_STATVFS64
>   STAT_ST_BLOCKSIZE
>   STDC_HEADERS
>   STRING_STATIC_MODULES
>   SYSCONF_SC_NGROUPS_MAX
>   SYSCONF_SC_NPROCESSORS_ONLN
>   SYSCONF_SC_PAGESIZE
>   TIME_WITH_SYS_TIME
>   USE_SETRESUID
>   WITH_ADS
>   WITH_CIFSMOUNT
>   WITH_QUOTAS
>   WITH_SENDFILE
>   WITH_WINBIND
>   _FILE_OFFSET_BITS
>   _GNU_SOURCE
>   _LARGEFILE64_SOURCE
>   _POSIX_C_SOURCE
>   _POSIX_SOURCE
>   _XOPEN_SOURCE_EXTENDED
>   auth_script_init
>   charset_CP437_init
>   charset_CP850_init
>   offset_t
>   static_decl_auth
>   static_decl_charset
>   static_decl_idmap
>   static_decl_nss_info
>   static_decl_pdb
>   static_decl_rpc
>   static_decl_vfs
>   static_init_auth
>   static_init_charset
>   static_init_idmap
>   static_init_nss_info
>   static_init_pdb
>   static_init_rpc
>   static_init_vfs
>   uint_t
>   vfs_audit_init
>   vfs_cap_init
>   vfs_default_quota_init
>   vfs_expand_msdfs_init
>   vfs_extd_audit_init
>   vfs_fake_perms_init
>   vfs_full_audit_init
>   vfs_netatalk_init
>   vfs_readahead_init
>   vfs_readonly_init
>   vfs_recycle_init
>   vfs_shadow_copy_init
> 
> Type sizes:
>   sizeof(char):         1
>   sizeof(int):          4
>   sizeof(long):         4
>   sizeof(long long):    8
>   sizeof(uint8):        1
>   sizeof(uint16):       2
>   sizeof(uint32):       4
>   sizeof(short):        2
>   sizeof(void*):        4
>   sizeof(size_t):       4
>   sizeof(off_t):        8
>   sizeof(ino_t):        8
>   sizeof(dev_t):        8
> 
> Builtin modules:
>    pdb_ldap pdb_smbpasswd pdb_tdbsam rpc_lsa rpc_reg rpc_lsa_ds rpc_wkssvc
> rpc_svcctl rpc_ntsvcs rpc_net rpc_netdfs rpc_srv rpc_spoolss rpc_eventlog
> rpc_samr rpc_echo idmap_ldap idmap_tdb idmap_passdb idmap_nss
> nss_info_template auth_sam auth_unix auth_winbind auth_server auth_domain
> auth_builtin vfs_default
> lp_load: refreshing parameters
> Initialising global parameters
> params.c:pm_process() - Processing configuration file
> "/usr/local/samba/lib/smb.conf"
> Processing section "[global]"
> doing parameter workgroup = HFC
> doing parameter netbios name = hfc
> handle_netbios_name: set global_myname to: HFC
> doing parameter os level = 33
> doing parameter preferred master = yes
> doing parameter enable privileges = yes
> doing parameter server string = %h server (Samba, HFC PDC)
> doing parameter wins support = yes
> doing parameter dns proxy = no
> doing parameter name resolve order = wins bcast hosts
> doing parameter log file = /var/log/samba/log.%m
> doing parameter log level = 3
> doing parameter max log size = 1000
> doing parameter syslog only = no
> doing parameter syslog = 0
> doing parameter panic action = /usr/share/samba/panic-action %d
> doing parameter security = user
> doing parameter encrypt passwords = true
> doing parameter ldap passwd sync = yes
> doing parameter passdb backend = ldapsam:ldap://zimbra1.hfc.com/
> doing parameter ldap admin dn = "uid=zimbra,cn=admins,cn=zimbra"
> doing parameter ldap suffix = dc=hfc,dc=com
> doing parameter ldap group suffix = ou=groups
> doing parameter ldap user suffix = ou=people
> doing parameter ldap machine suffix = ou=machines
> doing parameter obey pam restrictions = no
> doing parameter passwd program = /usr/bin/passwd %u
> doing parameter passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
> *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
> doing parameter domain logons = yes
> doing parameter logon path = \\zimbra1.hfc.com\%U\profile
> doing parameter logon home = \\zimbra1.hfc.com\%U
> doing parameter logon script = logon.cmd
> doing parameter add user script = /usr/sbin/adduser --quiet
> --disabled-password --gecos "" %u
> doing parameter add machine script = /usr/sbin/adduser --shell /bin/false
> --disabled-password --quiet --gecos "machine account" --force-badname %u
> doing parameter socket options = TCP_NODELAY
> doing parameter domain master = yes
> doing parameter local master = yes
> Processing section "[homes]"
> doing parameter comment = Home Directories
> doing parameter browseable = yes
> doing parameter read only = No
> doing parameter valid users = %S
> Processing section "[netlogon]"
> doing parameter comment = Network Logon Service
> doing parameter path = /var/lib/samba/netlogon
> doing parameter guest ok = yes
> doing parameter locking = no
> Processing section "[profiles]"
> doing parameter comment = Users profiles
> doing parameter path = /var/lib/samba/profiles
> doing parameter read only = No
> Processing section "[profdata]"
> doing parameter comment = Profile Data Share
> doing parameter path = /var/lib/samba/profdata
> doing parameter read only = No
> doing parameter profile acls = Yes
> pm_process() returned Yes
> adding IPC service
> Attempting to register new charset UCS-2LE
> Registered charset UCS-2LE
> Attempting to register new charset UTF-16LE
> Registered charset UTF-16LE
> Attempting to register new charset UCS-2BE
> Registered charset UCS-2BE
> Attempting to register new charset UTF-16BE
> Registered charset UTF-16BE
> Attempting to register new charset UTF8
> Registered charset UTF8
> Attempting to register new charset UTF-8
> Registered charset UTF-8
> Attempting to register new charset ASCII
> Registered charset ASCII
> Attempting to register new charset 646
> Registered charset 646
> Attempting to register new charset ISO-8859-1
> Registered charset ISO-8859-1
> Attempting to register new charset UCS2-HEX
> Registered charset UCS2-HEX
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> reloading printcap cache
> reload status: ok
> reloading printcap cache
> reload status: ok
> lp_file_list_changed()
> file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last
> mod_time: Tue Jun  5 07:12:22 2007
> 
> added interface ip=192.168.11.6 bcast=192.168.11.255 nmask=255.255.255.0
> Netbios name list:-
> my_netbios_names[0]="HFC"
> loaded services
> Registered MSG_REQ_POOL_USAGE
> Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
> Attempting to register passdb backend ldapsam
> Successfully added passdb backend 'ldapsam'
> Attempting to register passdb backend ldapsam_compat
> Successfully added passdb backend 'ldapsam_compat'
> Attempting to register passdb backend NDS_ldapsam
> Successfully added passdb backend 'NDS_ldapsam'
> Attempting to register passdb backend NDS_ldapsam_compat
> Successfully added passdb backend 'NDS_ldapsam_compat'
> Attempting to register passdb backend smbpasswd
> Successfully added passdb backend 'smbpasswd'
> Attempting to register passdb backend tdbsam
> Successfully added passdb backend 'tdbsam'
> Attempting to find an passdb backend to match
> ldapsam:ldap://zimbra1.hfc.com/ (ldapsam)
> Found pdb backend ldapsam
> smbldap_search_domain_info: Searching
> for:[(&(objectClass=sambaDomain)(sambaDomainName=HFC))]
> smbldap_search_ext: base => [dc=hfc,dc=com], filter =>
> [(&(objectClass=sambaDomain)(sambaDomainName=HFC))], scope => [2]
> The connection to the LDAP server was closed
> smbldap_open_connection: connection opened
> fetch_ldap_pw: neither ldap secret retrieved!
> ldap_connect_system: Failed to retrieve password from secrets.tdb
> Connection to LDAP server failed for the 1 try!
> smbldap_open_connection: connection opened
> fetch_ldap_pw: neither ldap secret retrieved!
> ldap_connect_system: Failed to retrieve password from secrets.tdb
> Connection to LDAP server failed for the 2 try!
> smbldap_open_connection: connection opened
> fetch_ldap_pw: neither ldap secret retrieved!
> ldap_connect_system: Failed to retrieve password from secrets.tdb
> Connection to LDAP server failed for the 3 try!
> smbldap_open_connection: connection opened
> fetch_ldap_pw: neither ldap secret retrieved!
> ldap_connect_system: Failed to retrieve password from secrets.tdb
> Connection to LDAP server failed for the 4 try!


-- 
Denis Cardon
Tranquil IT Systems
10 rue du Docteur Bouchard
49400 Saumur
tel : +33 (0) 2.41.67.56.99
http://www.tranquil-it-systems.fr



More information about the samba mailing list