Hi everybody
I try to map Unix useraccounts to Windows useraccounts, both in the same Active Directory.
Filer: Ontap 8.1P2
Active Directory: Windows 2008 R2
/etc/usermap.cfg
MY-DOMAIN\testuser == testuser
MY-DOMAIN\* == *
/etc/nsswitch.conf
hosts: files dns nis
passwd: files ldap nis
netgroup: files ldap nis
group: files ldap nis
shadow: files nis
options ldap:
- ldap.ADdomain
- ldap.base dc=my-domain,dc=local
- ldap.base.group dc=my-domain,dc=local
- ldap.base.netgroup
- ldap.base.passwd dc=my-domain,dc=local
- ldap.enable on
- ldap.minimum_bind_level simple
- ldap.name CN=Administrator,CN=Users,DC=my-domain,DC=local
- ldap.nssmap.attribute.gecos name
- ldap.nssmap.attribute.gidNumber gidNumber
- ldap.nssmap.attribute.groupname cn
- ldap.nssmap.attribute.homeDirectory homeDirectory
- ldap.nssmap.attribute.loginShell loginShell
- ldap.nssmap.attribute.memberNisNetgroup gidNumber
- ldap.nssmap.attribute.memberUid uid
- ldap.nssmap.attribute.netgroupname cn
- ldap.nssmap.attribute.nisNetgroupTriple uid
- ldap.nssmap.attribute.uid msSFU30Name
- ldap.nssmap.attribute.uidNumber uidNumber
- ldap.nssmap.attribute.userPassword userPassword
- ldap.nssmap.objectClass.nisNetgroup nisNetgroup
- ldap.nssmap.objectClass.posixAccount User
- ldap.nssmap.objectClass.posixGroup Group
- ldap.passwd ******
- ldap.port 389
- ldap.rfc2307bis.enable on
- ldap.servers 192.168.246.67
- ldap.servers.preferred
- ldap.skip_cn_unescape.enable on
- ldap.ssl.enable off
- ldap.timeout 20
- ldap.usermap.attribute.unixaccount sAMAccountName
- ldap.usermap.attribute.windowsaccount sAMAccountName
- ldap.usermap.base dc=my-domain,dc=local
- ldap.usermap.enable on
- ldap.usermap.windows-to-unix.objectClass user
options wafl:
- wafl.default_nt_user
- wafl.default_unix_user pcuser
- wafl.nt_admin_priv_map_to_root on
- wafl.root_only_chown on
wcc -s testuser
(NT - UNIX) account name(s): (MY-DOMAIN\testuser - pcuser)
***************
UNIX uid = 65534
NT membership
MY-DOMAIN\testuser
MY-DOMAIN\Domain Users
BUILTIN\Users
User is also a member of Everyone, Network Users,
Authenticated Users
***************
wcc -u testuser
no passwd entry for testuser
getXXbyYY getpwbyname_r testuser
Could not get passwd entry for name = testuser
Has anyone an idea what could be wrong?