Bug 7731 - Module already registered!
Summary: Module already registered!
Status: RESOLVED WORKSFORME
Alias: None
Product: Samba 3.5
Classification: Unclassified
Component: Winbind (show other bugs)
Version: 3.5.6
Hardware: x86 Linux
: P3 normal
Target Milestone: ---
Assignee: Michael Adam
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-15 10:46 UTC by Giulius
Modified: 2020-11-10 20:14 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Giulius 2010-10-15 10:46:31 UTC
I found similars problems on forums and from bugzilla too, but i cannot solve the issue.
On log.winbindd-idmap i found:

Sep 26 17:25:28 proxya winbindd[28581]: [2010/10/15 17:25:28.471547,  0] winbindd/winbindd.c:195(winbindd_sig_term_handler) 
Sep 26 17:25:28 proxya winbindd[2237]:   Got sig[15] terminate (is_parent=0) 
Sep 26 17:25:28 proxya winbindd[28568]:   Got sig[15] terminate (is_parent=0) 
Sep 26 17:25:28 proxya winbindd[10406]: [2010/10/15 17:25:28.523730,  0] winbindd/winbindd_cache.c:3076(initialize_winbindd_cache) 
Sep 26 17:25:28 proxya winbindd[1380]:   Got sig[15] terminate (is_parent=0) 
Sep 26 17:25:28 proxya winbindd[28581]:   Got sig[15] terminate (is_parent=0) 
Sep 26 17:25:28 proxya winbindd[10406]:   initialize_winbindd_cache: clearing cache and re-creating with version number 1 
Sep 26 17:26:15 proxya winbindd[10755]: [2010/10/15 17:26:15.473489,  0] winbindd/idmap.c:201(smb_register_idmap_alloc) 
Sep 26 17:26:15 proxya winbindd[10755]:   idmap_alloc module ldap already registered! 
Sep 26 17:26:15 proxya winbindd[10755]: [2010/10/15 17:26:15.473841,  0] winbindd/idmap.c:201(smb_register_idmap_alloc) 
Sep 26 17:26:15 proxya winbindd[10755]:   idmap_alloc module tdb already registered! 
Sep 26 17:26:15 proxya winbindd[10755]: [2010/10/15 17:26:15.473953,  0] winbindd/idmap.c:149(smb_register_idmap) 
Sep 26 17:26:15 proxya winbindd[10755]:   Idmap module passdb already registered! 
Sep 26 17:26:15 proxya winbindd[10755]: [2010/10/15 17:26:15.474023,  0] winbindd/idmap.c:149(smb_register_idmap) 
Sep 26 17:26:15 proxya winbindd[10755]:   Idmap module nss already registered! 
Sep 26 17:26:16 proxya winbindd[10755]: [2010/10/15 17:26:16.419605,  0] winbindd/idmap.c:201(smb_register_idmap_alloc) 
Sep 26 17:26:16 proxya winbindd[10755]:   idmap_alloc module ldap already registered! 
Sep 26 17:26:16 proxya winbindd[10755]: [2010/10/15 17:26:16.419744,  0] winbindd/idmap.c:201(smb_register_idmap_alloc) 
Sep 26 17:26:16 proxya winbindd[10755]:   idmap_alloc module tdb already registered! 
Sep 26 17:26:16 proxya winbindd[10755]: [2010/10/15 17:26:16.419821,  0] winbindd/idmap.c:149(smb_register_idmap) 
Sep 26 17:26:16 proxya winbindd[10755]:   Idmap module passdb already registered! 
Sep 26 17:26:16 proxya winbindd[10755]: [2010/10/15 17:26:16.419889,  0] winbindd/idmap.c:149(smb_register_idmap) 
Sep 26 17:26:16 proxya winbindd[10755]:   Idmap module nss already registered! 
Sep 26 17:26:16 proxya winbindd[10755]: [2010/10/15 17:26:16.514359,  0] winbindd/idmap.c:201(smb_register_idmap_alloc) 
Sep 26 17:26:16 proxya winbindd[10755]:   idmap_alloc module ldap already registered! 
Sep 26 17:26:16 proxya winbindd[10755]: [2010/10/15 17:26:16.514481,  0] winbindd/idmap.c:201(smb_register_idmap_alloc) 
Sep 26 17:26:16 proxya winbindd[10755]:   idmap_alloc module tdb already registered! 
Sep 26 17:26:16 proxya winbindd[10755]: [2010/10/15 17:26:16.514550,  0] winbindd/idmap.c:149(smb_register_idmap) 
Sep 26 17:26:16 proxya winbindd[10755]:   Idmap module passdb already registered! 
Sep 26 17:26:16 proxya winbindd[10755]: [2010/10/15 17:26:16.514615,  0] winbindd/idmap.c:149(smb_register_idmap) 
Sep 26 17:26:16 proxya winbindd[10755]:   Idmap module nss already registered! 
Sep 26 17:26:22 proxya winbindd[10755]: [2010/10/15 17:26:22.751027,  0] winbindd/idmap.c:201(smb_register_idmap_alloc) 
Sep 26 17:26:22 proxya winbindd[10755]:   idmap_alloc module ldap already registered! 
Sep 26 17:26:22 proxya winbindd[10755]: [2010/10/15 17:26:22.751181,  0] winbindd/idmap.c:201(smb_register_idmap_alloc) 
Sep 26 17:26:22 proxya winbindd[10755]:   idmap_alloc module tdb already registered! 
Sep 26 17:26:22 proxya winbindd[10755]: [2010/10/15 17:26:22.751254,  0] winbindd/idmap.c:149(smb_register_idmap) 
Sep 26 17:26:22 proxya winbindd[10755]:   Idmap module passdb already registered! 
Sep 26 17:26:22 proxya winbindd[10755]: [2010/10/15 17:26:22.751322,  0] winbindd/idmap.c:149(smb_register_idmap) 
Sep 26 17:26:22 proxya winbindd[10755]:   Idmap module nss already registered! 
Sep 26 17:26:27 proxya winbindd[10755]: [2010/10/15 17:26:27.405234,  0] winbindd/idmap.c:201(smb_re
gister_idmap_alloc) 
Sep 26 17:26:27 proxya winbindd[10755]:   idmap_alloc module ldap already registered! 
Sep 26 17:26:27 proxya winbindd[10755]: [2010/10/15 17:26:27.405369,  0] winbindd/idmap.c:201(smb_register_idmap_alloc) 
Sep 26 17:26:27 proxya winbindd[10755]:   idmap_alloc module tdb already registered! 
Sep 26 17:26:27 proxya winbindd[10755]: [2010/10/15 17:26:27.405439,  0] winbindd/idmap.c:149(smb_register_idmap) 
Sep 26 17:26:27 proxya winbindd[10755]:   Idmap module passdb already registered! 
Sep 26 17:26:27 proxya winbindd[10755]: [2010/10/15 17:26:27.405507,  0] winbindd/idmap.c:149(smb_register_idmap) 
Sep 26 17:26:27 proxya winbindd[10755]:   Idmap module nss already registered! 
Sep 26 17:26:33 proxya winbindd[10755]: [2010/10/15 17:26:33.621691,  0] winbindd/idmap.c:201(smb_register_idmap_alloc) 
Sep 26 17:26:33 proxya winbindd[10755]:   idmap_alloc module ldap already registered! 
Sep 26 17:26:33 proxya winbindd[10755]: [2010/10/15 17:26:33.621823,  0] winbindd/idmap.c:201(smb_register_idmap_alloc) 
Sep 26 17:26:33 proxya winbindd[10755]:   idmap_alloc module tdb already registered! 
Sep 26 17:26:33 proxya winbindd[10755]: [2010/10/15 17:26:33.621892,  0] winbindd/idmap.c:149(smb_register_idmap) 
Sep 26 17:26:33 proxya winbindd[10755]:   Idmap module passdb already registered! 
Sep 26 17:26:33 proxya winbindd[10755]: [2010/10/15 17:26:33.621960,  0] winbindd/idmap.c:149(smb_register_idmap) 
Sep 26 17:26:33 proxya winbindd[10755]:   Idmap module nss already registered! 
Sep 26 17:27:26 proxya winbindd[10755]: [2010/10/15 17:27:26.223978,  0] winbindd/idmap.c:201(smb_register_idmap_alloc) 
Sep 26 17:27:26 proxya winbindd[10755]:   idmap_alloc module ldap already registered! 
Sep 26 17:27:26 proxya winbindd[10755]: [2010/10/15 17:27:26.224110,  0] winbindd/idmap.c:201(smb_register_idmap_alloc) 

