Samba4 wbinfo -i output
steve at steve-ss.com
Sun May 6 01:06:34 MDT 2012
On 05/06/2012 08:39 AM, Gémes Géza wrote:
> On 2012-05-06 07:29, steve wrote:
>> We have user rfc2307 objects and attributes stored along with the user
>> and group DN in the directory.
>> getent passwd works:
>> getent passwd steve2
>> getent group "Domain Users"
>> Domain Users:*:20513:
>> but wbinfo doesn't:
>> wbinfo -i steve2
>> Until recent builds, it gave the same as getent for the
>> uidNumber:gidNumber pair but now it always gives 100. (but never
>> 1. Has this changed recently?
>> 2. Is there a possibility (if we switch to using winbind) for storing
>> user home directories in places other than /home/WORKGROUP/user.
> Hi Steve,
> Some missing detail:
> 1. your /etc/nsswitch.conf
> 2. version of your winbind and wbinfo (from samba4 or samba3)?
> Samba4 winbind is known not to honor rfc2307 attributes yet, it will be
> likely sorted out when integration of s3fs will be completed (together
> with winbind3).
The format of /private/idmap.ldb changed recently so I think the change
in output is due to that. It doesn't affect us as we are happy with
storing rfc2307 in the directory but we are still interested in giving
winbind a go when it becomes available. We'd be interested to know if
winbind can cope with home directories according to unixHomeDirectory
rather than everyone under /home/DOMAIN.
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat ldap
group: compat ldap
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
protocols: db files
services: db files
ethers: db files
rpc: db files
To make sure it's the wbinfo from S4:
/usr/local/samba/bin/wbinfo -i steve2
getent passwd steve2
Here is the DN:
userPrincipalName: steve2 at polop.site
More information about the samba-technical