1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-21 20:23:50 +03:00
Commit Graph

23818 Commits

Author SHA1 Message Date
Günther Deschner
b350e482b9 domain_name is a ref pointer.
Guenther
2007-11-30 22:25:01 +01:00
Günther Deschner
88a01bd810 Merge join error codes from Samba 4.
Guenther
2007-11-30 22:25:01 +01:00
Günther Deschner
08a5a036ba Add NetJoinDomain call.
Guenther
2007-11-30 22:25:01 +01:00
Günther Deschner
6bf2c8038c Move param helper routines to one place.
Guenther
2007-11-30 22:25:01 +01:00
Günther Deschner
258ef17a26 Make encode_wkssvc_join_password_buffer() non-static.
Guenther
2007-11-30 22:25:01 +01:00
Günther Deschner
b1d36cdb86 Merge encode_wkssvc_join_password_buffer() from samba4.
Guenther
2007-11-30 22:25:00 +01:00
Jeremy Allison
0ae61e2654 Add talloc versions of all the next_token() functions.
Now I can really start removing fixed length strings...
Jeremy.
2007-11-30 13:09:04 -08:00
Jeremy Allison
d5658914c2 Remove pstrings from clifile.c.
Jeremy.
2007-11-29 17:47:31 -08:00
Jeremy Allison
cc257b71d1 Remove PSTRING_LEN from smbd/ nmbd/.
Remove pstring from libsmb/clidfs.c except for a nasty
hack (that will be removed when pstrings are gone from
client/).
Jeremy.
2007-11-29 17:25:41 -08:00
Günther Deschner
20c1ba23f2 Fix _reg_perfcount_get_instance_info()
Guenther
2007-11-30 02:16:46 +01:00
Günther Deschner
7539fb4c84 Merge recent wkssvc changes from samba4.
Guenther
2007-11-30 01:45:07 +01:00
Günther Deschner
bf4881d777 Fix build warning.
Guenther
2007-11-30 01:45:06 +01:00
Jeremy Allison
ccacd17047 Fix memleak.
Jeremy.
2007-11-29 16:30:18 -08:00
Jeremy Allison
ba9e2be2b5 Remove the explicit TALLOC_CTX * from cli_struct.
Make us very explicit about how long a talloc ctx
should last.
Jeremy.
2007-11-29 13:24:54 -08:00
Jeremy Allison
ff06cc34e6 Remove pstrings. Ensure we validate offsets.
Jeremy.
2007-11-29 13:24:14 -08:00
Jeremy Allison
aff5a52136 Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test 2007-11-29 09:48:33 -08:00
Michael Adam
988c5ff3f4 Allow calling "net rpc join" and "net rpc trustdom" without specifying server IP.
This was a logic bug (typo) in a call to get_pdc_ip() in net_find_server().

