diff options
author | Gerald (Jerry) Carter <jerry@samba.org> | 2008-09-16 10:35:21 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-09-16 10:35:21 -0700 |
commit | 28d2683903677d396c77c437fabd7ea807ff0de6 (patch) | |
tree | 1a8d2b115d6bb001aa62d3b0b1bae49fa54ef65c /source4 | |
parent | 63554b4078e3039bfeda46d8bc77d6ad7ab189ad (diff) | |
download | samba-28d2683903677d396c77c437fabd7ea807ff0de6.tar.gz samba-28d2683903677d396c77c437fabd7ea807ff0de6.tar.bz2 samba-28d2683903677d396c77c437fabd7ea807ff0de6.zip |
* Allow an admin to define the "uid" attribute for a RFC2307
user object in AD to be the username alias.
For example:
$ net ads search "(uid=coffeedude)"
distinguishedName: CN=Gerald W. Carter,CN=Users,DC=pink,DC=plainjoe,DC=org
sAMAccountName: gcarter
memberOf: CN=UnixUsers,CN=Users,DC=pink,DC=plainjoe,DC=org
memberOf: CN=Domain Admins,CN=Users,DC=pink,DC=plainjoe,DC=org
memberOf: CN=Enterprise Admins,CN=Users,DC=pink,DC=plainjoe,DC=org
memberOf: CN=Schema Admins,CN=Users,DC=pink,DC=plainjoe,DC=org
uid: coffeedude
uidNumber: 10000
gidNumber: 10000
unixHomeDirectory: /home/gcarter
loginShell: /bin/bash
$ ssh coffeedude@192.168.56.91
Password:
coffeedude@orville:~$ id
uid=10000(coffeedude) gid=10000(PINK\unixusers) groups=10000(PINK\unixusers)
$ getent passwd PINK\\gcarter
coffeedude:*:10000:10000::/home/gcarter:/bin/bash
$ getent passwd coffeedude
coffeedude:*:10000:10000::/home/gcarter:/bin/bash
$ getent group PINK\\Unixusers
PINK\unixusers:x:10000:coffeedude
Diffstat (limited to 'source4')
0 files changed, 0 insertions, 0 deletions