Re: [Samba] Why does simple smb.conf demand password?

2003-12-25 Thread Larry Alkoff
Rashkae its working now.

Apparently if
browseable = yes
is not set,
then you cannot use Network Neighborhood or browse with windows.
It also stops other windows clients from showing up in NN.
I didn't know the browseable option had to do with windows :-(
I set it globally but am aware that if set globally you cannot then set
browseable = no
in a share.

Also I set 
encrypted passwords = yes
and used smbpasswd to add root and myself to the smbpasswd file.

All is well now - I see all shares in NN and My Computer
and can map them to a drive letter, do 
dir L: and all kinds of the usual network things.

Also I can now use the Linux machine using
as a time server using
net time set
which is why I got into this in the first place.

On to setting the various master browser options now.

Thanks for your help.
Larry


On Wed, 24 Dec 2003 22:57:55 -0500, Rashkae wrote:

Hey, sorry that didn't work out.  I tested the configuration with
smbclient, but did not try browsing with Windows to see what would
happen.  If this is still causing you difficulty, I'll be happy to
help you figure it out.  I'll be home until some time mid-day
tomorrow.  Let me know what you think.

On Tue, Dec 23, 2003 at 10:44:03PM -0600, Larry Alkoff wrote:
 On further investigation using smbclient it appears that these are the
 shares listed.
 
  Sharename  Type  Comment
 -    ---
 data   Disk  data drive
 IPC$   IPC   IPC Service (Samba 2.2.8a on linda)
 ADMIN$ Disk  IPC Service (Samba 2.2.8a on linda)
 
  
 I don't know where IPC$ or ADMIN$ comes from but there is nothing in
 my smb.conf that would create these.  Also I don't know why Network
 Neighborhood shows IPC$ under the Linda share but not data which is in
 smb.conf or ADMIN$.
 
 Apparently the Samba newsgroup and mailing list are a single entity so
 I'm only going to post to the newsgroup and see if it appears on the
 mailing list.
 
 Any ideas?
 
 Larry
 
 
 On Tue, 23 Dec 2003 14:41:20 -0500, Rashkae wrote:
 
 Hi Lary
 
 You can get around it by sending a blank password.  (ie, just press
 enter).  Since you enabled guest ok, logins with bad passwords will go
 to guest account (default is nobody) and all should be well. (If the
 login prompt asks for a Username as well as a password, just put anything)
 
 As for why you need the password prompt at all, it is because Samba's
 default security model is User, which closely resembles a Windows NT
 server.  The server requires a valid user for all connections.  If you
 wanted to change this behaviour, you could change security to share,
 but I would not suggest doing that until you are more familiar with
 those mysterious password issues.
 
 
 
 On Sun, Dec 21, 2003 at 11:22:34AM -0600, Larry Alkoff wrote:
  I am trying to setup a simple Samba server using the instructions in the 
  O'Reilly book
  Using Samba first edition on a Slackware 9.1 system which uses Samba 2.2.8a.
  The windows machine uses windows 98SE.
  
  The instructions under Server Configuration starting page 93
  and Disk Share Configuration starting page 96
  had me setup a very simple smb.conf which should then appear in Network 
  Neighborhood.
  It it does appear in NN and also using the command net view.
  
  Then I should be able to click on the icon in NN and see the disk single share I 
  have setup.
  When I try to do this I get a logon screen that demands a password.
  
  The instructions say that 
  We set the guest ok parameter to yes which is not very security conscious but 
  there are some password
  issues that we need to understand before setting up individual users and 
  authentification.  For the moment,
  this will sidestep these issues and let anyone connect to the share.
  
  This is fine with me and in fact, it's the password issues that I don't 
  understand yet and want to get straight later.
  
  Why can't I connect without the demand for a password?
  How can I get around it before getting into the complexities of password 
  management?
  
  Here is the short smb.conf:
  
  [global]
  netbios name = linda
  server string = Samba %v on %L
  workgroup = lanet
  
  [data]
path = /export/data
comment = data drive
volume = sample-data-drive
writable = yes
guest ok = yes
  
  I also made sure to setup the subdirectory /export/data and chown it to 777.
  
  Larry Alkoff
  
  
  
  
  
  Larry Alkoff N2LA - Austin TX
  
  
  -- 
  To unsubscribe from this list go to the following URL and read the
  instructions:  http://lists.samba.org/mailman/listinfo/samba
 
 
 
 Larry Alkoff N2LA - Austin TX
 
 



