- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SAMBA Configuration
Operating System - HP-UX
1819681
Members
3459
Online
109605
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО04-20-2010 08:58 PM
тАО04-20-2010 08:58 PM
SAMBA Configuration
Hi Talents
Need to clarify some basic queries related to samba configuration in hp-ux
version: hp-ux 11.23
queries
=======
1.Whether we need to use same passwd on both boxes(windows/unix)?
2.Whether users home directory should be same as the shared drive(here /share/test)?
3.Here security = ADS, so whether the user test need to be added as smabpasswd -a test?
4.How wecan check from whether the user test can access the shared drive /share/test.
5.Any other modification need to be done below configurations.
in /etc/opt/smb/smb.conf we are configured as below
workgroup = IND
security = ADS
realm = IND.CHN.CORP.DO.COM
netbios name = nxxxxxxx
encrypt passwords = yes
password server = Axxxxxxx.com, Bxxxxx.com, *
domain master = auto
local master = yes
preferred master = auto
wins server = Cxxxxxxx.com
********sharing************
[test]
comment = test
path = /share/test
browseable = yes
guest ok = no
===========================================
regards,
Need to clarify some basic queries related to samba configuration in hp-ux
version: hp-ux 11.23
queries
=======
1.Whether we need to use same passwd on both boxes(windows/unix)?
2.Whether users home directory should be same as the shared drive(here /share/test)?
3.Here security = ADS, so whether the user test need to be added as smabpasswd -a test?
4.How wecan check from whether the user test can access the shared drive /share/test.
5.Any other modification need to be done below configurations.
in /etc/opt/smb/smb.conf we are configured as below
workgroup = IND
security = ADS
realm = IND.CHN.CORP.DO.COM
netbios name = nxxxxxxx
encrypt passwords = yes
password server = Axxxxxxx.com, Bxxxxx.com, *
domain master = auto
local master = yes
preferred master = auto
wins server = Cxxxxxxx.com
********sharing************
[test]
comment = test
path = /share/test
browseable = yes
guest ok = no
===========================================
regards,
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 09:19 PM
тАО04-20-2010 09:19 PM
Re: SAMBA Configuration
Hi,
Here is the step by step to configure samba
May this help you,
TO check the CIFS Software is installed or not.
#swlist -l product| grep -i cifs
Edit the file and make the value 1 to stsrt the smb services at every boot.
#vi /etc/rc.config.d/samba
RUN_SAMBA=1
Configure /etc/opt/samba/smb.conf
#vi /etc/opt/samba/smb.conf {Make the changes as per your requirment}
...
[global]
# workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4
workgroup = UKDOM1
# server string is the equivalent of the NT Description field
server string = CIFS9000 Samba Server
# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/opt/samba/log.%m
log level = 1
# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = user
#=========================== Share Definitions =========================
[homes]
comment = Home Directories
browseable = no
# This one is useful for people to share files
[tmp]
comment = Temporary file space
path = /tmp
read only = no
[ora1]
comment = Shared Database Directory
path = /ora1
writable = yes
browseable = yes
Verify your smb.conf configuration with the testparm utility
#/opt/samba/bin/testparm
Load smb config files from /etc/opt/samba/smb.conf
Processing section "[homes]"
Processing section "[tmp]"
Processing section "[ora1]"
Loaded services file OK.
Processing comments in /etc/opt/samba/smb.conf
The SMB/CIFS password file does not exist by default. We need to create it and ensure that the permissions are correct. Again
#ll /var/opt/samba/private
#touch /var/opt/samba/private/smbpasswd
#chmod 500 /var/opt/samba/private
#chmod 600 /var/opt/samba/private/smbpasswd
#ll /var/opt/samba/private
#/opt/samba/bin/smbpasswd -a
Start the CIFS daemon
#/sbin/init.d/samba start
Verify the configuration with the smbclient utility
#/opt/samba/bin/smbclient -L localhost -U%
Suraj
Here is the step by step to configure samba
May this help you,
TO check the CIFS Software is installed or not.
#swlist -l product| grep -i cifs
Edit the file and make the value 1 to stsrt the smb services at every boot.
#vi /etc/rc.config.d/samba
RUN_SAMBA=1
Configure /etc/opt/samba/smb.conf
#vi /etc/opt/samba/smb.conf {Make the changes as per your requirment}
...
[global]
# workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4
workgroup = UKDOM1
# server string is the equivalent of the NT Description field
server string = CIFS9000 Samba Server
# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/opt/samba/log.%m
log level = 1
# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = user
#=========================== Share Definitions =========================
[homes]
comment = Home Directories
browseable = no
# This one is useful for people to share files
[tmp]
comment = Temporary file space
path = /tmp
read only = no
[ora1]
comment = Shared Database Directory
path = /ora1
writable = yes
browseable = yes
Verify your smb.conf configuration with the testparm utility
#/opt/samba/bin/testparm
Load smb config files from /etc/opt/samba/smb.conf
Processing section "[homes]"
Processing section "[tmp]"
Processing section "[ora1]"
Loaded services file OK.
Processing comments in /etc/opt/samba/smb.conf
The SMB/CIFS password file does not exist by default. We need to create it and ensure that the permissions are correct. Again
#ll /var/opt/samba/private
#touch /var/opt/samba/private/smbpasswd
#chmod 500 /var/opt/samba/private
#chmod 600 /var/opt/samba/private/smbpasswd
#ll /var/opt/samba/private
#/opt/samba/bin/smbpasswd -a
Start the CIFS daemon
#/sbin/init.d/samba start
Verify the configuration with the smbclient utility
#/opt/samba/bin/smbclient -L localhost -U%
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 09:37 PM
тАО04-20-2010 09:37 PM
Re: SAMBA Configuration
Thanks for the reply
I already go through Charlees Keenans HP-UX Bible.
I already go through Charlees Keenans HP-UX Bible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2010 08:25 AM
тАО04-22-2010 08:25 AM
Re: SAMBA Configuration
Hi Anoop,
1. Depends on how you want to map users: usermap file, winbind, Unified Login. Look at this whitepaper: http://docs.hp.com/en/16322/CIFSUnifiedLoginV2.pdf
2. Don't understand the question, but you can use [homes] as the default for /home. But for /share/test you need a specific share defined.
3. No - not for authentication. But for ACL management you need to run syncsmbpasswd (see appendix C in the whitepaper above).
4. Mount the share from a Windows client. /share/test needs to have the correct local (HP-UX) permissions for user authorization.
Eric Roseme
1. Depends on how you want to map users: usermap file, winbind, Unified Login. Look at this whitepaper: http://docs.hp.com/en/16322/CIFSUnifiedLoginV2.pdf
2. Don't understand the question, but you can use [homes] as the default for /home. But for /share/test you need a specific share defined.
3. No - not for authentication. But for ACL management you need to run syncsmbpasswd (see appendix C in the whitepaper above).
4. Mount the share from a Windows client. /share/test needs to have the correct local (HP-UX) permissions for user authorization.
Eric Roseme
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP