summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2008-09-16* Allow an admin to define the "uid" attribute for a RFC2307Gerald (Jerry) Carter3-12/+185
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
2008-09-16idmap_hash: Add the idmap/nss-info provider from Likewise Open.Gerald (Jerry) Carter5-0/+637
* 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"
2008-09-16winbindd: Update the calls to ws_name_XX() to reflect API changes.Gerald (Jerry) Carter4-46/+314
* 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).
2008-09-16winbindd: Add support for name aliasing.Gerald (Jerry) Carter6-22/+435
* 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.
2008-09-16Regenerate C files now that pidl reads imported files - saves a fewJelmer Vernooij8-374/+336
lines of code for types that don't have deferred data.
2008-09-16Use pidl from Samba 4 from Samba 3 rather than hoping there is one installed ↵Jelmer Vernooij2-5/+1
on the system.
2008-09-15Fix aio on FreeBSD.Timur2-1/+31
2008-09-15Fix display of POSIX ACLs.Timur1-2/+2
2008-09-15Fix cut and paste error in quota code.Timur1-2/+2
2008-09-15Fixed "uninitilized variable" build warningSteven Danneman1-1/+1
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
2008-09-15Fixed "uninitialized variable" build warningSteven Danneman1-0/+1
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
2008-09-15Fix build warning on FreeBSDSteven Danneman1-2/+2
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.
2008-09-15idmap_ad: Fix a segfault when calling nss_get_info() with a NULL ads structure.Gerald W. Carter1-12/+69
2008-09-15Fix bug 5761 "open of mangled directory name results in 'is a stream name'"Jeremy Allison1-3/+7
reported by Regan Heath <Regan.Heath@BridgeHeadSoftware.com>. Jeremy.
2008-09-15Fix standalone build.Jelmer Vernooij1-0/+4
2008-09-15Add flag for merged build.Jelmer Vernooij2-7/+8
2008-09-15Ignore generated build files.Jelmer Vernooij2-4/+4
2008-09-15Use new Samba 4 source location.Jelmer Vernooij4-19/+19
2008-09-15Import merged build patch.Jelmer Vernooij6-28/+474
2008-09-14lib/tdb: sync build system changes and python code from samba4Stefan Metzmacher16-415/+5308
metze (This used to be commit bdb8ed24488fd87cd30dd18744feeef0bd4b2c18)
2008-09-14lib/talloc: sync build system changes from samba4Stefan Metzmacher5-13/+27
metze (This used to be commit 0143c320ccf21c00e1a09b8363cd42724b76faf9)
2008-09-14Skip strcmp() on 2 NULL pointers.Andrew Bartlett1-1/+2
Andrew Bartlett (cherry picked from commit 7b9a647ebbbe9ec9e1b82b42e3a8916396f91273) (This used to be commit 60f7bdac64e32ea39099ababacca6f8a2b780ecb)
2008-09-14r26514: Revert the talloc.c part of r26511, as talloc.h already takes care ↵Kai Blin1-3/+0
of thois. Thanks to metze for pointing this out (cherry picked from commit 4a5e1047fff0620aa534b147ac7e0bd0416a8fe7) (This used to be commit 523cc93f89d00ed5a49fd033988e7221bd2ed902)
2008-09-14r26511: Janitorial: Fix a warning for the 'printf' attribute on gendb_search_vStefan Metzmacher1-2/+5
While at it, also add a PRINTF_ATTRIBUTE for talloc_vasprintf. (partialy cherry picked from commit 5b3a8c8ae195e6a98357a407a0699493f54a8b79) metze (This used to be commit 0073e41a0157ec43b944372671299b3e8a2b3cd5)
2008-09-14Update homepages for talloc, tdb and ldb subprojectsSimo Sorce3-34/+24
(cherry picked from commit 8cb07814bc6627fc8eba228eafd13336e3ca3758) (This used to be commit 7d85b8d076d6b5b1773c44cd527e016b5d319da5)
2008-09-14Adapt source code checkout information to git repo in talloc website.Michael Adam1-4/+5
Michael (cherry picked from commit 254be79799acc69db88a5500a2f755c84553f8ef) (This used to be commit ac724cddc4a42c1c0cade3fb1cd551f005f2b54c)
2008-09-14Fix paths for talloc into unpacked directory (rsync commands).Michael Adam1-2/+2
Michael (cherry picked from commit 2839d7f67a0d3ed5b4841bf3c12ce73972636b88) (This used to be commit a891494d9373a1ecda1ad67c3c6b96cf6d37ea47)
2008-09-14Fix path to talloc guide. Noted by "teferi" on irc.Michael Adam1-1/+1
Michael (cherry picked from commit bc4e03f2ddb669758e27e2a5c32e15c7d6c5257d) (This used to be commit 5e5528ff964cd829a8cf8e508983e1a1eda01c32)
2008-09-14r25614: Add trivial tdb website.Jelmer Vernooij1-0/+44
(cherry picked from commit 6f88c41c31271fd4b634b6393dc4ca44563a88d2) (This used to be commit 830f99fb5d73c999bb0975828bab6e5f7537baf6)
2008-09-14libreplace: include <krb5.h> and <com_err.h> and no heimdal specific headersStefan Metzmacher1-2/+3
metze (partialy cherry picked from commit cffed8e19e22a1fa7b7a322b153df5d54e4c3be2) (This used to be commit f46a17b408f8c78ecdff724f29d97f8f268d5577)
2008-09-14Fix extra dash in command line flag.Jelmer Vernooij1-1/+1
(cherry picked from commit c823cfadb0b20a0782fc4a8a0b63dcb9116f82be) (This used to be commit 176d624376f7e450b34187778fc75d75679bdd0b)
2008-09-12mount.cifs: make local versions of strlcat and strlcpy staticJeff Layton1-2/+2
...to silence -Wmissing-prototypes Signed-off-by: Jeff Layton <jlayton@redhat.com> (This used to be commit fc7c71f15b39158ac58beaa90cc9038db680b8cb)
2008-09-12cifs.upcall: make most functions static and silence compiler warningsJeff Layton1-7/+11
...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)
2008-09-12Modify a comment to make things clearer.Jeremy Allison1-1/+3
Jeremy. (This used to be commit 9d55ca85ffc73e3fa5fb9895fbcb1ee22f4e320d)
2008-09-12Factor out validate_smb_cryptoVolker Lendecke1-41/+53
(This used to be commit 37fcc9dc462dfb006fdac294e49c0dae7588c103)
2008-09-12Fix "make test" -- gna...Volker Lendecke1-1/+1
(This used to be commit c1d3ae80b5f5f07c5efcd7f3ee301d5c3090f3c6)
2008-09-12Add a more explaining commentVolker Lendecke1-1/+3
(This used to be commit edd70836daef340f21df3cb102144935f36e5c4c)
2008-09-12remove a pointless empty lineVolker Lendecke1-1/+0
(This used to be commit fba250ece45f6632c7d89b0ea28baab047e41a8f)
2008-09-12Add a paranoia check on incoming PDUsVolker Lendecke1-0/+7
(This used to be commit 8b81b85200b7ca18cf81fdbbc3254d8578b35f43)
2008-09-12netapi: fix NetUserGetLocalGroups.Günther Deschner1-2/+0
Guenther (This used to be commit 5d91c9184c27def47f20fc089cc127d780387ed8)
2008-09-12netapi: fix NetGroupGetUsers (only enumerates users).Günther Deschner1-1/+6
Guenther (This used to be commit a94318be4656a668be0295988ed0743105d830c9)
2008-09-12netapi: fix NetUserSetGroups.Günther Deschner1-20/+22
Guenther (This used to be commit e8b27b69f33fb33c670026b3a24ed95a2f0099fe)
2008-09-12netapi: fix NetGroupSetUsers.Günther Deschner1-20/+22
Guenther (This used to be commit 735bc2e425ce629745495190cd1c721ccb583d24)
2008-09-12doserr: add WERR_NO_SUCH_ALIAS.Günther Deschner2-0/+2
Guenther (This used to be commit e065802a61f22e9fdcd4b911805c42c46a79b3f2)
2008-09-12messaging: move types to IDL.Günther Deschner6-90/+280
Guenther (This used to be commit 6c346d0eb20af5ba9b09f30319420f7c91480da6)
2008-09-12Reorder defines for version for consistency with Samba 4.Jelmer Vernooij2-13/+16
(This used to be commit fe36d83508a6b1a8de5ad58ec1d0c80cda7b4a21)
2008-09-12fix nonempty blank linesVolker Lendecke1-98/+98
(This used to be commit 3111428dd42abf856f646f2a3aa2ee78ff3d3702)
2008-09-11Use the given name, not the absolute pathname, when printing out ACL info.Jeremy Allison1-1/+1
Make this match the non-ACL case. Jeremy. (This used to be commit e695c1cc2b715afd713595e8daa77910d9f04138)
2008-09-11Fix bug #5751 cannot show ACLs on DFS reported by SATOH Fumiyasu ↵Jeremy Allison2-35/+56
<fumiyas@osstech.co.jp>. Fix for smbclient and libsmbclient. Jeremy. (This used to be commit dbd5d6b145528527a614c6207d81a6c955e57461)
2008-09-11Fix for bug 5571Simo Sorce3-1/+27
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)