Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119517 - samba mysql plugin 3.0.14a bug
Summary: samba mysql plugin 3.0.14a bug
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-19 01:36 UTC by Willem Verbruggen
Modified: 2006-01-19 15:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Willem Verbruggen 2006-01-19 01:36:55 UTC
This post might belong on a samba bug list more than on a gentoo bugzilla ...

I have been testing mysql support on samba 3.0.14a.  Results: totally broken.  From all table fields in the user table, only acct_ctrl, pass_can_change_time,pass_must_change_time,pass_last_set_time,lm_pw and nt_pw get filled in on user inserts.  So no uid, unix usernames etc.  Seen samba 3.0.14a also suffered from other bugs (no files visible in shares on windows while this problem does not exist with 3.0.20b), I installed ~x86 3.0.20b.  When using mysql plugin, I got an error in the user insert saying that column logon_hours is not known.  Indeed, it is not found in mysql.dump in the examples directory.  So I added a column with "alter table user add column logon_hours varchar(255)" to mysql.  Adding users and workstations works now just fine. Listing them with pdbedit -Lv gives no problems.  Except the following two problems:
- I can add the same workstation twice to the database user table
- when trying to log in to samba, I got the windows error:"Windows cannot connect to the domain, either because the domain controller is down or otherwise unavailable, or because your computer account was not found.  Please try again later.  It this message continues to appear, contact your system administrator for assistance."  Using the same installation with tdbsam works just fine.  Adding tdbsam to the samba "passdb backend= mysql:dbauth" setting does not allow me to login while using "passdb backend = tdbsam" alone does.
Comment 1 Christian Andreetta (RETIRED) gentoo-dev 2006-01-19 15:40:40 UTC
3.0.21 and (better) later should address many of these issues. Anyway, see comment #20 in [1]

[1] https://bugzilla.samba.org/show_bug.cgi?id=3351