summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2008-03-26Fix a bug in the output from print_canonical_sockaddr() fix from ↵Gerald W. Carter1-2/+8
36f8bafbd3dee66a8.... Make sure that IPv4 addresses are not enclised in []'s. (This used to be commit 4ddf58dbdc3d74cb72788ef4a2ec7587d4948c40)
2008-03-26Fix winbind NETLOGON cred chain on a samba dc for w2k8 trusts.Günther Deschner1-1/+5
Guenther (This used to be commit 2586dc34e0f72204749f5bf10c8135cd3a753a42)
2008-03-26Re-run make idl.Günther Deschner2-14/+35
Guenther (This used to be commit 9024aecdbf5d4df9996625f0cc8ce8a5ecdd247e)
2008-03-26Fix IDL for netr_NETLOGON_INFO_2.Günther Deschner1-1/+1
W2k8 generated NT_STATUS_ARRAY_BOUNDS_EXCEEDED errors while validating trusts. Guenther (This used to be commit 5d0aa3bbf8e56f5d2a1ab4d037d7fd146b095f9d)
2008-03-26Fix _netr_LogonControl2(). Return talloced dcname.Günther Deschner1-4/+10
Guenther (This used to be commit 42971b71acec9c9fd94011c06d41702dac6b4f87)
2008-03-26Add ntsvcs_getdevregprop command to rpcclient.Günther Deschner1-0/+40
Guenther (This used to be commit 4abe30fdae511422dccd04d0287d962192beadcb)
2008-03-26net_conf: reformat - re-indent one function call.Michael Adam1-2/+5
Michael (This used to be commit 9ef9d4c4e77523d7f3cc5fdac199559896e585bd)
2008-03-26net_conf: add casts to avoid compiler warnings.Michael Adam1-6/+6
Michael (This used to be commit 1c6b9a0ac34c4a7b4e000300db8dffdbb09fe7da)
2008-03-26net_conf: rename "ctx" to "mem_ctx" for clarity.Michael Adam1-22/+22
There are also smbconf contexts arount... Michael (This used to be commit 5171df66eb54c9819b3b40045755f5e9b2cf36c2)
2008-03-26net_conf: use talloc_stackframe() instead of talloc_init().Michael Adam1-5/+5
Michael (This used to be commit ab4fd03705c61114742d8438dece69b9c37c3b38)
2008-03-26net_conf: fix import function by using the new text backend of smbconf.Michael Adam1-195/+59
Originally, lp_load() was used to import files to registry. This had several bugs. Most notably, options explicitly set to default values were silently dropped, and all parametric options were ignored. This new implementation reads config from the text backend and stuffs everything verbatim in to the registry backend. Michael (This used to be commit e41c6650f805eaf8bb009e34468dd2d311e52858)
2008-03-26libsmbconf: add a text backend to libsmbconf based on the params.c parser.Michael Adam3-1/+526
This is a simple implementation of text backend for libsmbconf. It is read only. It uses the parser from params.c. It loads the given config file and holds the parsed lists of strings in memory. Config is only re-read if the time stamp of the config file has changed. Brilliant performance on large files is not to be expected since the string lists are not hashed. This might be added in the future. Michael (This used to be commit 4ea50843852b335a9bd4c0535a5b684134ad8326)
2008-03-26loadparm: add userdata parameter to do_section() and do_parameter().Michael Adam2-21/+25
The userdata is currently unused. It can be used in the future for passing a context like in samba4 code. Michael (This used to be commit 31b31171bd88c41443268d3300c492e2347b9e73)
2008-03-26Strip whitespace in ntsvcs rpc server.Günther Deschner1-13/+13
Guenther (This used to be commit 0c7af8bc136f45484eab3c36b761046f88653b93)
2008-03-26Re-run make idl.Günther Deschner5-0/+201
Guenther (This used to be commit f67632f9b244800007bfaef9cc2ab932fda78b3c)
2008-03-26Fill in IDL for PNP_GetDeviceRegProp.Günther Deschner2-4/+11
Guenther (This used to be commit b1b6e93aa1f1b6d80969b6e5dd8f723e21ae8ce8)
2008-03-26Comment out some svcctl headers which are now defined in IDL.Günther Deschner1-3/+7
Guenther (This used to be commit 2201a8118c6abae3425dd5728af129bb8f71b564)
2008-03-26Re-run make idl.Günther Deschner3-6/+84
Guenther (This used to be commit 0d8181dab75887231a168f910203e53ec54fa4eb)
2008-03-26Add svcctl_MgrAccessMask and svcctl_ServiceAccessMask.Günther Deschner1-2/+23
Guenther (This used to be commit eeb7c7d9d0c9f7ac171641bc8cafe20db704fdc4)
2008-03-26smbconf: reformat - fix intentation.Michael Adam1-4/+4
This time this won't make me stumble, since there is no magic in indented function headers here - no automatic prototype generation... :-) Michael (This used to be commit 6d72fc4373adff01cf6e0e18f78082d1eab90064)
2008-03-26util_tdb: remove trivial and unused tdb_wipe().Michael Adam3-20/+1
It has been replaced by tdb_wipe_all(). Michael (This used to be commit cdde2e4eaca51d51f036ad99d55df7bfd6535b03)
2008-03-26use tdb_wipe_all() instead of tdb_wipe() - it is faster...Michael Adam3-3/+3
Michael (This used to be commit 3d2fdcd50fdbfb66a14360516836445d47eceeb0)
2008-03-26util_tdb: make the _byblob fetch/store functions public again.Michael Adam2-4/+8
Users of these are currently being written... Michael (This used to be commit 1c51bec5318bad085c09931aa7e8f72f41d103fe)
2008-03-26Fix wbcAuthenticateUserEx().Günther Deschner1-1/+1
Guenther (This used to be commit 79f7a519f8f61a31d84467c5b5975cae13db1c29)
2008-03-26Add debug statement in auth_winbind to display wbcAuthenticateUserEx error code.Günther Deschner1-0/+5
Guenther (This used to be commit 0ad00a452f03d8af6e6b6fabd4a05ca26a9910d0)
2008-03-25Fix a valgrind errorVolker Lendecke1-1/+1
In winbind, we're using the info3 struct to send it to the winbind client after netsamlogon_cache_store. Without this info3->base.account_name.string was prematurely freed. (This used to be commit aa4377561b691e2c5108c18aeb34fff39d8775df)
2008-03-25Fix a segfaultVolker Lendecke1-1/+1
When we get a NT_STATUS_WRONG_PASSWORD for example, my_info3 is not initialized at all. So first check that we have NT_STATUS_IS_OK(status) before we dereference my_info3. (This used to be commit 559cd9e5a7fac3ce3769d457132cdcb28569b93d)
2008-03-25Fix typoVolker Lendecke1-1/+1
(This used to be commit 38683a73013865695e1b04f5f6a974bd0c5c1cac)
2008-03-25Re-run make idl (after pidl change for adding header info to cli_ functions).Günther Deschner28-2964/+2964
Guenther (This used to be commit 492c26a9367d93802d3b6a9271dde16c49fffe69)
2008-03-25util_tdb: add my (C) for the tdb validation codeMichael Adam1-0/+1
Michael (This used to be commit abf02a5a142c55d9e0053d319c867e4fcc3e6c30)
2008-03-25util_tdb: add a wrapper tdb_wipe() for traverse with tdb_traverse_delete_fn().Michael Adam6-8/+13
Replace all callers of traverse with this tdb_traverse_delete_fn() and don't export tdb_traverse_delete_fn() anymore. Michael (This used to be commit d4be4e30cd8c3bdc303da30e42280f892a45a8c9)
2008-03-25util_tdb: add the tdb_pack_append() prototype to util_tdb.hMichael Adam1-0/+2
This function is currently not used but seems useful. Michael (This used to be commit 48149a954c1e737c9863cfa0991ab9bfc246c6da)
2008-03-25util_tdb: make the _byblob functions static - not currently used elsewhere.Michael Adam1-5/+5
Michael (This used to be commit b42cf3fc69414270be9d0f430f2e95a72894f00e)
2008-03-25util_tdb: group prototypes in util_tdb.h thematicallyMichael Adam1-13/+20
Michael (This used to be commit 4b9231d33eaea2ada5d67cc1d959df2b671e7bb9)
2008-03-25build: don't autogenerate prototypes for util_tdb and dbwrap anymore.Michael Adam3-2/+41
Stick to hand-written headers (that are there anyways). Add some missing prototypes to util_tdb.h and dbwrap.h. I did not bother to add a header for each single dbwrap backend open function but put the prototypes for the open functions into the central dbwrap.h. Michael (This used to be commit edf4dbed27a3c63c04e8110e75cdb76e31627eb6)
2008-03-25Fix usage message for 'net idmap dump'.Karolin Seeger1-1/+1
Karolin (This used to be commit c967b62dd3c924419fa4a72aa2143d6bef959d18)
2008-03-25Fix _winreg_QueryValue().Günther Deschner1-7/+7
Guenther (This used to be commit b217dd674e22b6a7cc492f1a84a37ddc4ddca663)
2008-03-25Re-run make idl.Günther Deschner4-6/+19
Guenther (This used to be commit 1570e1c597b43d83318860590b58e32143275f82)
2008-03-25Fix IDL for winreg_QueryValue.Günther Deschner1-1/+1
Guenther (This used to be commit 0dac766109a0f76fd27832f5344460f1afdb2046)
2008-03-24Ignore port when pulling IP addr from struct sockaddr_storage.Gerald (Jerry) Carter1-34/+10
Linux man page states that getaddinfo() will leave the port uninitialized when passing in NULL for the service name. So we can't really trust that anymore. I doubt non-default KDC ports are an issues so just drop the port from the generated krb5.conf. AIX exhibits this bug the most. (This used to be commit 36f8bafbd3dee66a869aa26cfc2eb4aa62019325)
2008-03-24Fix libtdb some to move back towards allowing out of tree buildsGerald (Jerry) Carter3-3/+3
Remaining problem is that not all *.syms linker scripts are generated so the LD command needs to look in a single place. Out of tree builds now work but report write access to the source tree in order to create the $(srcdir)/expotrs/libtdb.sysms file. (This used to be commit 6e9287c5c3a6bbd15ec495593978c1a76e64ee60)
2008-03-24Missing HAVE_UPDWTMPX check before using updwtmpx().Eric Cronin1-0/+4
In 10.5 Mac OS X added enough utmpx support to make it past the first two preprocessor checks around line 390 of src/smbd/utmp.c and on to the utmpx block which uses updwtmpx(). Unfortunately, as ./configure correctly surmised, 10.5 doesn't have that. https://bugzilla.samba.org/show_bug.cgi?id=5184 (This used to be commit f19d1e3d93d0d9dfe80372c6c5635f1047f9aa88)
2008-03-23Fix Coverity ID 514Volker Lendecke1-0/+2
Not exactly an uninitialized variable, but having Coverity figure out that we're only UNMARSHALLING here is probably asking for a bit too much. (This used to be commit 07a9f7daa83c94afefe0d81db4812135121862c2)
2008-03-23Fix Coverity ID 504Volker Lendecke1-1/+1
(This used to be commit 4e6f8a19a6861c332ee6e9b49551e12440eefdc2)
2008-03-23Fix Coverity ID 503Volker Lendecke1-1/+1
(This used to be commit 5c43c38271bae7d96d0cfbdaba7bff838a684b40)
2008-03-23Fix Coverity ID 488Volker Lendecke1-0/+2
"status" was used uninitialized on success -- metze, please check (This used to be commit a0859529c853ffb756b1deee946923b6fff6136e)
2008-03-23Fix Coverity ID 487Volker Lendecke1-0/+1
(This used to be commit 22cee9c1afbc33b4920b72bc81569d79642172af)
2008-03-23Fix Coverity ID 471Volker Lendecke1-1/+1
(This used to be commit d3b6df67fea0da5ffa962837400ebe07b34a5384)
2008-03-23Fix Coverity ID 472Volker Lendecke1-6/+4
Simo, S4 also has this code. You might want to cherry-pick. Volker (This used to be commit 94c29f55937e50dcf49124d28ad4e82c7fb4133e)
2008-03-23Fix Coverity ID 477Volker Lendecke1-2/+1
(This used to be commit f17b1b0fc6340d21f1a2f43aa7eb2e87f851c51f)