- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Windows filesharing (SMB) under Tru64 5.1B
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
10-16-2007 12:14 AM
10-16-2007 12:14 AM
Windows filesharing (SMB) under Tru64 5.1B
I need to setup some Windows SMB file-shares on our Tru64 servers. The servers are running Tru64 5.1B. I have been using ASU so far, but I find it odd and complex and I always spend a lot of time going through the manual again when there is a need for troubleshooting. It populates a windows PDC and requires licensing for more than 2 connections. It just does not seem to be the right product for my purpose.
What I need are just a couple of Windows SMB file-shares so they can be mounted by a single dedicated PC in order to backup and stream some specific data to tape. I tried NFS and Windows Services for Unix - Windows NFS client is too slow, at least 50 % slower than ASU.
I tried Samba some time ago, and I could not get it to compile or run, it would crash. Now there is a newer version 3.0.26a and I had some hope that it would finally work, but it shows warning at everything it compiles: "... is out of range INT_MIN to INT_MAX". And no particular info about it so far. Maybe it would work in gcc but that's too much of a hassle.
I've seen some info that samba would be part of the Internet Express CD, but I cannot find it. Could somebody please share some experience? Is there any version of Samba that would compile properly?
Best regards,
Markus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2007 12:58 AM
10-16-2007 12:58 AM
Re: Windows filesharing (SMB) under Tru64 5.1B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2007 01:08 AM
10-16-2007 01:08 AM
Re: Windows filesharing (SMB) under Tru64 5.1B
I have just installed gnupro tools from http://h30097.www3.hp.com/affinity/affinity-tools.html. Maybe samba will compile with gcc....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2007 02:05 AM
10-16-2007 02:05 AM
Re: Windows filesharing (SMB) under Tru64 5.1B
I found a link http://www.ics.uci.edu/~bsalamat/misc/compilegcc.html howto install gcc 4.11 under Tru64 5.1. I will try that later.
Regarding samba I'm not over the hill yet, but I can see the mountains. It compiled samba 3.0.26a with only to warnings, though a bunch of unresolved when linking. I will try with some older distributions....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2007 01:51 AM
10-17-2007 01:51 AM
Re: Windows filesharing (SMB) under Tru64 5.1B
I checked again regarding Internet Express at
http://h30097.www3.hp.com/internet/detailed.htm
I cannot find the option to download the kit from somwhere.
But I found something else.... patch details: IX66-SAMBA-20070530, which is going to be included in Internet Express for Tru64 UNIX v 6.7. The patch kit contains a standard stand-alone setld kit installing samba 3.0.25. I just installed it, and it did some configuration. I will go from there now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2007 04:24 AM
10-17-2007 04:24 AM
Re: Windows filesharing (SMB) under Tru64 5.1B
I checked swat at http:localhost:901
but I don't really see the point of using it.
I have changed:
/sbin/init.d/samba stop
mv /sbin/rc3.d/S98samba /sbin/rc3.d/X98samba
modified /etc/inetd.conf file:
removed the "swat" line, added:
# SAMBA - added by root
netbios-ssn stream tcp nowait root /usr/local/samba/sbin/smbd smbd
netbios-ns dgram udp wait root /usr/local/samba/sbin/nmbd nmbd
added the following to /etc/services
netbios-ssn 139/tcp
netbios-ns 137/udp
Then restart inetd for the changes to take affect:
# /sbin/init.d/inetd stop
# /sbin/init.d/inetd start
added directory
# mkdir /var/adm/samba
My /usr/local/samba/lib/smb.conf looks like:
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2007/09/21 02:58:20
Last, and hopefully least the user "backup" has to be added to samba:
(Password worked when I used 8 characters, but not 4). The info will be stored in /usr/local/samba/private. When I tried to create the Samba account using:
# /usr/local/samba/bin/smbpasswd -a backup
it failed, because there was no such Unix user. You need to create a Unix user with the same name first.
Next thing I noticed is that the samba user must have unix permissions to access the share-point. This makes it somewhat less flexible compared to ASU, which you can configure to use Windows ACL, overwritting Unix permissions.
I ended up adding the user "backup" to the "oinstall" group which has access to the shared directory, and than locked the user "backup" in order to prevent access to the system beside samba which restricts access to what smb.conf defines, e.g. /oraflash write only.
I got it all working now. Speed is fine. It took me the same effort to setup than ASU actually, but i have what I need - it's free too, and hopefully will be easier to check and reconfigure later.
Maybe this will help someone else when searching for Samba on Tru64 ;-)
Best regards,
Markus
Here is my smb.conf
[global]
log file = /var/adm/samba/log.%m
preferred master = No
domain master = No
wins support = No
hosts allow = avalon.rferl.org
case sensitive = No
short preserve case = No
netbios name = MERLIN
server string = Merlin Samba Test
workgroup = LAN
load printers = No
security = user
hide dot files = yes
[inst]
comment = Install directory
path = /inst
valid users = backup
public = no
writable = no
printable = no
[oraflash]
comment = Oracle 10g Flash Recveory Area
path = /oraflash
valid users = backup
public = no
writable = no
printable = no
[backup]
comment = Local vdump backups
path = /backup
valid users = backup
public = no
writeable = no
printable = no
To check the smb.conf file
# cd /usr/local/samba/lib
# /usr/local/samba/bin/testparm smb.conf
Load smb config files from smb.conf
Processing section "[inst]"
Processing section "[oraflash]"
Processing section "[backup]"
Loaded services file OK.
Server role: ROLE_STANDALONE
To see what is shared (hit return when prompted for password):
# ./smbclient -L \\localhost
Password:
Anonymous login successful
Domain=[LAN] OS=[Unix] Server=[Samba 3.0.25]
Sharename Type Comment
--------- ---- -------
inst Disk Install directory
oraflash Disk Oracle 10g Flash Recveory Area
backup Disk Local vdump backups
IPC$ IPC IPC Service (Merlin Samba Test)
I got it all working now. Speed is fine. It took me the same effort to setup than ASU actually, but i have what I need - it's free too, and hopefully will be easier to troubleshoot and reconfigure later.
Maybe this will help someone else too when searching for Samba on Tru64
Best regards,
Markus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2007 06:12 AM
10-17-2007 06:12 AM
Re: Windows filesharing (SMB) under Tru64 5.1B
If you set things properly in smb.conf you should be able to get your Samba machine to join your Windows Domain. You then don't need to worry about having matching usernames on Unix and Windows etc.
Take a look in "man smb.conf" for the various security options (security=domain security=ads etc.)
Cheers,
Rob