- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Explain the samba configuration
Operating System - HP-UX
1753899
Members
7508
Online
108809
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
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
Go to solution
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-15-2009 12:47 AM
тАО04-15-2009 12:47 AM
Hi
Before i have configure samba as stand alone.
I did not connected my samba with DC.
Ex:
I used to just mention following things only.
workgroup = tmcdomain
encrypt passwords = yes
[data]
comment = userdata
path = /data
valid users = vicky,dennis
browseable = yes
writeable = yes
create mask = 777
Then i creat the users using useradd and then
i add that users to smbpasswd file using smbpasswd command.
But in my environment they have connected my samba server with DC.
My configuration is:
# vi /etc/opt/samba/smb.conf
[global]
preferred master = auto ---->1
domain master = auto --->2
domain logons = no ---->3
netbios name = ad002223 ---->4
#workgroup = DOMAIN_NAME
workgroup = emdeng ----->5
# server string is the equivalent of the NT Description field
server string = ad002223 ---->6
# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/opt/samba/log.%m ----->7
# Put a capping on the size of the log files (in Kb).
max log size = 100000 ----->8
# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = domain -----> 9
# Use password server option only with security = server or domain
password server = emdlagdc67.emdna.emdiesels.com emdlondc02.emdna.emdiesels.com ---->10
# Do not enable this option unless you have read those documents
encrypt passwords = yes ----> 11
# See speed.txt and the manual pages for details
socket options = TCP_NODELAY ---->12
# set local master to no if you don't want Samba to become a master
local master = yes --->13
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
wins server = 143.242.67.59 --->14
# WINS Proxy - Tells Samba to answer name resolution queries on
wins proxy = yes ---->15
dns proxy = yes --->16
read only = no ---->17
preserve case = yes ---->18
short preserve case = no ----->19
dos filetime resolution = yes----->20
syslog = 1 ----->21
#guest = smbnull
guest ok = no --->22
browsable = yes ---->23
follow symlinks = yes ---> 24
admin users = wstron01 brochu01 cscadmin jmillsap millsap dallen ---->25
#============================ Share Definitions ==============================
# This one is useful for people to share files
[EMD]
path = /emd
comment = EMD Data
browseable = yes
create mask = 0644 ----> 26
directory mask = 0754 -----------> 27
directory security mask = 0755 ----> 28
[gmpdl18] ---------->27
path = /appl/gmpdl18
comment = Engineering Applications
browseable = yes
create mask = 0644
directory mask = 0754
directory security mask = 0755
----------------------------------------
My questions:
1) Pls answer purpose of all the code mention with number like "------1, --------2 ...."
2) in the below line
password server = emdlagdc67.emdna.emd.com emdlondc02.emdna.emd.com ---->10
is both are DCs?
3)in the below line
workgroup = emdeng ----->5
is it the domain name?
4) local master = yes --->13
what is the purpose of this? what happen if we set to no?
5) wins server = 143.242.67.59 --->14
what is the purpose of this? what happen if we set to no?
6) wins proxy = yes ---->15
what is the purpose of this? what happen if we set to no?
7)dns proxy = yes --->16
what is the purpose of this? what happen if we set to no?
8) in share section, there is no entry for valid users.
Ex:
[EMD]
path = /emd
comment = EMD Data
browseable = yes
create mask = 0644 ----> 26
directory mask = 0754 -----------> 27
directory security mask = 0755 ----> 28
And ther is no entry in /etc/opt/samba/smbpasswd.
Then where the acl is created for accessing each samba share. pls explain me.
Before i have configure samba as stand alone.
I did not connected my samba with DC.
Ex:
I used to just mention following things only.
workgroup = tmcdomain
encrypt passwords = yes
[data]
comment = userdata
path = /data
valid users = vicky,dennis
browseable = yes
writeable = yes
create mask = 777
Then i creat the users using useradd and then
i add that users to smbpasswd file using smbpasswd command.
But in my environment they have connected my samba server with DC.
My configuration is:
# vi /etc/opt/samba/smb.conf
[global]
preferred master = auto ---->1
domain master = auto --->2
domain logons = no ---->3
netbios name = ad002223 ---->4
#workgroup = DOMAIN_NAME
workgroup = emdeng ----->5
# server string is the equivalent of the NT Description field
server string = ad002223 ---->6
# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/opt/samba/log.%m ----->7
# Put a capping on the size of the log files (in Kb).
max log size = 100000 ----->8
# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = domain -----> 9
# Use password server option only with security = server or domain
password server = emdlagdc67.emdna.emdiesels.com emdlondc02.emdna.emdiesels.com ---->10
# Do not enable this option unless you have read those documents
encrypt passwords = yes ----> 11
# See speed.txt and the manual pages for details
socket options = TCP_NODELAY ---->12
# set local master to no if you don't want Samba to become a master
local master = yes --->13
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
wins server = 143.242.67.59 --->14
# WINS Proxy - Tells Samba to answer name resolution queries on
wins proxy = yes ---->15
dns proxy = yes --->16
read only = no ---->17
preserve case = yes ---->18
short preserve case = no ----->19
dos filetime resolution = yes----->20
syslog = 1 ----->21
#guest = smbnull
guest ok = no --->22
browsable = yes ---->23
follow symlinks = yes ---> 24
admin users = wstron01 brochu01 cscadmin jmillsap millsap dallen ---->25
#============================ Share Definitions ==============================
# This one is useful for people to share files
[EMD]
path = /emd
comment = EMD Data
browseable = yes
create mask = 0644 ----> 26
directory mask = 0754 -----------> 27
directory security mask = 0755 ----> 28
[gmpdl18] ---------->27
path = /appl/gmpdl18
comment = Engineering Applications
browseable = yes
create mask = 0644
directory mask = 0754
directory security mask = 0755
----------------------------------------
My questions:
1) Pls answer purpose of all the code mention with number like "------1, --------2 ...."
2) in the below line
password server = emdlagdc67.emdna.emd.com emdlondc02.emdna.emd.com ---->10
is both are DCs?
3)in the below line
workgroup = emdeng ----->5
is it the domain name?
4) local master = yes --->13
what is the purpose of this? what happen if we set to no?
5) wins server = 143.242.67.59 --->14
what is the purpose of this? what happen if we set to no?
6) wins proxy = yes ---->15
what is the purpose of this? what happen if we set to no?
7)dns proxy = yes --->16
what is the purpose of this? what happen if we set to no?
8) in share section, there is no entry for valid users.
Ex:
[EMD]
path = /emd
comment = EMD Data
browseable = yes
create mask = 0644 ----> 26
directory mask = 0754 -----------> 27
directory security mask = 0755 ----> 28
And ther is no entry in /etc/opt/samba/smbpasswd.
Then where the acl is created for accessing each samba share. pls explain me.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2009 12:56 AM
тАО04-15-2009 12:56 AM
SolutionHI Senthil
You can check below link as follows,
http://docs.hp.com/en/B8725-90118/ch02.html
http://docs.hp.com/en/30216-90328/ch06s07.html
Rgds//
Taifur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2009 12:56 AM
тАО04-15-2009 12:56 AM
Re: Explain the samba configuration
Hi Senthil,
You need to go through this links..
http://www.docs.hp.com/en/B8725-90021/index.html
http://docs.hp.com/en/B8725-90021/ch01s05.html
You need to go through this links..
http://www.docs.hp.com/en/B8725-90021/index.html
http://docs.hp.com/en/B8725-90021/ch01s05.html
Best wishes,
Ganesh.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2009 06:33 AM
тАО04-15-2009 06:33 AM
Re: Explain the samba configuration
Hi
I am in urgency.
Pls answer fast.
I am in urgency.
Pls answer fast.
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP