1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

20453 Commits

Author SHA1 Message Date
Jeremy Allison
9a85533914 Fix the popt / bool issues. Some places we used BOOL
where we meant int. Fix this. Thanks to metze for
pointing this out.
Jeremy.
(This used to be commit 793a9d24a1)
2007-10-19 11:38:36 -07:00
Günther Deschner
61e482cfdf Merge Tridge's fix for the winbind 32/64bit padding.
Guenther
(This used to be commit 36578b22f1)
2007-10-19 13:03:49 +02:00
Stefan Metzmacher
7f82fbad50 fix startup of smbd, nmbd, winbindd
jra: POPT_ARG_VAL arguments need int values.
     I assume there're more places like this
     in the cmdline tools.

     Please fix this properly, as my commit is just
     a hack to get make test working again.

in samba4 we have a workaround for this see
smbd/server.c

metze
(This used to be commit 9cb1937fe8)
2007-10-19 10:34:06 +02:00
Jeremy Allison
30191d1a57 RIP BOOL. Convert BOOL -> bool. I found a few interesting
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
(This used to be commit f35a266b3c)
2007-10-18 17:40:25 -07:00
Stefan Metzmacher
789856f63f remove reference to removed code
see commit 9e5ad21e67

metze
(This used to be commit ea3173a945)
2007-10-18 16:52:26 +02:00
Karolin Seeger
4d910553dc Add net rap file user
(This used to be commit 2972c97e5e)
2007-10-18 13:12:58 +02:00
Stefan Metzmacher
c595c8311b don't skip some tests which samba3 passes (at least on my laptop)
metze
(This used to be commit d70ddad2e8)
2007-10-18 11:05:56 +02:00
Stefan Metzmacher
801c0314b1 make gdb_backtrace executable
metze
(This used to be commit f694df1919)
2007-10-18 11:05:47 +02:00
Stefan Metzmacher
dfd5323bda remove configure checks which are now in libreplace
metze
(This used to be commit 50d5eec508)
2007-10-18 10:55:59 +02:00
Stefan Metzmacher
df50ee886f [libreplace] fix the standalone build of libreplace
all configure results which are used in replace.h
or any system/*.h should be in the in the libreplace
*.m4 files!

metze
(This used to be commit 1eefa0264b)
2007-10-18 10:54:37 +02:00
Volker Lendecke
7ed90852c5 r16050: Set the session key "SystemLibraryDTC" on ntlmssp binds. We only do INTEGRITY
and PRIVACY, so no other cases to take care of so far...

Andrew B., if you have time, could you take a look? This makes us survive the
RPC-SAMBA3SESSIONKEY test.

Volker
(cherry picked from commit 25cc1e7ff1)
(This used to be commit b474600973)
2007-10-18 09:25:09 +02:00
Jeremy Allison
bb126d1f49 Reformatting fix for new coding guidelines. BOOL ->bool.
Jeremy.
(This used to be commit 315215e20e)
2007-10-17 12:10:12 -07:00
Stefan Metzmacher
fa12678f4e delete empty file lib/replace/system/getaddrinfo.h
metze
(This used to be commit 354bdd38e8)
2007-10-17 15:21:48 +02:00
Volker Lendecke
e405187b0d r17064: lsa_GetUserName needs to return the name for S-1-5-7 on an anonymous login.
Found that because I want to play around with setsharesecurity, for this I
need the "whoami" call figuring out the SID of the currently connected user.

Not activating this test yet until the build farm has picked up the new samba4
revision.

Volker
(cherry picked from commit 5cfe482841)
(This used to be commit 15935bad1d)
2007-10-17 13:38:44 +02:00
Stefan Metzmacher
ba7a979e53 fix crash bug in pidl generated client code, this
could have happend with [in,out,unique] pointers
when the clients sends a valid pointer, but the server
reponse with a NULL pointer (as samba-3.0.26a do for some calls).

I've tested with midl to see how windows handles this situation
and also the reverse case where the client sends NULL and
the server reposnse with non-NULL.

It appears that midl generated code just ignores this
and only copies the result if both pointers are non-NULL.

metze
(This used to be commit cb98869fa1)
2007-10-17 10:35:51 +02:00
Jeremy Allison
2b2168bff6 Improve IPv4 detection.
Jeremy.
(This used to be commit 2ef50e325c)
2007-10-16 16:01:13 -07:00
Jeremy Allison
cadb72dd99 Move #defined for getaddrinfo into network.h (as other
defines). Allows RHEL4 compile to work.
Jeremy.
(This used to be commit 0ffdf4fdee)
2007-10-16 15:15:23 -07:00
Jeremy Allison
9125bcf77b Added in missing def for AI_ADDRCONFIG.
Jeremy.
(This used to be commit 3ef3c3afc3)
2007-10-16 12:22:58 -07:00
Jeremy Allison
ce77126e68 Fix access control code to be IPv6/v4 protocol independent.
Make unix_wild_match() talloc, not pstring based.
Next will be name resolution code, and client code.
Jeremy.
(This used to be commit f6a01b82c5)
2007-10-16 11:33:37 -07:00
Simo Sorce
b111d543a5 Fix default domains support using compat syntax.
Without this fix idmap_rid can't be used with the compatible syntax.
Includes fix to keep trusted domains working
(This used to be commit 8c770c367c)
2007-10-16 14:16:03 -04:00
Jeremy Allison
b851ff28f9 Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 5c8adce3f3)
2007-10-15 16:12:01 -07:00
Jeremy Allison
666f50b01f Move to protocol independent code in most of lib/util_sock.c
We don't use gethostbyname any more except in one case where
we're looking for host aliases (I don't know how to do that
with getaddrinfo yet). New function should be getaddrinfo().
Next step will be fixing lib/access.c, and then changing
libsmb/namequery.c to cope with IPv6 address returns.
Jeremy.
(This used to be commit 4a56b697b6)
2007-10-15 16:11:48 -07:00
Jeremy Allison
48cd61d30e Fix warning messages for unused variables.
Jeremy.
(This used to be commit 406737cd9a)
2007-10-15 15:52:30 -07:00
Alexander Bokovoy
d76717fe15 Correctly free memory in regfio paths
(This used to be commit 97f9a90b82)
2007-10-15 17:41:09 -05:00
Günther Deschner
06ae5243f3 Add WERR_SERVICE_ALREADY_RUNNING.
Guenther
(This used to be commit 357f003849)
2007-10-15 19:10:19 +02:00
Stefan Metzmacher
c08cd08acc rename getsmbpass -> rep_getpass and provide the function prototype
metze
(This used to be commit 96820f8d8f)
2007-10-15 15:42:13 +02:00
Stefan Metzmacher
d5712f071a use "system/*.h" to get the system includes
metze
(This used to be commit d20c2fa274)
2007-10-15 15:41:06 +02:00
Stefan Metzmacher
c6a17c85e1 fix the compilation of getpass.c and it's configure test
metze
(This used to be commit f4c0961a16)
2007-10-15 13:20:41 +02:00
Jeremy Allison
a09bc48a1d r16320: Ensure variable is not null before calling fclose. Klocwork #412. Jeremy.
(This used to be commit 33ee0cfb19)
2007-10-15 13:20:41 +02:00
Jeremy Allison
335c35318a r16245: Cope with string being zero len. Klocwork bug #410. Jeremy.
(This used to be commit 46c12de07f)
2007-10-15 13:20:40 +02:00
jmcd
3c258755b5 Volker's fix for bug #668. Change the \n after the password prompt to go to tty instead of stdout.
(This used to be commit 0cd1ed0424)
2007-10-15 13:20:40 +02:00
Stefan Metzmacher
65f16c7fed reapply: Allow ^C to interrupt smbpasswd if using our getpass. from Jeremy
metze
(This used to be commit d4ae42b1b2)
2007-10-15 13:20:40 +02:00
Stefan Metzmacher
7fedf44eff reformat getpass() replacement code
metze
(This used to be commit 3e8f43e3cf)
2007-10-15 13:20:39 +02:00
Stefan Metzmacher
2ecbed36b2 missing stuff from samba4's libreplace
metze
(This used to be commit 0177158d85)
2007-10-15 13:19:28 +02:00
metze
804396dce9 don't imply "system/network.h" within replace.h,
as this brings in the socket_wrapper.h in unexpected
code and we endup with a missing 'swrap_close' while linking

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25602 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit ec8e3f7f92)
2007-10-15 13:19:28 +02:00
Günter Kukkukk
d3a7f49c6f Latest ipv6 changes broke (deprecated) smbmount, smbmnt and smbctool
In addition some cleanup has been done to avoid compiler warnings.
(This used to be commit 29eb4d0e2d)
2007-10-15 12:31:21 +02:00
Volker Lendecke
c9165b99e9 Fix one more place for IFF_LOOPBACK
(This used to be commit add1294562)
2007-10-14 19:00:49 +02:00
Volker Lendecke
5b53d34626 Fix get_interfaces detection
During configure, we don't have config.h around yet, and we need strlcpy now.
(This used to be commit 483cf289c8)
2007-10-14 13:45:02 +02:00
Jelmer Vernooij
466925b007 Merge commit '5e95c548864bc8b075b8343e69a69e1a22c92456' into 3.2-trivial
(This used to be commit f8580abbd5)
2007-10-14 00:56:27 +02:00
Jelmer Vernooij
823872f9fb Fix typo.
(This used to be commit 3072b11ac4)
2007-10-13 23:36:16 +02:00
Volker Lendecke
478ad87cb3 Use strlcpy instead of strncpy
(This used to be commit 5e95c54886)
2007-10-13 21:44:58 +02:00
Volker Lendecke
70b416a174 Fix an uninitialized variable warning
(This used to be commit d0f25bb89a)
2007-10-13 21:44:58 +02:00
Volker Lendecke
3d89bad41f Fix a segfault with an unknown interface
"interfaces = foo" with "foo" not being a known interface segfaulted for me.
(This used to be commit 556c33702c)
2007-10-13 21:44:58 +02:00
Volker Lendecke
e8b83d79b1 Also find loopback interfaces
Not sure if a loopback interface is actually a broadcast one.
(This used to be commit 76d8dedc36)
2007-10-13 21:44:58 +02:00
Stefan Metzmacher
0bb74d2f8c remove unused print_test.c code
metze
(This used to be commit 9e5ad21e67)
2007-10-13 15:09:24 +02:00
Jeremy Allison
6c8225445b Dummy formatting commit to check I've set up my home git
correctly.
(This used to be commit a1166e9e65)
2007-10-12 21:50:41 -07:00
Jeremy Allison
e9cf3a8ca2 Convert get_peer_addr() to IPv6. Only is_myname_or_ipaddr()
lefto to do then I can fix the lib/access.c functions.
Jeremy.
(This used to be commit 3403c6c330)
2007-10-12 13:38:04 -07:00
Jelmer Vernooij
98075c5542 Merge branch 'v3-2-stable' into my_branch
(This used to be commit 754671b8be)
2007-10-12 19:41:01 +02:00
Jelmer Vernooij
20d1141ed8 Fix valgrind window title.
(This used to be commit 4ac867f558)
2007-10-12 18:42:45 +02:00
Michael Adam
d93f851ec1 Revert "Remove superfluous quotation marks around samba version"
This reverts commit 016795c550.

These quotation marks are not superfluous at all... sorry!

Michael
(This used to be commit 3a1b096522)
2007-10-12 16:15:28 +02:00