- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: samba problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2005 10:11 PM
07-20-2005 10:11 PM
samba problem
I have redhat 8 and I was trying to configure the samba. I configured it, and when trying to access the shared folder from a windows pc, I wasn't able to open it.
The configuration is :
[global]
netbios name = zizlin
server string = Samba Server
security = share
update encrypted = yes
oby pam restrictions = yes
pam password change = yes
passwd program = /usr/bin/passwd %u
unix password sync = yes
log file =/var/log/samba/%m.log
max log size =50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
preferred master = True
dnx proxy = No
hosts allow = ipaddress of the window station
printing =lprng
[najic]
comment = test
path= /home/najic
read only = No
create mask = 0664
directory mask = 0775
on the windows station xp I can see "najic on samba server (zizlin) but only have to enter a password for the "Guest" and not able to access it. from another pc win2000 which i put the same ip and try to connect , I can put najic for user but failed to connect also.
Any idea? and what should i put for guest account, and guest ok??
Regards,
Ziad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2005 10:14 PM
07-20-2005 10:14 PM
Re: samba problem
In the 'najic' share, you should have 'guest ok = yes'.
Reload sabma, and give it a shot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2005 05:56 AM
07-21-2005 05:56 AM
Re: samba problem
[najic]
comment = test
path= /home/najic
read only = No
create mask = 0664
directory mask = 0775
public = yes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2005 08:48 PM
07-21-2005 08:48 PM
Re: samba problem
Thx for the information. When putting 'guest account =
Regards,
Ziad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2005 08:53 PM
07-21-2005 08:53 PM
Re: samba problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2005 09:31 PM
07-21-2005 09:31 PM
Re: samba problem
I changed the value of security to "user" before asking the question and I was getting this error message:
"\\zizlin\najic is not accessible. you might not have permission to use this network resource.contact the administrator of this server to find out if you have access permission. The account is not authorized to login from this station."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2005 09:39 PM
07-21-2005 09:39 PM
Re: samba problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2005 07:57 AM
07-22-2005 07:57 AM
Re: samba problem
security = user
Then the user account added to the /etc/passwd with:
adduser
And to samba with:
smbpasswd -a
The username on both must match the username used in windows.
You can also authenticate users against a windows domain controller, if you have one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2005 08:14 AM
07-23-2005 08:14 AM
Re: samba problem
I tried to access the folder from windows using the user najic,but still having the same error message:"\\zizlin\najic is not accessible"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2005 01:45 AM
07-25-2005 01:45 AM
Re: samba problem
OR
There are some problems with netbios resolution. You have configured as preferred master = True, this may cause problems if you have a server version of Windows installed on the network. So, use peferred master = no and oslevel = 2, or instead configure the samba as a wins server and the clients as wins clients of the samba server.
OR
The owner or the permissions of the directory /home/nagic are incorrect. Correct the owner/permissions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2005 02:52 AM
07-25-2005 02:52 AM
Re: samba problem
Its also a good idea to set up a machine account on the windows side for each Linux/Unix server. It makes it easier to find the Linux/Unix machine for the Windows users.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com