Re: [opensuse] Samba Admin Help

2006-12-16 Thread Thomas Miller

david rankin wrote:

- Original Message - From: Felix Miata [EMAIL PROTECTED]

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

--
David C. Rankin, J.D., P.E.
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax
www.rankinlawfirm.com
Thanks.  This was a great description of what needs to be done to get 
Samba working.


One of the things I would like to see is the wizards actually work for 
managing the server.  Clearly the Samba Yast screen needs another tab 
for managing users.  I had assumed that the Samba server would just use 
the current users in Linux.  It isn't obvious at all that you have to 
create a Samba user.  Do you have to do anything special to log bug / 
enhancement requests?   Thanks.


--
Thomas Miller
Chrome Portal Project Manager
CPCUG Programmers SIG Chairperson (formally Delphi)
Delphi Client/Server Certified Developer
BSS Accounting  Distribution Software
BSS Enterprise Accounting FrameWork

http://www.bss-software.com
http://programmers.cpcug.org/
http://sourceforge.net/projects/chromeportal/
http://sourceforge.net/projects/uopl/
http://sourceforge.net/projects/dbexpressplus

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Samba Admin Help

2006-12-14 Thread Billie Erin Walsh
david rankin wrote:
 - Original Message - From: Felix Miata [EMAIL PROTECTED]
 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 YastNetwork 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Samba Admin Help

2006-12-14 Thread david rankin
- Original Message - 
From: Billie Erin Walsh [EMAIL PROTECTED]

david rankin wrote:

- Original Message - From: Felix Miata [EMAIL PROTECTED]

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




Not meant to be a put down, but sometimes I think the Oldtimers don't
realize just how powerful the GUI has become.



Thanks for cheering me up. Now I feel really dated


--
David C. Rankin, J.D., P.E.
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax
www.rankinlawfirm.com
--

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Samba Admin Help

