summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-01-21Add a check for talloc failure. - Pointed out by Volker.Michael Adam1-0/+4
Michael (This used to be commit bdc49b07cc6de36c9319254a131858c9a7f9dd53)
2008-01-21Fix two debug messages.Michael Adam1-2/+2
Michael (This used to be commit 35e23368dd4240a3c907b4cee882f51119032527)
2008-01-21Attempt to fix the darwin buildVolker Lendecke1-4/+4
(This used to be commit 5b05e09daf18eaea5e86dfd607c8070228f7571b)
2008-01-21util_sock: Don't return a pointer to freed memory.Kai Blin1-1/+2
Fix a bug in my bugfix. Thanks to vl for spotting that one. (This used to be commit 24f68b90cca111256a7b03f7062cb57c2b08a0d6)
2008-01-21Add SMB_VFS_FS_CAPABILITIESVolker Lendecke6-29/+26
It turns out that this is a necessary operation, separate from statvfs. statvfs can fail during tcon, so conn->fs_capabilities would never see that we support streams on a particular share. James, can you check that I got the darwin variant right? Thanks! (This used to be commit 3ad798d803b3b023533bb48e6993885f22b96095)
2008-01-21Link smbd on AIX with -bexpfull instead of -bexpallVolker Lendecke1-1/+1
-bexpall only exports the names without leading _, so we don't get _talloc_reallo_array for example. Thanks a lot to Heinrich Mislik for the hint! (This used to be commit 74a71f198866ba0a0217e58a6a47bdc858d5df68)
2008-01-21util_sock: Fix memcache bug in get_mydnsfullname.Kai Blin1-3/+3
get_mydnsfullname relied on memcache_add(); memcache_lookup() working. When run from ntlm_auth, the global_cache variable in memcache is NULL, so the add and lookup both fail. In that case, just return the result of the getaddrinfo call. Jeremy, please check. (This used to be commit 1db41ff52565e9f336a22fb9ffd80d51677e023b)
2008-01-21libwbclient: use the same style in each switch case for the error mappingStefan Metzmacher1-2/+2
metze (This used to be commit 0b85f7173d0770f8d9a0bac9e43355eb45bc181f)
2008-01-21winbindd: remove useless strcpyStefan Metzmacher1-4/+1
metze (This used to be commit df08708fc1e8fc8e15b36db29faf35ae5ae64b65)
2008-01-21Rename lib/util_reg_smbconf.c to registry/reg_init_smbconf.cMichael Adam2-3/+4
This actually is a counterpart to reg_init_full, in that is does open and initialize the registry too, but only registeres the backends necessary to access the SMBCONF key. Michael (This used to be commit 01bda3ab359fb3868c1dc849044f613bf2bc563e)
2008-01-21Move reg_frontend_hilvl.c to reg_dispatcher.cMichael Adam2-2/+2
This is actually the dispatcher to the registered registry backends. Michael (This used to be commit 39d65d11f8eff0aff998d5bfed8480b0f00655bd)
2008-01-21Extend/fix comments.Michael Adam2-2/+4
Michael (This used to be commit 4952417fca89f5d797c861cde9fe74050ae02e2f)
2008-01-21Extract regkey_open_internal() from reg_frontend.c to new reg_util_legacy.cMichael Adam3-18/+48
reg_openpath should be used instead of this function (along with the reg_api interface). Last callers of this function are in services_db.c Michael (This used to be commit 0005b88d74fca1ea1410c9911d504b0a636a0472)
2008-01-21Rename reg_db.c to reg_backend_db.cMichael Adam2-3/+3
Michael (This used to be commit c3f695d3b14ee06fc5d517ca094236e885f9e707)
2008-01-21Rename reg_shares.c to reg_backend_shares.cMichael Adam2-1/+1
Michael (This used to be commit aaf33ae5b8bfaefd2342c9ce6363577ce7c0c4f1)
2008-01-21Rename reg_smbconf.c to reg_backend_smbconf.cMichael Adam2-2/+2
Michael (This used to be commit b85e5ee45075211dd3ab85ac79c2d856187d5e3e)
2008-01-21Rename reg_printing.c to reg_backend_printing.cMichael Adam2-1/+1
Start making naming of source files more systematic to facilitate understanding of the structures. Michael (This used to be commit b3c2fb17a4226559788a47fee968ef19b7fbb6b2)
2008-01-21Makefile.in: Group together registry related object variables.Michael Adam1-22/+25
Michael (This used to be commit cf485273f61e3dcd41ab7af756cc82f32131bf08)
2008-01-21Makefile.in: extract registry backend objects to common variable.Michael Adam1-9/+16
Michael (This used to be commit 562c3eb37e2ff2b385203be9d556daf37df7d20e)
2008-01-21reg_eventlog.o and reg_perfcount.o are no longer neede for reg_smbconf.Michael Adam1-2/+0
This is an effect of the removal of the dynamic registry overlay. This is the beginning of a restructuring of registry linkage in Makefile.in. Michael (This used to be commit 7453e78a8e63aaaff57c1779d6b7cf0ec8fc263f)
2008-01-20Fix some "set but never used" warningsVolker Lendecke5-17/+6
(This used to be commit 4a6dadc5178f4861e9c032321939db3b639734b5)
2008-01-20Free case_state earlierVolker Lendecke1-0/+2
Found by a "set but never used" warning. Thanks to talloc_tos() this was not really a bug, but this way the code becomes much clearer. (This used to be commit b326f11dc39a8ce20d957aac976be0cf7108ba9d)
2008-01-20Activate SMB_QUERY_FILE_STREAM_INFOVolker Lendecke1-5/+6
gcolley was right, my nt4 does not blue screen with it (This used to be commit 9f2b5dc1865ca109e1e34c91548479ad9b26f450)
2008-01-20Active RAW-STREAMS in make testVolker Lendecke2-2/+2
(This used to be commit 63ee2ef775b48fcaecccf4dc7ef3601ceb8053c5)
2008-01-20Fix valgrind errorsVolker Lendecke1-2/+2
(This used to be commit d7e6ec2258350c564053371361c8f1d7d0f775b1)
2008-01-20NT_STATUS_OBJECT_NAME_NOT_FOUND also means "no streams around :-)"Volker Lendecke1-1/+2
(This used to be commit 96b9a7b3eb92c9f133a3f43ffc4d57d0212e4ebd)
2008-01-20Don't test split_ntfs_stream_nameVolker Lendecke1-3/+0
This is a hot code path, and if it has a :, the name will be split later on anyway. (This used to be commit 9f7f6b812d89decea1456ccdc37978e645d11a63)
2008-01-20Do not use an unfinished fsp in streams_xattr_openVolker Lendecke1-1/+1
(This used to be commit 023b313d0d4ed3beb8d77177bc8141cadeb86658)
2008-01-20In streams_xattr_pwrite, base_fsp does not have an fdVolker Lendecke1-1/+2
These bugs haven't shown up when I did my tests with real xattrs, not with the xattr_tdb backend. It worked because the stream fsp does has the base file as fd. (This used to be commit b7022f8f7bf83c9c5e73e98d1477b7da766e8c5f)
2008-01-20Add some DEBUGVolker Lendecke2-0/+18
(This used to be commit 8db25aba63b1dffb0dfbc74012c7ebd0ce4d5682)
2008-01-20For pread/pwrite we need to do the setxattr on base_fspVolker Lendecke1-4/+4
(This used to be commit d481dddc81699aba79e48bca79bfb10e586b5cbb)
2008-01-20Really remove the _NEXT_ from vfs_xattr_tdb.cVolker Lendecke1-15/+20
This must have been lost somewhere in my patch-mangling (This used to be commit c1794375d1fa27d72ec32946bb4bd7b9f96e59fc)
2008-01-20Support XATTR_CREATE and XATTR_REPLACE in vfs_xattr_tdbVolker Lendecke1-0/+11
(This used to be commit 3509ee597f0977aadd4c70cfe8830a6aa95cd71f)
2008-01-20Complete the ea->xattr rename in vfs_xattr_tdbVolker Lendecke1-4/+5
(This used to be commit dac468216e7e103b6897f33ec3608412f77265cf)
2008-01-20Fix a segfaultVolker Lendecke1-3/+10
Pointed out by Steven Danneman on irc, thanks! Jerry, Günther, please check! (This used to be commit 9e71c89ac648040739ef2161a2e6c4299be1e35b)
2008-01-19Couple of minor fixes for POSIX pathname processing in theJeremy Allison2-9/+11
new stream code. (1) In smbd/filename, don't split the name at ':' if we know it's a posix path (this should be parameterized....). (2). When calling posix_mkdir, we get the flag FILE_FLAG_POSIX_SEMANTICS passed to open_directory(). I know for a posix client lp_posix_pathnames should be true (which is checked for in is_ntfs_stream_name() but we have an explicit flag here, so let's use it. Jeremy. (This used to be commit 7bb7a0def6518784befa75e5303289d2b4d36dd4)
2008-01-20Do an explicit init_globals() when restarting for "config backend = registry".Michael Adam1-0/+1
Michael (This used to be commit 487c43f9284598a3c60b06fc60e5c50844e11b87)
2008-01-20Add a debug message to fetch_reg_values().Michael Adam1-0/+3
Michael (This used to be commit 239aa59cc1b78f7fb82aa66418cdf92517ebc123)
2008-01-20Add some debugging output to reg_cachehook.cMichael Adam1-1/+10
Michael (This used to be commit 2a278928805f4497e8afa28bdca433cbedc4a8d7)
2008-01-20Remove the dynamic registry overlay.Michael Adam3-105/+1
It is unnecessary now the dynamic functions have been made registry backends of their own. Michael (This used to be commit e327953bd6b11aeb6f2ae48b49550a942eae8e88)
2008-01-20Add a registry backend perflib that replaces the former dynamic overlay.Michael Adam6-47/+113
Michael (This used to be commit c3fba415951329ee90c7250b4e8d539f91b227f6)
2008-01-20Some reformatting of current_version_fetch_values().Michael Adam1-11/+12
Michael (This used to be commit d2e3814db8a4a5f0fc097e9f56753888470ef213)
2008-01-20Add a registry backend current_version that replaces the former dynamic overlay.Michael Adam5-24/+84
Make sure to only respond to the exact current version key since subkeys are registered by other backends (printing and - soon - perflib). Michael (This used to be commit 2c650bf63ccd9dc5dddbf4700831489544ded055)
2008-01-20Reorder the registry key name constants in a more systematic way.Michael Adam1-5/+5
Michael (This used to be commit faf406a4a1baf2946ea754a0760204748be99541)
2008-01-20Use some consts instead of literal strings for registry keys.Michael Adam1-4/+4
Michael (This used to be commit 80024f4e1c6594c3038e86a765f763d24fd96b59)
2008-01-20Some reformatting in hkpt_params_fetch_values().Michael Adam1-7/+10
Michael (This used to be commit f245c4e094ad56080847e286c76976f29c95a221)
2008-01-20Add a registry backend hkpt_params that replaces the former dynamic overlay.Michael Adam4-29/+70
Michael (This used to be commit 8e8bb6ba120adf9942f612b7fd89bdbced6c1285)
2008-01-20Some reformatting in tcpip_params_fetch_values().Michael Adam1-8/+10
Michael (This used to be commit 5b3813b233dc2a60e6d5a9942b4044219d800415)
2008-01-20Add a registry backend tcpip_params that replaces the former dynamic overlay.Michael Adam6-27/+70
Michael (This used to be commit a8a743b693a162954948ca2438ce4b842c5cba30)
2008-01-20Some reformatting in prod_options_fetch_values().Michael Adam1-10/+10
Michael (This used to be commit 347b9886547516bc2a43190ae7faaf349d2c9d04)