Larry Alkoff N2LA - Austin TX


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Why does simple smb.conf demand password?

2003-12-23 Thread Larry Alkoff
I am trying to setup a simple Samba server using the instructions in the O'Reilly book
Using Samba first edition on a Slackware 9.1 system which uses Samba 2.2.8a.
The windows machine uses windows 98SE.

The instructions under Server Configuration starting page 93
and Disk Share Configuration starting page 96
had me setup a very simple smb.conf which should then appear in Network Neighborhood.
It it does appear in NN and also using the command net view.

Then I should be able to click on the icon in NN and see the disk single share I have 
setup.
When I try to do this I get a logon screen that demands a password.

The instructions say that 
We set the guest ok parameter to yes which is not very security conscious but there 
are some password
issues that we need to understand before setting up individual users and 
authentification.  For the moment,
this will sidestep these issues and let anyone connect to the share.

This is fine with me and in fact, it's the password issues that I don't understand yet 
and want to get straight later.

Why can't I connect without the demand for a password?
How can I get around it before getting into the complexities of password management?

Here is the short smb.conf:

[global]
netbios name = linda
server string = Samba %v on %L
workgroup = lanet

[data]
  path = /export/data
  comment = data drive
  volume = sample-data-drive
  writable = yes
  guest ok = yes

I also made sure to setup the subdirectory /export/data and chown it to 777.

Larry Alkoff





Larry Alkoff N2LA - Austin TX


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Why does simple smb.conf demand password?

2003-12-23 Thread Rashkae
Hi Lary

You can get around it by sending a blank password.  (ie, just press
enter).  Since you enabled guest ok, logins with bad passwords will go
to guest account (default is nobody) and all should be well. (If the
login prompt asks for a Username as well as a password, just put anything)

As for why you need the password prompt at all, it is because Samba's
default security model is User, which closely resembles a Windows NT
server.  The server requires a valid user for all connections.  If you
wanted to change this behaviour, you could change security to share,
but I would not suggest doing that until you are more familiar with
those mysterious password issues.



On Sun, Dec 21, 2003 at 11:22:34AM -0600, Larry Alkoff wrote:
 I am trying to setup a simple Samba server using the instructions in the O'Reilly 
 book
 Using Samba first edition on a Slackware 9.1 system which uses Samba 2.2.8a.
 The windows machine uses windows 98SE.
 
 The instructions under Server Configuration starting page 93
 and Disk Share Configuration starting page 96
 had me setup a very simple smb.conf which should then appear in Network Neighborhood.
 It it does appear in NN and also using the command net view.
 
 Then I should be able to click on the icon in NN and see the disk single share I 
 have setup.
 When I try to do this I get a logon screen that demands a password.
 
 The instructions say that 
 We set the guest ok parameter to yes which is not very security conscious but there 
 are some password
 issues that we need to understand before setting up individual users and 
 authentification.  For the moment,
 this will sidestep these issues and let anyone connect to the share.
 
 This is fine with me and in fact, it's the password issues that I don't understand 
 yet and want to get straight later.
 
 Why can't I connect without the demand for a password?
 How can I get around it before getting into the complexities of password management?
 
 Here is the short smb.conf:
 
 [global]
 netbios name = linda
 server string = Samba %v on %L
 workgroup = lanet
 
 [data]
   path = /export/data
   comment = data drive
   volume = sample-data-drive
   writable = yes
   guest ok = yes
 
 I also made sure to setup the subdirectory /export/data and chown it to 777.
 
 Larry Alkoff
 
 
 
 
 
 Larry Alkoff N2LA - Austin TX
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Why does simple smb.conf demand password?

2003-12-23 Thread Larry Alkoff
Thanks for your reply Rashkae.

I have leaving the password field and it doesn't work.
Perhaps it has to do with the fact that, when I click on the netbios name (linda) 
the share it ask the password is labeled \\LINDA\IPC$ for some unknown
reason.  Linda is the netbios name but there is nothing like IPC$ in my smb.conf.


On Tue, 23 Dec 2003 14:41:20 -0500, Rashkae wrote:

Hi Lary

You can get around it by sending a blank password.  (ie, just press
enter).  Since you enabled guest ok, logins with bad passwords will go
to guest account (default is nobody) and all should be well. (If the
login prompt asks for a Username as well as a password, just put anything)

