[Samba] Re: Samba, AIX and Winbind

Carlos Eduardo Pedroza Santiviago
2006-08-09T17:22:06Z

[...]
> - Has anyone been able to do something like this? I mean, using a
> unique UID across multiple environments?

More on this:

$ ldapsearch -b ou=idmap,dc=domain -x
# extended LDIF
#
# LDAPv3
# base <ou=idmap,dc=domain> with scope sub
# filter: (objectclass=*)
# requesting: ALL
#

# Idmap, DOMAIN
dn: ou=Idmap,dc=DOMAIN
objectClass: organizationalUnit
objectClass: sambaUnixIdPool
ou: Idmap
gidNumber: 10010
uidNumber: 10001

# S-1-5-21-112207604-471413004-518595180-18138, Idmap, domain
dn: sambaSID=S-1-5-21-112207604-471413004-518595180-18138,ou=Idmap,dc=domain
objectClass: sambaIdmapEntry
objectClass: sambaSidEntry
uidNumber: 10000
sambaSID: S-1-5-21-112207604-471413004-518595180-18138

As i see above, when using winbind to map SID to UID, and using LDAP
as backend, it'll map every entry below ou=Idmap,dc=domain. But, why
doesn't it use the same uid for my user?