etc.

After some days:

Sep 29 15:32:55 proxya winbindd[25820]: [2010/09/29 15:32:55.312510,  0] lib/messages_local.c:112(me
ssaging_tdb_init) 
Sep 29 15:32:55 proxya winbindd[25820]:   ERROR: Failed to initialise messages database: No such fil
e or directory 
Sep 29 15:32:55 proxya winbindd[25820]: [2010/09/29 15:32:55.312869,  0] lib/messages.c:245(messagin
g_reinit) 
Sep 29 15:32:55 proxya winbindd[25820]:   messaging_tdb_init failed: NT_STATUS_OBJECT_NAME_NOT_FOUND
 
Sep 29 15:32:55 proxya winbindd[25820]: [2010/09/29 15:32:55.312942,  0] lib/util.c:946(reinit_after
_fork) 
Sep 29 15:32:55 proxya winbindd[25820]:   messaging_reinit() failed: NT_STATUS_OBJECT_NAME_NOT_FOUND
 
Sep 29 15:32:55 proxya winbindd[25820]: [2010/09/29 15:32:55.313011,  0] winbindd/winbindd_dual.c:12
01(winbindd_reinit_after_fork) 
Sep 29 15:32:55 proxya winbindd[25820]:   reinit_after_fork() failed 
Sep 29 15:32:55 proxya winbindd[25820]: [2010/09/29 15:32:55.313137,  0] lib/fault.c:46(fault_report) 
Sep 29 15:32:55 proxya winbindd[25820]:   =============================================================== 
Sep 29 15:32:55 proxya winbindd[25820]: [2010/09/29 15:32:55.313205,  0] lib/fault.c:47(fault_report) 
Sep 29 15:32:55 proxya winbindd[25820]:   INTERNAL ERROR: Signal 11 in pid 25820 (3.5.4) 
Sep 29 15:32:55 proxya winbindd[25820]:   Please read the Trouble-Shooting section of the Samba3-HOWTO 
Sep 29 15:32:55 proxya winbindd[25820]: [2010/09/29 15:32:55.321911,  0] lib/fault.c:49(fault_report) 
Sep 29 15:32:55 proxya winbindd[25820]:    
Sep 29 15:32:55 proxya winbindd[25820]:   From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf 
Sep 29 15:32:55 proxya winbindd[25820]: [2010/09/29 15:32:55.381851,  0] lib/fault.c:50(fault_report) 
Sep 29 15:32:55 proxya winbindd[25820]:   =============================================================== 
Sep 29 15:32:55 proxya winbindd[25820]: [2010/09/29 15:32:55.421825,  0] lib/util.c:1465(smb_panic) 
Sep 29 15:32:55 proxya winbindd[25820]:   PANIC (pid 25820): internal error 
Sep 29 15:32:55 proxya winbindd[25820]: [2010/09/29 15:32:55.465394,  0] lib/util.c:1569(log_stack_trace) 
Sep 29 15:32:55 proxya winbindd[25820]:   BACKTRACE: 16 stack frames: 
Sep 29 15:32:55 proxya winbindd[25820]:    #0 winbindd(log_stack_trace+0x2d) [0xb727c05c] 
Sep 29 15:32:55 proxya winbindd[25820]:    #1 winbindd(smb_panic+0x7c) [0xb727c18e] 
Sep 29 15:32:55 proxya winbindd[25820]:    #2 winbindd [0xb726b4cc] 
Sep 29 15:32:55 proxya winbindd[25820]:    #3 [0xb70ef400] 
Sep 29 15:32:55 proxya winbindd[25820]:    #4 winbindd(messaging_send_buf+0x65) [0xb725c4db] 
Sep 29 15:32:55 proxya winbindd[25820]:    #5 winbindd [0xb71b9d79] 
Sep 29 15:32:55 proxya winbindd[25820]:    #6 winbindd(run_events+0x172) [0xb728bc6d] 
Sep 29 15:32:55 proxya winbindd[25820]:    #7 winbindd [0xb71c8a61] 
Sep 29 15:32:55 proxya winbindd[25820]:    #8 winbindd [0xb728ea2a] 
Sep 29 15:32:55 proxya winbindd[25820]:    #9 winbindd(tevent_common_loop_immediate+0xfc) [0xb728d560] 
Sep 29 15:32:55 proxya winbindd[25820]:    #10 winbindd(run_events+0x3e) [0xb728bb39] 
Sep 29 15:32:55 proxya winbindd[25820]:    #11 winbindd [0xb728be96] 
Sep 29 15:32:55 proxya winbindd[25820]:    #12 winbindd(_tevent_loop_once+0x9d) [0xb728c4dd] 
Sep 29 15:32:55 proxya winbindd[25820]:    #13 winbindd(main+0xf68) [0xb719d34a] 
Sep 29 15:32:55 proxya winbindd[25820]:    #14 /lib/libc.so.6(__libc_start_main+0xdc) [0xb6e1ee9c] 
Sep 29 15:32:55 proxya winbindd[25820]:    #15 winbindd [0xb719a351] 
Sep 29 15:32:55 proxya winbindd[25820]: [2010/09/29 15:32:55.821877,  0] lib/fault.c:321(dump_core) 
Sep 29 15:32:55 proxya winbindd[25820]:   unable to change to /usr/local/samba/var/cores/winbindd 
Sep 29 15:32:55 proxya winbindd[25820]:   refusing to dump core 
Sep 29 16:01:50 proxya nmbd[5662]: [2010/09/29 16:01:50.045524,  0] nmbd/nmbd.c:71(terminate) 
Sep 29 16:01:50 proxya nmbd[5662]:   Got SIGTERM: going down...
Sep 29 16:03:17 proxya nmbd[3104]: [2010/09/29 16:03:17.773981,  0] nmbd/nmbd.c:861(main) 
Sep 29 16:03:17 proxya nmbd[3104]:   error opening config file 
Sep 29 16:03:24 proxya nmbd[3113]: [2010/09/29 16:03:24.024269,  0] nmbd/nmbd.c:861(main) 
Sep 29 16:03:24 proxya nmbd[3113]:   error opening config file 
Sep 29 16:05:00 proxya winbindd[3194]: [2010/09/29 16:05:00.587564,  0] winbindd/winbindd_cache.c:3076(initialize_winbindd_cache) 
Sep 29 16:05:00 proxya winbindd[3194]:   initialize_winbindd_cache: clearing cache and re-creating with version number 1 
Sep 29 16:05:00 proxya winbindd[3194]: [2010/09/29 16:05:00.676132,  0] winbindd/winbindd_util.c:633(init_domain_list) 
Sep 29 16:05:00 proxya winbindd[3194]:   Could not fetch our SID - did we join? 
Sep 29 16:05:00 proxya winbindd[3194]: [2010/09/29 16:05:00.676288,  0] winbindd/winbindd.c:1246(main) 
Sep 29 16:05:00 proxya winbindd[3194]:   unable to initialize domain list 
Sep 29 16:05:17 proxya nmbd[3191]: [2010/09/29 16:05:17.214019,  0] nmbd/nmbd.c:71(terminate) 
Sep 29 16:05:17 proxya nmbd[3191]:   Got SIGTERM: going down... 
Sep 29 16:05:37 proxya winbindd[3252]: [2010/09/29 16:05:37.978969,  0] winbindd/winbindd_cache.c:3076(initialize_winbindd_cache) 
Sep 29 16:05:37 proxya winbindd[3252]:   initialize_winbindd_cache: clearing cache and re-creating with version number 1 
Sep 29 16:05:37 proxya winbindd[3252]: [2010/09/29 16:05:37.980566,  0] winbindd/winbindd_util.c:633(init_domain_list) 
Sep 29 16:05:37 proxya winbindd[3252]:   Could not fetch our SID - did we join? 
Sep 29 16:05:37 proxya winbindd[3252]: [2010/09/29 16:05:37.980645,  0] winbindd/winbindd.c:1246(main) 
Sep 29 16:05:37 proxya winbindd[3252]:   unable to initialize domain list 
Sep 29 16:06:02 proxya winbindd[3270]: [2010/09/29 16:06:02.434385,  0] winbindd/winbindd_cache.c:3076(initialize_winbindd_cache) 