2006-12-14 Thread Darryl Gregorash
On 2006-12-14 06:12, Billie Erin Walsh wrote:
 david rankin wrote:
   
 snip
 (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

 snip
 

 snip

 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
   
Don't sell anyone short. One other thing that the CLI is, it is fast,
particularly if you keep a console or 6 open and  readily available.
Contrast this with a GUI-based application, which requires extra time to
load and initialize. If you are adding a single user, it is a lot faster
to pop over to a console and type a few commands.

BTW, you certainly are not using user authentication in your Samba
configuration. Yast has no provision for adding a Samba user; for that,
you must use the command line, or you can use SWAT, the Samba web
configuration tool (http://localhost:901, if you have swat running).
There is nothing else that I am aware of.

SWAT is a much better tool than is Yast for administering a Samba
server. It better be, being designed solely to do that task. Maybe some
future version of Yast will be able to do everything that SWAT can do,
but probably not. Configuring your system to run SWAT is definitely
something you can do in Yast, and should do, and it is easy:
Yast/Network Services, network services (xinetd). Find swat, and
simply toggle its status to on. However, there is a downside to SWAT
too: In the manual, we find this remark:

WARNINGS

swat will rewrite your smb.conf(5) f
http://localhost:901/swat/help/smb.conf.5.htmlile. It will rearrange
the entries and delete all comments, include= and copy=/// /options. If
you have a carefully crafted smb.conf then back it up or don't use swat!

There are indeed some things for which the command line is the only
option, so best you learn that as well.



-- 
The best way to accelerate a computer running Windows is at 9.81 m/s²

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[opensuse] Samba Admin Help

2006-12-13 Thread Thomas Miller
I am trying to use part of my hard drive as a place to back up some of 
my files from Windows workstations.  Nothing fancy.


I installed Samba, and I can see if from my desktop, but it won't let me 
login.  I am using the standard setting as you see in Yast if you use it 
for setting up the service.  What am I do wrong?


--
Thomas Miller
Chrome Portal Project Manager
CPCUG Programmers SIG Chairperson (formally Delphi)
Delphi Client/Server Certified Developer
BSS Accounting  Distribution Software
BSS Enterprise Accounting FrameWork

http://www.bss-software.com
http://programmers.cpcug.org/
http://sourceforge.net/projects/chromeportal/
http://sourceforge.net/projects/uopl/
http://sourceforge.net/projects/dbexpressplus

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Samba Admin Help

2006-12-13 Thread Thomas Miller

Joshua Raphael Fuentes wrote:



I installed Samba, and I can see if from my desktop, but it won't
let me
login.  I am using the standard setting as you see in Yast if you
use it
for setting up the service.  What am I do wrong?



assuming that you installed samba right,  you can try seeing if you 
configured it right using it's web based interface.. Just open 
konqueror, then login using your root at localhost:901 





--
REGISTERED LINUX USER # 393260
there are 10 types of people in the world, those who understand binary 
and those who don't

I got a can not connect to host error.

--
Thomas Miller
Chrome Portal Project Manager
CPCUG Programmers SIG Chairperson (formally Delphi)
Delphi Client/Server Certified Developer
BSS Accounting  Distribution Software
BSS Enterprise Accounting FrameWork

http://www.bss-software.com
http://programmers.cpcug.org/
http://sourceforge.net/projects/chromeportal/
http://sourceforge.net/projects/uopl/
http://sourceforge.net/projects/dbexpressplus

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Samba Admin Help

2006-12-13 Thread steve reilly
On Wednesday 13 December 2006 20:50, Thomas Miller wrote:


 I installed Samba, and I can see if from my desktop, but it won't let me
 login.  I am using the standard setting as you see in Yast if you use it
 for setting up the service.  What am I do wrong?

hi,

each samba user must have a password setup.  you cant use your regular user 
account password from the windows side.

try the command

smbpasswd

while logged in the linux box under the name you want to be able to login 
remotely from the windows box.

it will ask you for a password, this is the password you enter from the 
windows box when you login to the folder you want to get to in samba.



man smbpasswd

for more info





-- 
This computer is powered by OpenSuse 10.2
  9:32pm  up 2 days  1:40,  1 user,  load average: 0.44, 0.59, 0.48
kernel-2.6.18.2-34-default
http://norwichlinuxusersgroup.com
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Samba Admin Help

2006-12-13 Thread Felix Miata
On 2006/12/13 21:45 (GMT-0500) Thomas Miller apparently typed:

 I got a can not connect to host error.

Can you ping the hostname of the windoz puter?

Can you ping the IP of the windoz puter?
-- 
Let your conversation be always full of grace. Colossians 4:6 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://mrmazda.no-ip.com/
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Samba Admin Help

2006-12-13 Thread Thomas Miller

steve reilly wrote:

On Wednesday 13 December 2006 20:50, Thomas Miller wrote:

  

I installed Samba, and I can see if from my desktop, but it won't let me
login.  I am using the standard setting as you see in Yast if you use it
for setting up the service.  What am I do wrong?



hi,

each samba user must have a password setup.  you cant use your regular user 
account password from the windows side.


try the command

smbpasswd

while logged in the linux box under the name you want to be able to login 
remotely from the windows box.


it will ask you for a password, this is the password you enter from the 
windows box when you login to the folder you want to get to in samba.




man smbpasswd

for more info
  
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.


--
Thomas Miller
Chrome Portal Project Manager
CPCUG Programmers SIG Chairperson (formally Delphi)
Delphi Client/Server Certified Developer
BSS Accounting  Distribution Software
BSS Enterprise Accounting FrameWork

http://www.bss-software.com
http://programmers.cpcug.org/
http://sourceforge.net/projects/chromeportal/
http://sourceforge.net/projects/uopl/
http://sourceforge.net/projects/dbexpressplus

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Samba Admin Help

2006-12-13 Thread Thomas Miller

Felix Miata wrote:

On 2006/12/13 21:45 (GMT-0500) Thomas Miller apparently typed:

  

I got a can not connect to host error.



Can you ping the hostname of the windoz puter?

Can you ping the IP of the windoz puter?
  

No and No.  I am able to ping the server from ms.

--
Thomas Miller
Chrome Portal Project Manager
CPCUG Programmers SIG Chairperson (formally Delphi)
Delphi Client/Server Certified Developer
BSS Accounting  Distribution Software
BSS Enterprise Accounting FrameWork

http://www.bss-software.com
http://programmers.cpcug.org/
http://sourceforge.net/projects/chromeportal/
http://sourceforge.net/projects/uopl/
http://sourceforge.net/projects/dbexpressplus

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Samba Admin Help

2006-12-13 Thread Darryl Gregorash
On 2006-12-13 21:29, Thomas Miller wrote:
 steve reilly wrote:

 man smbpasswd

 for more info
   
 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.

You didn't read man smbpasswd:

When run by an ordinary user with no options, smbpasswd will prompt them
for their old SMB password and then ask them for their
   new password twice, to ensure that the new password was typed
correctly. No passwords will be echoed on the screen whilst being
   typed.  If you have a blank SMB password (specified by the string
NO PASSWORD in the smbpasswd file) then just press the En-
   ter key when asked for your old password.

-- 
The best way to accelerate a computer running Windows is at 9.81 m/s²

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Samba Admin Help

2006-12-13 Thread Darryl Gregorash
On 2006-12-13 21:36, Thomas Miller wrote:
 Felix Miata wrote:
 On 2006/12/13 21:45 (GMT-0500) Thomas Miller apparently typed:

  
 I got a can not connect to host error.
 

 Can you ping the hostname of the windoz puter?

 Can you ping the IP of the windoz puter?
   
 No and No.  I am able to ping the server from ms.

Open all the netbios ports and microsoft-ds (ports 137 to 139 inclusive,
and 445) for tcp and udp. You also need to allow broadcasts on port 137.

-- 
The best way to accelerate a computer running Windows is at 9.81 m/s²

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Samba Admin Help

2006-12-13 Thread Thomas Miller

Darryl Gregorash wrote:

On 2006-12-13 21:36, Thomas Miller wrote:
  

Felix Miata wrote:


On 2006/12/13 21:45 (GMT-0500) Thomas Miller apparently typed:

 
  

I got a can not connect to host error.



Can you ping the hostname of the windoz puter?

Can you ping the IP of the windoz puter?
  
  

No and No.  I am able to ping the server from ms.



Open all the netbios ports and microsoft-ds (ports 137 to 139 inclusive,
and 445) for tcp and udp. You also need to allow broadcasts on port 137.
  
On Windows? on the Linux  Server? Both?  I have to figure out  how to 
active NetBois.  I didn't even think it was included any more with 
windows :-)


--
Thomas Miller
Chrome Portal Project Manager
CPCUG Programmers SIG Chairperson (formally Delphi)
Delphi Client/Server Certified Developer
BSS Accounting  Distribution Software
BSS Enterprise Accounting FrameWork

http://www.bss-software.com
http://programmers.cpcug.org/
http://sourceforge.net/projects/chromeportal/
http://sourceforge.net/projects/uopl/
http://sourceforge.net/projects/dbexpressplus

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Samba Admin Help

2006-12-13 Thread Felix Miata
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.
-- 
Let your conversation be always full of grace. Colossians 4:6 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://mrmazda.no-ip.com/
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Samba Admin Help

2006-12-13 Thread david rankin
- Original Message - 
From: Felix Miata [EMAIL PROTECTED]

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

--
David C. Rankin, J.D., P.E.
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax
www.rankinlawfirm.com
--

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]