Günther Deschner
cd87be5ba2
net: use NetUserDel for "net rpc user delete".
...
Guenther
(This used to be commit 0105770c1598e6fcbcaa29e17f3b7fd33114a333)
2008-04-16 02:39:41 +02:00
Günther Deschner
3455702721
libnetapi: Let NetUserAdd_l/NetUserDel_l talk to the local RPC server.
...
Guenther
(This used to be commit 9bbb6cea0b21d98ae13f7a41226b437515bd5a2f)
2008-04-16 02:38:13 +02:00
Günther Deschner
c1d4243c5a
errors: Add WERR_NO_SUCH_USER.
...
Guenther
(This used to be commit 82803186febfe6a55c1a598073657c2c4a513000)
2008-04-16 02:37:27 +02:00
Günther Deschner
44912a9fb9
errors: Add WERR_NONE_MAPPED.
...
Guenther
(This used to be commit dc165e1c80586664ddb4d3d68182598d02ba204a)
2008-04-16 02:23:20 +02:00
Günther Deschner
0a362a94c8
net/libnetapi: Include netapi headers early and free on exit.
...
Guenther
(This used to be commit 020b1e6431601fadf44dbfe8393908c096ecfa4c)
2008-04-16 02:16:08 +02:00
Günther Deschner
46e6bc1153
libnetapi: do not overwrite status in libnetapi_get_error_string().
...
Guenther
(This used to be commit 143e2b573043dd04a6404fc91d781e8a727bd092)
2008-04-16 00:15:39 +02:00
Michael Adam
b7bb61eff0
loadparm: remove pfunc parameter from process_registry_globals().
...
Use do_parameter() directly.
Michael
(This used to be commit 59b81bfd0abecb190d0c49e62581b26f10b96829)
2008-04-15 22:45:38 +02:00
Günther Deschner
7d7283fb0e
libnetapi: Add missing headers.
...
Guenther
(This used to be commit 3fda711f2526914bf18ec004d553453e692b1e85)
2008-04-15 22:30:06 +02:00
Günther Deschner
4101068505
IDL: For the fun of it, build drsuapi.idl.
...
Guenther
(This used to be commit 192645f63918c8656ca0fac5bb6d2704c9500a15)
2008-04-15 22:04:59 +02:00
Günther Deschner
e1a827e1ac
IDL: Fix several DRSUAPI calls.
...
Guenther
(This used to be commit aa7308fbc37eb9a26b4583b1ce2ca435b0648541)
2008-04-15 22:03:50 +02:00
Günther Deschner
3c5b20148c
IDL: Import drsuapi.idl from samba4.
...
Guenther
(This used to be commit f583e99cef55156fa5294c3eaef0cd29740af5f1)
2008-04-15 22:03:50 +02:00
Jelmer Vernooij
d0b946e328
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into 3-2-nopipeindex
...
(This used to be commit 9028f9e065536594df901ae4aac900102f2d85f6)
2008-04-15 20:52:17 +02:00
Michael Adam
b64be89a6d
auth: add SeDiskOperatorsPrivilege to get_root_nt_token to fix registry shares.
...
Michael
(This used to be commit 6bb107b17d557c27d035ca518ab61296814a3cea)
2008-04-15 20:41:14 +02:00
Jelmer Vernooij
28fd4f6fcb
Reconcile ndr_syntax_id used by pidl-generated code and Samba3's RFC_IFACE.
...
(This used to be commit 7bea00dca1ee08ef731dfa73110ef9c190a29919)
2008-04-15 20:26:52 +02:00
Michael Adam
bcaac7fa36
libmsbconf: add handling of NULL share parameters to registry backend.
...
Michael
(This used to be commit 6c1181fda2f040d9555917b10a65bc0dfc1f0593)
2008-04-15 17:40:28 +02:00
Michael Adam
be504b9d32
libsmbconf: don't complain with WERR_ALREADY_EXISTS for NULL share in smbconf_create_share().
...
These are values stored inside the base key for registry.
This is not getting deleted.
Michael
(This used to be commit aa167de8252bb615bd21fb3fd9468383b8357d32)
2008-04-15 17:40:28 +02:00
Michael Adam
ed85ea4248
net conf: adapt output of NULL share params in net conf list.
...
don't list NULL share name and don't indent these parameters
Michael
(This used to be commit 0212b38913945ce3c8b14734804d81f1cd315621)
2008-04-15 17:40:27 +02:00
Michael Adam
770b1923dc
net conf: simplify logic in test output of net conf import.
...
Michael
(This used to be commit 367c8b133b2f3e73155f20f689602909eef9827b)
2008-04-15 17:40:27 +02:00
Michael Adam
747d4a8f04
libsmbconf: make sure to always list the NULL section first in text backend.
...
Michael
(This used to be commit b50fdf321dc8056caa2b057cbd7f83792dfbcd4d)
2008-04-15 17:40:27 +02:00
Michael Adam
7624bab963
net conf: fix output of out-of-share parameters in test mode import
...
Michael
(This used to be commit 5424e07e7d3e842488cba7ae389124f01221c5ba)
2008-04-15 17:40:27 +02:00
Michael Adam
34e8ec54ce
libsmbconf: default to the NULL section when a parameter is encountered w/o section
...
Michael
(This used to be commit e1b98f1cbce72d12085d86da834f0949ecbfbf67)
2008-04-15 17:40:27 +02:00
Michael Adam
e700800720
libsmbconf: allow NULL sharename in smbconf_share_exists().
...
Michael
(This used to be commit cb23052b2055d77924b2a593ec14f0c1de9a3b51)
2008-04-15 17:40:27 +02:00
Michael Adam
0e7497936c
libsmbconf: add handling of NULL strings to smbconf_find_in_array().
...
Michael
(This used to be commit a5923bafe9b543d50dca06d251186948baeac8cc)
2008-04-15 17:40:27 +02:00
Michael Adam
b396ad07d1
libsmbconf: add handling of "NULL" strings to smbconf_add_string_to_array()
...
Michael
(This used to be commit aba261a9143bc7ab681b1c57ccfc08da0cffcfe7)
2008-04-15 17:40:27 +02:00
Jelmer Vernooij
c05c5dba8a
Regenerate DCE/RPC client code after fixing memcpy() length bug in pidl.
...
(This used to be commit ac4c63d999f9ae61428bcdae400d127459896d6c)
2008-04-15 16:11:10 +02:00
Stefan Metzmacher
5a2e212c0f
lib/sharesec.c: fix the upgrade code, db_traverse returns the number of records!
...
metze
(This used to be commit ccdebe97f85b76378e42d8cf08324228bd19cf32)
2008-04-15 00:25:27 +02:00
Stefan Metzmacher
625f2d6c23
pdb_tdb: fix the upgrade code, db_traverse returns the number of records!
...
metze
(This used to be commit baaf571d540ace5119c528fd35bceab335bd6741)
2008-04-15 00:25:11 +02:00
Günther Deschner
ae1e1085a1
libnetjoin/net: Fix lp_config_backend_is_registry() handling.
...
Thanks obnox, now we can net ads join and net ads leave with zero
configuration changes if "config backend = registry".
Guenther
(This used to be commit 9003881773de787a51ceadcdc2cb1e95f6979763)
2008-04-14 23:07:55 +02:00
Günther Deschner
4122dabbf9
net: abort when lp_realm is not set in net_ads_leave().
...
Guenther
(This used to be commit 53735edcbb059e73c51ae17d4ff75d2a4dee53e5)
2008-04-14 22:58:38 +02:00
Günther Deschner
a31281a751
libnetjoin: delete the workgroup name when requested while unjoining.
...
Guenther
(This used to be commit 1782e89f3341eca5ee1fa39881ee8efb3fac9a5b)
2008-04-14 22:57:37 +02:00
Günther Deschner
c8d96d57f8
libnetjoin: separate out libnet_join_lookup_dc_rpc.
...
Guenther
(This used to be commit 8d3d1c094a28f75b01315ee05b7939ffba374f20)
2008-04-14 22:56:12 +02:00
Günther Deschner
e27160183a
libgpo: fix build warning.
...
Thanks metze&vl.
Guenther
(This used to be commit cb3f1df7d8f35848a432764ea7d6720ec131ede1)
2008-04-14 18:21:21 +02:00
Günther Deschner
113b94faf1
net: exit early in net_ads_join() if the domain is not set.
...
Guenther
(This used to be commit 8331fbe735e2bec386ab8fc1645dc371d45d3063)
2008-04-14 16:16:25 +02:00
Günther Deschner
cbd07aa047
libnetjoin: Fix unjoining when no KRB5CCNAME is around.
...
Guenther
(This used to be commit 7fd237c545e0a7e0029195dbbb6691571abdfe84)
2008-04-14 16:15:18 +02:00
Günther Deschner
bc65d96782
net: use WERROR for check_ads_config().
...
Guenther
(This used to be commit 9176057986be63c7ebebb56f7daabbc3883802c5)
2008-04-14 16:13:52 +02:00
Günther Deschner
202e8cc57e
doserr: Add WERR_INVALID_DOMAIN_STATE and WERR_INVALID_DOMAIN_ROLE.
...
Guenther
(This used to be commit 91a55fc27dc100cf193cfa2613771312f018449e)
2008-04-14 15:48:23 +02:00
Günther Deschner
fffb304fec
net: the success of secrets_init is checked by libnetjoin now.
...
Guenther
(This used to be commit 0a6a5d082426ca82accf18fffa7740683a42cac1)
2008-04-14 15:47:30 +02:00
Günther Deschner
e23911b0c3
WKSSVC: In _wkssvc_NetrJoinDomain2, do modify the local configuration if enabled.
...
Guenther
(This used to be commit 260efafb8fb6527eb0a182f9a6bfed8239dd8315)
2008-04-14 14:46:30 +02:00
Günther Deschner
a4e0f60c4e
libnetjoin: Remove machine account if we failed to set password.
...
Guenther
(This used to be commit db5e0ed186429667a7f6fc67e4b19a7ca75f357e)
2008-04-14 14:44:58 +02:00
Volker Lendecke
ae4159f0f7
Remove two pointless else branches
...
(This used to be commit ed343114cd0844a7fd14b45f95c0f43a6d172a42)
2008-04-14 14:37:39 +02:00
Volker Lendecke
13a60a4005
Remove namedpipe_transact fn pointer from smb_np_struct
...
(This used to be commit d1f82b7e67a791e19d08c682b607d82ae649feb4)
2008-04-14 14:16:58 +02:00
Volker Lendecke
fe4930b7fa
Enable multiple fd events on a single file descriptor
...
Now we can have multiple events listen on a single fd. The order in which they
are called is naturally not defined, meaning that it is only deterministic if
exactly one event is readable or writeable.
(This used to be commit 61503f822b60f98dd1f7549707ec89b48e32caeb)
2008-04-14 13:13:47 +02:00
Volker Lendecke
a4c0812af0
Fix some "ignoring asprintf result" warnings
...
(This used to be commit 155d62ddfd3584d44a493c2aa1ea7f096bcff432)
2008-04-14 13:13:46 +02:00
Volker Lendecke
394150d269
Make use of ZERO_STRUCT instead of memset in namequery.c
...
(This used to be commit 4f1d49615e1407b9c3ad5eeb50a248b8fee50e23)
2008-04-14 13:13:46 +02:00
Volker Lendecke
313abd3ac2
Fix the build of db_open_trans with CLUSTER_SUPPORT enabled
...
Metze, you might want to check this.
(This used to be commit 3b4a402bc5c3490000581d43a12388883bcf8150)
2008-04-14 13:13:46 +02:00
Günther Deschner
e33b13e826
libnetjoin: Fix joining when no KRB5CCNAME is around.
...
Guenther
(This used to be commit 512e6ca0a9be9fe35994ec1010110573a5b551d1)
2008-04-14 12:33:10 +02:00
Alexander Bokovoy
09c5d89220
Use more error-prone form of testing dm_destroy_session() return code after discussing with Tridge
...
(This used to be commit 4abdbad52e456764bca1b17ead04edee1e2a2a64)
2008-04-14 13:56:36 +04:00
Michael Adam
9fd9060e53
loadparm: use the new smbconf_init() dispatcher for loading registry config.
...
Michael
(This used to be commit 78afb30f8073c3804dfa0cecadf973d5af5dd612)
2008-04-13 20:04:44 +02:00
Michael Adam
d2d82394a4
net conf: use the new smbconf_init() dispatcher instead of explicit backend init.
...
Michael
(This used to be commit 281c9287a34533045b62302bb33ced3d216421ac)
2008-04-13 20:04:44 +02:00
Michael Adam
4eab3d3cf0
libsmbconf: add a smbconf init dispatcher smbconf_init().
...
The dispatcher takes a config source argument in the form
of "backend:path" where backend can (currently) be one of
"txt" (aka "file") or "reg" (aka "registry").
When the path is omitted, it is up to the backend to provide
a default path.
When there is no separator ":" and the string is not a recognized
backend, then file backend is assumed and the string is passed
in as the path argument.
Michael
(This used to be commit cc613a60eb0f6b92cae98e8669e5e569a1eb9324)
2008-04-13 20:04:44 +02:00