[Samba] Linux, Windows AD domain, and IDs

TAKAHASHI Motonobu monyo at monyo.com
Wed Dec 8 08:03:12 MST 2010


Hello

2010/12/7 Scott Ehrlich <srehrlich at gmail.com>:
> I have a Windows 200x AD Server and have a Linux box as a client
> connected to the Windows domain having modified the native Kerberos,
> smb.conf, and other files (not using Likewise).

(snip)

> As an update, I need the uid to return the numeric portion of my
> ad_account username, so if I am se123456, I need the uid to return
> 123456, thus getent passwd would show se123456:x:123456:blah....

I think Samba has no way to archive your goal.

Only the way is to set the mapping manually, using idmap_ad (with SFU
or SUA) ,wbinfo --set-uid-mapping command (with Winbind) or net idmap
restore command.

---
TAKAHASHI Motonobu <monyo at samba.gr.jp>


More information about the samba mailing list