As for why you need the password prompt at all, it is because Samba's
default security model is User, which closely resembles a Windows NT
server.  The server requires a valid user for all connections.  If you
wanted to change this behaviour, you could change security to share,
but I would not suggest doing that until you are more familiar with
those mysterious password issues.



On Sun, Dec 21, 2003 at 11:22:34AM -0600, Larry Alkoff wrote:
 I am trying to setup a simple Samba server using the instructions in the O'Reilly 
 book
 Using Samba first edition on a Slackware 9.1 system which uses Samba 2.2.8a.
 The windows machine uses windows 98SE.
 
 The instructions under Server Configuration starting page 93
 and Disk Share Configuration starting page 96
 had me setup a very simple smb.conf which should then appear in Network 
 Neighborhood.
 It it does appear in NN and also using the command net view.
 
 Then I should be able to click on the icon in NN and see the disk single share I 
 have setup.
 When I try to do this I get a logon screen that demands a password.
 
 The instructions say that 
 We set the guest ok parameter to yes which is not very security conscious but 
 there are some password
 issues that we need to understand before setting up individual users and 
 authentification.  For the moment,
 this will sidestep these issues and let anyone connect to the share.
 
 This is fine with me and in fact, it's the password issues that I don't understand 
 yet and want to get straight later.
 
 Why can't I connect without the demand for a password?
 How can I get around it before getting into the complexities of password management?
 
 Here is the short smb.conf:
 
 [global]
 netbios name = linda
 server string = Samba %v on %L
 workgroup = lanet
 
 [data]
   path = /export/data
   comment = data drive
   volume = sample-data-drive
   writable = yes
   guest ok = yes
 
 I also made sure to setup the subdirectory /export/data and chown it to 777.
 
 Larry Alkoff



Larry Alkoff N2LA - Austin TX


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Why does simple smb.conf demand password?

2003-12-23 Thread Larry Alkoff
On further investigation using smbclient it appears that these are the
shares listed.

 Sharename  Type  Comment
-    ---
data   Disk  data drive
IPC$   IPC   IPC Service (Samba 2.2.8a on linda)
ADMIN$ Disk  IPC Service (Samba 2.2.8a on linda)

 
I don't know where IPC$ or ADMIN$ comes from but there is nothing in
my smb.conf that would create these.  Also I don't know why Network
Neighborhood shows IPC$ under the Linda share but not data which is in
smb.conf or ADMIN$.

Apparently the Samba newsgroup and mailing list are a single entity so
I'm only going to post to the newsgroup and see if it appears on the
mailing list.

Any ideas?

Larry


On Tue, 23 Dec 2003 14:41:20 -0500, Rashkae wrote:

Hi Lary

You can get around it by sending a blank password.  (ie, just press
enter).  Since you enabled guest ok, logins with bad passwords will go
to guest account (default is nobody) and all should be well. (If the
login prompt asks for a Username as well as a password, just put anything)

As for why you need the password prompt at all, it is because Samba's
default security model is User, which closely resembles a Windows NT
server.  The server requires a valid user for all connections.  If you
wanted to change this behaviour, you could change security to share,
but I would not suggest doing that until you are more familiar with
those mysterious password issues.



On Sun, Dec 21, 2003 at 11:22:34AM -0600, Larry Alkoff wrote:
 I am trying to setup a simple Samba server using the instructions in the O'Reilly 
 book
 Using Samba first edition on a Slackware 9.1 system which uses Samba 2.2.8a.
 The windows machine uses windows 98SE.
 
 The instructions under Server Configuration starting page 93
 and Disk Share Configuration starting page 96
 had me setup a very simple smb.conf which should then appear in Network 
 Neighborhood.
 It it does appear in NN and also using the command net view.
 
 Then I should be able to click on the icon in NN and see the disk single share I 
 have setup.
 When I try to do this I get a logon screen that demands a password.
 
 The instructions say that 
 We set the guest ok parameter to yes which is not very security conscious but 
 there are some password
 issues that we need to understand before setting up individual users and 
 authentification.  For the moment,
 this will sidestep these issues and let anyone connect to the share.
 
 This is fine with me and in fact, it's the password issues that I don't understand 
 yet and want to get straight later.
 
 Why can't I connect without the demand for a password?
 How can I get around it before getting into the complexities of password management?
 
 Here is the short smb.conf:
 
 [global]
 netbios name = linda
 server string = Samba %v on %L
 workgroup = lanet
 
 [data]
   path = /export/data
   comment = data drive
   volume = sample-data-drive
   writable = yes
   guest ok = yes
 
 I also made sure to setup the subdirectory /export/data and chown it to 777.
 
 Larry Alkoff
 
 
 
 
 
 Larry Alkoff N2LA - Austin TX
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba



