[Bug 24184] Re: Samba and system passwords should be synchronized.

2010-01-17 Thread aa
I completely agree.  I have occasionally had this problem with Ubuntu
samba and gave up on it, not knowing what combination finally got it
working when it did.  I almost gave up on it after the last new install.
I never considered installing Nautilus in a certain order.  I just did
the default install and installed what I needed and sometimes it worked.

This got me going easy and simple.  Thank you!

-- 
Samba and system passwords should be synchronized.
https://bugs.launchpad.net/bugs/24184
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 24184] Re: Samba and system passwords should be synchronized.

2010-01-17 Thread aa
I completely agree.  I have occasionally had this problem with Ubuntu
samba and gave up on it, not knowing what combination finally got it
working when it did.  I almost gave up on it after the last new install.
I never considered installing Nautilus in a certain order.  I just did
the default install and installed what I needed and sometimes it worked.

This got me going easy and simple.  Thank you!

-- 
Samba and system passwords should be synchronized.
https://bugs.launchpad.net/bugs/24184
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 24184] Re: Samba and system passwords should be synchronized.

2009-10-25 Thread Jackflap
I just tested this in Karmic and this is broken again.

I could not access a share I created through nautilus until I ran sudo
smpasswd and added my user to the smb user db.

-- 
Samba and system passwords should be synchronized.
https://bugs.launchpad.net/bugs/24184
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 24184] Re: Samba and system passwords should be synchronized.

2009-10-25 Thread Jackflap
This only occurs if you have samba installed prior to nautilus
installing it for you. See
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/460256

-- 
Samba and system passwords should be synchronized.
https://bugs.launchpad.net/bugs/24184
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 24184] Re: Samba and system passwords should be synchronized.

2009-10-25 Thread Jackflap
I just tested this in Karmic and this is broken again.

I could not access a share I created through nautilus until I ran sudo
smpasswd and added my user to the smb user db.

-- 
Samba and system passwords should be synchronized.
https://bugs.launchpad.net/bugs/24184
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 24184] Re: Samba and system passwords should be synchronized.

2009-10-25 Thread Jackflap
This only occurs if you have samba installed prior to nautilus
installing it for you. See
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/460256

-- 
Samba and system passwords should be synchronized.
https://bugs.launchpad.net/bugs/24184
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 24184] Re: Samba and system passwords should be synchronized.

2008-04-11 Thread Steve Langasek
I believe you will find that this bug is now resolved in hardy. :)  If
you install the samba server task, or if you use nautilus-share to
manage shares, the libpam-smbpass package will automatically be pulled
in, causing passwords to be synchronized between the system and Samba
password stores from that point on.

This is not installed by default because NTLM password hashes are weaker
than standard md5 passwords on disk, and because the Ubuntu policy is to
not listen on any ports by default; but if you choose to configure
filesharing, it should now be pretty seamless going forward.


** Changed in: samba (Ubuntu)
   Status: Confirmed = Fix Released

-- 
Samba and system passwords should be synchronized.
https://bugs.launchpad.net/bugs/24184
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 24184] Re: Samba and system passwords should be synchronized.

2007-05-31 Thread Max
The cleanest way to do this is to not use /etc/passwd or the smb
database and switch the entire user/password infrastructure to LDAP.
This would of course be quite a large undertaking as it would affect
much more than just SAMBA, but it might be well worth it for future
growth, especially when it comes to enterprise use.

-- 
Samba and system passwords should be synchronized.
https://bugs.launchpad.net/bugs/24184
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 24184] Re: Samba and system passwords should be synchronized.

2007-05-23 Thread Huygens
Thank you Eric for your work :-) that is a nice initiative.

