Re: Samba



On Tuesday 04 April 2006 11:40, antonio montagnani wrote:
2006/4/4, Roger Grosswiler <roger@xxxxxxxx>:
Roger,

I have a RH7.3 server set up and Samba works great. I access it from my
Windows XT machine via my network places.

I have set up Samba on FC5. Workgroup is supervisor (For some reason it
will not take caps for supervisor) Security authentication mode is
User. Encrypt passwords yes with no guest account. I set a user as Unix
name dps2300 windows username dps2300 samba password 12345678. I did do
a smbpasswd for dps2300 as 12345678 also...

On the windows machine in my network places I can see Samba Server
(Fedora5). When I click on it, it shows me a list of directories
available. I click on it and it asks for user name and password I put
in dps2300 and 12345678 and it does not allow me in. States it is not
accessible.

I can click on my RH7.3 and get right in...

Thanks!

Dan Shelstad
Birchdale Fire & Security, LLP.
218.838.1359


-----Original Message-----
From: Roger Grosswiler [mailto:roger@xxxxxxxx]
Sent: Monday, April 03, 2006 12:40 AM
To: shelstad@xxxxxxxxxxxx; For users of Fedora Core releases
Subject: Re: Samba

Hello,

Looking for help with Samba. I can see the shares on the Fedora

machine

from my windows machine. It asks for a user name and pw and does not
allow me to access it. Any help would be greatly appreciated.

Thanks!

Dan Shelstad

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

I assume your Fedora machine is the samba-server.
How do you authenticate? smbpasswd? if yes, is your user in smbpasswd?
is
your machine also in smbpasswd?

Roger

Dan,
do you have any entries in /var/log/messages that say that selinux
disallows mounting samba-shares?

look for {avc denied} messages which have samba in their lines. You can
try it is selinux, if you set selinux permissive. As root execute
'setenforce permissive' - does this help?

HTH
Roger


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

I have a similar problem and I don't have Selinux activated
I am logged as same user on two computer on same network: when I look
in the computer I see homes and Progetto, I can enter in Progetto and
see files, but if I click on homes I get a message that Content of
folder cannot be seen-

In both cases, it looks like an authentication problem. SELinux or any
firewall in the system could be the problem, but I'm betting on samba
authentication.

First of all, make sure that you have added yourself and your password to
smbpasswd. Then, one or two comments about samba.conf

This is my samba.conf file.Any comment??

# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2005/03/22 08:49:21

# Global parameters
[global]
dns proxy = No
log file = /var/log/samba/%m.log
server string = PC Antonio
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
guest ok = Yes
os level = 255
null passwords = Yes
username map = /etc/samba/user.map
preferred master = no
max log size = 50
wins support = true

I don't see any workgroup= line, but since you say you can see the shares,
that's probably not the cause of the current problems. The username map=
should be deleted unless you need to map names and passwords that don't match
the ones on your samba server. You probably don't need the wins support line
either. If in doubt, comment them out so that they are easily added back.

Null passwords is not a good idea. Use security = user in the global section,
which will prompt for user passwords. Then add a line as below for the
public directory.

[homes]
comment = Home Directories
read only = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No


[Progetto]
path = /home/public
read only = No
public = yes

HTH

Anne

Attachment: pgpl1XwHDbwNT.pgp
Description: PGP signature

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Relevant Pages

  • Re: New to Fedora, [SOLVED] Network Issues.
    ... I disabled selinux and now everything works, ... I have just installed fedora 11 but have been a linux users for several ... I configured Samba to share a backup disk to everyone using the Samba ... Server Configuration tool GUI. ...
    (Fedora)
  • SAMBA Guest login - user error or config change?
    ... having trouble mapping SAMBA shares of their home directories on the ... Terra is authenticating using NIS passwords. ... Usernames are the same in unix and the windows domain. ...
    (SunManagers)
  • Re: Samba
    ... firewall in the system could be the problem, but I'm betting on samba ... server string = PC Antonio ... should be deleted unless you need to map names and passwords that don't match ... comment = All Printers ...
    (Fedora)
  • Re: Very Basic Help Needed
    ... To give you a few more hints: first make sure that samba is already ... can do so by running 'aptitude install samba'. ... Windows machines to automatically detect your linux system. ... if I'm not using passwords on the Windows machines? ...
    (Debian-User)
  • RE: User Authentication Fails on Server 2003 SP1
    ... unencrypted passwords 3rd party SMB servers. ... server string = EDS GSCO ... I am also using the same smb.conf settings for Samba 3.0.21c. ...
    (microsoft.public.windows.server.active_directory)