[Samba] Why does simple smb.conf demand password?
Larry Alkoff
labradley at mindspring.com
Thu Dec 25 18:10:21 GMT 2003
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
More information about the samba
mailing list