1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

29183 Commits

Author SHA1 Message Date
Günther Deschner
16eb846fa5 net_vampire: use generic output filename and use correct argv element.
Guenther
(This used to be commit e0843e631e379645296a5fe34dfc83bc265ebef3)
2008-06-17 10:49:13 +02:00
Günther Deschner
51fec7863b net_vampire: move ldif code out of net_rpc_samsync.c
Guenther
(This used to be commit 1d5758ec3a5160e5649242c42f6e4a7b39eb6199)
2008-06-17 10:49:13 +02:00
Günther Deschner
ccdcbc2efe net_vampire: move some samsync functions to libnet.
Guenther
(This used to be commit b3b6af0a3e25fab0a14c9c802dbabd3d03448ebe)
2008-06-17 10:49:13 +02:00
Volker Lendecke
d314f7eab5 Add some debug to notify
(This used to be commit 4394235378f85ccb911d662d95f1545a14240bdf)
2008-06-17 10:48:40 +02:00
Karolin Seeger
99e73df8e8 Remove references to SVN.
Karolin
(This used to be commit 9d69a809e370f98057e514a3c755b0b86ee5f610)
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 50fbfa03483de0059d85967dc96f2896e55e6d04)
2008-06-17 10:33:12 +02:00
Karolin Seeger
a7cf0bd32a idmap: Fix typos in comments.
Karolin
(This used to be commit 94a4d7fa3209eb668161b8110af6f877b4833fa7)
2008-06-17 10:30:19 +02:00
Karolin Seeger
98ed31a107 Fix typo.
arguements -> arguments

Karolin
(This used to be commit 16b5b772d216d10613d433884634b1215efbd6e6)
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 b58e4f6b3d73294d8448c0dff4341183c52e5b7c)
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 996c3ce6f0dbe79b0679ae30afd873c24fe5b1eb)
(This used to be commit 1f86c7a2a19e66948c9b51572d3c078b6e03ef52)
2008-06-16 13:27:47 +02:00
Volker Lendecke
9c1f5894a5 Add forgotten protoypes
(This used to be commit dee60935d443bd215e384e626d1114ae65c1a62d)
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 d0386914ff0f7b0f1edc3302fdc6a25f211712fa)
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 c8fd5eef32a86888c7a28317f0fdf717a26b7d4c)
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 b92cfd19b459caad34229dfe941cf15fd14a5ce0)
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 093bc5f2b33ebf90e04bc17e51b1695b1b932bf2)
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 b59636f78d351ed6d52c4a9fdccdb7850388526c)
(This used to be commit 5663587e5e4703f9e3ff6d78d1f3248053ccd4c0)
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 c2c7790155ab02e1e351caf2bed192ce72913663)
(This used to be commit 26c05a52b73763dad5ad0525dab6e20014c3f8d6)
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 1025f687910ce40283c7344ed67ebd5bf31217b7)
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 68944ea1ea7a0a63b08cbfc703f5ee29d2627696)
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 45662b5e8b3c7bc39cb33c5d7deb7e9a91f30a8b)
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 b14e59bfdbfb62494002e22d0665c4d420484245)
2008-06-14 19:49:49 +02:00
Volker Lendecke
ad538bf0ab Compare the pointer "vuser" to NULL, not 0
(This used to be commit 5c916549f002d5e4e06f24d396a2bdca73d384c7)
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 a42d7e1146e7469062ead2c8f22f549a48154e03)
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 2408d2493f7c6e0beee58febd547516bbeb0929d)
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 cf382a87602a63368587ffa2c95b774f2f97c21b)
2008-06-13 23:39:09 +02:00
Günther Deschner
fb0a11d1ec net_vampire: fix ldif_init_context().
Guenther
(This used to be commit 94d45b1bb97ac2b6025d429389993ac43044f5b8)
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 bcc6d3a0ebdcb904b5a2a4de63d9ed7415e9bb33)
2008-06-13 23:39:09 +02:00
Günther Deschner
fe43a56788 net_vampire: add samsync_init_context().
Guenther
(This used to be commit 63ca4414b62657983c27d2930483aa56f9c78ccf)
2008-06-13 23:39:09 +02:00
Günther Deschner
cb293f50fc net_vampire: add samsync_debug_str().
Guenther
(This used to be commit bbfe5bcaf5ec5d06ffd110ab362ea3f228867603)
2008-06-13 23:39:08 +02:00
Günther Deschner
7a1fa41dca net_vampire: restructure internal code more.
Guenther
(This used to be commit 9557504d70fe57098914da131b39212faf4f0a7d)
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 ae179e4f3faccbf2c9f19b6f070f5daf87cdfc50)
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 e9b79f34d5afe10ee8d9b1e2dd19c8aafa533579)
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 0707d32042b23d615b57b2f955775472b766770e)
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 b5a0e2d18f8d5c98326fefbda5972c02f898ed82)
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 496d44d2f21661c85bf07e8eb7cae6298fefd900)
(This used to be commit f30bc6503de6c712101e04fe26c004eeffcd300e)
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 999533c0ccced59141d8baff5bc248d63e2a966f)
(This used to be commit 7e07ec68f15908a998f83d615a1b4d1349935a54)
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 6c1904f8be1b4e08b09b64052c1aba24e7a4fb3d)
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 1a22e975dd1255f3557c1cd873d877aa35822afc)
(This used to be commit ad8392cf7c817ee29a03bc6f515bf1cc18a29eda)
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 5b68be96996a710988b1fd1c176cd5dff0f2c6af)
(This used to be commit 2c53d87de4ecc5ac9c43bc7488a03bceecf35140)
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 7f52998f5461ed7d976faa2254464336dcf73c02)
2008-06-12 15:46:12 +02:00
Volker Lendecke
de7e6e070a AIX build fixes from William Jojo -- thanks
(cherry picked from commit cb91a47576e820390bc62195702aaae93a2feba6)
(This used to be commit 90d7bc6da3c92e104fadd5965a730fbe01be33d5)
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 74b195b54416d9e3eb46079a71eed31a15c7293a)
(This used to be commit 5ffad12d68288eca4756519ec7ab90995a277517)
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 f4850c37df166c3ab4ec3c532aefd87b5c7e2ad8)
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 0f0d81a89ae2ebae7d031a3a8633c3a924ebcbae)
2008-06-12 09:34:15 +02:00
Christoph Zauner
766f780cda man pages: Added improvements.
(This used to be commit 7fecd548af0a21b9644bd70e22a38aaa28777aa0)
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 5fa77c216bc43c3558aff3373f74554efdb9210d)
2008-06-12 09:26:32 +02:00
Christoph Zauner
7617741e64 man pages: Fix typos.
(This used to be commit 881eaa26e071a7fde9c6fc5eb42ae122d0ddd490)
2008-06-12 09:26:10 +02:00
Christoph Zauner
8d3a451fd2 Samba3-HOWTO: Fix typos.
(This used to be commit 2391d999eb733bd8d12631478f4318608225cbb6)
2008-06-12 09:25:35 +02:00
Christoph Zauner
8d15371de4 Fix typos.
(This used to be commit b2390aa738f6384016600dffb8065bd0bcda6ef1)
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 82c994dabc47bb4755c883a1f3651bb5d65cf2c5)
(This used to be commit 91c73e093a03b10426b671cb3e1dffb8a2455d47)
2008-06-11 18:58:26 +02:00