summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-07-06Clean up winbindd_group.c tooSimo Sorce1-210/+255
(This used to be commit 50a347f5503ebed0fcc7b9de60f8368677585bb1)
2008-07-06Clean up the rest of the file tooSimo Sorce1-84/+76
(This used to be commit f6c92c4759096f839e3854a1e9eea56e6eecad4d)
2008-07-06More clean up, indentation and trailing space removalSimo Sorce1-40/+39
(This used to be commit d17d401603c1c26a5fd5eca5ece245790445e6d4)
2008-07-06Make code more readable, fix indentation and traling spaces.Simo Sorce1-17/+23
(This used to be commit e19e12d5cbba28ccf682eaf0ff26909bd7e8e6c6)
2008-07-05Tiny logic simplification -- remove an else branchVolker Lendecke1-22/+20
(This used to be commit 01c8c7bbf6163d5c7733db0d8ecbccfe7e4fec7d)
2008-07-05Make use of ADD_TO_ARRAYVolker Lendecke4-98/+38
(This used to be commit 81f334bd6da601a040f754c46705cfa2fd4f8c45)
2008-07-05Convert idmap_cache to gencacheVolker Lendecke4-399/+132
(This used to be commit 0bf0434f22b0ea46fda3ccc4dd612adbc88dd4f2)
2008-07-04Add SMB_VFS_OP_RECVFILE to get it in sync with vfs.hLars Müller1-0/+1
Fix "vfs_full_audit.c: name table not in sync with vfs.h" panic reported by Franz Sirl. (This used to be commit 72b96b75a4a1b523540a24fb758b1965ad66009b)
2008-07-03Slightly increase the default idmap cache timeVolker Lendecke2-2/+2
(This used to be commit 448836d44d0468a74b962ba3c0b7d51de236374f)
2008-07-03IDMAP_READ_CACHE_DATA_FMT_TEMPLATE is unused, remove itVolker Lendecke1-1/+0
(This used to be commit 2396d5d5d2f453f097f8ce77b640ad7e1d7e7c4c)
2008-07-03Simplify idmap_cache_set() a bitVolker Lendecke1-8/+3
sid_check_is_in_unix_* will only give true if it is of the corresponding type, so the check if the struct idmap actually represents a user or group is unnecessary. (This used to be commit 55b976ba93462c6885e8d89edd13c32fb5529944)
2008-07-03Simplify idmap_cache_build_[s]idkey a bitVolker Lendecke1-36/+33
(This used to be commit 80932c0266ef73b8d0462c078a053444fff47f32)
2008-07-03Patch from SATOH Fumiyasu <fumiyas@osstech.co.jp> for bug #5202. Re-activate ↵Jeremy Allison4-25/+40
"acl group control" parameter and make it only apply to owning group. Also added man page fix. Jeremy. (This used to be commit e98e080bad2c8b9f038a8f2dffcfeba1d5f392ce)
2008-07-03Remove an unused variableVolker Lendecke1-1/+0
(This used to be commit 454cb852e06fa3d8bdd0eebb3ebdb24b3d74ecd0)
2008-07-03Remove gencache_[un]lock_entryVolker Lendecke3-37/+2
Günther agreed that it might be unnecessary in dsgetdcname_cache_store() :-) (This used to be commit 7a5a575ffe5196caecedc93970a25abfbe6f8059)
2008-07-03Return timed out entries from gencache_get if timeout param != NULLVolker Lendecke2-11/+17
net cache get was the only one interested in the timeout. That single caller can take care of the timeout itself then. With this API change idmap_cache.c can be converted to gencache. (This used to be commit 2954b2be563149380e1fae7fe088b98d6cbd42e7)
2008-07-03Pass NULL to gencache_get when we are not interested in the timeout valueVolker Lendecke5-14/+8
(This used to be commit 16062dfc3dcc8f1ca0024a3ae21effb889c7ffc0)
2008-07-03Fix indentationVolker Lendecke1-1/+1
(This used to be commit c4e6de9e34e1ff76552ce6d4e72b343fb5f33306)
2008-07-03netapi: fix doxygen warning.Günther Deschner1-1/+1
Guenther (This used to be commit cfd59383d680e41a885e546842b0eb8585123acb)
2008-07-03libnetjoin: fix Bug #5570.Günther Deschner1-1/+1
Thanks to Atte Peltomäki. Guenther (This used to be commit 144d374ad9dd981430a82369ceaa2783e6dae90a)
2008-07-03Fix build warning.Günther Deschner1-1/+1
Thanks to Thorkil Olesen. Guenther (This used to be commit 3130aa63fd64c08c1d8be8338d6490aeb12c234a)
2008-07-03Don't scream, better explain a bit in commentsVolker Lendecke1-10/+8
(This used to be commit dcc39ed00453a075b23daece2844ca4817bfbfaf)
2008-07-03Make use of sid_check_is_in_unix_users/groupsVolker Lendecke1-11/+16
Don't replicate code unnecessarily (This used to be commit cd8e63b2b45402091d6d328b3c6ca593fc19ac92)
2008-07-02Remove worrying warning message when safe_strcpy tries to copy a pseaudo ↵Jeremy Allison1-1/+1
interface name that's too long. Reported by James Kosin <JKosin@intcomgrp.com>. Jeremy. (This used to be commit 3a7542fd495223c3a504571a52e2d00551fea0e2)
2008-07-02Canonicalize servername in the printer functions to remove leading '\\' ↵Jeremy Allison1-54/+59
characters. Ensure we always return consistent names. Jeremy. (This used to be commit fc2178b04743d2f94be7b489b793fc67826557ac)
2008-07-02Fix bug #5578, reported by sendel2000@hotbox.ru. Bad (non-Samba) use of ↵Jeremy Allison2-0/+6
strlcat gives error. Jeremy. (This used to be commit d7c82997bdcf1acd7ac104efa0ad05e0b94935ea)
2008-07-02Ensure consistent use of pdb_get_nt_passwd instead of pdb_get_lanman_passwd.Jeremy Allison1-8/+11
Reported by hongbing Zhang <hongbing.zhang@gmail.com>. Jeremy. (This used to be commit ade27d8baa03816b6f5f480096dfb90f3e231e6a)
2008-07-02Fix typoVolker Lendecke1-1/+2
(This used to be commit fe79c8a5b726754703626ca0bff57074274c98c7)
2008-07-02Tiny logic simplification: Remove an unnecessary else branchVolker Lendecke1-8/+8
(This used to be commit 6009ae329375b1c40e3d00df977ddccc8b5cc176)
2008-07-02Fix nonempty whitespace only linesVolker Lendecke8-70/+69
(This used to be commit cc77db2acbc35cea58576f1e28c7a760a5e31609)
2008-07-02fix typosVolker Lendecke1-2/+4
(This used to be commit e0957c6f4b1e81c27fda1de7fb7cbc9c585f5ac9)
2008-07-02Fix nonempty whitespace only linesVolker Lendecke1-15/+13
(This used to be commit 0da9d0d0f9662d8bd2f370f764d5a875e11b3068)
2008-07-02Fix indentationVolker Lendecke1-14/+14
(This used to be commit 954556b527aa652f9a46f0d48834e92befb3c5f9)
2008-07-02Fix a debug msg, this was probably a leftover from gencacheVolker Lendecke1-2/+4
(This used to be commit daa171552dc00d9602a05ba199c9a3ff24c802f5)
2008-07-02Fix typoVolker Lendecke1-2/+2
(This used to be commit fe58926283b51910d8587e32bb11aa681b9a27d3)
2008-07-02Make idmap_init() staticVolker Lendecke2-2/+1
This is called only from idmap_alloc_init, which feels kindof weird. Digging deeper in the code... (This used to be commit c8d1bbfddce41cd6bf37dd0a622ef3437a24b492)
2008-07-02Fix two memory leaks in an error path in idmap.cVolker Lendecke1-0/+2
(This used to be commit 7cec389e19323e99b6b6258e539be9d1fd65810f)
2008-07-01MSG_DEBUG now forwarded to all the winbindd children by parent.Darshan Purandare5-1/+46
smbcontrol winbindd debug level would only set the debug level of the parent winbindd process and not the child processes. This patch adds the functionality of broadcasting the debug message to all winbindd children. Now the debug level message is propagated to all the winbindd processes that includes parent and children. (This used to be commit cfbcfc3ffe74f28ec874a6bf1ab93f55f405b6e6)
2008-07-01Jim Brown <jim.brown@miami.edu> was right, this needs to be a signed int orJeremy Allison1-1/+1
the loop never terminates. Jeremy. (This used to be commit 80e547665d104a6db376ff4c48bcc01dfd3513ee)
2008-07-01Two more fixes from Jim Brown <jim.brown@miami.edu> for SGI compiler warnings.Jeremy Allison2-2/+7
Jeremy. (This used to be commit d85cbdbe296ec6de5bdbd66a90ca41345f55c837)
2008-07-01Fix problem noticed by Jim Brown <jim.brown@miami.edu>. When reverse ↵Jeremy Allison1-1/+1
searching decrement index, not increment. Michael please check ! Jeremy. (This used to be commit d89f9d404f478fc9887bb6e67ce28a61464bcf93)
2008-07-01Revert "winbind cache: Don't create SN cache entries during name-to-sid ↵Karolin Seeger1-6/+6
queries." This reverts commit b58e4f6b3d73294d8448c0dff4341183c52e5b7c. Details can be found on the samba-technical mailing list. Karolin (This used to be commit 534a445df450c681be7da2c9dd65f7294f942b08)
2008-07-01net_vampire: add code to vampire to a Kerberos keytab file using DRSUAPI.Günther Deschner4-0/+297
Guenther (This used to be commit 0ef420c3a478a8adce7483f14b45e9995bfa5e5d)
2008-07-01net_vampire: keep keytab context and flush keytab only after the last query.Günther Deschner1-14/+19
Guenther (This used to be commit 48efe7dbce1cde6689f94fafe2d7756f673bc050)
2008-06-30Fix from Atte Peltomäki - atte.peltomaki@f-secure.com to correctly checkJeremy Allison1-1/+1
error code in winbindd group expansion. Jeremy. (This used to be commit e321377174f579ba57a70f260f4d4bc234a07439)
2008-06-30kerberos: allow to keep entries with old kvno's while creating keytab.Günther Deschner3-3/+7
Guenther (This used to be commit 6194244bd9fcc1fb736f3d91433f107270cac1c9)
2008-06-30kerberos: rename smb_krb5_kt_add_entry to smb_krb5_kt_add_entry_ext.Günther Deschner3-39/+54
Guenther (This used to be commit 48600a0019d70d22574cf08e8fe19d44cc332a0f)
2008-06-28Fix a file descriptor leak in add_port_hookVolker Lendecke1-4/+1
This was probably cut&paste from add_printer_hook which further down has the unconditional close(fd). In add_port_hook() we're not interested in the output of 'addport command', so don't create the out fd. (cherry picked from commit 0c5ca2127ac6e3c71e369242376d27429c3aee5e) (This used to be commit 9fe09398b79ae7c5e78182112a8cd2c9b5f99ad3)
2008-06-28Return NULL in sitename_fetch() if gencache_init() fails. Not falseGerald W. Carter1-1/+1
(This used to be commit 8704c2ab37479236788c0a99465d73643d3d555a)
2008-06-28Let send_trans_reply work on only the inbufVolker Lendecke3-54/+57
It does not really need the whole smb_request (This used to be commit d3facf4cbdb2915168e91d64c2d8320f67524df8)