Günther Deschner
9433010f35
Add header file for NetJoinDomain() and friends.
...
Guenther
(This used to be commit 7cea527e8712cde34378ae8b32aad1e4aab0c17b)
2007-11-30 22:25:01 +01:00
Günther Deschner
9fdb8b82c9
Add NetUnjoinDomain().
...
Guenther
(This used to be commit fd9d73ad44b0f0b3656a50a663b60aa26e7f7376)
2007-11-30 22:25:01 +01:00
Günther Deschner
ac512a5bb2
Robustness-fixes for NetJoinDomain().
...
Guenther
(This used to be commit 2d5236cc37fe015ce9098a0ebe99cdc0ca3537ae)
2007-11-30 22:25:01 +01:00
Günther Deschner
1484b1d174
Give NetJoinDomain() enough time to finish.
...
Guenther
(This used to be commit 7f021b3cb7845c6eb142668f66599886cd92182f)
2007-11-30 22:25:01 +01:00
Günther Deschner
5ee27320ce
domain_name is a ref pointer.
...
Guenther
(This used to be commit b350e482b9b211caf08c22c7528b51e47b4a5cce)
2007-11-30 22:25:01 +01:00
Günther Deschner
22cf7f5ffa
Merge join error codes from Samba 4.
...
Guenther
(This used to be commit 88a01bd810c36631272c5db727334bdc6f12f07d)
2007-11-30 22:25:01 +01:00
Günther Deschner
a51e682a21
Add NetJoinDomain call.
...
Guenther
(This used to be commit 08a5a036ba97d1f4830d73e95b8369aa9e6683e8)
2007-11-30 22:25:01 +01:00
Günther Deschner
4b9f336a62
Move param helper routines to one place.
...
Guenther
(This used to be commit 6bf2c8038c4bc7a52b7f260209ade0bdeb95c685)
2007-11-30 22:25:01 +01:00
Günther Deschner
c224118ffe
Make encode_wkssvc_join_password_buffer() non-static.
...
Guenther
(This used to be commit 258ef17a266548bc02bed1870fd4ef5a272300b3)
2007-11-30 22:25:01 +01:00
Günther Deschner
5886f7c9f6
Merge encode_wkssvc_join_password_buffer() from samba4.
...
Guenther
(This used to be commit b1d36cdb86978cb31d470fccf2dc24d366835c36)
2007-11-30 22:25:00 +01:00
Jeremy Allison
810f760afd
Add talloc versions of all the next_token() functions.
...
Now I can really start removing fixed length strings...
Jeremy.
(This used to be commit 0ae61e26547e594e94037d4474a008221e5df8cf)
2007-11-30 13:09:04 -08:00
Jeremy Allison
5b184c3525
Remove pstrings from clifile.c.
...
Jeremy.
(This used to be commit d5658914c2d6ec878d9a11f8a1fa57f1697362e3)
2007-11-29 17:47:31 -08:00
Jeremy Allison
f692694b99
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.
(This used to be commit cc257b71d13daa47e6f2315d0f07a60eb4aaeca6)
2007-11-29 17:25:41 -08:00
Günther Deschner
b05ffb5065
Fix _reg_perfcount_get_instance_info()
...
Guenther
(This used to be commit 20c1ba23f2e2902ef7c2237c63addfef2ae75eac)
2007-11-30 02:16:46 +01:00
Günther Deschner
7557964bee
Merge recent wkssvc changes from samba4.
...
Guenther
(This used to be commit 7539fb4c840a9b4429f347cebbda9c631746267a)
2007-11-30 01:45:07 +01:00
Günther Deschner
4a1fbf7bbf
Fix build warning.
...
Guenther
(This used to be commit bf4881d7774681e22f270697c7623bde33c30fe0)
2007-11-30 01:45:06 +01:00
Jeremy Allison
b7db7c8352
Fix memleak.
...
Jeremy.
(This used to be commit ccacd170472869391bd1e5bc850b1467492b8fa3)
2007-11-29 16:30:18 -08:00
Jeremy Allison
d2cf97aeba
Remove the explicit TALLOC_CTX * from cli_struct.
...
Make us very explicit about how long a talloc ctx
should last.
Jeremy.
(This used to be commit ba9e2be2b5a59684e854609f9d82ea1633448c62)
2007-11-29 13:24:54 -08:00
Jeremy Allison
42c87fe6e6
Remove pstrings. Ensure we validate offsets.
...
Jeremy.
(This used to be commit ff06cc34e66a18ba71dd54f6c78b05a45b9f2d85)
2007-11-29 13:24:14 -08:00
Jeremy Allison
ce2844f30d
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
...
(This used to be commit aff5a52136b85fe82c4acb08d12009187d1fe6c7)
2007-11-29 09:48:33 -08:00
Michael Adam
25a6a677df
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
(This used to be commit 988c5ff3f47b7508b229464bbed2ca1948d6e27c)
2007-11-29 15:16:45 +01:00
Jeremy Allison
eced14c6e6
Remove unused code (and pstring).
...
Jeremy.
(This used to be commit a261a61226248b41be22dd4f2873b5ed82bc2a24)
2007-11-28 14:08:49 -08:00
Volker Lendecke
a605be7314
Add a warning for a potential bug I've run into
...
(This used to be commit 223352e32372f1b055298cfc6f2770043a845e3d)
2007-11-28 09:45:40 -08:00
Michael Adam
ddcaaae4ff
Give rpcclient a talloc stackframe.
...
Michael
(This used to be commit 3330394d2d5d58576d9ddb52f60a3e27f31d5198)
2007-11-28 15:24:53 +01:00
Jeremy Allison
3daafc5662
Remove pstrings from asn1.c.
...
Jeremy.
(This used to be commit 82f393e60378eb42ddcc740241902eee495719d3)
2007-11-27 23:40:54 -08:00
Jeremy Allison
762fde90a0
Remove pstrings from namequery.c.
...
Jeremy.
(This used to be commit 71ccd0c42e0ae66172ca5797be3d3a01f4a67a69)
2007-11-27 23:10:20 -08:00
Jeremy Allison
9c8bd95acf
Fixed obvious typo.
...
Jeremy.
(This used to be commit 9755c5311416f17bac0a848d027cafb3fd487618)
2007-11-27 23:00:11 -08:00
Jeremy Allison
1cd1c9db3f
Remove unused prototype for smbldap_get_single_pstring().
...
Don't use pstr_sprintf() on an fstring - change to talloc.
Jeremy.
(This used to be commit 6cae4b5fa1bcb848cb2a28daaafeefd6bcd08274)
2007-11-27 22:22:35 -08:00
Jeremy Allison
b11e6f2158
Save one extra strdup per lp_string. Use talloc_sub_basic()
...
directly.
Jeremy.
(This used to be commit f1e401ef5c89ecf12921b7adb228da438521a693)
2007-11-27 19:12:42 -08:00
Jeremy Allison
0bc4ff7b28
Remove pstring from srv_spoolss_nt.c. All gone from rpc_server/*.c
...
Jeremy.
(This used to be commit b5a2a1e3f82a0d319fc9a1d76f5166150680f4d4)
2007-11-27 19:05:08 -08:00
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 6a556fd73ac8c247c15df664f7910f8688abfdbc)
2007-11-27 17:50:39 -08:00
Jeremy Allison
2cda3e7844
Whitespace cleanup.
...
Jeremy.
(This used to be commit 3052172d2bfe9d787777525e90816394aac2dd54)
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 04aecde5cfdb00d5aa32f9675c797266aba83c0f)
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 0002a9e96b0ef78316295a6eb94ff29b64e2f988)
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 951202913956e113841585f7372e8db8f9aeb76a)
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 55b4f9d003b036af69085f7b64e0df08c5ba440d)
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 172f7ce96dc12cfc7d2209d8ed56aeebefd6207b)
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 03673f2cd614526e7720275a5ba0869c68429f4d)
2007-11-27 16:36:06 +01:00
Volker Lendecke
1011b32678
Remove some statics
...
(This used to be commit 1fab16ffb888cd4ec18e52d9da33976a67a5d104)
2007-11-27 14:18:47 +01:00
Jeremy Allison
80c2446321
Remove pstrings from nsswitch/ and registry/
...
Jeremy.
(This used to be commit 331c0d6216e1a1607a49ed7eb4078e10138ec16a)
2007-11-26 17:24:56 -08:00
Volker Lendecke
d5b2325fcd
Remove a global
...
(This used to be commit 3088bc76f1ceffecaa5aea039be79973c9876f0c)
2007-11-26 17:48:40 +01:00
Volker Lendecke
d4bfafa29c
Fix bug 5055
...
(This used to be commit 8bcd2df841bae63e7d58c35d4728b7d853471697)
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 5b4ba4bfc54e2fa468abe15383e5b33eb5bd1324)
2007-11-26 14:36:30 +01:00
Volker Lendecke
5d85dd682a
Fix a C++ warning
...
(This used to be commit 9bf5ead4b2be57fa84e5b3137bfa0305a916f10f)
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 102a247df99967f25dbaf40c9be2d48a8e15c64c)
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 41e07682dc1fa535ddaf405efa26fabb33c8bbf9)
2007-11-25 12:54:52 +01:00
Volker Lendecke
5c6f961447
Remove a static
...
(This used to be commit 85a84f72ffc440fb71744cb72de2dba07793123c)
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 49949f0b85007c7c2b3c340c12f3d18909862135)
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 9751cc222c70fd669a1cc1ad61ffb4e2e8444019)
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 0a7338abfabaf31c2cbd81fb4ac8f1ce45735bed)
2007-11-23 11:51:33 +01:00