search for: pdb_mysql

Displaying 20 results from an estimated 46 matches for "pdb_mysql".

2004 Apr 18
1
Samba 3.0.3pre2 & MySQL compilation problem
...mpile Samba with MySQL passdb backend: Linking bin/smbcquotas Linking bin/smbmount Linking bin/wbinfo Compiling dynconfig.c with -fPIC Linking nsswitch/libnss_wins.so Linking libsmbclient non-shared library bin/libsmbclient.a Linking libsmbclient shared library bin/libsmbclient.so Compiling passdb/pdb_mysql.c with -fPIC passdb/pdb_mysql.c:21:25: mysql/mysql.h: No such file or directory passdb/pdb_mysql.c:35: parse error before "MYSQL" passdb/pdb_mysql.c:35: warning: no semicolon at end of struct or union passdb/pdb_mysql.c:36: warning: data definition has no type or storage class passdb/pdb_...
2002 Nov 04
2
MySQL authentication & kickoff time?
Hiya. I'm in the middle of (re)developing a authentication system for an internet cafe here in Sydney. By complete accident I discovered the PDB MySQL plugin for samba yesterday in CVS - amazing. Haven't tried this yet (waiting for samba to compile on a really slow machine, heh) but it looks great. Is anybody using this? Would you recommend it for use in a heavy use type
2002 Nov 07
1
pdb_mysql isn't working for me :-(
Hiya... 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...
2004 Aug 11
4
pdb_mysql.so?
This has probably been asked before, but where is pdb_mysql.so? Utilizing the current FC2 kernel.org update. -- Raymond
2003 Sep 27
1
pdb_mysql question...
Hello everybody, First of all, congratulations on samba 3.0 :o) Iam trying to install samba 3.0 with pdb_mysql support though im getting some trouble i cant understand. After reading the output of ./configure --help, i used the following configure args: ./configure --with-expsam=xml,mysql --with-pam --with-pam_smbpass make make install then i took a look at ./examples/pdb/mysql/smb.conf and: root@auth /us...
2002 Nov 07
1
smbpasswd (adding machines?) with pdb_mysql doesn't work
...aving fun with his mysql module - it appears to read from the mysql database fine, but I can't seem to add machine accounts (and I can't get too far unless I do this). It might also be my own stupidity too - let me know ;-) I've got a machine called "bbmachine" - without pdb_mysql, I can join the domain no problems. However, I need to rejoin the machines to the domain once I use pdb_mysql. Just inserting a machine account into the mysql database (username, nt username, password) doesn't work, so I thought I'd try smbpasswd - I get this error. root@serber[/...
2005 Sep 26
0
[Fwd: Re: Samba with Mysql, Compilation of version 3.0.11]
...d to previous bug, i have corrected few things from util.c, 3 char* data structures were defined more than one time so i commented them in code, it seem to compile now... data_path state_path cache_path Thanks anyway. Pierre (C)ollen wrote: > pdb_sql.c is the new mysql backend name > (was pdb_mysql) so it does get compiled... > but this output shows that you still use 3.0.20. > and that's not the best version for mysql backends...! > > i must note that i have made a small mistake regarding the > --enable-static=pdb_mysql. > > it's --with-static-modules=pdb_mysql ....
2005 Sep 23
1
pdb_mysql, pdb_pgsql and pdb_xml modules: request for maintainer
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! The experimental pdb modules (pdb_mysql, pdb_pgsql and pdb_xml) have been a bit neglected during the last few releases of Samba 3 as they haven't been actively maintained. I was the original author and maintainer, but I no longer work on Samba 3 and I no longer use any of the modules in production. I'll remove these modules unle...
2005 Sep 21
2
Samba with Mysql, compilation problem.
...new warm .deb packages (after i fixed some lacky dependencies, i had to make a fake mysql-common package by myselve, because i already had mysql installed from sources and did not want to install the deb package, etc...). I'm now totally lost, i have try everything and i can't get this pdb_mysql.so "plugin" ready :( So maybe i have miss something, maybe there is another way to make it as i wish to be, maybe there is a simple way to indirectly link samba to mysql with pam (I don't know PAM rules at all, i neither don't know how it works). It has been 4 days i'm lo...
2004 Apr 19
1
Samba + pdb_mysql - password hashes disappearing?
...ayaw. [2004/04/19 15:56:23, 3] libsmb/ntlm_check.c:ntlm_password_check(294) ntlm_password_check: NEITHER LanMan nor NT password supplied for user grayaw Finding this odd (since the hashes are in the database, and correct), I added a lot of debugging, specifically in row_to_sam_account in passdb/pdb_mysql.c at line 105: if (pdb_gethexpwd(row[20], temp)) { DEBUG(0, ("Got LANMAN password %s\n", temp)); pdb_set_lanman_passwd(u, temp, PDB_SET); } (I have done the same things with the LANMAN and NT hashes throughout - same results with both, but only listing LANMAN for brevit...
2004 Mar 04
1
where is the pdb_mysql.so
i download samba3.02 source tar package from samba.org , do the below steps on my freebsd5.2 #./configure --with-mysql-prefix=/usr/local/mysql #.... #make #.... #make install #..... after install, i add a user: #pdbedit -a billy then use the simple smb.conf [global] security=user [tmp] path=/tmp guest ok=yes everything is ok, i can access this samba server using windows client.
2005 Aug 21
2
pdb_mysql.c | SQL insert command missing data
The MYSQL pdb addon for samba appears to have had an error since version 3.0.12. In doing some investigations with 3.0.20 and 3.0.14-r3 I have found that the smbpasswd command does not create a query that adds enough information to the database. smbpasswd -a username causes 2 queries to be performed. The first of the two looks for an existing user and that does check all of the appropriate fields,
2003 Oct 09
3
Mysql + Samba, please help....
...local/samba --with-expsam=xml,mysql --with-pam --with-pam_smbpass after install i try ./pdbedit -L and i get the following error No builtin nor plugin backend for mysqlsam found Loading mysqlsam failed! my config file ...... passdb backend = mysqlsam ;passdb backend = plugin:/usr/local/samba/lib/pdb_mysql.so:mysql ;passdb backend = mysql:mysql mysql:mysql host = localhost mysql:mysql user = root mysql:mysql password = alexander mysql:mysql database = samba ........ i try many variants .... but get the same error No builtin nor plugin backend for mysqlsam found Loading mysqlsam failed! Any idea ?...
2004 Nov 18
0
Trouble compiling / using mysql plugin on FreeBSD 4.8
...ogling and tried: ./configure --with-krb5=/usr/heimdal --with-mysql-prefix=/usr/local/db/mysql --with-expsam=mysql Which doesn?t work as I think it starts to build pieces of nss_switch or winbind, which don?t work on FreeBSD 4.8 After more reading I saw someone reference manually running: make bin/pdb_mysql.so But this didn?t work either After much experimentation and reading of Makefile I did this: make passdb/pdb_mysql.o make bin/mysql.so cp /home/sysop/wce-install/samba-3.0.8/source/bin/mysql.so /usr/local/samba/lib So it seems the name has changed from pdb_mysql.so to mysql.so? However I?m sti...
2005 Oct 13
2
mysql backend create user problem
...= bmais_or_id bmais:domain column = 'bmais.or.id' bmais:username column = pw_name: bmais:nt username column = pw_name: bmais:fullname column = pw_gecos: bmais:lanman pass column = pw_passwd: I assume the fields that are not being specify would follow pdb_mysql default values, isn't it? can someone give pointer what's wrong? pardon my explanation. if anything is unclear, i would be more than happy to elaborate more. Thanks
2004 Apr 13
0
v3.0.2a: can't login into domain after switching to pdb_mysql
Hello list.samba.org FreeBSD-5.2.1, samba from port with tdbsam-backend configured as PDC Everything is working fine: i.e. registering at samba domain and logging on to it, but after I switch to mysql-backend (pdb-mysql) I can only successfully register my Windows 2k3 at Samba domain (messagebox 'Welcome to slavel.ru domain' has appiered), i.e. can successfully change domain of my
2004 Jan 26
3
Samba and Oracle directory
Hello ! Does anyone already configured samba 3 with Oracle directory ? Is it possible ? Does anyone has any link to an existing schema ? Thanks for any comment :) -- J?r?me
2005 Aug 21
1
MySQL/Postgres pdb: cannot add new users
Hello everyone, Hello Jelmer, in 3.0.20, it still is not possible to add new users using pdbedit. See bug report at https://bugzilla.samba.org/show_bug.cgi?id=2531 In 3.0.14a it was possible to copy pdb_sql.c and pdb_mysql.c from 3.0.11 and it worked, but this workaround does not help anymore, as the files seem to be incompatible. Jelmer, could you please have a look at this one? I consider this being very important. I can help you debug and test this, but as I am not a programmer, I need your help to get it fixed....
2005 Jun 22
0
crypt password authenticate method (passdb or pam)?
Hi, I'm trying to put my samba to authenticate users into a mysql database. I've started to use passdb and I did mapped the main fields and also did some change at pdb_sql.c code to match my needs. Well, the problem is that I can't found a way to use crypt passwords with mysql using pdb_mysql, actually the type of passwords I'm allowed to use are "plain password", "lanmanager password" or "nt password". By the way I just could use "plain password", the other ways doesn't authenticate, just generate passwords. Since I think that to make...
2003 Oct 01
0
samba - other mysql errors
...file (loglevel = 2 auth:2): [2003/10/01 20:42:04, 2] passdb/pdb_interface.c:make_pdb_methods_name(437) No builtin backend found, trying to load plugin [2003/10/01 20:42:04, 2] lib/module.c:do_smb_load_module(64) Module '/usr/lib/samba/pdb/mysql.so' loaded [2003/10/01 20:42:04, 1] passdb/pdb_mysql.c:mysqlsam_init(922) Connecting to database server, host: localhost, user: samba, password: bullshit, database: tux_net, port: 3306 [2003/10/01 20:42:04, 2] passdb/pdb_interface.c:make_pdb_methods_name(437) No builtin backend found, trying to load plugin [2003/10/01 20:42:04, 2] lib/module.c:do...