and i need to restart samba.

My smb.conf:

   idmap backend = tdb 
   idmap alloc backend = tdb
   idmap uid = 10000-100000
   idmap gid = 10000-100000
   winbind enum users = yes
   winbind enum groups = yes
   template homedir = /home/winnt/%D/%U
   template shell = /bin/false
   winbind use default domain = yes
   winbind cache time = 1
   winbind nested groups = yes
   winbind offline logon = false
   winbind refresh tickets = true 
   winbind trusted domains only = no

I used for many times samba 3.0.x and no problem at all, last month i updated to 3.5.4 then 3.5.5 then 3.5.6. From first upgrade, i found this problems on my logs.
Help me please!

Giulius.
Comment 1 Volker Lendecke 2010-10-15 16:13:20 UTC
The one line that really strikes me is

Sep 29 16:03:17 proxya nmbd[3104]:   error opening config file 

Something must be really hosed on your system if all 3 daemons get busted.

Sep 29 16:05:00 proxya winbindd[3194]:   Could not fetch our SID - did we join? 

Another one. This really looks like some cronjob is removing your config files and your secrets.tdb.

I'm closing this as invalid, this really does not look like a Samba bug but as one with your environment. Please re-open if you made sure that nobody cleans up behind Samba.

Volker
Comment 2 Giulius 2010-10-18 01:45:37 UTC
Hi.

