- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- multi-subnetted network SAMBA CONF in HP-UX 11.11
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
11-26-2009 10:35 PM
11-26-2009 10:35 PM
multi-subnetted network SAMBA CONF in HP-UX 11.11
We have a Server-sub-network(172.28.100.0) and serveral Client-sub-networks(e.g 172.28.113.0). Is it possible to share FS from HP-UX Server to clients of WIN XP in Client-sub-networks with certain security? The environment is: currently no WINS configured, the clients get IP from local DHCP server so there is no DNS record for the client. Installed CIFS software is "B8725AA A.02.01.01 HP CIFS Server".
If we use "Security = share " the FS is able to be accessed(browse and W/R) from client without restriction. But if we use "Security = user" it keeps on prompt for User/Passwd only. syncsmbpasswd excuted OK. Attached is the smb.conf
Many Thanks,
Stan Du
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2009 04:35 AM
11-27-2009 04:35 AM
Re: multi-subnetted network SAMBA CONF in HP-UX 11.11
If you specify only the user name to the username field in the password dialog, Windows thinks you mean CLIENTDOMAIN\username. If that fails, CLIENTHOSTNAME\username is automatically tried. Only if both the client and the server are in the same domain/workgroup, you can use domain-less usernames.
When using "Security = user", try specifying the username as SAMBA\username (matching your workgroup name) or HPUXHOSTNAME\username.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2009 04:27 PM
11-27-2009 04:27 PM
Re: multi-subnetted network SAMBA CONF in HP-UX 11.11
It is true this is a browsing problem. We had tried SAMBA\Username and HPUXHOSTNAME\username before, but the result was the same. From SAMBA HOW-TO GUide it is suggested to browse across subnetworks by using lmhosts or WINS. But there is no detail info. My questions could be:
1. If we use lmhosts, lmhosts file will only contains "IP_Addr Netbios_name", Netbios_name would be HPUXHOSTNAME by default, IP_Addr is the IP of the samba server. And we must add the "-H" option into startsmb script. Is there anything else that must be set from Server or Client? Name resolution of the Netbios_name from client is OK.
2. If we choose to set the samba server as the WINS, what parameters should be defined in SMB.conf? Is there anything need to do in client?
Stan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2009 03:16 AM
12-02-2009 03:16 AM
Re: multi-subnetted network SAMBA CONF in HP-UX 11.11
Thanks,
Stan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2009 07:34 AM
12-02-2009 07:34 AM
Re: multi-subnetted network SAMBA CONF in HP-UX 11.11
When we set up SAMBA on HPUX along time ago, it was intended as a quick backdoor for printing. Hence, I removed security and left it wide open.
But.....as time progressed now we needed some shares to be locked down. In a failover environment I had to make (or re-make) our SAMBA smb.conf somewhat universal.
We currently are running 2.03.02 on HPUX as the host. Windows are the clients.
To lockdown certain shares I set it up like this:
[share_name]
comment = Secured share
path = /dir/sub-dir
public = no
browseable = no
valid users = user1, user2
guest ok = no
writeable = no
Mapped the Windows user, who also had to have the corresponding 'user1' account created with passwd on HPUX. That HPUX account is just an account using /usr/bin/false for shell. Once mapped I just put in login/password and they were in.
Had the manager try and map to the same share (It Mgr) using his account, any guest account or anything he wanted to try and gain unauthorized access. He couldn't, so it seems to be secure.
And to lock out them out I can use passwd -l option.
Hope this helps,
Rita