However, there is a caveat with your approach and the one taken in Bug 103708. 
The problem is that it tends to associate a share with a credential. 
Nevertheless, credentials in Samba are samba-wide, meaning there can only be 
one login/password combination for all the shares in Samba. So if the user set 
a specific login for share A and define the password. When later he wants to 
create a new share (let's call it B), and he wants to access it using the same 
specific login, there is no need for him to use the same password.
If we had the user credentials definition in the GUI that share a folder, we 
will make the end-user think that a credential is bound to a share, which is 
not the case in Samba configuration (apart a few exceptions like home 
directories).

So a more logical place would be a central Samba configuration GUI like
the one which can be found in System-Administration-Shared folders.
Where you can click to set Samba-wide settings such as the
domain/workgroup for the computer, etc. However, in the end-user logic,
this is not the expected place, and if we put it here, I'm sure we will
find countless forum posts about where to set Samba password.

A work-around solution would be to present to a user when he first
shares a folder a specific GUI where he can set Samba-wide parameters
(such as the domain/workgroup and his credentials). There is however
another caveat, which is when there are multiple user at home. If user A
install Ubuntu and share folder /tmp. User B, who is using another
machine on the network and who knows about the share, wants to access
it. User B enters his login name and password and the access is refused.
User A would then need to understand that he should create a local user
named B and then create the Samba credentials. Unless he is an IT guy,
this might not be obvious to him.

Another idea could be have a simplified sharing mechanism for home users. Where 
a guest account is activate by default so when a share is opened, people on 
their network can view them (but not modified them). Then we could imagine that 
the smbpasswd would be automatically created when a user is created (meaning 
also in the Ubuntu installation process). If a user set his login credentials, 
he could then access read/write the shares.
There are some caveats to that, mainly for SOHO, Enterprises and enthusiasts 
where they do not want to have a smb account for each user they are creating. 
They probably do not want the guest account thing, etc.

So, I do not have solution to this problem. The approach of Windows (at
least until XP, I have not seen Vista yet) is equally not satisfying, so
we cannot get inspiration from there. As for how the case is handle on a
Mac, I have no clue! What about the other Linux distro or the BSD*? Does
anyone knows how it is done on them?

-- 
Samba and system passwords should be synchronized.
https://bugs.launchpad.net/bugs/24184
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 24184] Re: Samba and system passwords should be synchronized.

2007-05-23 Thread Eric S. Johansson
Huygens wrote:
 Thank you Eric for your work :-) that is a nice initiative.