Larry Alkoff N2LA - Austin TX


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Why does simple smb.conf demand password?

2003-12-23 Thread Tom Dickson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The IPC$ share and (I think) the ADMIN$ share are used for communication
between windows clients. IPC = inter process communication. Samba sets
them up for you, as they are necessary with newer clients. Try a
smbclient on a windows box and you should see something similar.
The (Samba 2.2.8a etc) stuff comes from the default comment for the server.

comment = whatever you want

would change the comment. You can thing of the IPC service as the thing
you see directly under network neighborhood (names of PCs)
- -Tom

Larry Alkoff wrote:
| On further investigation using smbclient it appears that these are the
| shares listed.
|
|  Sharename  Type  Comment
| -    ---
| data   Disk  data drive
| IPC$   IPC   IPC Service (Samba 2.2.8a on linda)
| ADMIN$ Disk  IPC Service (Samba 2.2.8a on linda)
|
|
| I don't know where IPC$ or ADMIN$ comes from but there is nothing in
| my smb.conf that would create these.  Also I don't know why Network
| Neighborhood shows IPC$ under the Linda share but not data which is in
| smb.conf or ADMIN$.
|
| Apparently the Samba newsgroup and mailing list are a single entity so
| I'm only going to post to the newsgroup and see if it appears on the
| mailing list.
|
| Any ideas?
|
| Larry
|
|
| On Tue, 23 Dec 2003 14:41:20 -0500, Rashkae wrote:
|
|
|Hi Lary
|
|You can get around it by sending a blank password.  (ie, just press
|enter).  Since you enabled guest ok, logins with bad passwords will go
|to guest account (default is nobody) and all should be well. (If the
|login prompt asks for a Username as well as a password, just put anything)
|
|As for why you need the password prompt at all, it is because Samba's
|default security model is User, which closely resembles a Windows NT
|server.  The server requires a valid user for all connections.  If you
|wanted to change this behaviour, you could change security to share,
|but I would not suggest doing that until you are more familiar with
|those mysterious password issues.
|
|
|
|On Sun, Dec 21, 2003 at 11:22:34AM -0600, Larry Alkoff wrote:
|
|I am trying to setup a simple Samba server using the instructions in
the O'Reilly book
|Using Samba first edition on a Slackware 9.1 system which uses
Samba 2.2.8a.
|The windows machine uses windows 98SE.
|
|The instructions under Server Configuration starting page 93
|and Disk Share Configuration starting page 96
|had me setup a very simple smb.conf which should then appear in
Network Neighborhood.
|It it does appear in NN and also using the command net view.
|
|Then I should be able to click on the icon in NN and see the disk
single share I have setup.
|When I try to do this I get a logon screen that demands a password.
|
|The instructions say that
|We set the guest ok parameter to yes which is not very security
conscious but there are some password
|issues that we need to understand before setting up individual users
and authentification.  For the moment,
|this will sidestep these issues and let anyone connect to the share.
|
|This is fine with me and in fact, it's the password issues that I
don't understand yet and want to get straight later.
|
|Why can't I connect without the demand for a password?
|How can I get around it before getting into the complexities of
password management?
|
|Here is the short smb.conf:
|
|[global]
|netbios name = linda
|server string = Samba %v on %L
|workgroup = lanet
|
|[data]
|  path = /export/data
|  comment = data drive
|  volume = sample-data-drive
|  writable = yes
|  guest ok = yes
|
|I also made sure to setup the subdirectory /export/data and chown it
to 777.
|
|Larry Alkoff
|
|
|
|
|
|Larry Alkoff N2LA - Austin TX
|
|
|--
|To unsubscribe from this list go to the following URL and read the
|instructions:  http://lists.samba.org/mailman/listinfo/samba
|
|
|
|
| Larry Alkoff N2LA - Austin TX
|
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/6SXMRliD/69byygRAtcxAJ9qgGu1exMbPJ98zbF6j6M2UXDPgwCeJgV7
LRdzu89K9cg+r6sEK/pqTKQ=
=SCwr
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba