HP-UX HB v13.00 Ch-20 - CIFS

HP-UX Handbook Rev 13.00 Page 34 (of 40)
Chapter 20 CIFS
October 29, 2013
16th byte of a NetBIOS packet. (MS: Q163409)
Name
Number(h)
Type
Usage
<computername>
00
U
Workstation Service
<computername>
01
U
Messenger Service
<computername>
03
U
Messenger Service
<computername>
20
U
File Server Service
<username>
03
U
Messenger Service
<domain>
00
G
Domain Name
<domain>
1B
U
Domain Master Browser
<domain>
1C
G
Domain Controllers
<domain>
1D
U
Master Browser
<domain>
1E
G
Browser Service Elections
<INet~Services>
1C
G
IIS
<IS~computer name>
00
U
IIS
<\\--__MSBROWSE__>
01
G
Master Browser
Special user/client config
If you have a large environment with lots of users which should get dedicated shares (besides the
home share) you usually have a large smb.conf. This can affect the performance as smbd's
reread the configuration from time to time. Instead you could work with user specific include
files:
include = /etc/opt/samba/smb.conf.%U
This configuration results that user %U would source an additional smb.conf.<username>. If
user johndoe logs in Samba would additionally read smb.conf.johndoe. This smb.conf may
contain a special share or perhaps additional debugging and could look like this:
# requires smb.conf parameter
# "config file = /etc/opt/samba/smb.conf.%U"
# is read if johndoe logs in.
debug level = 10
# shares only for johndoe
[projekt1]
path = /VA7100/projekt1
# read permissions for UNIX-group projekt1
read list = @projekt1
valid users = johndoe
NTFS and POSIX ACL’s
The HP CIFS Server supports HP-UX POSIX Access Control Lists (ACLs). The mapping of
NTFS permissions to ACL (Access Control List) allows access and modification of ACLs from
Windows NT4.0, XP or Windows 2000 clients. This provides access to UNIX permission
information. CIFS UNIX Extensions support enables the cifsclient() and CIFS Server to
implement standard UNIX file system features, such as permissions, file ownership, symbolic