Glad to be of help.  I'm also making trouble in the anti-spam (reputation-based)
arena and small-scale Web frameworks (learn hours, not days or weeks), and 
speech recognition-based accessibility.
 
 However, there is a caveat with your approach and the one taken in Bug
 103708. The problem is that it tends to associate a share with a credential.
 Nevertheless, credentials in Samba are samba-wide, meaning there can only
 be one login/password combination for all the shares in Samba. So if the user
 set a specific login for share A and define the password. When later he wants
 to create a new share (let's call it B), and he wants to access it using the
 same specific login, there is no need for him to use the same password. If we
 had the user credentials definition in the GUI that share a folder, we will
 make the end-user think that a credential is bound to a share, which is not
 the case in Samba configuration (apart a few exceptions like home
 directories).

Are you referring to the Ubuntu's Samba implementation or Samba in general?  I 
have set up Samba with different credentials for different shares and not just 
with the home directory.  This is why I thought about binding credentials to a 
share.  If you want to have multiple credentials associated with a share, Samba 
has a way of creating groups.

As for associating a set of credentials with a share, I don't think that's bad. 
  We need some mechanism that the user will be driven to to enter credentials 
for sharing.  If we don't do that, people will not set their share username and 
password.  Maybe, the user model would be forcing the user to enter a username 
and password if there is none and giving them the option to set different 
usernames and passwords if one exists.

The workflow would be something like:

Create the first share with Mandatory username password before accepting share 
definition

Create second share

optional username password but user is notified of that option and given the 
ability to set username and password on the share dialog box (don't make me 
click another button please, my hands hurt)

 
 So a more logical place would be a central Samba configuration GUI like the
 one which can be found in System-Administration-Shared folders. Where you
 can click to set Samba-wide settings such as the domain/workgroup for the
 computer, etc. However, in the end-user logic, this is not the expected
 place, and if we put it here, I'm sure we will find countless forum posts
 about where to set Samba password.

Which is why it belongs on the user form to create a share.  It's horrible but 
one must always accept that the user hate surprises it wants to be led by the 
nose.  To those of us who grew up using command lines, it's anathema.  To 
people 
like my wife it's comfort.

 A work-around solution would be to present to a user when he first shares a
 folder a specific GUI where he can set Samba-wide parameters (such as the
 domain/workgroup and his credentials). There is however another caveat, which
 is when there are multiple user at home. If user A install Ubuntu and share
 folder /tmp. User B, who is using another machine on the network and who
 knows about the share, wants to access it. User B enters his login name and
 password and the access is refused. User A would then need to understand that
 he should create a local user named B and then create the Samba credentials.
 Unless he is an IT guy, this might not be obvious to him.

Exactly.  It's even confusing to me at times until I slap my forehead
etc.

 Another idea could be have a simplified sharing mechanism for home users.
 Where a guest account is activate by default so when a share is opened,
 people on their network can view them (but not modified them). Then we could
 imagine that the smbpasswd would be automatically created when a user is
 created (meaning also in the Ubuntu installation process). If a user set his
 login credentials, he could then access read/write the shares. There are some
 caveats to that, mainly for SOHO, Enterprises and enthusiasts where they do
 not want to have a smb account for each user they are creating. They probably
 do not want the guest account thing, etc.

That also has the serious privacy issues.  I have stumbled across peoples 
machines that are sharing the entire C drive and had access to their e-mail. 
So, I'm really not comfortable with the guest idea especially if the user gets 
to set the share directory.  Another possibility if you're not comfortable with 
my idea from above is to create a default username and password when the first 
account is created so that if they share their own directories, they use their 
own username and password.  I'm not comfortable with that on a couple of levels 
but I could live with it.

A third option is to add to the share dialog box a button labeled share with 
others.  This box would bring up a spreadsheet like 

[Bug 24184] Re: Samba and system passwords should be synchronized.

2007-05-22 Thread Eric S. Johansson
in bug 103708 Jonathan Watmough  posted a small image showing where one
could put a user's button to activate what users are associated with
what shares.   what Jonathan is concerned with is an important problem,
it's just not this problem.  I propose adding two more fields to the
basic dialog box (see attached) so that one can specify the user and
password combination one would use to access that share.  if you want
multiple users and passwords for a share, one could extend this dialogue
to have a tabular box for user name and password type information.

I apologize for the crudeness of the image but I have an upper extremity
disability plus significant tremors which makes it hard to control mouse
etc. and then I further handicapped myself by doing this in Windows
paint.

** Attachment added: smbauth.bmp
   http://librarian.launchpad.net/7748600/smbauth.bmp

-- 
Samba and system passwords should be synchronized.
https://bugs.launchpad.net/bugs/24184
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 24184] Re: Samba and system passwords should be synchronized.

2007-04-10 Thread Huygens
A suggestion could also be that when a user set up a new share, it is asked to 
specify which account can access it, and if one or some of this accounts do not 
have a Samba encrypted password, a a graphical front-end to smbpasswd should 
come up and ask the user to specify for those account a password.
Of course, sudo authentication might apply in this case.

I think this bug should be moved from wishlist to Feisty+1 mandatory, because I 
am helping countless user with this issue on the Ubuntu forums! The main 
feedback from those who write one is that it is almost impossible for them to 
figure out such tricks, also using the command line to be able to share 
directories is probably not for human beings or let's say that it does not 
just work ;-)
My deep apologise to have re-use Ubuntu well known moto, but I hope to promote 
this bug to a higher priority :-)

-- 
Samba and system passwords should be synchronized.
https://bugs.launchpad.net/bugs/24184
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 24184] Re: Samba and system passwords should be synchronized.

2007-04-10 Thread Rob Caskey
https://wiki.ubuntu.com/SimpleSambaIntegrationSpec should provide a
solution to this problem, can someone please review it?

-- 
Samba and system passwords should be synchronized.
https://bugs.launchpad.net/bugs/24184
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 24184] Re: Samba and system passwords should be synchronized.

2007-04-10 Thread tobyadams87
Definitely a mandatory addition to a near future release of ubuntu!!!

-- 
Samba and system passwords should be synchronized.
https://bugs.launchpad.net/bugs/24184
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 24184] Re: Samba and system passwords should be synchronized.

