[Samba] samba + mysql

2005-12-11 Thread Corcalciuc V. Horia
Hello, I've recently tried to change samba (Version 3.0.20b) from smbpasswd auth to mysql(5) auth using a remote mysql server. To generate my database table I used the supplied file in the samba vanilla distribution under examples/pdb/mysql called 'mysql.dump'. Then I used pdbedit -i smbpas

Re: [Samba] Samba+MySQL+Apache Authentication = possible?

2005-08-30 Thread (C)ollen
Where can 'mod_ntlm_winbind' be found ??? Greetz Collen Andrew Bartlett wrote: On Mon, 2005-08-29 at 08:56 +0200, (C)ollen wrote: Hmm, must be do-able, there are several modules for apache available. mod_ntlm for example.. lets you authenticate against a PDC (pref. samba) nomather what back

Re: [Samba] Samba+MySQL+Apache Authentication = possible?

2005-08-29 Thread Andrew Bartlett
On Mon, 2005-08-29 at 08:56 +0200, (C)ollen wrote: > Hmm, must be do-able, > > there are several modules for apache available. > mod_ntlm for example.. lets you authenticate against a PDC (pref. samba) > nomather what backend you use. I strongly recommend against the use of mod_ntlm (and likewise

RE: [Samba] Samba+MySQL+Apache Authentication = possible?

2005-08-29 Thread Bruno Guerreiro
2005 5:44 To: samba@lists.samba.org Subject: [Samba] Samba+MySQL+Apache Authentication = possible? Good evening, I don't know if this is the right place to ask... but I gotta start somewhere.. I have Samba setup as a PDC for my domain using the MySQL passdb backend for authentication. I

Re: [Samba] Samba+MySQL+Apache Authentication = possible?

2005-08-29 Thread (C)ollen
Hmm, must be do-able, there are several modules for apache available. mod_ntlm for example.. lets you authenticate against a PDC (pref. samba) nomather what backend you use. there are also some PAM modules around, so you can setup apache to use PAM for authentication, and then you let PAM use t

[Samba] Samba+MySQL+Apache Authentication = possible?

2005-08-28 Thread Martin Lefebvre
Good evening, I don't know if this is the right place to ask... but I gotta start somewhere.. I have Samba setup as a PDC for my domain using the MySQL passdb backend for authentication. I would also like to use other components such as mod_auth_mysql for apache authentication. Is there a way

[Samba] Samba & MySQL db Server

2003-12-02 Thread dpgirago
Hello Samba Users, Could someone kindly tell me how a database server (like MySQL) is integrated and used with Samba? I've read the O'Reilly book, 'Using SAMBA' but this topic was not covered. A link , reference(s), or suggested reading also works for me. TIA, dave -- To unsubscribe from thi

Re: [Samba] Samba + MySQL

2003-11-25 Thread alain . bonnefoy
Hi Ben, > I can't seem to exclude fields from the database that I won't be using. > For instance, when I don't include the "unkown 6 column", I get the > following error when executing `smbpasswd -a user`: > > Error while executing MySQL query Unknown column 'unknown_str' in > 'field list' >

Re: [Samba] Samba + MySQL

2003-11-25 Thread Ben Davis
That's the query for receiving the data that is failing. What have you set the 'unknown 5 column' to? Here are the columns I've set to null in my smb.conf file: ("users" is the mysql identifier). users:plain pass column = NULL users:unknown 6 column = NULL users:acct desc co

Re: [Samba] Samba + MySQL

2003-11-25 Thread Jelmer Vernooij
Hi Ben, On Tue, Nov 25, 2003 at 10:29:48AM -0600, Ben Davis wrote about 'Re: [Samba] Samba + MySQL': > >If you don't want to store this field in the database, set the value of > >'identifier:unknown string column' to NULL: > The INSERT query execut

Re: [Samba] Samba + MySQL

2003-11-25 Thread Ben Davis
If you don't want to store this field in the database, set the value of 'identifier:unknown string column' to NULL: I forgot to mention that I did that for those fields, and after a little more troubleshooting I found that in order to add a user, the columns "logon_divs" "hours_len" are re

Re: [Samba] Samba + MySQL

2003-11-25 Thread Jelmer Vernooij
Hi Ben, > I can't seem to exclude fields from the database that I won't be using. > For instance, when I don't include the "unkown 6 column", I get the > following error when executing `smbpasswd -a user`: > > Error while executing MySQL query Unknown column 'unknown_str' in > 'field list' > >

[Samba] Samba + MySQL

2003-11-25 Thread Ben Davis
I'm having some trouble setting up the config file for samba + mysql. I've got most everything working, but I'm a bit confused about how I'm supposed to set up the database. If anyone knows someone else who can better answer this question, please forward this message. I can't seem to exclude

[Samba] samba - mysql errors

2003-10-01 Thread Collen
G'day.. just trying to make it all work as a pdc-bdc with mysql as backend basicly samba runs now with mysql 3.2XXX the prob are when i tried to connect with usermanager from a wind*s box i get an error "The Stub Received Bad Data" if i switch to tdbsam, no worry it works.. no probs when i make