- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Using Samba
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
05-08-2008 12:55 AM
05-08-2008 12:55 AM
Using Samba
I have the most common issue with SAMBA. I want to share a UNIX folder in a hpux 11.11 server with a Windows machine. I have installed samba, but I can't still see the directory from Windows. What I did is:
1. at the server:
/etc/exports:
setlet1:/etc/opt/samba # more /etc/exports
/iod
/tmp
2. smb.conf file:
#======================= Global Settings =====================================
[global]
# workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4
workgroup = SEE
# server string is the equivalent of the NT Description field
server string = Samba Server
# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/opt/samba/log.%m
# Put a capping on the size of the log files (in Kb).
max log size = 1000
# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = domain
# Use password server option only with security = server or domain
password server = *
# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
encrypt passwords = yes
# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
socket options = TCP_NODELAY
# Browser Control Options:
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
local master = no
read only = no
preserve case = yes
short preserve case = no
dos filetime resolution = yes
syslog = 0
#============================ Share Definitions ==============================
[iod]
path = /iod
read only = No
[homes]
comment = Home Directories
browseable = no
# This one is useful for people to share files
[tmp]
path = /tmp
I have created a user named ioduser at the UNIX system and then i used smbpasswd to create a samba password for him (the same as the system password).
Now, from the Windows machine, I try to connect the directory like a network unit using the UNIX user. On the path i put \\servername\iod, and Windows says is unable to find the network path.
What I'm missing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 02:54 AM
05-08-2008 02:54 AM
Re: Using Samba
You are using a fairly simple peer to peer setup.
If you are willing to have windows users give a user id and password on entry, you should set up user id's matching the windows users ids in Linux.
There are integration options as well, depending on whether you want to build a domain controller in Linux/HPUX or use a windows controller.
If you let Windows ADS control the domain security, these issue are fairly simple to deal with.
http://docs.hp.com/en/305/uxint.html
http://docs.hp.com/en/J4269-90017/ch02s05.html
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 04:18 AM
05-08-2008 04:18 AM
Re: Using Samba
First question is:
Are the deamons running?
# ps -ef | grep mbd
Is the HP-depot installed?
If yes, please post the output of this command:
# cat /etc/rc.config.d/samba
Are you sure, you want this switch
security = domain
set as it is?
security = server would be my advice.
And btw, /etc/exports has nothing to do with samba.
No need to export anything. Samba handles this internally.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 05:12 AM
05-08-2008 05:12 AM
Re: Using Samba
Finally I configured it using a Fedora machine. I've mounted the exported UNIX fs on the fedora system and then used the Linux Samba to share it with Windows machines.
It seems that the problem is that my network is in a Novell environment and it uses LDAP to authenticat users, or something like that has told me the Wintel Admin...
Whatever, thanks to all for the help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 05:13 AM
05-08-2008 05:13 AM