Age | Commit message (Collapse) | Author | Files | Lines |
|
- lib/sids.c:
generate_sam_sid() modified to take a domain name: it now
generates "DOMAIN_NAME.SID". reasons:
1) if you run multiple samba servers on the same machine
under different netbios names as members of a domain,
they won't all use the same SID, which is a _big_ mistake
but it would happen _by default_.
2) we have (had) a problem with sid_to_string() and string_to_sid()
which cause SIDs to be incorrectly read. one of the major
reasons for *NOT* making this change was so as not to disrupt
existing users. but as they will be anyway by this bug,
we might as well go ahead.
- passdb/smbpass.c:
wanted to change the meaning of the name in the smbpasswd
file to an "nt" name not a "unix" name. this is probably
not a good idea: reverted this.
- output formatting / bug-fixing in rpcclient query_useraliases code.
(This used to be commit e4930f5f48f8246ceec8add8bf769954a963190c)
|
|
(This used to be commit b95b2b5d44ad9f998a6f422132b854593de20f04)
|
|
(This used to be commit 776abe3fe52748b9d2939ff77f8a39155894b952)
|
|
(This used to be commit e717b898405fdcd0bb7787394961589aa62cacc3)
|
|
added their replacements, added sam password database API modules
(This used to be commit b1d1c1337c69c6f6bf25ab932a1a6a757e3ea2ae)
|
|
- split sam_passwd and smb_passwd into separate higher-order function tables
- renamed struct smb_passwd's "smb_user" to "unix_user". added "nt_user"
plus user_rid, and added a "wrap" function in both sam_passwd and smb_passwd
password databases to fill in the blank entries that are not obtained
from whatever password database API instance is being used.
NOTE: whenever a struct smb_passwd or struct sam_passwd is used, it MUST
be initialised with pwdb_sam_init() or pwd_smb_init(), see chgpasswd.c
for the only example outside of the password database APIs i could find.
- added query_useraliases code to rpcclient.
- dealt with some nasty interdependencies involving non-smbd programs
and the password database API. this is still not satisfactorily
resolved completelely, but it's the best i can do for now.
- #ifdef'd out some password database options so that people don't
mistakenly set them unless they recompile to _use_ those options.
lots of debugging done, it's still not finished. the unix/NT uid/gid
and user-rid/group-rid issues are better, but not perfect. the "BUILTIN"
domain is still missing: users cannot be added to "BUILTIN" groups yet,
as we only have an "alias" db API and a "group" db API but not "builtin-alias"
db API...
(This used to be commit 5d5d7e4de7d1514ab87b07ede629de8aa00519a1)
|
|
SCO 3.2 (including it also requires lots of streams stuff, making it a
total mess).
If this causes problems on some other platform then please add a
comment stating what platform and why the include is needed so we can
work out how to test for it properly.
(This used to be commit 21d779bf7def71d5d9c899eabbb6a110860bd8e2)
|
|
processing.
(This used to be commit 702263bba555a1d7c7999d40e5789b7e920dbce4)
|
|
(This used to be commit 8de177b05a1043d4416e8f673e499cd403bb3522)
|
|
Fix by Andrej Borsenkow <borsenkow.msk@sni.de>
(This used to be commit 5c0e31982e8eb1c93bc77925e59be65798f2dbad)
|
|
docs and do configuration at the same time.
(This used to be commit 386a3bfd337f4b248f6c88b9c98b9d6471cc9b25)
|
|
- changed swat welcome screen to have links to all Samba html docs instead
of just singing the praises of swat :)
(This used to be commit c830d893f1f7eb176dc1fb7de0a4efc748fd1423)
|
|
(This used to be commit d3fa0dd7a80a8d20e2d9db0b5ca24988059280fb)
|
|
(This used to be commit ed4d1062b2655d59f6904344e708aa53af235ad5)
|
|
(This used to be commit 98b72722c8c221047d890f9b7b1d51f16fdac705)
|
|
(This used to be commit bfca6e6a9d06742ea4ef36f1faac57eb0419b2d6)
|
|
Fix by Matt Chapman <m.chapman@student.unsw.edu.au>
(This used to be commit c44b418d6fd16a257af21f6b5b29b1cdf26015b7)
|
|
(This used to be commit baa43fb17b04b7945456514e01682e5dca5dfe99)
|
|
would only be a domain group rid. it can also be a local group rid,
which causes us problems in attempting to turn a unix gid into the
correct rid (domain group or local group).
sooo.... the fix is _in_ there, we just can't use it because it causes
link / knock-on problems in nmbd.
(This used to be commit e4ee6538709c33000774eb1676608f2dd67d5a30)
|
|
now need search capability on S-1-5-20, which will need argh, a
"group database API" on S-1-5-20, and the ability to add BUILTIN\Admins
etc to "local group map" argh.
(This used to be commit a24f6eb00ba7486479cbcf7fadf5456521c56179)
|
|
(This used to be commit 591c63e3e1e3201ddcd7582585b652fb848d80ca)
|
|
aclocal.m4: Added AC_LIBTESTFUNC.
configure.in: Fixed -lsecurity -lsec problems.
client.c: dos_ fixes.
groupdb/aliasunix.c: Dead code removal.
include/includes.h: Added default PRINTCAP_NAME.
lib/genrand.c: dos_ fixes.
lib/replace.c: Added strtoul.
lib/system.c: dos_ fixes.
lib/util.c: dos_ fixes.
lib/util_sid.c: Signed/unsigned fixes.
lib/util_str.c: removed bad const.
locking/locking_slow.c: dos_ fixes.
printing/printing.c: dos_ fixes.
rpc_server/srv_samr.c: Dead code removal.
rpc_server/srv_sid.c: global_myworkgroup defined with wrong size AGAIN !
smbd/dir.c: dos_ fixes.
smbd/open.c: dos_ fixes.
smbd/oplock.c: dos_ fixes.
smbd/reply.c smbd/server.c smbd/service.c smbd/uid.c: dos_ fixes.
Jeremy.
(This used to be commit 6acb4b68f68d516e2ac3c47e500f5600d653435e)
|
|
(This used to be commit 68342a29a892e515cf2b22d759476d61944bcd59)
|
|
(This used to be commit 8ec972ba6c274076b46081502acef256a70d1a38)
|
|
(This used to be commit 90a24664318da97a6e8cfe4622a8573c0e3cbe5e)
|
|
(This used to be commit 06b9100c1c1590bad392a8d9bdd79a6c554a3cac)
|
|
(This used to be commit 6de2b03d1c6714d63c6dbe7a417fb442e95ee0d9)
|
|
(This used to be commit f057b2e7a2e6d6d1a2e9e24f4bb20d38bf6af9a2)
|
|
(This used to be commit 6c4cf9ea4ac9bc441236d4e823d5fa1e7a487c26)
|
|
unix groups are not explicitly mapped.
i.e as a PDC or BDC you can have domain groups, as a member of a domain
you cannot.
as a member of a domain, unmapped unix groups are assumed to be aliases,
and as a PDC or BDC, unmapped unix groups are assumed to be unix groups.
there is _one_ other check needed with aliases to be added: unmapped unix
groups that have the same name as an NT group on the PDC (for which i will
need to write an LsaLookupNames call) should be assumed to be domain groups
on the PDC.
(This used to be commit 53b49b44e13a4ca9818ebc947372b1374831b568)
|
|
could never be a PDC.
(This used to be commit 2bcc540af80c37b8032a23d6d0045160a7c40e32)
|
|
(This used to be commit b67d66a1e9d879cd5960380c94422c0af8dedaad)
|
|
Jeremy.
(This used to be commit 252dd8b8929adbdff9917395d4f8caad2d7882b2)
|
|
Jeremy.
(This used to be commit 81b90208910528a4ace683f30e39c54d8cfa12b7)
|
|
(This used to be commit 403f53d696d17f34dd1afc035a72eda792dd20ea)
|
|
(This used to be commit c89642ff3fa0c0bc2bca62304db0282676e0b649)
|
|
(This used to be commit d50238823411f07d5db112843d9a1e3a84c7dbd7)
|
|
(This used to be commit 53339b63897f51913fef183fd3b4565dad2ffad1)
|
|
(This used to be commit 0fdac4b42fb55a26cdd73d6d5f4a3017d1b4db46)
|
|
(This used to be commit 22802195ed544b6042d791b34e704d608bbdfd84)
|
|
(This used to be commit 30b3f339f8d55c2d3a4cbc380b7f12eb040bf381)
|
|
(This used to be commit 16ac5c89b7417a6aa2596c5c7fbb1fa7542accfd)
|
|
(This used to be commit ba78b5932a1ed3f7c07720703b9131234f035689)
|
|
(This used to be commit 10e4cbd2647eb629b60b0060fa184212a89e54f2)
|
|
in the file were gids: they are not.
(This used to be commit 8af860394fa3251a26285c8c96c9e4093346f20b)
|
|
(This used to be commit 82b6292dff38f4e22ee8feab1b54504b95d705fa)
|
|
(This used to be commit e76f593b3572ac881f1aa1fb3326d8b7169b0078)
|
|
(This used to be commit e93491953a2555401a372de74ac2aee0cc44cb88)
|
|
use all_string_sub() if you don't want this.
(This used to be commit a3357ab49335106674fe7a7481cd0f146d74fbe5)
|
|
(This used to be commit bdcee2557bd243a1bfbde3353ebcfe3d82bf9fc5)
|