[Samba] smbpasswd (adding machines?) with pdb_mysql doesn't work
Jelmer Vernooij
jelmer at nl.linux.org
Thu Nov 7 18:32:00 GMT 2002
On Fri, Nov 08, 2002 at 04:17:59AM +1100, xfesty wrote about '[Samba] smbpasswd (adding machines?) with pdb_mysql doesn't work':
> Hiya.
> Still having 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.
> Are the ";"'s meant to be there?
Nope, they aren't. Your smb.conf is wrong.
> Looking at the above, there's a "acct_ctrl" column its trying to read
> out of - this ISN'T mentioned in the README for the module (only
> acct_desc). What identifier:blah blah column do I use for this, and
> why isn't it mentioned?
I think I meant acct_desc.
> mysql:nt username column = ntusername;
Remove the ;...
Jelmer
--
Jelmer Vernooij <jelmer at nl.linux.org> - http://nl.linux.org/~jelmer/
19:30:46 up 3:04, 7 users, load average: 0.00, 0.00, 0.00
More information about the samba
mailing list