[Samba] 3.0.10 mysql pdbedit
pstickney at pvpsc.com
Tue May 17 19:24:06 GMT 2005
That did it! I thought I had tried that, but apparently not. I guess
the only reason I was getting the host, user and database correctly
output from pdbedit was because it is the default values, and it wasnt
actually getting read from the conf file.
Sorry about hijacking this thread too. Accidental.
anton at abutsyk.sumy.ua wrote:
>Follow the sample come with samba source:
> netbios name = FOOBAR
> workgroup = TESTGROUP
> security = domain
> domain logons = yes
> domain master = yes
> passdb backend = plugin:/usr/local/samba/lib/pdb_mysql.so:mysql
> mysql:mysql host = rhonwyn
> mysql:mysql user = samba
> mysql:mysql password = ambas
> mysql:mysql database = samba
>In your smb.conf just replace as above:
> passdb backend = mysql:kodos
> kodos:mysql user = samba
> kodos:mysql password = samba
>>A little mysql/samba help if I can get it.
>>I'm running samba 3.0.10.
>>configured with : ./configure --with-mysql-prefix=/usr
>> netbios name= KODOS
>> passdb backend = mysql:mysql
>> kodos:mysql user = samba
>> kodos:mysql password = samba
>> kodos:mysql database = samba
>> kodos:domain column = 'PVPSC'
>> kodos:fullname column = CONCAT(firstname, ' ', surname);
>> kodos:lanman pass column = lm_pass;
>> kodos:nt pass column = nt_pass;
>> kodos:unknown 3 column = NULL
>>when I run "pbdedit -L" as a test of the mysql plugin I get:
>>Connecting to database server, host: localhost, user: samba, password: ,
>>database: samba, port: 3306
>>Failed to connect to mysql database: error: Access denied for user:
>>'samba at localhost' (Using password: NO)
>>pdb backend mysql:mysql did not correctly init (error was
>>Loading mysql:mysql failed!
>>What concerns me is the blank password that pdbedit returns. There is a
>>password defined it the conf file, but it looks like it doesn't make it
>>over to here. I made created the mysql user already:'
>>GRANT ALL PRIVILEGES ON samba.* TO 'samba'@'localhost' IDENTIFIED BY
>>'samba' WITH GRANT OPTION;
>>Anyone have a similiar issue? Or am I missing something simple?
>>To unsubscribe from this list go to the following URL and read the
Systems Administrator / Network Administrator / IT Specialist
Prescription & Surgical Center - Executive Offices - Long Term Care -
Phone: (401) 821-5721
Fax: (401) 822-1656 ATTN: Peter Stickney
*Pawtuxet Valley Executive Offices*
65 Sandy Bottom Rd.
Coventry, RI 02816
Phone: (401) 821-5721
Fax: (401) 822-1656
More information about the samba