[nflug] Samba/MySQL Woes
Cyber Source
peter at thecybersource.com
Fri Aug 15 23:05:18 EDT 2008
http://ckdake.com/projects/documentation/sambamysql
Robert Wolfe wrote:
> Good afternoon all.
>
> Trying to get Samba working with MySQL for an authentication backend.
> However, not having any luck. When O go to start Samba, I get the
> following log.smbd:
>
> [2008/08/15 14:03:58, 0] smbd/server.c:main(847)
> smbd version 3.0.24 started.
> Copyright Andrew Tridgell and the Samba Team 1992-2006
> [2008/08/15 14:03:58, 0] printing/pcap.c:pcap_cache_reload(159)
> Unable to open printcap file /etc/printcap for read!
> [2008/08/15 14:03:58, 0] printing/pcap.c:pcap_cache_reload(159)
> Unable to open printcap file /etc/printcap for read!
> [2008/08/15 14:03:58, 0]
> passdb/pdb_interface.c:make_pdb_method_name(174)
> No builtin nor plugin backend for mysql found
> [2008/08/15 14:03:58, 0] lib/util.c:smb_panic(1599)
> PANIC (pid 30892): pdb_get_methods_reload: failed to get pdb methods
> for backend mysql:localhost
>
> [2008/08/15 14:03:58, 0] lib/util.c:log_stack_trace(1706)
> BACKTRACE: 7 stack frames:
> #0 /usr/sbin/smbd(log_stack_trace+0x23) [0x822c3d3]
> #1 /usr/sbin/smbd(smb_panic+0x46) [0x822c4c6]
> #2 /usr/sbin/smbd [0x81eafd1]
> #3 /usr/sbin/smbd(initialize_password_db+0xe) [0x81eb01e]
> #4 /usr/sbin/smbd(main+0x591) [0x82c2d01]
> #5 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8) [0xb7bf1ea8]
> #6 /usr/sbin/smbd [0x8082b11]
> [2008/08/15 14:03:58, 0] lib/fault.c:dump_core(173)
> dumping core in /var/log/samba/cores/smbd
>
> Here is the relevant smb.conf file section:
>
> [global]
> passdb backend = mysql:localhost
>
> localhost:domain column = 'LOCALDOMAIN':
> server string = samba file services at LOCALNET
> security = USER
> encrypt passwords = No
> update encrypted = No
> allow trusted domains = Yes
> null passwords = No
> localhost:mysql host = localhost # can be changed to remote host
> localhost:mysql password =
> localhost:mysql user = root
> localhost:mysql database = samba_auth
> localhost:mysql port = 3306
> localhost:table = user
>
> Any light anyone can shed on this would be greatly appreciated.
>
>
More information about the nflug
mailing list