summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* Make the correct module name.Jeremy Allison2008-09-161-1/+1
| | | | Jeremy.
* First (incomplete) cut of this module. Based on Volker's original work.Jeremy Allison2008-09-162-0/+320
| | | | Jeremy.
* * Allow an admin to define the "uid" attribute for a RFC2307Gerald (Jerry) Carter2008-09-163-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
* idmap_hash: Add the idmap/nss-info provider from Likewise Open.Gerald (Jerry) Carter2008-09-165-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"
* winbindd: Update the calls to ws_name_XX() to reflect API changes.Gerald (Jerry) Carter2008-09-164-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).
* winbindd: Add support for name aliasing.Gerald (Jerry) Carter2008-09-166-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.
* Regenerate C files now that pidl reads imported files - saves a fewJelmer Vernooij2008-09-168-374/+336
| | | | lines of code for types that don't have deferred data.
* Use pidl from Samba 4 from Samba 3 rather than hoping there is one installed ↵Jelmer Vernooij2008-09-162-5/+1
| | | | | | on the system.
* Fix aio on FreeBSD.Timur2008-09-152-1/+31
|
* Fix display of POSIX ACLs.Timur2008-09-151-2/+2
|
* Fix cut and paste error in quota code.Timur2008-09-151-2/+2
|
* Fixed "uninitilized variable" build warningSteven Danneman2008-09-151-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
* Fixed "uninitialized variable" build warningSteven Danneman2008-09-151-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
* Fix build warning on FreeBSDSteven Danneman2008-09-151-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.
* idmap_ad: Fix a segfault when calling nss_get_info() with a NULL ads structure.Gerald W. Carter2008-09-151-12/+69
|
* Fix bug 5761 "open of mangled directory name results in 'is a stream name'"Jeremy Allison2008-09-151-3/+7
| | | | | reported by Regan Heath <Regan.Heath@BridgeHeadSoftware.com>. Jeremy.
* Fix standalone build.Jelmer Vernooij2008-09-151-0/+4
|
* Add flag for merged build.Jelmer Vernooij2008-09-152-7/+8
|
* Ignore generated build files.Jelmer Vernooij2008-09-152-4/+4
|
* Use new Samba 4 source location.Jelmer Vernooij2008-09-154-19/+19
|
* Import merged build patch.Jelmer Vernooij2008-09-156-28/+474
|
* lib/tdb: sync build system changes and python code from samba4Stefan Metzmacher2008-09-1416-415/+5308
| | | | | metze (This used to be commit bdb8ed24488fd87cd30dd18744feeef0bd4b2c18)
* lib/talloc: sync build system changes from samba4Stefan Metzmacher2008-09-145-13/+27
| | | | | metze (This used to be commit 0143c320ccf21c00e1a09b8363cd42724b76faf9)
* Skip strcmp() on 2 NULL pointers.Andrew Bartlett2008-09-141-1/+2
| | | | | | Andrew Bartlett (cherry picked from commit 7b9a647ebbbe9ec9e1b82b42e3a8916396f91273) (This used to be commit 60f7bdac64e32ea39099ababacca6f8a2b780ecb)
* r26514: Revert the talloc.c part of r26511, as talloc.h already takes care ↵Kai Blin2008-09-141-3/+0
| | | | | | | | of thois. Thanks to metze for pointing this out (cherry picked from commit 4a5e1047fff0620aa534b147ac7e0bd0416a8fe7) (This used to be commit 523cc93f89d00ed5a49fd033988e7221bd2ed902)
* r26511: Janitorial: Fix a warning for the 'printf' attribute on gendb_search_vStefan Metzmacher2008-09-141-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)
* Update homepages for talloc, tdb and ldb subprojectsSimo Sorce2008-09-143-34/+24
| | | | | (cherry picked from commit 8cb07814bc6627fc8eba228eafd13336e3ca3758) (This used to be commit 7d85b8d076d6b5b1773c44cd527e016b5d319da5)
* Adapt source code checkout information to git repo in talloc website.Michael Adam2008-09-141-4/+5
| | | | | | Michael (cherry picked from commit 254be79799acc69db88a5500a2f755c84553f8ef) (This used to be commit ac724cddc4a42c1c0cade3fb1cd551f005f2b54c)
* Fix paths for talloc into unpacked directory (rsync commands).Michael Adam2008-09-141-2/+2
| | | | | | Michael (cherry picked from commit 2839d7f67a0d3ed5b4841bf3c12ce73972636b88) (This used to be commit a891494d9373a1ecda1ad67c3c6b96cf6d37ea47)
* Fix path to talloc guide. Noted by "teferi" on irc.Michael Adam2008-09-141-1/+1
| | | | | | Michael (cherry picked from commit bc4e03f2ddb669758e27e2a5c32e15c7d6c5257d) (This used to be commit 5e5528ff964cd829a8cf8e508983e1a1eda01c32)
* r25614: Add trivial tdb website.Jelmer Vernooij2008-09-141-0/+44
| | | | | (cherry picked from commit 6f88c41c31271fd4b634b6393dc4ca44563a88d2) (This used to be commit 830f99fb5d73c999bb0975828bab6e5f7537baf6)
* libreplace: include <krb5.h> and <com_err.h> and no heimdal specific headersStefan Metzmacher2008-09-141-2/+3
| | | | | | metze (partialy cherry picked from commit cffed8e19e22a1fa7b7a322b153df5d54e4c3be2) (This used to be commit f46a17b408f8c78ecdff724f29d97f8f268d5577)
* Fix extra dash in command line flag.Jelmer Vernooij2008-09-141-1/+1
| | | | | (cherry picked from commit c823cfadb0b20a0782fc4a8a0b63dcb9116f82be) (This used to be commit 176d624376f7e450b34187778fc75d75679bdd0b)
* mount.cifs: make local versions of strlcat and strlcpy staticJeff Layton2008-09-121-2/+2
| | | | | | | ...to silence -Wmissing-prototypes Signed-off-by: Jeff Layton <jlayton@redhat.com> (This used to be commit fc7c71f15b39158ac58beaa90cc9038db680b8cb)
* cifs.upcall: make most functions static and silence compiler warningsJeff Layton2008-09-121-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)
* Modify a comment to make things clearer.Jeremy Allison2008-09-121-1/+3
| | | | | Jeremy. (This used to be commit 9d55ca85ffc73e3fa5fb9895fbcb1ee22f4e320d)
* Factor out validate_smb_cryptoVolker Lendecke2008-09-121-41/+53
| | | | (This used to be commit 37fcc9dc462dfb006fdac294e49c0dae7588c103)
* Fix "make test" -- gna...Volker Lendecke2008-09-121-1/+1
| | | | (This used to be commit c1d3ae80b5f5f07c5efcd7f3ee301d5c3090f3c6)
* Add a more explaining commentVolker Lendecke2008-09-121-1/+3
| | | | (This used to be commit edd70836daef340f21df3cb102144935f36e5c4c)
* remove a pointless empty lineVolker Lendecke2008-09-121-1/+0
| | | | (This used to be commit fba250ece45f6632c7d89b0ea28baab047e41a8f)
* Add a paranoia check on incoming PDUsVolker Lendecke2008-09-121-0/+7
| | | | (This used to be commit 8b81b85200b7ca18cf81fdbbc3254d8578b35f43)
* netapi: fix NetUserGetLocalGroups.Günther Deschner2008-09-121-2/+0
| | | | | Guenther (This used to be commit 5d91c9184c27def47f20fc089cc127d780387ed8)
* netapi: fix NetGroupGetUsers (only enumerates users).Günther Deschner2008-09-121-1/+6
| | | | | Guenther (This used to be commit a94318be4656a668be0295988ed0743105d830c9)
* netapi: fix NetUserSetGroups.Günther Deschner2008-09-121-20/+22
| | | | | Guenther (This used to be commit e8b27b69f33fb33c670026b3a24ed95a2f0099fe)
* netapi: fix NetGroupSetUsers.Günther Deschner2008-09-121-20/+22
| | | | | Guenther (This used to be commit 735bc2e425ce629745495190cd1c721ccb583d24)
* doserr: add WERR_NO_SUCH_ALIAS.Günther Deschner2008-09-122-0/+2
| | | | | Guenther (This used to be commit e065802a61f22e9fdcd4b911805c42c46a79b3f2)
* messaging: move types to IDL.Günther Deschner2008-09-126-90/+280
| | | | | Guenther (This used to be commit 6c346d0eb20af5ba9b09f30319420f7c91480da6)
* Reorder defines for version for consistency with Samba 4.Jelmer Vernooij2008-09-122-13/+16
| | | | (This used to be commit fe36d83508a6b1a8de5ad58ec1d0c80cda7b4a21)
* fix nonempty blank linesVolker Lendecke2008-09-121-98/+98
| | | | (This used to be commit 3111428dd42abf856f646f2a3aa2ee78ff3d3702)
* Use the given name, not the absolute pathname, when printing out ACL info.Jeremy Allison2008-09-111-1/+1
| | | | | | Make this match the non-ACL case. Jeremy. (This used to be commit e695c1cc2b715afd713595e8daa77910d9f04138)