Samba and system passwords should be synchronized.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Baltix) |
New
|
Undecided
|
Unassigned | ||
samba (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Samba is set up to export home directories automatically on a per user basis.
and as one would expect, you need your username and password to access those
directories. Unfortunately, the only way to activate the username and password
is to login and 'sudo smbpasswd -a'. The same is true if you create a share
independent of the home directories.
the user should not have to do this. I know all of the reasons why it happens
but for the relatively naïve user or the one just trying to get a job done, they
should not have to do this. The user password should be shared with Samba or at
least change the samba setup so that home directories are not exported
automatically, that the user must export their own home directory explicitly and
in the process enter their password so that everything will work as expected.
the same thing should be true for shares shared between groups of users. It
should be possible to say "this share has these members in common". Yes, I'm
heading towards ubuntu as a general-purpose samba server. :-)
To reproduce:
1 ubuntu system
1 xp system
use existing or create user ubuntu account
from Windows XP machine, view workgroup computers.
select ubuntu machine.
at this point you should be given a prompt to enter username and password
enter the ubuntu username and corresponding password
it should be rejected
login to window on ubuntu machine and in terminal window type:
smbpasswd -a <ubuntu username>
enter password
try again to access the share with the username and password used above and it
should succeed.
as I said the user should not have to do this. synchronizing or entering
passwords should be a normal part of the share exportation process.
Maybe SMB can use PAM?