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

LDAP Integration Support
Installing your Samba Users in the Directory
Chapter 8 145
Syntax
ldapsearch [
option
]
Option
-b search/insert base
-s search scope
-D directory login
-w password of the directory manager
Example
The following example uses the ldapsearch utility to check that the user
entry johnl contains the sambaAccount objectclass:
$ /opt/ldapux/bin/ldapsearch -b “dc=cup,dc=hp, dc=com” -ssub \
-D “cn=Directory Manager” -w dmpasswd “uid=johnl”
The output is shown as the follows:
dn: uid=johnl,ou=People,dc=cup,dc=hp,dc=com
objectclass: top
objectclass: account
objectclass: posixAccount
objectclass: sambaAccount
loginShell: /usr/bin/ksh
uidNumber: 8662
gidNumber: 8200
homeDirectory: /home/johnl
gecos: John Louie, 48S-020, 447-1890
userPassword: {crypt}aOACGvt0T, 1fo
lmPassword: 0AED71B7494489AG2ED50F26D3C5EB07
NTPassword: 7C46DE22B8963EAA3F9F90BE4E0F661
acctFlags: UX
pwdLastSet: 1063301239