Following you indication i controlled everithing on my samba server, and no one delete configurations files, script included.
Can you tell me why winbind say "idmap_alloc xxx module already registered"? This is an error?
I disjoined samba server from ad and rejoined it. I'm sure that the machine account exist and work. Wbinfo -u/-g work.
Comment 3 Michael Adam 2010-10-18 03:12:54 UTC
Ok, this is rather something that would belong to
the mailing list (samba-technical) at this stage,
but let's give it some more round-trip...

I think we need to know a little more about your
environment: 

From the log it looks like you run a self compiled
version of samba, since it fails to dump core with
the message
"unable to change to /usr/local/samba/var/cores/winbindd".

Did you do a full "make install" ?

Could you please attach your full smb.conf (at least full
global section): The snippet you pasted does not mention
any domain, so it does not make any sense to talk of domain
join with that (incomplete?) config.

How did you compile samba?
(configure options?...)
Could you please attach an output of "smbd -b" ?

Is there another samba installation running on your
system that might spoil this one?

Cheers - Michael
Comment 4 Giulius 2010-10-18 03:56:11 UTC
I did not send this problem to mailing-list becausa i do not know exactly if this is a bugs or other, sorry.
Yes, i compiled samba from source.


smb.conf

[global]
   workgroup = ADGRUPPO
   realm = ADGRUPPO.PRIV
   printcap name = /etc/printcap
   load printers = no
   printing = bsd
   guest account = nobody
   log file = /usr/local/samba/var/log.%m
   #log level = 2
   max log size = 0
   security = ADS
   password server = server1.adgruppo.priv
   encrypt passwords = yes
   smb passwd file = /usr/local/samba/lib/smbpasswd
   username map = /usr/local/samba/lib/smbusers
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   interfaces = 192.168.xx.xx/24
   bind interfaces only = yes
   local master = no
   os level = 33
   domain master = no
   preferred master = no
   domain logons = no
   wins server = 192.168.xx.xx 192.168.xx.xx
   wins proxy = no
   dns proxy = yes
   #winbind separator = \
   idmap backend = tdb
   idmap alloc backend = tdb
   idmap uid = 10000-100000
   idmap gid = 10000-100000
   winbind enum users = yes
   winbind enum groups = yes
   template homedir = /home/winnt/%D/%U
   template shell = /bin/false
   winbind use default domain = yes
   winbind cache time = 1
   winbind nested groups = yes
   winbind offline logon = false
   winbind refresh tickets = true
   winbind trusted domains only = no