Michael
2007-11-29 15:16:45 +01:00
Jeremy Allison
a261a61226 Remove unused code (and pstring).
Jeremy.
2007-11-28 14:08:49 -08:00
Volker Lendecke
223352e323 Add a warning for a potential bug I've run into 2007-11-28 09:45:40 -08:00
Michael Adam
3330394d2d Give rpcclient a talloc stackframe.
Michael
2007-11-28 15:24:53 +01:00
Jeremy Allison
82f393e603 Remove pstrings from asn1.c.
Jeremy.
2007-11-27 23:40:54 -08:00
Jeremy Allison
71ccd0c42e Remove pstrings from namequery.c.
Jeremy.
2007-11-27 23:10:20 -08:00
Jeremy Allison
9755c53114 Fixed obvious typo.
Jeremy.
2007-11-27 23:00:11 -08:00
Jeremy Allison
6cae4b5fa1 Remove unused prototype for smbldap_get_single_pstring().
Don't use pstr_sprintf() on an fstring - change to talloc.
Jeremy.
2007-11-27 22:22:35 -08:00
Jeremy Allison
f1e401ef5c Save one extra strdup per lp_string. Use talloc_sub_basic()
directly.
Jeremy.
2007-11-27 19:12:42 -08:00
Jeremy Allison
b5a2a1e3f8 Remove pstring from srv_spoolss_nt.c. All gone from rpc_server/*.c
Jeremy.
2007-11-27 19:05:08 -08:00
Jeremy Allison
6a556fd73a Fix old cut-and-paste bug where the wrong field was being written to.
Jerry please check.
Jeremy.
2007-11-27 17:50:39 -08:00
Jeremy Allison
3052172d2b Whitespace cleanup.
Jeremy.
2007-11-27 17:48:59 -08:00
Jeremy Allison
04aecde5cf Make init_unistr2_from_unistr take an explicit talloc context.
Make init_unistr() re-use rpcstr_push_talloc().
Jeremy.
2007-11-27 17:48:44 -08:00
Jeremy Allison
0002a9e96b Remove pstrings from everything except srv_spoolss_nt.c.
Jeremy.
2007-11-27 14:35:30 -08:00
Guenther Deschner
9512029139 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
2007-11-27 13:03:19 -08:00
Jeremy Allison
55b4f9d003 Remove pstring from everything in rpc_server except
srv_spoolss_nt.c and srv_srvsvc_nt.c.
They're next :-).
Jeremy.
2007-11-27 11:22:58 -08:00
Günther Deschner
172f7ce96d Unless talloc has some new magic there is a ctx missing here.
Guenther
2007-11-27 18:01:56 +01:00
Michael Adam
03673f2cd6 Use the proper boolean constants - the type has been
changed from BOOL to bool.

Michael
2007-11-27 16:36:06 +01:00
Volker Lendecke
1fab16ffb8 Remove some statics 2007-11-27 14:18:47 +01:00
Jeremy Allison
331c0d6216 Remove pstrings from nsswitch/ and registry/
Jeremy.
2007-11-26 17:24:56 -08:00
Volker Lendecke
3088bc76f1 Remove a global 2007-11-26 17:48:40 +01:00
Volker Lendecke
8bcd2df841 Fix bug 5055 2007-11-26 15:28:13 +01:00
Volker Lendecke
5b4ba4bfc5 Improve debug message
Fix bug 5056, thanks to debian package maintainer
2007-11-26 14:36:30 +01:00
Volker Lendecke
9bf5ead4b2 Fix a C++ warning 2007-11-26 14:36:29 +01:00
Tomoki AONO
102a247df9 1. lib/system.c (xattr code for Solaris) could not be
built against c90 compilers. (declaration after
statement.) Sample patch attached.
2007-11-26 09:00:33 +01:00
Volker Lendecke
41e07682dc In libsmbclient, map NT_STATUS_OBJECT_PATH_NOT_FOUND to ENOENT
Thanks to SATOH Fumiyasu!

This fixes bug 4974
2007-11-25 12:54:52 +01:00
Volker Lendecke
85a84f72ff Remove a static 2007-11-24 18:11:11 -08:00
Volker Lendecke
49949f0b85 Make remote_password_change return malloced error strings
This fixes a segfault in smbpasswd -r
2007-11-23 13:04:50 -08:00
Volker Lendecke
9751cc222c add talloc_stackframe() to eventlogadm
Thanks to Günther Kukkukk for noticing
2007-11-23 14:39:21 +01:00
Stefan Metzmacher
0a7338abfa 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
2007-11-23 11:51:33 +01:00
Stefan Metzmacher
e186b60afa smbd: close_stat() should be static
metze
2007-11-23 11:47:28 +01:00
Volker Lendecke
99b3289aa4 Do not link in SOCKET_WRAPPER_OBJ twice 2007-11-22 16:00:13 +01:00
Volker Lendecke
8d8cb8f9cc Cosmetic fix 2007-11-22 16:00:13 +01:00
Volker Lendecke
89e2984a84 Add a missing prototype 2007-11-22 16:00:13 +01:00