1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-21 18:04:06 +03:00

23610 Commits

Author SHA1 Message Date
Stefan Metzmacher
96820f8d8f rename getsmbpass -> rep_getpass and provide the function prototype
metze
2007-10-15 15:42:13 +02:00
Stefan Metzmacher
d20c2fa274 use "system/*.h" to get the system includes
metze
2007-10-15 15:41:06 +02:00
Stefan Metzmacher
f4c0961a16 fix the compilation of getpass.c and it's configure test
metze
2007-10-15 13:20:41 +02:00
Jeremy Allison
33ee0cfb19 r16320: Ensure variable is not null before calling fclose. Klocwork #412. Jeremy. 2007-10-15 13:20:41 +02:00
Jeremy Allison
46c12de07f r16245: Cope with string being zero len. Klocwork bug #410. Jeremy. 2007-10-15 13:20:40 +02:00
jmcd
0cd1ed0424 Volker's fix for bug #668. Change the \n after the password prompt to go to tty instead of stdout. 2007-10-15 13:20:40 +02:00
Stefan Metzmacher
d4ae42b1b2 reapply: Allow ^C to interrupt smbpasswd if using our getpass. from Jeremy
metze
2007-10-15 13:20:40 +02:00
Stefan Metzmacher
3e8f43e3cf reformat getpass() replacement code
metze
2007-10-15 13:20:39 +02:00
Stefan Metzmacher
0177158d85 missing stuff from samba4's libreplace
metze
2007-10-15 13:19:28 +02:00
metze
ec8e3f7f92 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
2007-10-15 13:19:28 +02:00
Günter Kukkukk
29eb4d0e2d Latest ipv6 changes broke (deprecated) smbmount, smbmnt and smbctool
In addition some cleanup has been done to avoid compiler warnings.
2007-10-15 12:31:21 +02:00
Volker Lendecke
add1294562 Fix one more place for IFF_LOOPBACK 2007-10-14 19:00:49 +02:00
Volker Lendecke
483cf289c8 Fix get_interfaces detection
During configure, we don't have config.h around yet, and we need strlcpy now.
2007-10-14 13:45:02 +02:00
Jelmer Vernooij
f8580abbd5 Merge commit '5e95c548864bc8b075b8343e69a69e1a22c92456' into 3.2-trivial 2007-10-14 00:56:27 +02:00
Jelmer Vernooij
84660aaab0 Ignore vim backup files. 2007-10-13 23:39:46 +02:00
Jelmer Vernooij
3072b11ac4 Fix typo. 2007-10-13 23:36:16 +02:00
Volker Lendecke
5e95c54886 Use strlcpy instead of strncpy 2007-10-13 21:44:58 +02:00
Volker Lendecke
d0f25bb89a Fix an uninitialized variable warning 2007-10-13 21:44:58 +02:00
Volker Lendecke
556c33702c Fix a segfault with an unknown interface
"interfaces = foo" with "foo" not being a known interface segfaulted for me.
2007-10-13 21:44:58 +02:00
Volker Lendecke
76d8dedc36 Also find loopback interfaces
Not sure if a loopback interface is actually a broadcast one.
2007-10-13 21:44:58 +02:00
Stefan Metzmacher
9e5ad21e67 remove unused print_test.c code
metze
2007-10-13 15:09:24 +02:00
Jeremy Allison
a1166e9e65 Dummy formatting commit to check I've set up my home git
correctly.
2007-10-12 21:50:41 -07:00
Jeremy Allison
3403c6c330 Convert get_peer_addr() to IPv6. Only is_myname_or_ipaddr()
lefto to do then I can fix the lib/access.c functions.
Jeremy.
2007-10-12 13:38:04 -07:00
Jelmer Vernooij
754671b8be Merge branch 'v3-2-stable' into my_branch 2007-10-12 19:41:01 +02:00
Jelmer Vernooij
4ac867f558 Fix valgrind window title. 2007-10-12 18:42:45 +02:00
Stefan Metzmacher
9475993dae cleanup and extent .gitignore
metze
2007-10-12 16:46:24 +02:00
Michael Adam
3a1b096522 Revert "Remove superfluous quotation marks around samba version"
This reverts commit 016795c550ee0b78fa46c508703fb5e1e40d8f36.

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

