Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
* Port the Likewise Open idmap/nss_info provider (renamed to
idmap_hash).
* uids & gids are generated based on a hashing algorithm that collapse
the Domain SID to a 31 bit number. The reverse mapping from the
high order 11 bits to the originat8ing sdomain SID is stored in
a has table initialized at start up.
* Includes support for "idmap_hash:name_map = <filename>" for the
name aliasing layer. The name map file consist of entries in
the form "alias = DOMAIN\name"
|
|
* Ensures that all points an which a name is received or returned
to/from a client passes through the name aliases layer (users
and groups).
|
|
* Add support user and group name aliasing by expanding
the ws_name_replace() and ws_name_return() functions.
The lookup path is
aliases -> qualified name -> SID
SID -> fully qualified name -> alias
In other words, the name aliasing support is a thin layer
built on top of SID/NAME translation.
* Rename the ws_name_XX() functions to normalize_name_map()
and normalize_name_unmap(). Chaneg interface to return
NTSTATUS rather than char *.
* Add associated cache validation functions.
|
|
lines of code for types that don't have deferred data.
|
|
on the
system.
|
|
|
|
|
|
|
|
Simple fix for warning:
Compiling utils/sharesec.c
utils/sharesec.c: In function `change_share_sec':
utils/sharesec.c:404: warning: 'sd' might be used uninitialized in this function
|
|
With gcc 4.1.3 on Ubuntu 7.10 the following build warning occurs:
Compiling libnet/libnet_samsync_keytab.c
cc1: warnings being treated as errors
libnet/libnet_samsync_keytab.c: In function ‘fetch_sam_entries_keytab’:
libnet/libnet_samsync_keytab.c:102: warning: ‘entry.enctype’ is used uninitialized in this function
Fixed by initializing to ENCTYPE_NULL
|
|
Fix for the following build warning:
Compiling torture/cmd_vfs.c
torture/cmd_vfs.c: In function `cmd_open':
torture/cmd_vfs.c:275: warning: unsigned int format, different type arg (arg 3)
torture/cmd_vfs.c: In function `cmd_mknod':
torture/cmd_vfs.c:992: warning: unsigned int format, different type arg (arg 3)
sccanf had mismatched types for mode_t between formating parameter and var args.
|
|
|
|
reported by Regan Heath <Regan.Heath@BridgeHeadSoftware.com>.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
metze
(This used to be commit bdb8ed24488fd87cd30dd18744feeef0bd4b2c18)
|
|
metze
(This used to be commit 0143c320ccf21c00e1a09b8363cd42724b76faf9)
|
|
Andrew Bartlett
(cherry picked from commit 7b9a647ebbbe9ec9e1b82b42e3a8916396f91273)
(This used to be commit 60f7bdac64e32ea39099ababacca6f8a2b780ecb)
|
|
of thois.
Thanks to metze for pointing this out
(cherry picked from commit 4a5e1047fff0620aa534b147ac7e0bd0416a8fe7)
(This used to be commit 523cc93f89d00ed5a49fd033988e7221bd2ed902)
|
|
While at it, also add a PRINTF_ATTRIBUTE for talloc_vasprintf.
(partialy cherry picked from commit 5b3a8c8ae195e6a98357a407a0699493f54a8b79)
metze
(This used to be commit 0073e41a0157ec43b944372671299b3e8a2b3cd5)
|
|
(cherry picked from commit 8cb07814bc6627fc8eba228eafd13336e3ca3758)
(This used to be commit 7d85b8d076d6b5b1773c44cd527e016b5d319da5)
|
|
Michael
(cherry picked from commit 254be79799acc69db88a5500a2f755c84553f8ef)
(This used to be commit ac724cddc4a42c1c0cade3fb1cd551f005f2b54c)
|
|
Michael
(cherry picked from commit 2839d7f67a0d3ed5b4841bf3c12ce73972636b88)
(This used to be commit a891494d9373a1ecda1ad67c3c6b96cf6d37ea47)
|
|
Michael
(cherry picked from commit bc4e03f2ddb669758e27e2a5c32e15c7d6c5257d)
(This used to be commit 5e5528ff964cd829a8cf8e508983e1a1eda01c32)
|
|
(cherry picked from commit 6f88c41c31271fd4b634b6393dc4ca44563a88d2)
(This used to be commit 830f99fb5d73c999bb0975828bab6e5f7537baf6)
|
|
metze
(partialy cherry picked from commit cffed8e19e22a1fa7b7a322b153df5d54e4c3be2)
(This used to be commit f46a17b408f8c78ecdff724f29d97f8f268d5577)
|
|
(cherry picked from commit c823cfadb0b20a0782fc4a8a0b63dcb9116f82be)
(This used to be commit 176d624376f7e450b34187778fc75d75679bdd0b)
|
|
...to silence -Wmissing-prototypes
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(This used to be commit fc7c71f15b39158ac58beaa90cc9038db680b8cb)
|
|
...to silence -Wmissing-prototypes and some uninit'ed variable
warnings. Thanks to GD for the extra-paranoid compiler flags.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(This used to be commit f0ee2c145fa031f91c28a69a44b7652f18eea0f0)
|
|
Jeremy.
(This used to be commit 9d55ca85ffc73e3fa5fb9895fbcb1ee22f4e320d)
|
|
(This used to be commit 37fcc9dc462dfb006fdac294e49c0dae7588c103)
|
|
(This used to be commit c1d3ae80b5f5f07c5efcd7f3ee301d5c3090f3c6)
|
|
(This used to be commit edd70836daef340f21df3cb102144935f36e5c4c)
|
|
(This used to be commit fba250ece45f6632c7d89b0ea28baab047e41a8f)
|
|
(This used to be commit 8b81b85200b7ca18cf81fdbbc3254d8578b35f43)
|
|
Guenther
(This used to be commit 5d91c9184c27def47f20fc089cc127d780387ed8)
|
|
Guenther
(This used to be commit a94318be4656a668be0295988ed0743105d830c9)
|
|
Guenther
(This used to be commit e8b27b69f33fb33c670026b3a24ed95a2f0099fe)
|
|
Guenther
(This used to be commit 735bc2e425ce629745495190cd1c721ccb583d24)
|
|
Guenther
(This used to be commit e065802a61f22e9fdcd4b911805c42c46a79b3f2)
|
|
Guenther
(This used to be commit 6c346d0eb20af5ba9b09f30319420f7c91480da6)
|
|
(This used to be commit fe36d83508a6b1a8de5ad58ec1d0c80cda7b4a21)
|
|
(This used to be commit 3111428dd42abf856f646f2a3aa2ee78ff3d3702)
|
|
Make this match the non-ACL case.
Jeremy.
(This used to be commit e695c1cc2b715afd713595e8daa77910d9f04138)
|
|
<fumiyas@osstech.co.jp>.
Fix for smbclient and libsmbclient.
Jeremy.
(This used to be commit dbd5d6b145528527a614c6207d81a6c955e57461)
|
|
Make sure that usernames are parsed using the correct separator.
Otherwise group memeberships in winbind may be result broken.
(This used to be commit 20b9c0aa7b4e6d6be5bb6e4e96bd8a1cbb6edd37)
|