On Thu, Nov 07, 2002 at 07:30:32PM +1100, xfesty wrote: > Trying to auth users against a mysql database using pdb_mysql. Using > samba3.0 from CVS, running as a PDC. > > Few questions as well: In the "username column:", I'm assuming I need a > real unix user here? Can I have a whole bunch of "nt username" users > (i.e. non-unix users) in the mysql db to be auth'ed with samba, but > they're all using the same unix user? > > Do I also need a admin user (i.e. root/Administrator) in this mysql db > so I can join the 2K/XP machines onto the domain? Yep, you do.
Btw. The machine accounts are usually saved in the passdb, so if you switch to using the pdb_mysql, you need to join all machines to the domain *again* ( or use multiple passdb backends). > root@serber[/var/log/samba]# tail -f log.smbd > [2002/11/07 19:19:30, 0] passdb/pdb_plugin.c:pdb_init_plugin(51) > Failed to load sam plugin /usr/local/lib/pdb_mysql.so using > sys_dlopen (/usr/local/lib/pdb_mysql.so: undefined symbol: > pdb_get_init_flag) > [2002/11/07 19:19:30, 0] > passdb/pdb_interface.c:make_pdb_methods_name(397) > pdb backend plugin:/usr/local/lib/pdb_mysql.so:mysql did not > correctly init (error was NT_STATUS_UNSUCCESSFUL) > [2002/11/07 19:19:30, 1] > passdb/pdb_interface.c:make_pdb_context_list(475) > Loading plugin:/usr/local/lib/pdb_mysql.so:mysql failed! I see what causes this - there have been updates to pdb_mysql yesterday, so could you try again (the pdb_get_init_flag thing has been resolved, which causes all this) Jelmer -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba