Mailinglist Archive: opensuse (4634 mails)

< Previous Next >
Re: [opensuse] Samba Admin Help
  • From: Billie Erin Walsh <bilwalsh@xxxxxxxxxx>
  • Date: Thu, 14 Dec 2006 06:12:03 -0600
  • Message-id: <45813F93.50703@xxxxxxxxxx>
david rankin wrote:
> ----- Original Message ----- From: "Felix Miata" <mrmazda@xxxxxx>
>> On 2006/12/13 22:29 (GMT-0500) Thomas Miller apparently typed:
>>
>>> Unfortunately, it failed to change the password. I am assuming the
>>> default password is blank? So when it asked for my old password, I
>>> should just hit enter.
>>
>> Before there can be a samba user setup with smbpasswd there must be a
>> user of same name setup with useradd or a GUI tool for user management.
>> Once the user "msuser" exists in /etc/passwd, then you can create the
>> corresponding samba user "msuser" thus 'smbpasswd -a msuser', and it
>> will then ask for the password you wish msuser to use.
>> --
>
> To make it simple, an example with help. The easiest way to avoid
> problems when you are getting started is to make sure the windows user
> name and password are the same as the linux user name and password.
>
> So if you have a windows login of "joe" and password of "blow", then on
> the linux box (as root)
>
> (1) useradd joe
> (2) smbpasswd -a joe
> enter password: blow
> (3) then make sure that you define a valid share in /etc/samba/smb.conf
>
> [myshare]
> comment = I want to share this with windows
> path = /home/samba/directorytoshare
> writeable = Yes
> inherit permissions = Yes
>
> Also, under the [global] section of the smb.conf file you will want to set:
> wins support = yes
>
> to help with netbios name resolution
>
> That should do it........
>

I'm no wiz, and there are a LOT of things I don't understand.

I've been fighting to get my SuSE box to work and play nice with the
home network for over a year. After I sent my "howdy" letter and asked a
question I managed to get it to work. Not completely sure how BUT I
didn't have to do all that.

Step one, make sure file and print sharing are turned ON in Windows. In
XP either drag the folders you want to share to the "Share" folder or
right click and "Share". In the box set up the parameters you wish. [
Same for sharing with Windows computers on the network ]

Step two. Set up the Samba Server [ found that in Yast>Network Services
] Default network for Windows is MSHOME [ all caps ]. Below Samba
Server, on mine at least, is something called "Windows Domain
Membership" [ wonder if that was Samba Client in 10.0? I don't see that
now. ]. Basically the same settings as my Samba Server settings.

Step three. Right click on the folders in the Home folder you want to
share, at least I did, and something came up about configuring the
sharing. Did that. Basically set up so "users" could share their folders
and number of shares allowed. Right click again and now I can "share"
that folder.

OK, I know that greatly oversimplified and missing some steps, but that
was the basic process I used to get it started. It's a simple home
network with "me" as the only user [ no one else plays around between
computers/OS's ] so I don't have any passwords set, but there is a place
for that.

As I say. I'm no wiz at this stuff, but it was all done with the GUI [
10.1/KDE ]. No CLI used. There's a couple times over the past year I've
seen something done in the CLI that can easily be done with the GUI. In
one case someone was trying to explain how to use the CLI commands to
search for some file or other, then open it and edit/save. I popped the
KDE start button > Find Files/Folders and typed in the string I wanted
in the resulting box. Up popped every instance of that string on the
computer. Picked the one I wanted and opened.

Not meant to be a put down, but sometimes I think the Oldtimers don't
realize just how powerful the GUI has become. They learned in CLI and
that's how they know to do it best. NOT a bad thing. Probably much
better than I can do. But in the early days the GUI wasn't able to do SO
much and CLI was the only way it could be done [ and still the best way
to do some things ]. BUT, KDE, and probably Gnome, are VERY powerful
bits of software now days.

Your needs/setup may be different so your mileage may vary.

--
(o:]>*HUGGLES*<[:o)
Billie Walsh
The three best words in the English Language:
"I LOVE YOU"
Pass them on!
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >