1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

28980 Commits

Author SHA1 Message Date
Volker Lendecke
d314f7eab5 Add some debug to notify
(This used to be commit 4394235378)
2008-06-17 10:48:40 +02:00
Karolin Seeger
99e73df8e8 Remove references to SVN.
Karolin
(This used to be commit 9d69a809e3)
2008-06-17 10:43:19 +02:00
Michael Adam
e1732fae33 Remove reference to current_user from modules/nfs4_acls.c .
Michael
(This used to be commit 50fbfa0348)
2008-06-17 10:33:12 +02:00
Karolin Seeger
a7cf0bd32a idmap: Fix typos in comments.
Karolin
(This used to be commit 94a4d7fa32)
2008-06-17 10:30:19 +02:00
Karolin Seeger
98ed31a107 Fix typo.
arguements -> arguments

Karolin
(This used to be commit 16b5b772d2)
2008-06-17 09:46:17 +02:00
Karolin Seeger
13eab02679 winbind cache: Don't create SN cache entries during name-to-sid queries.
Clients can request name-to-sid queries for different combinations of
upper and lower case names. We don't want to create the reverse caching
entries for each combination used.

This avoids inconsistent answers on sid-to-name queries.

Please review!

Karolin
(This used to be commit b58e4f6b3d)
2008-06-16 15:21:28 +02:00
Volker Lendecke
fdcf760d1c Fix bug 5500 -- thanks to mathion at thorrovydeti.com for reporting
(cherry picked from commit 996c3ce6f0)
(This used to be commit 1f86c7a2a1)
2008-06-16 13:27:47 +02:00
Volker Lendecke
9c1f5894a5 Add forgotten protoypes
(This used to be commit dee60935d4)
2008-06-15 18:46:10 +02:00
Volker Lendecke
b6c125e4e0 Remove the current_user references from open.c
current_user_info was "only" used in a debug msg, and current_user.ut.uid is
also available via conn->server_info
(This used to be commit d0386914ff)
2008-06-15 13:41:16 +02:00
Volker Lendecke
d49de28f11 Remove the current_user reference from fake_file.c
The current vuid is not only available there, it is also in the current
smb_request structure.
(This used to be commit c8fd5eef32)
2008-06-15 13:37:53 +02:00
Volker Lendecke
3a5e1cacf1 Remove unused "extern struct current_user" from dir.c
(This used to be commit b92cfd19b4)
2008-06-15 11:40:33 +02:00
Volker Lendecke
704c99f340 Remove the reference to current_user from file_access.c
conn holds the current user info
(This used to be commit 093bc5f2b3)
2008-06-15 11:39:31 +02:00
Volker Lendecke
3fde7f5979 Fix an uninitialized variable found by the IBM checker
BAIL_ON_PTR_ERROR jumps to done: which will access extra_data before it's
initialized.

Stefan, please check!

Volker
(cherry picked from commit b59636f78d)
(This used to be commit 5663587e5e)
2008-06-15 00:24:18 +02:00
Volker Lendecke
cd7d7e1e82 Fix group parsing in libwbclient's copy_group_entry()
This (also) fixes a flaw pointed out by the IBM checker. When verifying that I
found out that the parsing was not working as I would have expected it to.

Jerry, please check!
(cherry picked from commit c2c7790155)
(This used to be commit 26c05a52b7)
2008-06-15 00:17:27 +02:00
Volker Lendecke
101162257c Move connection-specific vuid cache clear to uid.c
(This used to be commit 1025f68791)
2008-06-14 19:49:49 +02:00
Volker Lendecke
82d4806ce6 Slight refactoring for check_user_ok: It only needs vuid and server_info
(This used to be commit 68944ea1ea)
2008-06-14 19:49:49 +02:00
Volker Lendecke
ee6ee96af2 Group the access checks together in check_user_ok()
(This used to be commit 45662b5e8b)
2008-06-14 19:49:49 +02:00
Volker Lendecke
b935f4a2dc Consistently use snum in check_user_ok
Most already used it, these two still used SNUM(conn), where the only caller of
this routine (change_to_user) had set snum = SNUM(conn).
(This used to be commit b14e59bfdb)
2008-06-14 19:49:49 +02:00
Volker Lendecke
ad538bf0ab Compare the pointer "vuser" to NULL, not 0
(This used to be commit 5c916549f0)
2008-06-14 19:49:49 +02:00
Volker Lendecke
e7530f567c Use the correct cups-devel test for HAVE_IPRINT also
(This used to be commit a42d7e1146)
2008-06-14 11:10:13 +02:00
Volker Lendecke
c08611a6c5 Correctly check for presence of cups-devel
On SuSE at least cups-config belongs to cups-libs which does not contain the
headers which are in cups-devel.
(This used to be commit 2408d2493f)
2008-06-14 10:39:25 +02:00
Günther Deschner
2d23da2cff net_vampire: rename process_database to samsync_process_database.
Guenther
(This used to be commit cf382a8760)
2008-06-13 23:39:09 +02:00
Günther Deschner
fb0a11d1ec net_vampire: fix ldif_init_context().
Guenther
(This used to be commit 94d45b1bb9)
2008-06-13 23:39:09 +02:00
Günther Deschner
8049d3aa8e net_vampire: split out rpc_vampire_ldif().
Guenther
(This used to be commit bcc6d3a0eb)
2008-06-13 23:39:09 +02:00
Günther Deschner
fe43a56788 net_vampire: add samsync_init_context().
Guenther
(This used to be commit 63ca4414b6)
2008-06-13 23:39:09 +02:00
Günther Deschner
cb293f50fc net_vampire: add samsync_debug_str().
Guenther
(This used to be commit bbfe5bcaf5)
2008-06-13 23:39:08 +02:00
Günther Deschner
7a1fa41dca net_vampire: restructure internal code more.
Guenther
(This used to be commit 9557504d70)
2008-06-13 23:39:08 +02:00
Günther Deschner
339d868b17 net_vampire: start using talloc for the ldif vampire code.
Guenther
(This used to be commit ae179e4f3f)
2008-06-13 23:39:08 +02:00
Günther Deschner
4cae70e548 net_vampire: join dump and process function into one callback.
Guenther
(This used to be commit e9b79f34d5)
2008-06-13 23:39:08 +02:00
Günther Deschner
93880610b4 net_vampire: let fetch_database and fetch_database_to_ldif use sid pointers.
Guenther
(This used to be commit 0707d32042)
2008-06-13 23:39:08 +02:00
Günther Deschner
26694e6fa0 net_vampire: let dump_database() return NTSTATUS.
Guenther
(This used to be commit b5a0e2d18f)
2008-06-13 23:39:08 +02:00
Volker Lendecke
1bc1b1ac0a Fix a handle leak for error returns in ldb_try_load_dso
Coverity ID 464
(cherry picked from commit 496d44d2f2)
(This used to be commit f30bc6503d)
2008-06-13 16:15:12 +02:00
Volker Lendecke
c404c8950d Fix a crash in _winreg_QueryValue
Coverity ID 474, value_length and type are both unique, not ref pointers and
can thus be NULL.

Karolin, please merge this to -stable.

Thanks,

Volker
(cherry picked from commit 999533c0cc)
(This used to be commit 7e07ec68f1)
2008-06-13 15:33:51 +02:00
Günther Deschner
813ca8d705 samsync: add prototype for samsync_fix_delta_array().
Guenther
(This used to be commit 6c1904f8be)
2008-06-13 12:30:36 +02:00
Günther Deschner
6ce0c85172 net: Fix bug #5542 (samsync contains empty passwords).
Guenther
(cherry picked from commit 1a22e975dd)
(This used to be commit ad8392cf7c)
2008-06-13 12:23:57 +02:00
Günther Deschner
61b68fc43c samsync: add samsync_fix_delta_array()
This code is vastly based on samba4 code.

Guenther
(cherry picked from commit 5b68be9699)
(This used to be commit 2c53d87de4)
2008-06-13 12:23:50 +02:00
Kai Blin
8f1f62af28 net: Fix net_ads.c build for the HAVE_ADS == 0 case.
Thanks to Karolin for catching this one.
(This used to be commit 7f52998f54)
2008-06-12 15:46:12 +02:00
Volker Lendecke
de7e6e070a AIX build fixes from William Jojo -- thanks
(cherry picked from commit cb91a47576)
(This used to be commit 90d7bc6da3)
2008-06-12 13:17:44 +02:00
Volker Lendecke
67f3ee618b Add -brtl to the AIX linker flags
Thanks to William Jojo
(cherry picked from commit 74b195b544)
(This used to be commit 5ffad12d68)
2008-06-12 13:17:37 +02:00
Karolin Seeger
49a81672d2 net: Fix several typos in comments.
-argc -> argv (where argv is meant)
-destoyed -> destroyed
-compleation -> completion
-aquired -> acquired
-Unify spelling of some words like rpc-server -> RPC server.
-Add missing punctuation marks.

Karolin
(This used to be commit f4850c37df)
2008-06-12 10:59:02 +02:00
Karolin Seeger
7ec6588ef8 man pages: Fix indentation in smb.conf section about 'map readonly'.
(This used to be commit 0f0d81a89a)
2008-06-12 09:34:15 +02:00
Christoph Zauner
766f780cda man pages: Added improvements.
(This used to be commit 7fecd548af)
2008-06-12 09:28:17 +02:00
Karolin Seeger
e9b855a103 man pages: Fix typo in smb.conf section about the 'deleteprinter command'.
Karolin
(This used to be commit 5fa77c216b)
2008-06-12 09:26:32 +02:00
Christoph Zauner
7617741e64 man pages: Fix typos.
(This used to be commit 881eaa26e0)
2008-06-12 09:26:10 +02:00
Christoph Zauner
8d3a451fd2 Samba3-HOWTO: Fix typos.
(This used to be commit 2391d999eb)
2008-06-12 09:25:35 +02:00
Christoph Zauner
8d15371de4 Fix typos.
(This used to be commit b2390aa738)
2008-06-12 09:25:07 +02:00
Volker Lendecke
5b8259c112 Fix max_fd calculation in event_loop_once
For some bugs I really wonder how they can go undetected for so long.

Fix a bug reported by Mathias Dietz. No samba bugzilla entry, but still 100%
needed for 3-2-stable.

Volker
(cherry picked from commit 82c994dabc)
(This used to be commit 91c73e093a)
2008-06-11 18:58:26 +02:00
Günther Deschner
95a1f88d93 rpc_client: fix some valgrind warnings.
Guenther
(This used to be commit 0352682a35)
2008-06-11 10:47:21 +02:00
Günther Deschner
79fbc59cfc re-run make idl.
Guenther
(This used to be commit 3a73fe564f)
2008-06-11 10:46:46 +02:00
Günther Deschner
2d5e4708e9 idl: fix drsuapi_DsGetNCChanges.
Guenther
(This used to be commit 652af123b2)
2008-06-11 10:46:37 +02:00