HP CIFS Server 3.0a Administrator's Guide version A.02.01

Winbind Support
Configuring HP CIFS Server with Winbind
Chapter 9170
publickey: files
netgroup: files
rpc: files
In above example, you confiugre the winbind service for the passwd and
group service types, the NSS first checks files, /etc/passwd and
/etc/group, then winbind.
Refer to switch(4) and “Configuring the Name Service Switch” in NFS
Services Administrator’s Guide at http://docs/hp.com/hpux/netcom/
for detailed information on how to configure NSS.
An Example for File Ownership by Winbind Users
In the following example, use /opt/samba/bin/smbclient to connect to
a share, shareA, on the HP CIFS Server, Server1, as the user, John,
from the domain, DomA:
$ cd /opt/samba/bin
$ ./smbclient //Server1/shareA -U DomA+John
The output is as follows:
Domain=[DomainA] OS=[Unix] Server=[Samba 3.0.5 based HP CIFS \
Server T.30.PV.02]
$ smb:\>put /etc/group JohnTest
$ smb:\>quit
Use the ll command to show the ownership of the file,
/tmp/shareA/JohnTest, that just is creared as follows:
$ ll /tmp/shareA/JohnTest
When you run the ll command, the output is as follows:
-rwxr--r-- 1 DomA+John DomA+GroA 290 Nov 0 12:05 \
tmp/shareA/JohnTest
In the above output, the file owner is DomA+John, and the group owner
is DomA+GroA. The first part of owner and group owner, DomA, is the
domain name, the + is the winbind separator. The last part, John and
GroA are the actual user name and group name from the windows
domain.
Use the ll -n command to show the UID and GID of file ownership as
follows:
$ ll -n /tmp/shareA/JohnTest
-rwxr--r-- 1 1002 1505 290 Nov 0 12:05 tmp/shareA/JohnTest