winbind dual mode broken ?

Ken Cross kcross at nssolutions.com
Wed Apr 2 14:49:41 GMT 2003


Here's the patch (SAMBA_3_0):


Index: winbindd_dual.c
===================================================================
RCS file: /cvsroot/samba/source/nsswitch/winbindd_dual.c,v
retrieving revision 1.3.2.4
diff -p -u -r1.3.2.4 winbindd_dual.c
--- winbindd_dual.c     9 Nov 2002 04:36:43 -0000       1.3.2.4
+++ winbindd_dual.c     2 Apr 2003 14:48:18 -0000
@@ -160,6 +160,8 @@ void do_dual_daemon(void)
        }
        close(fdpair[1]);
        
+       winbindd_idmap_close();  /* KJC */
+
        if (!winbind_setup_common()) 
                _exit(0);
 


Ken
________________________________

Ken Cross

Network Storage Solutions
Phone 865.675.4070 ext 31
kcross at nssolutions.com 

> -----Original Message-----
> From: Guenther Deschner [mailto:gd at suse.de] 
> Sent: Wednesday, April 02, 2003 9:18 AM
> To: samba-technical at lists.samba.org
> Subject: winbind dual mode broken ?
> 
> 
> hello everybody,
> 
> is there a chance that winbinds dual mode is broken since 
> some time? i just can't get it to work any longer (i tested 
> todays HEAD with and without the new idmap-patch).
> 
> -----8<------------------snip--------------8<--------------
> 
> [2003/04/02 14:43:10, 3] 
> nsswitch/winbindd_idmap.c:winbindd_idmap_init(65)
>   winbindd_idmap_init: using 'tdb' as backend
> [2003/04/02 14:43:10, 2] tdb/tdbutil.c:tdb_log(721)
>   tdb(unnamed): tdb_open_ex: 
> /var/lib/samba/winbindd_idmap.tdb (774,0) is already open in 
> this process [2003/04/02 14:43:10, 0] 
> nsswitch/winbindd_idmap_tdb.c:tdb_idmap_init(288)
>   winbindd_idmap_init: Unable to open idmap database 
> [2003/04/02 14:43:10, 3] 
> nsswitch/winbindd_idmap.c:winbindd_idmap_init(79)
>   winbind_idmap_init: returning false
> 
> ----->8------------------snap-------------->8--------------
> 
> thanks,
> guenther
> -- 
> Guenther Deschner                                         gd at suse.de
> SuSE Linux AG                                        GnuPG: 8EE11688
> Berliner Str. 27                      phone:  +49 (0) 30 / 430944778
> D-13507 Berlin                           fax:  +49 (0) 30 / 43732804
> 



More information about the samba-technical mailing list