Michael
2007-10-12 16:15:28 +02:00
Michael Adam
016795c550 Remove superfluous quotation marks around samba version
vendor suffix.

Michael
2007-10-12 14:39:35 +02:00
Michael Adam
e68671b595 Add become_root/unbecome_root around one call of getsampwsid()
in create_token_from_username(). This caused set_nt_acl to
partially fail in certain circumstances.

This is expected to bring an improvement to bug #4308.

Michael
2007-10-12 13:20:07 +02:00
Günther Deschner
4dfda879a3 Fix the build WITH_DNS_UPDATES.
Jeremy, please have a look.

Guenther
2007-10-12 11:37:03 +02:00
Stefan Metzmacher
4f084efd6a offsetof() is always present as shown in some
libreplace testing.

metze
2007-10-12 10:06:27 +02:00
Jeremy Allison
12c0b1d828 Try and fix segfault found by Guenther on Fedora. Fedora
seems to return bogus values for the interface entries on
vmnet and tun interfaces.
Jeremy.
2007-10-11 18:03:12 -07:00
Jeremy Allison
baf1f52e34 Add const to the get_peer_addr() and get_socket_addr()
calls. Use the IPv6 varient for get_peer_addr().
Jeremy.
2007-10-11 15:36:13 -07:00
Volker Lendecke
142b80bf15 Remove bogus comment 2007-10-11 15:36:32 +02:00
Guenther Deschner
fbe5edec37 Merge commit 'origin/v3-2-test' into my_branch 2007-10-11 15:18:50 +02:00
Guenther Deschner
6ae4066bbb Rename krb5 locator plugin to "winbind_krb5_locator".
Guenther
2007-10-11 15:12:12 +02:00
Stefan Metzmacher
1bf4c7fb20 prepare the mkversion.sh infrastructure for git branches in the build-farm
metze
2007-10-11 12:27:38 +02:00
Stefan Metzmacher
b03b4489c2 SAMBA_VERSION_VENDOR_SUFFIX doesn't need an extra '-'
metze
2007-10-11 10:53:55 +02:00
Jeremy Allison
169c5857b7 Added missing is_ipaddress is_ipaddress_v4 not in initial
port from old svn code.
Jeremy.
2007-10-10 18:47:41 -07:00
Jeremy Allison
3f6bd0e1ec Add start of IPv6 implementation. Currently most of this is avoiding
IPv6 in winbindd, but moves most of the socket functions that were
wrongly in lib/util.c into lib/util_sock.c and provides generic
IPv4/6 independent versions of most things. Still lots of work
to do, but now I can see how I'll fix the access check code.
Nasty part that remains is the name resolution code which is
used to returning arrays of in_addr structs.
Jeremy.
2007-10-10 18:25:16 -07:00
Jeremy Allison
3f1ac564c0 Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into SAMBA_3_2_0 2007-10-10 17:56:55 -07:00
Jeremy Allison
d39ce8e37e Merge from metze of libreplace header changes 2007-10-10 17:56:19 -07:00
Guenther Deschner
52ca48f188 Merge commit 'origin/v3-2-test' into my_branch 2007-10-11 02:43:29 +02:00
Guenther Deschner
83fe2b4261 Merge commit 'origin/v3-2-test' into my_branch 2007-10-11 02:33:07 +02:00
Jeremy Allison
e00ea359d6 Merge branch 'v3-2-test' of git://git.samba.org/samba into SAMBA_3_2 2007-10-10 17:28:21 -07:00
Guenther Deschner
5fa3fc81b7 Display ace_objects in security descriptors.
Guenther
2007-10-11 02:25:44 +02:00
Jeremy Allison
183df4754b Fix valgrind-found memory overwrite. 2007-10-10 17:24:44 -07:00
Gerald (Jerry) Carter
be916777da Adding a draft section for 3.2.0pre2
Add the header and "commits since 3.2.0pre1" sections in preparation
for another preview release althought we might decide to go stright
to RC from here.
2007-10-10 19:21:52 -05:00
Gerald (Jerry) Carter
631464e265 Copy release notes from 3.2.0pre1 2007-10-10 19:16:57 -05:00
Gerald (Jerry) Carter
1e048ef75e Set -test in the vendor version 2007-10-10 19:16:45 -05:00