2007-04-10 Thread Huygens
About the SimpleSamba spec. The major technical problem would be that it is not 
possible (to the extend of my knowledge) to synchronise already set user 
passwords with Samba once it is installed. The reason is that the passwords are 
kept in a hash form, thus they cannot be decrypted to be sync with Samba. Thus, 
after installing Samba, each user would have to enter its password to enable 
its user account.
So the implementation of the spec might be pretty difficult, unless Samba could 
use the same authentication back-end as the system login...

-- 
Samba and system passwords should be synchronized.
https://bugs.launchpad.net/bugs/24184
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 24184] Re: Samba and system passwords should be synchronized.

2007-04-10 Thread Jerry Haltom
Samba cannot use the same back-end.

But this isn't that big of a deal, the user would just need to change
his password once before he would be allowed to use those services. UI
would have to be made to instruct the user to do so, perhaps before
enabling any file shares.

On Tue, 2007-04-10 at 13:50 +, Huygens wrote:
 About the SimpleSamba spec. The major technical problem would be that it is 
 not possible (to the extend of my knowledge) to synchronise already set user 
 passwords with Samba once it is installed. The reason is that the passwords 
 are kept in a hash form, thus they cannot be decrypted to be sync with Samba. 
 Thus, after installing Samba, each user would have to enter its password to 
 enable its user account.
 So the implementation of the spec might be pretty difficult, unless Samba 
 could use the same authentication back-end as the system login...


-- 
Samba and system passwords should be synchronized.
https://bugs.launchpad.net/bugs/24184
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 24184] Re: Samba and system passwords should be synchronized.

2007-04-10 Thread Rob Caskey
And more importantly, this spec would hash the passwords by pam as users
were created initially so that every _new_ install would have working
samba users, as well as upgraded users who had changed their passwords.
I'll clarify this on the spec.

So, if you buy a new machine, do a fresh install of Feisty, and then
install samba, you will be able to log in immediately to samba because
your password was hashed in the format samba needs when you first set
your password, even though samba wasn't installed. The hash is there
waiting for samba when/if samba is installed.

-- 
Samba and system passwords should be synchronized.
https://bugs.launchpad.net/bugs/24184
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 24184] Re: Samba and system passwords should be synchronized.

2007-04-10 Thread Eric S. Johansson
I've been thinking about this problem a bit more since I filed the
initial bugs and I think password synchronization is only part of the
problem.

The initial thought was for a naïve user.  A naïve user wants to export
a share so he/she can use it from another machine.  They might even give
their password to other people so they can access the share.  A more
advanced user would want more control over who gets their password and
what people can access the share.

I believe the advanced user configuration is something that can be
implemented relatively easily.  It would require modifying the share
folder dialog box to have three additional fields.  Two of the field
would be password and password confirmation and the third would be a
list of users  permitted.

In the future, synchronization could be enabled with the addition of a
checkbox indicating the users desire to use their system password.

 the primary advantage to this potentially simple technique is that it
gives the user a hint that something else needs to be done as well as
making it possible for them to do it in one place in the GUI.

-- 
Samba and system passwords should be synchronized.
https://bugs.launchpad.net/bugs/24184
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 24184] Re: Samba and system passwords should be synchronized.

2007-04-05 Thread Phil Bull
This is still an issue in Feisty. After setting up a new SMB share and
setting the permissions of the shared directory to global read/write,
other Ubuntu computers (those with the same username/password on them)
are able to connect to the share without problems.

However, Windows XP clients on the network cannot access the share
without a username and password being entered. Unless 'smbpasswd -a
username' has been run, the username and password entered on the Windows
computer will never be accepted, so the share is inaccessible. There
should probably at least be a graphical interface for smbpasswd, as I
imagine a lot of users come up against this issue.

-- 
Samba and system passwords should be synchronized.
https://bugs.launchpad.net/bugs/24184
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 24184] Re: Samba and system passwords should be synchronized.

2007-03-23 Thread Mantas Kriaučiūnas
** Also affects: samba (Baltix)
   Importance: Undecided
   Status: Unconfirmed

-- 
Samba and system passwords should be synchronized.
https://launchpad.net/bugs/24184

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs