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

26302 Commits

Author SHA1 Message Date
Volker Lendecke
2e8d375346 Avoid some pointless checks
secrets_init() makes sure that the tdb is initialized
(This used to be commit 8725dbc8888cf7a1d3d9d1205678fcd3ca3c6350)
2008-03-10 09:51:58 +01:00
Volker Lendecke
c2cd0e3c54 Use talloc_tos() in secrets_init
(This used to be commit 27065382d9b692b5885265c9d60ffb7ec7748c38)
2008-03-10 09:51:51 +01:00
Günther Deschner
0f64ce0179 Use rpccli_srvsvc_NetShareGetInfo in 2 places in "net".
Guenther
(This used to be commit 2ce76ce2bccefb4a072bed039a4837ae334dea55)
2008-03-10 05:17:09 +01:00
Günther Deschner
d09f0d281c Use rpccli_srvsvc_NetShareEnumAll in smbtree.
Guenther
(This used to be commit 0cf761f604975930f38213233e4bbf48d7ae7283)
2008-03-10 05:05:37 +01:00
Günther Deschner
a6fa0ca321 Use rpccli_srvsvc_NetShareEnumAll in libsmbclient.
Guenther
(This used to be commit 6aad05f3f12fd6b3276486f60c10f5b3fd3fa17c)
2008-03-10 04:58:43 +01:00
Günther Deschner
d185fb48fb Remove insane amount of whitespace.
Guenther
(This used to be commit 8216310e9f0d7dcccfe761a184a014b7b2ce03c5)
2008-03-10 04:35:31 +01:00
Günther Deschner
251a16c900 Use rpccli_srvsvc_NetShareEnumAll in smbclient.
Guenther
(This used to be commit 1121633652ffb77dce8df9cc91b7dfc2d55fd348)
2008-03-10 04:33:06 +01:00
Günther Deschner
032d4fa8ea Add some srvsvc_NetSessInfo init functions.
Guenther
(This used to be commit 8168fd583cfc2ad64e5c1aa67047d8c3c607993a)
2008-03-10 03:43:40 +01:00
Günther Deschner
28d5307034 Add netsessenum command to rpcclient.
Guenther
(This used to be commit f90306bd24bc243c8f30a16c0414031d69d05c03)
2008-03-10 03:43:40 +01:00
Günther Deschner
4c67f6c542 Re-run make idl.
Guenther
(This used to be commit 692626c1ef46cd27c0df34e2c206d21c929587f4)
2008-03-10 03:43:39 +01:00
Günther Deschner
7ff8d9ddd2 Fix IDL for srvsvc_NetSessEnum().
Guenther
(This used to be commit 35089b53b81d8a8aa117d6c1972ccb938170a2b3)
2008-03-10 03:43:39 +01:00
Günther Deschner
64adc15e66 Add netsessdel command to rpcclient.
Guenther
(This used to be commit 5e112ff3d7984c278949833a00349a9f523d4b23)
2008-03-10 03:43:39 +01:00
Günther Deschner
ca354276ca Use pidl for _srvsvc_NetSessDel().
Guenther
(This used to be commit 8a10bc13aee7c34f466fa69773694be97f0e7d85)
2008-03-10 03:43:39 +01:00
Charles
ad7c3455ff Fix return code.
(This used to be commit 98b643366044f471ad69c9e5aac06022f30742d9)
2008-03-09 19:52:29 +01:00
Jelmer Vernooij
acc63121ac Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
(This used to be commit 09e5c6adde5564afc0d1be25f297fbfd284d559f)
2008-03-09 13:51:52 +01:00
Charles
5b8823e49a smbget: Make global variables static.
(This used to be commit c430b7831d5dc6f81cfd18ee2bf24bc3f276fe5d)
2008-03-09 13:50:56 +01:00
Volker Lendecke
87805819f1 Fix Coverity ID 551
Correctly return if we can't create the temporary krb5.conf

Jeremy, please check!
(This used to be commit c2401811aa3d02a9e27969687b9ea035407000c3)
2008-03-08 23:48:12 +01:00
Günther Deschner
7192e40dee Remove unused marshalling for SRV_NET_FILE_SET_SECDESC and SRV_R_NET_FILE_GET_SECDESC.
Guenther
(This used to be commit 776e21075b31db605e45f91b6ccefd11412d7773)
2008-03-08 23:07:00 +01:00
Günther Deschner
fa58ebd8f7 Use pidl for _srvsvc_NetGetFileSecurity.
Guenther
(This used to be commit 8b016efeb0bb4cd5d91928952a258fce1b6f97d0)
2008-03-08 23:07:00 +01:00
Günther Deschner
3102609c4b Use pidl for _srvsvc_NetSetFileSecurity.
Guenther
(This used to be commit 64a121c147c825259a06a8cd8de85ec31dd5b4a4)
2008-03-08 23:07:00 +01:00
Günther Deschner
62ca78bd27 Add netfilegetsec command to rpcclient.
Guenther
(This used to be commit 8c2c17573c179c774d093d780716e95833cb992f)
2008-03-08 23:05:54 +01:00
Volker Lendecke
1a3cad6e6d Print out the used seed in smbtorture
(This used to be commit 26d64d22d65938023a4e45c3893e7021e51f4d9c)
2008-03-08 22:29:35 +01:00
Volker Lendecke
973734cde6 Correctly calculate the max read size
(This used to be commit f556c9e162e2bc0d16710e994a00edc33a146cd5)
2008-03-08 22:28:01 +01:00
Volker Lendecke
464f74df2f Move inbuf handling to before the PDU handling
In an error case, correctly discard the offending PDU
(This used to be commit 0aa195b5d623e1f26f2a1b9e91323a5ddd3ff282)
2008-03-08 22:02:33 +01:00
Volker Lendecke
8da1e033a8 Pass specific packets to build_nmb and build_dgram
To me it was not clear what parts of struct packet_struct are actually used in
build_packet(). This makes it a bit more clear that only the specific parts are
used.
(This used to be commit eb8b6f2404e49d6a837935c5b411d78fb6ff23ef)
2008-03-08 12:31:21 +01:00
Volker Lendecke
6a2dbea794 Fix some typos
(This used to be commit cfa1b838144800c0758969921b8904fd62e46c07)
2008-03-08 12:31:21 +01:00
Volker Lendecke
90300631eb Build aio_fork by default
... only when --with-aio-support and we can pass file descriptors
(This used to be commit fdf4cd99ccb59e126391253d2091707bc8daee43)
2008-03-08 12:31:12 +01:00
Günther Deschner
c534eea866 Re-run make idl.
Guenther
(This used to be commit 85007cf3f2e3df67c524cc67442396c114f6b784)
2008-03-08 00:28:38 +01:00
Günther Deschner
a97de32cb2 Fix IDL for srvsvc_NetSetFileSecurity and srvsvc_NetGetFileSecurity.
Guenther
(This used to be commit 0785acede41301af071db4e8a4c118a44f0454d8)
2008-03-08 00:27:41 +01:00
Günther Deschner
45c91e7d75 Use pidl for _srvsvc_NetShareAdd.
Guenther
(This used to be commit fd3e7728181e7a208706e477905173bec44c982e)
2008-03-08 00:22:44 +01:00
Günther Deschner
8204efef16 Re-run make idl.
Guenther
(This used to be commit 39e9cfa3018786f176aeb237ea7805da4e576c62)
2008-03-07 23:55:52 +01:00
Günther Deschner
00255e12d7 Fix IDL for srvsvc_NetShareAdd().
Guenther
(This used to be commit 1e7d77766e282c8c20d03d1b1e80346468848ea9)
2008-03-07 23:55:01 +01:00
Günther Deschner
91710a5f85 Remove unused marshalling for SRV_NET_NAME_VALIDATE.
Guenther
(This used to be commit 6ffd6c814fafe4112fe72a96a0893d5be06f4380)
2008-03-07 23:51:34 +01:00
Günther Deschner
e931f28db7 Remove unused marshalling for SRV_NET_SHARE_DEL.
Guenther
(This used to be commit 2afae94936d4fbd3b1e804111bff1960c2b852bd)
2008-03-07 23:51:34 +01:00
Günther Deschner
8e1fe6379d Use rpccli_srvsvc_NetShareDel in net.
Guenther
(This used to be commit 10d457152e8547646353f0f37f51ac92561505ef)
2008-03-07 23:51:34 +01:00
Günther Deschner
9beec265bc Use pidl for _srvsvc_NetNameValidate.
Guenther
(This used to be commit 2e1df306785296979ea064006402254e318e946b)
2008-03-07 23:51:34 +01:00
Günther Deschner
5e6e3ccd00 Add netnamevalidate command to rpcclient.
Guenther
(This used to be commit 140885d3d87ea2de14b3393a7384dff74a4dd44c)
2008-03-07 23:51:34 +01:00
Michael Adam
ea0b148a96 configure: fix quotation in SMB_LIBRARY for help output.
Michael
(This used to be commit 96f85a48beb7da9c373fc030474020d05c55a18d)
2008-03-07 23:45:52 +01:00
Günther Deschner
ad3a1b8475 Use pidl for _srvsvc_NetShareDel and _srvsvc_NetShareDelSticky.
Guenther
(This used to be commit 73b6587493d9a987a691ece495db9f42ce562efe)
2008-03-07 23:26:00 +01:00
Günther Deschner
024cf110b0 Use pidl generated NetShareGet/SetInfo and Enum calls in rpcclient.
Guenther
(This used to be commit c940c62029fbce5f2b943f0fb06037fc89bfd297)
2008-03-07 22:58:48 +01:00
Günther Deschner
7b75317989 Use pidl for _srvsvc_NetShareGetInfo, _srvsvc_NetShareEnum and srvsvc_NetShareEnumAll.
Fixing resume handling while we are there.

Guenther
(This used to be commit 128637bdd7c37ca166a7d478b33b00c39f0ede62)
2008-03-07 20:59:30 +01:00
Günther Deschner
5259a7a808 Enable libnetjoin debugging for now but avoid printing passwords.
The gen_ndr needs proper fixing still.

Guenther
(This used to be commit 966d7244d7765d285a7026b97e6093fd1f8d83ce)
2008-03-07 18:31:13 +01:00
Simo Sorce
9e83c9159e Enable use of Relocations Read-Only, if supported, for enhanced security.
(This used to be commit c20c5f082162ff6c0c2931f456897334aa002e83)
2008-03-07 11:33:26 -05:00
Michael Adam
156c42fd4f Time to confess...
Michael
(This used to be commit 4e584c6e3699d8c05b163cc5674af04d106692ba)
2008-03-07 14:31:08 +01:00
Günther Deschner
221af840a5 Add some more init_srvsvc_NetShareInfoX functions.
Guenther
(This used to be commit cb3577e695f80d76e4c20f6396d57e3a2047c3c4)
2008-03-07 13:08:34 +01:00
Günther Deschner
766c669be1 Re-run make idl.
Guenther
(This used to be commit b0cb768287de861f1d1630c9a4c70d9af2a74147)
2008-03-07 13:08:26 +01:00
Günther Deschner
f78316c2a7 Fix IDL for srvsvc_NetShareEnum and srvsvc_NetShareEnumAll.
Guenther
(This used to be commit e5ae43051e3bcdbad359737b19ec7f5e4b0ccd28)
2008-03-07 13:08:15 +01:00
Günther Deschner
3279d3110f Fix debug statement (missing \n).
Guenther
(This used to be commit 5895b973a4e7067535aff6e0c9a7273e332dee1a)
2008-03-07 13:07:50 +01:00
Jeremy Allison
868c5c986a Fix bug #5267 - nmbd shuts down when network interfaces go down.
Cause nmbd to wait for an interface, in a mode where SIGTERM
will kills us (same way we wait on startup for an interface).
Jeremy.
(This used to be commit 5440c752ff270cc674d46f2dfa2ceb47dac030f6)
2008-03-06 17:43:25 -08:00
Jeremy Allison
6f4cd6df77 client[ADDR_INDEX] is an IPv4 mapped to IPv6, but
the list item is not. Try and match the IPv4 part of
address only. This will happen a lot on IPv6 enabled
systems with IPv4 allow/deny lists in smb.conf.
Bug #5311.
Jeremy.
(This used to be commit 7c3550f82c51ce173b13e568762f728ecb881e85)
2008-03-06 14:44:07 -08:00