Jeremy Allison
93bfb6ca54
Fix old cut-and-paste bug where the wrong field was being written to.
...
Jerry please check.
Jeremy.
(This used to be commit 6a556fd73a
)
2007-11-27 17:50:39 -08:00
Jeremy Allison
2cda3e7844
Whitespace cleanup.
...
Jeremy.
(This used to be commit 3052172d2b
)
2007-11-27 17:48:59 -08:00
Jeremy Allison
cef494d903
Make init_unistr2_from_unistr take an explicit talloc context.
...
Make init_unistr() re-use rpcstr_push_talloc().
Jeremy.
(This used to be commit 04aecde5cf
)
2007-11-27 17:48:44 -08:00
Jeremy Allison
6b6655edd9
Remove pstrings from everything except srv_spoolss_nt.c.
...
Jeremy.
(This used to be commit 0002a9e96b
)
2007-11-27 14:35:30 -08:00
Guenther Deschner
f642ae8375
fix a obscure compiler warning
...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Jeremy,
I have never seen this warning before:
"warning: comparison is always false due to limited range of data type".
Guenther
- --
Günther Deschner GPG-ID: 8EE11688
Red Hat gdeschner@redhat.com
Samba Team gd@samba.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFHTIOOSOk3aI7hFogRArxMAJwP0ktE96tHcwn9nXG6AOqonpeDgQCgm/zi
54B6HJZvx6zdUTMFFNWqUb0=
=kUJa
-----END PGP SIGNATURE-----
>From 6a4935ee455adc1251fce2759f97d35f303bd40e Mon Sep 17 00:00:00 2001
From: =?utf-8?q?G=C3=BCnther=20Deschner?= <gd@samba.org>
Date: Tue, 27 Nov 2007 21:48:39 +0100
Subject: [PATCH] Getting rid of "comparison is always false due to limited range of data type"
warning.
Guenther
(This used to be commit 9512029139
)
2007-11-27 13:03:19 -08:00
Jeremy Allison
3a452a15b7
Remove pstring from everything in rpc_server except
...
srv_spoolss_nt.c and srv_srvsvc_nt.c.
They're next :-).
Jeremy.
(This used to be commit 55b4f9d003
)
2007-11-27 11:22:58 -08:00
Günther Deschner
9d42af0d24
Unless talloc has some new magic there is a ctx missing here.
...
Guenther
(This used to be commit 172f7ce96d
)
2007-11-27 18:01:56 +01:00
Michael Adam
96ea32b886
Use the proper boolean constants - the type has been
...
changed from BOOL to bool.
Michael
(This used to be commit 03673f2cd6
)
2007-11-27 16:36:06 +01:00
Volker Lendecke
1011b32678
Remove some statics
...
(This used to be commit 1fab16ffb8
)
2007-11-27 14:18:47 +01:00
Jeremy Allison
80c2446321
Remove pstrings from nsswitch/ and registry/
...
Jeremy.
(This used to be commit 331c0d6216
)
2007-11-26 17:24:56 -08:00
Volker Lendecke
d5b2325fcd
Remove a global
...
(This used to be commit 3088bc76f1
)
2007-11-26 17:48:40 +01:00
Volker Lendecke
d4bfafa29c
Fix bug 5055
...
(This used to be commit 8bcd2df841
)
2007-11-26 15:28:13 +01:00
Volker Lendecke
2b32252b8a
Improve debug message
...
Fix bug 5056, thanks to debian package maintainer
(This used to be commit 5b4ba4bfc5
)
2007-11-26 14:36:30 +01:00
Volker Lendecke
5d85dd682a
Fix a C++ warning
...
(This used to be commit 9bf5ead4b2
)
2007-11-26 14:36:29 +01:00
Tomoki AONO
02571885a9
1. lib/system.c (xattr code for Solaris) could not be
...
built against c90 compilers. (declaration after
statement.) Sample patch attached.
(This used to be commit 102a247df9
)
2007-11-26 09:00:33 +01:00
Volker Lendecke
bff221cf1b
In libsmbclient, map NT_STATUS_OBJECT_PATH_NOT_FOUND to ENOENT
...
Thanks to SATOH Fumiyasu!
This fixes bug 4974
(This used to be commit 41e07682dc
)
2007-11-25 12:54:52 +01:00
Volker Lendecke
5c6f961447
Remove a static
...
(This used to be commit 85a84f72ff
)
2007-11-24 18:11:11 -08:00
Volker Lendecke
d2c2635a28
Make remote_password_change return malloced error strings
...
This fixes a segfault in smbpasswd -r
(This used to be commit 49949f0b85
)
2007-11-23 13:04:50 -08:00
Volker Lendecke
450ca80b57
add talloc_stackframe() to eventlogadm
...
Thanks to Günther Kukkukk for noticing
(This used to be commit 9751cc222c
)
2007-11-23 14:39:21 +01:00
Stefan Metzmacher
a0ad3a7d64
printing: fix default printing subsystem detection
...
"system/printing.h" includes an outdated copy of
the stuff in samba3's includes.h, so we should not use it.
metze
(This used to be commit 0a7338abfa
)
2007-11-23 11:51:33 +01:00
Stefan Metzmacher
c20077e825
smbd: close_stat() should be static
...
metze
(This used to be commit e186b60afa
)
2007-11-23 11:47:28 +01:00
Volker Lendecke
1faeda8aab
Do not link in SOCKET_WRAPPER_OBJ twice
...
(This used to be commit 99b3289aa4
)
2007-11-22 16:00:13 +01:00
Volker Lendecke
977497071b
Cosmetic fix
...
(This used to be commit 8d8cb8f9cc
)
2007-11-22 16:00:13 +01:00
Volker Lendecke
afc3eee3b8
Add a missing prototype
...
(This used to be commit 89e2984a84
)
2007-11-22 16:00:13 +01:00
Volker Lendecke
734025012f
Fix an uninitialized variable
...
(This used to be commit e8b866ad87
)
2007-11-22 16:00:13 +01:00
Volker Lendecke
3f100a5976
Fix a type-punned warning
...
(This used to be commit 4c992e4340
)
2007-11-22 16:00:13 +01:00
James Peach
64b54e5340
Merge ssh://git.samba.org/data/git/samba into v3-2-test
...
(This used to be commit 660ea44336
)
2007-11-21 18:31:35 -08:00
Jeremy Allison
7ef6c19074
Remove pstrings from pam_smbpass - make local_password_change
...
return malloced strings.
Jeremy.
(This used to be commit f652fe2bdb
)
2007-11-21 17:42:52 -08:00
Jeremy Allison
01acd4bb38
Remove pstring from printing/*.c except for the
...
tdb_unpack requirement (I'll be making that an
allocating interface later).
Jeremy.
(This used to be commit d2ee75326a
)
2007-11-21 13:56:36 -08:00
Jeremy Allison
dc9237d231
Doh ! Don't use #else when #endif is needed.
...
Jeremy.
(This used to be commit a04e916b89
)
2007-11-21 10:31:18 -08:00
Jeremy Allison
e68bbe3548
Add set_sockaddr_port function for winbindd.
...
Jeremy.
(This used to be commit 4b47052694
)
2007-11-21 10:10:52 -08:00
Gerald (Jerry) Carter
b921f1690f
Allocate a talloc_stackframe() in main() for wbinfo.
...
(This used to be commit 30c9e3557b
)
2007-11-21 10:27:22 -06:00
Gerald (Jerry) Carter
9d42000b7e
Fix unresolved symbols in smbumount from addition of talloc_stackframe().
...
(This used to be commit 6b62b7dbab
)
2007-11-21 10:27:01 -06:00
Jeremy Allison
90b8a7c8fe
Add talloc stackframe for ntlm_auth.c
...
Jeremy.
(This used to be commit 6f9c2910bd
)
2007-11-20 19:17:47 -08:00
Jeremy Allison
cdad0409c4
Remove pstrcpy I missed.
...
Jeremy.
(This used to be commit f570175615
)
2007-11-20 19:05:30 -08:00
Jeremy Allison
de51d3dd5f
More pstring removal....
...
Jeremy.
(This used to be commit 809f5ab4c5
)
2007-11-20 18:55:36 -08:00
Jeremy Allison
a0f7c3f481
Remove pstring from services/*.c
...
Jeremy.
(This used to be commit 33aa866195
)
2007-11-20 17:57:47 -08:00
Jeremy Allison
3c561043dc
Ensure we have a talloc stackframe (found by Kukks).
...
Jeremy.
(This used to be commit b409f1c335
)
2007-11-20 17:54:01 -08:00
Jeremy Allison
66298d8080
More pstring elimination.
...
Jeremy.
(This used to be commit 15074de938
)
2007-11-20 17:18:16 -08:00
David Losada Carballo
febaaae202
Extend commit module to help with NFS quotas.
...
Add "commit on eof" and "commit past eof" modes. Patch from David
Losada Carballo with some modifications during the merge.
(This used to be commit 12eee4f7fe
)
2007-11-20 16:45:33 -08:00
Jeremy Allison
c049b8157d
More trivial pstring removal.
...
Jeremy.
(This used to be commit bac3bb2f6e
)
2007-11-20 15:31:37 -08:00
Jeremy Allison
61b37c73ee
Paranoia check that space_remaining never goes -ve.
...
Jeremy.
(This used to be commit 76f9c0b2dc
)
2007-11-20 15:31:18 -08:00
Gerald (Jerry) Carter
2545457268
Prevent segv in winbindd running on a DC using the "idmap backend" syntax.
...
The number of domains should be counted as they are added and not assumed
to match the loop counter.
manually cherry-picked 8ad2826c48
(This used to be commit 99b75cada2
)
2007-11-20 13:27:14 -06:00
Jeremy Allison
4c6b01b0ef
Remove more pstring. Unify talloc_sub functions to make
...
them a better match for replacing string_sub. Remove
more unused code.
Jeremy.
(This used to be commit ae7885711f
)
2007-11-19 18:56:22 -08:00
Jeremy Allison
cf31bb7532
Start to remove some of the pstring functions we're
...
no longer using.
Jeremy.
(This used to be commit c21e9bdc10
)
2007-11-19 17:51:21 -08:00
Jeremy Allison
cae4c742a8
Always check return from push_ascii.
...
Jeremy.
(This used to be commit 9c3d10521e
)
2007-11-19 17:43:28 -08:00
Volker Lendecke
428e663100
Add stackframes to public libsmbclient functions
...
As we use talloc_tos() in inner libsmbclient/ functions more and more, we need
to make sure not to create memleaks by not free'ing talloc stackframes. This
patch wraps all calls in libsmbclient.c that are publically exported into a
talloc_stackframe()/talloc_free() pair.
Jeremy, Derrell, can you check this?
Thanks,
Volker
(This used to be commit db9fa472a8
)
2007-11-19 16:42:03 -08:00
Jeremy Allison
9a41314ce8
Remove pstring from nmbd.
...
Jeremy.
(This used to be commit a317f70c22
)
2007-11-19 15:15:09 -08:00
Karolin Seeger
551f9e7a6c
Add error message to net rap file and net rap file user
...
(This used to be commit 759d6bcbec
)
2007-11-19 16:42:27 +01:00
Volker Lendecke
815aec8241
Add a comment
...
(This used to be commit 144014096a
)
2007-11-18 15:08:54 -08:00