summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2002-07-25I had forgotten to commit this after running configureAndrew Tridgell1-0/+3
(This used to be commit e3c2ef0a04afe0a21432940fceae2db07da730d8)
2002-07-24* fix return code so we don't let a client just open any key it wantsGerald Carter2-3/+3
(even nonexistent ones). This gets rid of the Scheduling Agent icon. * fix NT_STATUS return code for bad registry path (NT_STATUS_NO_SUCH_FILE) (This used to be commit 915ee5c0ec0467fea23be8f309bcaa085c6ed9dd)
2002-07-24done! printer_info_2, devicemode, sec_desc, & printer data all enumerateGerald Carter5-38/+195
and display correctly in regedit.exe. Not sure about REG_SZ values in PrinterDriverData. If we store these in UNICODE, I'll have to fix up a few things. REG_BINARY & REG_DWORD are fine. (This used to be commit 2a30c243ec28734bbc721dfc01b743faa6f73788)
2002-07-24reran configureAndrew Tridgell1-1/+1
(This used to be commit d76e0838cf94ef3fd32d79d03b8e89971587bc2c)
2002-07-24several changes in this checkinGerald Carter7-148/+627
* added REG_OPEN_HKCR for supporting regedit.exe * All data n a REGISTRY_VALUE is stored to a pointer now * fixed REG_INFO to correctly display data when double clicking on and entry in the registry editor * Will now enumerate installed driver_info_3 data * fixed numerous bugs related to pointer offsets, memory issues, etc.. in the registry routines * added a simple caching mechanism to fetch_reg_[keys|values]_specific() All that is left now is to enumerate PrinterData and I will have finished what I started out to do.... (This used to be commit 419d7208e8384e4ad2c4dd328ad5e630971bc76c)
2002-07-24If lp_add_home() fails, don't go any further, just return -1.Andrew Bartlett1-1/+3
Andrew Bartlett (This used to be commit 2febc7ce1aa6b01ec68bd007ce0286813dff301d)
2002-07-24Make it possible to query account policy values from pdbedit (set to come soon).Andrew Bartlett2-37/+91
Update account_pol.c to use just uint32, rather then uint32 for paramaters, int32 for storage. (The int32 functions didn't have seperate return/status values, uint32 functions use a pointer-paramater). Move the #define -> string from a swtich to a table, so we can look it up both ways. Andrew Bartlett (This used to be commit c5b5e3d653f5c38a283d901a409be6603d5103f7)
2002-07-24Actually check the return value of the account_policy_get() call.Andrew Bartlett1-5/+4
Andrew Bartlett (This used to be commit a7b0a2334cd8e7234c5bcb284e4c6de7a8e45f98)
2002-07-24We must be root to access the passdb, so ensure all calls to local_lookup_sid()Andrew Bartlett1-1/+5
have become_root()/unbecome_root() wrappers. (this should be the last of them, the rest were done ages ago). Andrew Bartlett (This used to be commit 83360b211a7e834306d3e549c18bc41576534417)
2002-07-24Add another message rather than 'internal module error'Andrew Bartlett1-0/+4
Andrew Bartlett (This used to be commit e09c4bd69aaec0dc43b5bf69f651cbfad3c5f4ad)
2002-07-24Give an idea what service didn't have the directory.Andrew Bartlett1-1/+1
(This used to be commit 0229f610a8cf9e82618cc6850a431ac89ffc7630)
2002-07-23implemented getgrouplist() for systems that don't have it and use itAndrew Tridgell4-55/+131
in get_alias_user_groups(). The old method used getgrent() which is extremely slow when the number of groups is large (This used to be commit 44e92b6523ca2c119c2562df22eb71138dca9d9d)
2002-07-23* fix to display correct form information in REG_BINARY informationGerald Carter1-17/+19
This should be 8 x uint32 (not 7. I'm guessing the 2nd to the last uint32 is the index number for the form? Not that big a deal I don't think. (This used to be commit 88f0e68bc631f1a0032056bc6c7b9213e8a15be8)
2002-07-23* changed structure of REG_R_ENUM_VALUE structure since the BUFFER2Gerald Carter6-154/+375
is not and [in/out] buffer * registry value enumeration is working now for the Print\Forms key. The format of the binary data is not quite right yet but all installed forms are listed (This used to be commit 998eb9c7312c3c9a9ed1e9ec294593503c0304bf)
2002-07-23reran configureAndrew Tridgell2-752/+699
(This used to be commit 54c7ad47e13d92efd4c4dae2654e2e62927487e5)
2002-07-23added LDAP_SET_REBIND_PROC_ARGS in acconfig.hAndrew Tridgell1-0/+3
andrew, you seem to have added this test but don't use it. Do you intend to use it later? If not then perhaps it can be removed. also, when a test goes in configure.in you must also add it to acconfig.h, or you end up breaking configure. (This used to be commit 496cd0876cc13e2dd25c6ddbfe04c5787dddb4dd)
2002-07-23removed the freebsd getgroups check now that we don't use itAndrew Tridgell1-24/+0
(This used to be commit d25dc761374ac832e2c5f6b32b7a468ea5a8591e)
2002-07-22Sync with APPLIANCE_HEAD branch (whitespace, const only)Tim Potter1-2/+0
(This used to be commit 11229aa88b60d820ba714f2c793fe6932ec67a6b)
2002-07-22Merge from APPLIANCE_HEAD.Tim Potter2-10/+10
(This used to be commit 825cdc49dbc3e6b9d08b8e722c82cc09e2479fa1)
2002-07-22fix seg fault due to memory allocation goof.Gerald Carter1-0/+8
(This used to be commit 8e94f68a80bda0cbc989fb36466dfbc17a07079d)
2002-07-22Ensure we're root before opening a printer backend tdb.Jeremy Allison1-0/+4
Jeremy. (This used to be commit 48ab4ae4221ed0be34c269e01a4e8b6bc93f87d7)
2002-07-22fixed a segv in net time when the host is unavailableAndrew Tridgell1-1/+1
(This used to be commit f4f2b613a2a804a6d2e5e78cc7dd7f3482675fcd)
2002-07-21Fix up dir drive call.Tim Potter1-1/+1
(This used to be commit fe229cc126a4bfdce12882ac7eaa893e00cd506e)
2002-07-21Name get and set dir drive functions consistently.Tim Potter6-12/+13
(This used to be commit 290a304d2c1b70d20129236e20a0ff664179023e)
2002-07-21More cleanups, and add a comment/hint not to clean somthing up in future :-)Andrew Bartlett3-71/+10
Andrew Bartlett (This used to be commit 21b0e8f560849be77bde463cf006ea0de54211e9)
2002-07-21Add some const & static, remove unused functions.Andrew Bartlett2-24/+1
(This used to be commit 993ee671cc11a95d0d0aa6d60883e03bb473290d)
2002-07-21Another smattering of static and constAndrew Bartlett7-13/+13
(This used to be commit 897cc4a610932e596f8a9807213166e380ef0203)
2002-07-21Tpot missed one...Andrew Bartlett1-1/+1
(This used to be commit 28373e5bc2acc09a9e4c9dab3f76c21d04850dde)
2002-07-21Looks like I missed this earlier. We should connect as the specified workgroupAndrew Bartlett1-1/+1
- sombody using smbspool won't always have a full smb.conf, and this is how it was written in the first place anyway. Again, found by the IRIX compiler. Andrew Bartlett (This used to be commit 31181158766cd5f0e8409854f3c304f6fb46582b)
2002-07-21Renamed all the new_cli_netlogon_* functions to cli_netlogon_*Tim Potter6-23/+23
as they're no longer new! (This used to be commit 277f6bbb9a63541a473a80a7994e9bde5c6f22dc)
2002-07-21More use of intermediate variables to avoid issues with pointer size and casts.Andrew Bartlett1-9/+27
Andrew Bartlett (This used to be commit 88b68f79721b5fea7ddcad5a83b9555528c75c20)
2002-07-21Compilers do find bugs :-)Andrew Bartlett1-2/+1
This was a mixup between the enum type NSS_STATUS and a BOOL (extra test for equality). Andrew Bartlett (This used to be commit 63b7820b6585608c0ebb582ec8b28ed3c949a1f4)
2002-07-20And a little more 'const'.Andrew Bartlett2-3/+3
(This used to be commit 2cbbf0ecd33774041dd831956935ab3cf69ce2a6)
2002-07-20Don't try and sys_dup2(dbf->fd) if dbf == NULL.Tim Potter1-1/+1
(This used to be commit 0fd155a06c24ec5d1310213baf7a4230242498be)
2002-07-20Oops, my bad. I forgot to assign this, so lookupnames wasn't doing much :-)Andrew Bartlett1-0/+1
(This used to be commit 508106285380b772850238a8ed6b78a2c3334887)
2002-07-20another intermediate checkin on the way to enumerating formsGerald Carter5-38/+136
via the registry. There is a seg fault here which shouldn't bother anyone until I can get it fixed. I just need a check point in case I need to roll back to this version later on. (This used to be commit e62ae94823461e142978a786b2860ea97906cfb3)
2002-07-20More fixes towards warnings on the IRIX compilerAndrew Bartlett8-35/+46
(and yes, some of these are real bugs) In particular, the samr code was doing an &foo of various types, to a function that assumed uint32. If time_t isn't 32 bits long, that broke. They are assignment compatible however, so use that and an intermediate variable. Andrew Bartlett (This used to be commit 30d0998c8c1a1d4de38ef0fbc83c2b763e05a3e6)
2002-07-20correctly declare global_myworkgroup to be the right size.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 860f5b1a0c1898f1ce380d249610eeaaeb43b9e0)
2002-07-20Try to fix up warnings - particularly on the IRIX 64 bit compiler (which had aAndrew Bartlett12-26/+40
distinction between uchar and char). Lots of const etc. Andrew Bartlett (This used to be commit 8196ee908e10db2119e480fe1b0a71b31a16febc)
2002-07-20Add some const to try and get less warnings.Andrew Bartlett1-2/+3
Andrew Bartlett (This used to be commit 2a3d821c77c7648de43b11dd951f6f16d7be5b3c)
2002-07-20Make it clear that the 'service' isn't to be touched. (Make it const).Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 6465c6727be15cd2e915710bdc3e2f4244ad2083)
2002-07-20Update the smbd reply code a little:Andrew Bartlett2-5/+25
I don't like the idea of muliple netprots - becouse I see potential problems with people being able to maniplate internal samba variables. This applies in particular to remote names, so don't allow muliple session requests either. Also remove a pstrcpy() from the tcon code, we really don't need it. Andrew Bartlett (This used to be commit 2afa291404cfd8dae11120e5e470c38ba067c4b2)
2002-07-20Fix up char/uchar casts etc. Fix up comments on some of the password hashAndrew Bartlett2-12/+9
wrappers. Andrew Bartlett (This used to be commit 95519d408caa7da00dbb2a8323cc4374a517cd69)
2002-07-20If we can't connect, make sure its a level 0 so we see it, and the reason.Andrew Bartlett1-1/+1
(This used to be commit 6129718bea458ceb7669ecabc8cf0c8f908c7074)
2002-07-20Move some startup time initialisation to server.c, so it is all in one place.Andrew Bartlett2-11/+11
I'm not sure that we need that "dummy" talloc init, but anyway... Also, add some 'const' to the table of smb reply functions. Andrew Bartlett (This used to be commit 790b7c9ab82f930da66426e7a932d7365bd27725)
2002-07-20Add support for duplicating stderr into our logfiles.Andrew Bartlett3-25/+35
This is for two things: To allow panic actions etc to pump out backtraces to stderr and to allow vangrind to put its stuff in a logfile - making it possible to debug smbd when launched from inetd. I've also cleaned up some of the duplicate names in procedures between smbd and nmbd. Andrew Bartlett (This used to be commit 4bcb32731984b4aef1d4911a168a4e7a10d32fd4)
2002-07-20Add support for a weird behaviour apparently used by Win9X pass-throughAndrew Bartlett2-4/+19
authentication - we can have an NT hash in the LM hash feild. (I need to double-check this fix with tpot, who discovered it). Also remove silly casts back and forth between uchar and char. Andrew Bartlett (This used to be commit 07e2b36311f91d7a20865a2ccc94716772e53fd7)
2002-07-20Update the usage for smbgroupedit to document -d for 'description'.Andrew Bartlett1-0/+2
I think this one is due to metze. Andrew Bartlett (This used to be commit bce3a2b1d893d83f701205d7969569571f6279b0)
2002-07-20Add a wrapper for dup2() to our system.cAndrew Bartlett1-0/+10
Andrew Bartlett (This used to be commit b24b6307f6b40e559aec441e0ebab8f666b87d9f)
2002-07-20NT_STATUS_UNSUCCESSFUL just gets clients confused - move to NO_LOGON_SERVERSAndrew Bartlett1-11/+11
becouse thats what Win2k gives when the PDC is down. Some of these might better go to other errors, but the Win2k text message for 'unsuccessful' is not particularly useful. (A device attached to the system is not functioning...) Andrew Bartlett (This used to be commit 656f1d68e8579f1bd0a7118caf9e0373d5980a69)