From: Rob on
Hi, I've setup FC6 with webmin and samba. I had someone helping me with this
but they aren't available right now (on the road).

We have setup a few folders for sharing and some users in linux. In webmin I
had previously migrated unix users to samba but I can't seem to connect to
the shares.

When I do so, it prompts for a username and password but non of the
passwords are valid so maybe when I migrated the unix users it didn't do the
passwords?

My brother says I should change the samba passwords using man smbpasswd but
I'm not very familiar with this so I need a little bit of hand holding?

Whats the exact syntax to change a users password

man smbpasswd username password?

Thanks

From: Rich Leitner on
On Thu, 13 Sep 2007 12:05:50 -0700, Rob wrote:

> Hi, I've setup FC6 with webmin and samba. I had someone helping me with
> this but they aren't available right now (on the road).
>
> We have setup a few folders for sharing and some users in linux. In
> webmin I had previously migrated unix users to samba but I can't seem to
> connect to the shares.
>
> When I do so, it prompts for a username and password but non of the
> passwords are valid so maybe when I migrated the unix users it didn't do
> the passwords?
>
> My brother says I should change the samba passwords using man smbpasswd
> but I'm not very familiar with this so I need a little bit of hand
> holding?
>
> Whats the exact syntax to change a users password
>
> man smbpasswd username password?
>
> Thanks

Rob, I'm assuming that you are using the Graphical User Interface and not
just the command line, yes?

If you installed samba, you should be able to configure it using the
provided GUI administration tool, probably accessed by clicking "System-
>Administration->Samba". Then you will have to use that tool to 'add'
users to samba, as I believe that the regular user account passwords do
not simply 'transfer over'. It's under the "Preferences -> Samba Users"
menu. Here you can add the users, and this should allow each user you add
to access the shares under the circumstances you specify, ie, user name
and 'samba password'. You may have to restart Samba, I forget.

If you're not using the GUI tool, google 'smbpasswd' or try 'man
smbpasswd' and follow those instructions to add users.

Rich