Andreas Bauer
2005-Jun-15 21:45 UTC
[Samba] No builtin nor plugin backend for ldapsam found
Hello! i have some problems with my passdb backend and openladp-samba server. Logs, starting smb.conf: [2005/06/14 00:00:30, 0] smbd/server.c:main(798) smbd version 3.0.14a started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2005/06/14 00:00:30, 0] passdb/pdb_interface.c:make_pdb_methods_name(721) No builtin nor plugin backend for ldapsam found [2005/06/14 00:00:30, 1] passdb/pdb_interface.c:make_pdb_context_list(825) Loading ldapsam:ldap://localhost/ failed! Do I need one more package or packages? I installed the BerkeleyDB and the -devel , db packages my entry in the smb.conf with openldaplinking for passdb is: passdb backend = ldapsam:ldap://127.0.0.1 There is another problem as for the openldap backend and smb. My samba shares work for me, if I comment out "passdb backend ldapsam:ldap://127.0.0.1". They don't work for me, if the passdbline is inside! BTW, do I need a passdb backend for an openldapserver anyway or is there enough to edit the slapd.conf "database lbm" and the path to database: "directory /var/lib/ldap"? I have two sambas: samba 3.0.7 built from rpm packages and compilied samba 3.0.14a. The backend error do only appeare in samba 3.0.14a, not in the rpm 3.0.7. My system is: openldap 2.2.26, samaba 3.0.14a and 3.0.7., SuSE 9.2. Best regards Andreas
Andreas Bauer wrote:>Hello! >i have some problems with my passdb backend and openladp-samba server. >Logs, starting smb.conf: > >[2005/06/14 00:00:30, 0] smbd/server.c:main(798) > smbd version 3.0.14a started. > Copyright Andrew Tridgell and the Samba Team 1992-2004 >[2005/06/14 00:00:30, 0] passdb/pdb_interface.c:make_pdb_methods_name(721) > No builtin nor plugin backend for ldapsam found >[2005/06/14 00:00:30, 1] passdb/pdb_interface.c:make_pdb_context_list(825) > Loading ldapsam:ldap://localhost/ failed! >Do I need one more package or packages? > >I installed the BerkeleyDB and the -devel , db packages > >my entry in the smb.conf with openldaplinking for passdb is: >passdb backend = ldapsam:ldap://127.0.0.1 > >There is another problem as for the openldap backend and smb. >My samba shares work for me, if I comment out "passdb backend >ldapsam:ldap://127.0.0.1". >They don't work for me, if the passdbline is inside! >BTW, do I need a passdb backend for an openldapserver anyway or is there >enough to edit the slapd.conf "database lbm" and the path to database: >"directory /var/lib/ldap"? >I have two sambas: samba 3.0.7 built from rpm packages and compilied samba >3.0.14a. > >What options did you specify whith ./configure when you compiled 3.0.14a? Methinks you did NOT specify the --with-ldap options.>The backend error do only appeare in samba 3.0.14a, not in the rpm 3.0.7. >My system is: >openldap 2.2.26, samaba 3.0.14a and 3.0.7., SuSE 9.2. > >Best regards >Andreas > > > > > > >