KERBEROS

[libdefaults]
 default_realm = ADGRUPPO.PRIV

[realms]
 ADGRUPPO.PRIV = {
  kdc = server1.adgruppo.priv:88
  default_domain = adgruppo.priv
 }

[domain_realm]
 .adgruppo.priv = ADGRUPPO.PRIV
 adgruppo.priv = ADGRUPPO.PRIV



smbd -b

Build environment:
   Built by:    root@samba
   Built on:    Tue Oct 12 08:01:09 CEST 2010
   Built using: gcc
   Build host:  Linux samba 2.6.35.3 #1 SMP Thu Aug 26 09:40:05 CEST 2010 i686 i686 i386 GNU/Linux
   SRCDIR:      /tmp/samba-3.5.6/source3
   BUILDDIR:    /tmp/samba-3.5.6/source3

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
   MODULESDIR: /usr/local/samba/lib
   SHLIBEXT: so
   LOCKDIR: /usr/local/samba/var/locks
   STATEDIR: /usr/local/samba/var/locks
   CACHEDIR: /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_CDEFS_H
   HAVE_SYS_EPOLL_H
   HAVE_SYS_FCNTL_H
   HAVE_SYS_INOTIFY_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_SYSCTL_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_AIO_H
   HAVE_ALLOCA_H
   HAVE_ARPA_INET_H
   HAVE_ASM_TYPES_H
   HAVE_ASM_UNISTD_H
   HAVE_CRYPT_H
   HAVE_CTYPE_H
   HAVE_DIRENT_H
   HAVE_DLFCN_H
   HAVE_EXECINFO_H
   HAVE_FCNTL_H
   HAVE_FLOAT_H
   HAVE_FNMATCH_H
   HAVE_GETOPT_H
   HAVE_GLOB_H
   HAVE_GRP_H
   HAVE_GSSAPI_GSSAPI_GENERIC_H
   HAVE_GSSAPI_GSSAPI_H
   HAVE_GSSAPI_H
   HAVE_IFADDRS_H
   HAVE_KEYUTILS_H
   HAVE_KRB5_H
   HAVE_KRB5_LOCATE_PLUGIN_H
   HAVE_LANGINFO_H
   HAVE_LASTLOG_H
   HAVE_LBER_H
   HAVE_LDAP_H
   HAVE_LIBINTL_H
   HAVE_LIMITS_H
   HAVE_LINUX_DQBLK_XFS_H
   HAVE_LINUX_INOTIFY_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_PTHREAD_H
   HAVE_PWD_H
   HAVE_RPCSVC_NIS_H
   HAVE_RPCSVC_YPCLNT_H
   HAVE_RPCSVC_YP_PROT_H
   HAVE_RPC_RPC_H
   HAVE_SECURITY_PAM_APPL_H
   HAVE_SECURITY_PAM_EXT_H
   HAVE_SECURITY_PAM_MODULES_H
   HAVE_SECURITY__PAM_MACROS_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_STROPTS_H
   HAVE_SYSCALL_H
   HAVE_SYSLOG_H
   HAVE_TERMIOS_H
   HAVE_TERMIO_H
   HAVE_TIME_H
   HAVE_UNISTD_H
   HAVE_UTIME_H
   HAVE_ZLIB_H

 UTMP Options:
   HAVE_GETUTMPX
   HAVE_UTMPX_H
   HAVE_UTMP_H
   HAVE_UT_UT_ADDR
   HAVE_UT_UT_ADDR_V6
   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_ATEXIT
   HAVE_BACKTRACE_SYMBOLS
   HAVE_BER_SCANF
   HAVE_BER_SOCKBUF_ADD_IO
   HAVE_BINDTEXTDOMAIN
   HAVE_BLKCNT_T
   HAVE_BLKSIZE_T
   HAVE_BOOL
   HAVE_BZERO
   HAVE_C99_VSNPRINTF
   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_KRB5_AUTH_CON_SET_REQ_CKSUMTYPE
   HAVE_DECL_KRB5_GET_CREDENTIALS_FOR_USER
   HAVE_DECL_RL_EVENT_HOOK
   HAVE_DECL_SNPRINTF
   HAVE_DECL_VASPRINTF
   HAVE_DECL_VSNPRINTF
   HAVE_DEVICE_MAJOR_FN
   HAVE_DEVICE_MINOR_FN
   HAVE_DGETTEXT
   HAVE_DIRENT_D_OFF
   HAVE_DIRFD
   HAVE_DIRFD_DECL
   HAVE_DLCLOSE
   HAVE_DLERROR
   HAVE_DLOPEN
   HAVE_DLSYM
   HAVE_DUP2
   HAVE_ENDMNTENT
   HAVE_ENDNETGRENT
   HAVE_ENVIRON_DECL
   HAVE_EPOLL
   HAVE_EPOLL_CREATE
   HAVE_ERRNO_DECL
   HAVE_EXECL
   HAVE_EXPLICIT_LARGEFILE_SUPPORT
   HAVE_FCHMOD
   HAVE_FCHOWN
   HAVE_FCNTL_LOCK
   HAVE_FCVT
   HAVE_FDATASYNC
   HAVE_FGETXATTR
   HAVE_FLISTXATTR
   HAVE_FOPEN64
   HAVE_FREEADDRINFO
   HAVE_FREEIFADDRS
   HAVE_FREMOVEXATTR
   HAVE_FRSIZE
   HAVE_FSEEKO64
   HAVE_FSETXATTR
   HAVE_FSID_INT
   HAVE_FSTAT64
   HAVE_FSYNC
   HAVE_FTELLO64
   HAVE_FTRUNCATE
   HAVE_FTRUNCATE64
   HAVE_FTRUNCATE_EXTEND
   HAVE_FUNCTION_MACRO
   HAVE_GAI_STRERROR
   HAVE_GETADDRINFO
   HAVE_GETCWD
   HAVE_GETDIRENTRIES
   HAVE_GETGRENT
   HAVE_GETGRENT_R
   HAVE_GETGRENT_R_DECL
   HAVE_GETGRGID_R
   HAVE_GETGRNAM
   HAVE_GETGRNAM_R
   HAVE_GETGROUPLIST
   HAVE_GETHOSTBYNAME
   HAVE_GETIFADDRS
   HAVE_GETMNTENT
   HAVE_GETNAMEINFO
   HAVE_GETNETGRENT
   HAVE_GETPAGESIZE
   HAVE_GETPGRP
   HAVE_GETPWENT_R
   HAVE_GETPWENT_R_DECL
   HAVE_GETPWNAM_R
   HAVE_GETPWUID_R
   HAVE_GETRLIMIT
   HAVE_GETSPNAM
   HAVE_GETTEXT
   HAVE_GETTIMEOFDAY_TZ
   HAVE_GETUTXENT
   HAVE_GETXATTR
   HAVE_GLOB
   HAVE_GRANTPT
   HAVE_GSSAPI
   HAVE_GSS_DISPLAY_STATUS
   HAVE_HSTRERROR
   HAVE_ICONV
   HAVE_IFACE_GETIFADDRS
   HAVE_IF_NAMETOINDEX
   HAVE_IMMEDIATE_STRUCTURES
   HAVE_INET_ATON
   HAVE_INET_NTOA
   HAVE_INET_NTOP
   HAVE_INET_PTON
   HAVE_INITGROUPS
   HAVE_INITIALIZE_KRB5_ERROR_TABLE
   HAVE_INNETGR
   HAVE_INOTIFY
   HAVE_INOTIFY_INIT
   HAVE_INTPTR_T
   HAVE_IPV6
   HAVE_ISATTY
   HAVE_KERNEL_CHANGE_NOTIFY
   HAVE_KERNEL_OPLOCKS_LINUX
   HAVE_KERNEL_SHARE_MODES
   HAVE_KRB5
   HAVE_KRB5_AUTH_CON_SETUSERUSERKEY
   HAVE_KRB5_AUTH_CON_SET_REQ_CKSUMTYPE
   HAVE_KRB5_C_ENCTYPE_COMPARE
   HAVE_KRB5_C_VERIFY_CHECKSUM
   HAVE_KRB5_DEPRECATED_WITH_IDENTIFIER
   HAVE_KRB5_ENCRYPT_BLOCK
   HAVE_KRB5_ENCRYPT_DATA
   HAVE_KRB5_ENCTYPE_TO_STRING
   HAVE_KRB5_ENCTYPE_TO_STRING_WITH_SIZE_T_ARG
   HAVE_KRB5_FREE_DATA_CONTENTS
   HAVE_KRB5_FREE_HOST_REALM
   HAVE_KRB5_FREE_KEYTAB_ENTRY_CONTENTS
   HAVE_KRB5_FREE_UNPARSED_NAME
   HAVE_KRB5_FWD_TGT_CREDS
   HAVE_KRB5_GET_HOST_REALM
   HAVE_KRB5_GET_INIT_CREDS_OPT_ALLOC
   HAVE_KRB5_GET_INIT_CREDS_OPT_FREE
   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_PRINC_REALM
   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_LBER_LOG_PRINT_FN
   HAVE_LCHOWN
   HAVE_LDAP
   HAVE_LDAP_ADD_RESULT_ENTRY
   HAVE_LDAP_INIT
   HAVE_LDAP_INITIALIZE
   HAVE_LDAP_SASL_WRAPPING
   HAVE_LDAP_SET_REBIND_PROC
   HAVE_LGETXATTR
   HAVE_LIBCOM_ERR
   HAVE_LIBGSSAPI_KRB5
   HAVE_LIBK5CRYPTO
   HAVE_LIBKRB5
   HAVE_LIBLBER
   HAVE_LIBLDAP
   HAVE_LIBPAM
   HAVE_LIBRESOLV
   HAVE_LIBZ
   HAVE_LINK
   HAVE_LINUX_READAHEAD
   HAVE_LINUX_SPLICE
   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_MSGHDR_MSG_CONTROL
   HAVE_MUNLOCK
   HAVE_MUNLOCKALL
   HAVE_NANOSLEEP
   HAVE_NATIVE_ICONV
   HAVE_NL_LANGINFO
   HAVE_NO_ACLS
   HAVE_NO_AIO
   HAVE_OPEN64
   HAVE_PAM_GET_DATA
   HAVE_PAM_RADIO_TYPE
   HAVE_PAM_VSYSLOG
   HAVE_PATHCONF
   HAVE_PEERCRED
   HAVE_PIPE
   HAVE_POLL
   HAVE_POSIX_FADVISE
   HAVE_POSIX_FALLOCATE
   HAVE_POSIX_FALLOCATE64
   HAVE_POSIX_MEMALIGN
   HAVE_PRCTL
   HAVE_PREAD
   HAVE_PREAD64
   HAVE_PREAD_DECL
   HAVE_PRINTF
   HAVE_PTHREAD
   HAVE_PTRDIFF_T
   HAVE_PUTUTLINE
   HAVE_PUTUTXLINE
   HAVE_PWRITE
   HAVE_PWRITE64
   HAVE_PWRITE_DECL
   HAVE_QUOTACTL_LINUX
   HAVE_RAND
   HAVE_RANDOM
   HAVE_READAHEAD_DECL
   HAVE_READDIR64
   HAVE_READLINK
   HAVE_REALPATH
   HAVE_REMOVEXATTR
   HAVE_RENAME
   HAVE_SA_FAMILY_T
   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_SOCKETPAIR
   HAVE_SOCKLEN_T
   HAVE_SPLICE_DECL
   HAVE_SRAND
   HAVE_SRANDOM
   HAVE_SS_FAMILY
   HAVE_STAT64
   HAVE_STATVFS_F_FLAG
   HAVE_STAT_HIRES_TIMESTAMPS
   HAVE_STAT_ST_BLKSIZE
   HAVE_STAT_ST_BLOCKS
   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_STRTOULL
   HAVE_STRTOUQ
   HAVE_STRUCT_ADDRINFO
   HAVE_STRUCT_DIRENT64
   HAVE_STRUCT_FLOCK64
   HAVE_STRUCT_IFADDRS
   HAVE_STRUCT_SIGEVENT
   HAVE_STRUCT_SIGEVENT_SIGEV_VALUE_SIVAL_PTR
   HAVE_STRUCT_SOCKADDR
   HAVE_STRUCT_SOCKADDR_IN6
   HAVE_STRUCT_SOCKADDR_STORAGE
   HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
   HAVE_STRUCT_STAT_ST_RDEV
   HAVE_STRUCT_TIMESPEC
   HAVE_ST_RDEV
   HAVE_SYMLINK
   HAVE_SYSCONF
   HAVE_SYSLOG
   HAVE_SYS_QUOTAS
   HAVE_TEXTDOMAIN
   HAVE_TICKET_POINTER_IN_KRB5_AP_REQ
   HAVE_TIMEGM
   HAVE_UINTPTR_T
   HAVE_UNIXSOCKET
   HAVE_UNSETENV
   HAVE_UPDWTMP
   HAVE_UPDWTMPX
   HAVE_USLEEP
   HAVE_UTIMBUF
   HAVE_UTIME
   HAVE_UTIMES
   HAVE_VASPRINTF
   HAVE_VA_COPY
   HAVE_VOLATILE
   HAVE_VSNPRINTF
   HAVE_VSYSLOG
   HAVE_WAIT4
   HAVE_WAITPID
   HAVE_WRFILE_KEYTAB
   HAVE_XFS_QUOTAS
   HAVE_YP_GET_DEFAULT_DOMAIN
   HAVE_ZLIBVERSION
   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___NR_INOTIFY_INIT_DECL
   HAVE___OPEN
   HAVE___OPEN64
   HAVE___PREAD64
   HAVE___PWRITE64
   HAVE___READ
   HAVE___STAT
   HAVE___WRITE
   HAVE___XSTAT

 --with Options:
   WITH_ADS
   WITH_CIFSMOUNT
   WITH_CIFSUPCALL
   WITH_PAM
   WITH_PAM_MODULES
   WITH_QUOTAS
   WITH_SENDFILE
   WITH_SYSLOG
   WITH_UTMP
   WITH_WINBIND

 Build Options:
   BROKEN_NISPLUS_INCLUDE_FILES
   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
   LIBREPLACE_NETWORK_CHECKS
   LINUX
   LINUX_SENDFILE_API
   PACKAGE_BUGREPORT
   PACKAGE_NAME
   PACKAGE_STRING
   PACKAGE_TARNAME
   PACKAGE_VERSION
   REALPATH_TAKES_NULL
   REPLACE_GETPASS
   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
   SIZEOF_VOID_P
   STAT_STATVFS64
   STAT_ST_BLOCKSIZE
   STDC_HEADERS
   STRING_STATIC_MODULES
   SYSCONF_SC_NGROUPS_MAX
   SYSCONF_SC_NPROCESSORS_ONLN
   SYSCONF_SC_PAGESIZE
   SYSLOG_FACILITY
   TIME_WITH_SYS_TIME
   USE_SETREUID
   WITH_ADS
   WITH_CIFSMOUNT
   WITH_CIFSUPCALL
   WITH_PAM
   WITH_PAM_MODULES
   WITH_QUOTAS
   WITH_SENDFILE
   WITH_SYSLOG
   WITH_WINBIND
   _FILE_OFFSET_BITS
   _GNU_SOURCE
   _LARGEFILE64_SOURCE
   _POSIX_C_SOURCE
   _POSIX_SOURCE
   auth_script_init
   charset_CP437_init
   charset_CP850_init
   offset_t
   static_decl_auth
   static_decl_charset
   static_decl_gpext
   static_decl_idmap
   static_decl_nss_info
   static_decl_pdb
   static_decl_perfcount
   static_decl_rpc
   static_decl_vfs
   static_init_auth
   static_init_charset
   static_init_gpext
   static_init_idmap
   static_init_nss_info
   static_init_pdb
   static_init_perfcount
   static_init_rpc
   static_init_vfs
   uint_t
   vfs_acl_tdb_init
   vfs_acl_xattr_init
   vfs_audit_init
   vfs_cap_init
   vfs_catia_init
   vfs_default_quota_init
   vfs_dirsort_init
   vfs_expand_msdfs_init
   vfs_extd_audit_init
   vfs_fake_perms_init
   vfs_fileid_init
   vfs_full_audit_init
   vfs_netatalk_init
   vfs_preopen_init
   vfs_readahead_init
   vfs_readonly_init
   vfs_recycle_init
   vfs_scannedonly_init
   vfs_shadow_copy2_init
   vfs_shadow_copy_init
   vfs_smb_traffic_analyzer_init
   vfs_streams_depot_init
   vfs_streams_xattr_init
   vfs_syncops_init
   vfs_xattr_tdb_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 pdb_wbc_sam rpc_lsarpc rpc_winreg rpc_initshutdown rpc_dssetup rpc_wkssvc rpc_svcctl rpc_ntsvcs rpc_netlogon rpc_netdfs rpc_srvsvc rpc_spoolss rpc_eventlog rpc_samr idmap_ldap idmap_tdb idmap_passdb idmap_nss nss_info_template auth_sam auth_unix auth_winbind auth_wbc auth_server auth_domain auth_builtin auth_netlogond vfs_default


Let me know if you need more.
Comment 5 Giulius 2010-10-18 03:59:49 UTC
No others samba versions was present on the system.
Comment 6 Jeremy Allison 2011-01-11 17:14:34 UTC
Not a blocker bug for 3.5.7 - lowering priority. Looks like a configuration issue - Michael is investigating..

Jeremy.
Comment 7 Björn Jacke 2020-11-10 20:14:21 UTC
looks like a config problem, closing this bug report accordingly