Samba4: What does 'The Directory' mean?

steve steve at
Sun Apr 15 07:52:15 MDT 2012

On 15/04/12 03:21, Andrew Bartlett wrote:
> On Sat, 2012-04-14 at 20:28 +0200, steve wrote:
>> Hi everyone
>> I'm the only English speaker on our team of testers over here.
  All objects as seen over ldap have a DN, and are
> in 'the directory'.
> When using in an unqualified sense, it does not generally refer to
> folders on the filesystem.
> I hope this clarifies things.
> Andrew Bartlett

Hi Andrew, hi everyone.

Here is my dn:

ldbsearch --url=/usr/local/samba/private/sam.ldb cn=steve2
# record 1
dn: CN=steve2,CN=Users,DC=hh3,DC=site
cn: steve2
instanceType: 4
whenCreated: 20120407074614.0Z
uSNCreated: 3733
name: steve2
objectGUID: 187297b2-c81e-4ef2-ad96-05e3bb895e6f
badPwdCount: 0
codePage: 0
countryCode: 0
badPasswordTime: 0
lastLogoff: 0
lastLogon: 0
objectSid: S-1-5-21-1273361102-2413723601-2282298442-1108
accountExpires: 9223372036854775807
logonCount: 0
sAMAccountName: steve2
sAMAccountType: 805306368
userPrincipalName: steve2 at
objectCategory: CN=Person,CN=Schema,CN=Configuration,DC=hh3,DC=site
pwdLastSet: 129782583740000000
userAccountControl: 512
uidNumber: 3000002
gidNumber: 1107
unixHomeDirectory: /home2/MARINA/steve2
loginShell: /bin/bash
objectClass: top
objectClass: posixAccount
objectClass: person
objectClass: organizationalPerson
objectClass: user
primaryGroupID: 1107
profilePath: \\hh1\profiles\steve2
homeDrive: Z:
homeDirectory: \\hh1\home\steve2
description: suseusers
whenChanged: 20120407095752.0Z
uSNChanged: 3769
memberOf: CN=Domain Users,CN=Users,DC=hh3,DC=site
memberOf: CN=teachers,CN=Users,DC=hh3,DC=site
distinguishedName: CN=steve2,CN=Users,DC=hh3,DC=site

ldbsearch --url=/usr/local/samba/private/sam.ldb cn=teachers
# record 1
dn: CN=teachers,CN=Users,DC=hh3,DC=site
cn: teachers
instanceType: 4
whenCreated: 20120410125931.0Z
uSNCreated: 3836
name: teachers
objectGUID: ca53f725-f74b-464e-9292-4c487e686727
objectSid: S-1-5-21-1273361102-2413723601-2282298442-1119
sAMAccountName: teachers
sAMAccountType: 268435456
groupType: -2147483646
objectCategory: CN=Group,CN=Schema,CN=Configuration,DC=hh3,DC=site
objectClass: top
objectClass: posixGroup
objectClass: group
gidNumber: 1119
memberUid: steve2
member: CN=steve2,CN=Users,DC=hh3,DC=site
whenChanged: 20120415070613.0Z
uSNChanged: 3880
distinguishedName: CN=teachers,CN=Users,DC=hh3,DC=site

steve2 uses Linux and windows computers.

He has attributes copied from openLDAP and rarely uses windows.

Could you do me a yes/no on:
¿Is steve2 part of the directory?
¿Is the teachers group part of the directory?


More information about the samba-technical mailing list