summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fixed, moved and added some functionsSimo Sorce2001-11-103-99/+154
| | | | | note the useful acnv_uxu2 and acnv_u2ux functions in charcnv.c (This used to be commit 64dde3b64fc091cda95fc4ed145595b5d79b2e01)
* Use defined constants not integers.Jeremy Allison2001-11-101-3/+3
| | | | | Jeremy. (This used to be commit d20949fe509c1496bc434f0fbf403f0b69ab9954)
* As pdb_ldap.c does not compile in HEAD anyway, a not-compiled mergeVolker Lendecke2001-11-091-2/+6
| | | | | | | from 2_2. Volker (This used to be commit 7d70b30dbdf06de126b78879fc89708ca335f91e)
* Fixed a few typos and added the opnum for ADDPRINTERDRIVEREX to theGerald Carter2001-11-092-3/+10
| | | | | rpc_spoolss.h header file. (This used to be commit d4cafc076be99a66d0660f695995801b4f1d7bfd)
* Fixup __LPID -> _LPID.Jeremy Allison2001-11-092-2/+2
| | | | | Jeremy. (This used to be commit ab607cdf153d9187fe50af3377ece5a9fafde1b1)
* This change updates lp_guestaccount() to be a *global* paramater, rather thanAndrew Bartlett2001-11-097-28/+21
| | | | | | | | | | | | | | | | | per-share. I beleive that almost all the things that this could have done on a per-share basis can be done with other tools, like 'force user'. Almost all the user's of this paramater used it as a global anyway... While this is one step at a time, I hope it will allow me to considerably simplfy the make_connection() code, particularly for the user-level security case. This already removes an absolute truckload of extra attempted password lookups on the guest account. Andrew Bartlett (This used to be commit 8e708332eded210c1d1fe0cebca3c9c19f054b71)
* fix the tree so it compiles againAndrew Tridgell2001-11-091-1/+1
| | | | | grumble, mumble, ... (This used to be commit 72c1af6f8d9893dd5b8b4d105b301d8c621749c6)
* Removed #ifdef TDB_DEBUG around tdb_dump_all() and tdb_printfreelist()Tim Potter2001-11-092-13/+5
| | | | | so that tdbtool can be compiled without having to make clean. (This used to be commit dad688d8c6b3c98173a846ad833599a4016d2e1a)
* Change to guest logon code.Andrew Bartlett2001-11-0810-156/+292
| | | | | | | | | | | | | | | | | | | | | | | | | | This changes the way we process guest logons - we now treat them as normal logons, but set the 'guest' flag. In particular this is needed becouse Win2k will do an NTLMSSP login with username "", therefore missing our previous guest connection code - this is getting a pain to do as a special case all over the shop. Tridge: We don't seem to be setting a guest bit for NTLMSSP, in either the anonymous or authenticated case, can you take a look at this? Also some cleanups in the check_password() code that should make some of the debugs clearer. Various other minor cleanups: - change the session code to just take a vuser, rather than having to do a vuid lookup on vuser.vuid - Change some of the global_client_caps linking - Better debug in authorise_login(): show the vuid. Andrew Bartlett (This used to be commit 62f4e4bd0aef9ade653b3f8d575d2864c166ab4d)
* Fixed incorrect debug message. )-:Tim Potter2001-11-081-1/+1
| | | | (This used to be commit a99d9cec7e090736ab49c91720cfd2b43e2a6f00)
* spoolss_io_devmode private data is binary and should be shown in hex,Martin Pool2001-11-081-1/+2
| | | | | not ascii. (This used to be commit be5d32eb9c58bb1911299d095efcf230d50ed590)
* Only 1mb allocate slop.Jeremy Allison2001-11-081-56/+55
| | | | | Jeremy. (This used to be commit c339a99a891c9e4bbad59ee1243908c91f048834)
* Merge overdue changes from 2.2. Fix <4gb write problem.Jeremy Allison2001-11-081-40/+29
| | | | | Jeremy. (This used to be commit 36ea09d3a041fab0854dfdc20f6ea8db7ccbec2e)
* Added more define bits. Fixed error in vol attributes.Jeremy Allison2001-11-082-4/+6
| | | | | Jeremy. (This used to be commit eba8204bfadb176fafb686a35295a09f0f35b894)
* Added debug in truncate, fixed warning with gcc3.Jeremy Allison2001-11-072-2/+2
| | | | | Jeremy. (This used to be commit 970ec14b4ba1ccf66820384ced8442e1878c09cd)
* Add function to add those hosts who have added msbrowse (domain master browsers)Steve French2001-11-071-0/+8
| | | | (This used to be commit 3fd96a47543c268fd2828793df4006cc47a9e95b)
* Added delheaders as a dependency for clean.Tim Potter2001-11-071-1/+10
| | | | (This used to be commit cd9334bd57cd7f544aba0b642c8190d608add7b9)
* add convert_string_allocate() functionSimo Sorce2001-11-071-5/+86
| | | | (This used to be commit 8b494b0be323c983b7ea3d1dcf1f61216396caec)
* UGLY HACK to get machines to join tdbsam domains again.Andrew Bartlett2001-11-071-2/+4
| | | | | | | | | | | | The problem is that we don't use the bitmap field, and so have to guess what feilds to change. NT4 sets the RID to NULL in its reply, (as a no-change value) and we were attempting to set that as a RID. jfm: Can you get me the info on that bitmap, so I can construct a proper fix to all this? Thanks! (This used to be commit 39f9c78d07d7af6abc71b33a6018ac0237608b6a)
* Initilising these variables before appending the domain groups to themAndrew Bartlett2001-11-072-1/+5
| | | | (This used to be commit 8004cfea19e10ad942c59f2f6a6bd992791017ba)
* Fixed unsigned / long unsigned format missmatch.Jeremy Allison2001-11-061-4/+4
| | | | | Jeremy (This used to be commit 86c2f9636635283beb8e496315a7bfac881355dd)
* Internationalization enbalement for net utility - replace printf with d_printfJim McDonough2001-11-061-233/+233
| | | | (This used to be commit b83b21e9ca364a097455c119815074f23324111d)
* Fixed looking up domain (winbind) users ahead of local users inTim Potter2001-11-051-6/+18
| | | | | domain_client_validate() (This used to be commit df0db8edb12dc8b8d290e5ac599fa7b517e9d263)
* Removed totally annoying verbose debug in sid_to_string()Tim Potter2001-11-051-2/+0
| | | | (This used to be commit 4f21ddb8737d3f72a84465d3384351ccd2b07d15)
* free the negTokenInit structureAndrew Tridgell2001-11-051-0/+2
| | | | (This used to be commit 5b1c942a5cab828ebfcf2e8f5decb754c4cdb70e)
* Changed MAX_OPEN_PIPES to 2048.Jeremy Allison2001-11-051-1/+1
| | | | | Jeremy. (This used to be commit 591d217ed49b6beca4a87f6b89a81f0c913003dc)
* Wrote some stubs for new win2k only spoolss rpc commands:Tim Potter2001-11-054-1/+283
| | | | | | GetPrinterDataEx() and SetPrinterDataEx(). Not sure what the command number is for the latter is - I haven't seen it on the wire yet. (This used to be commit 87614c74b3d66cf2ca706b33e6cf0a32b4166e7a)
* merge from 2.2. Why is STR_CONVERT missing when comparingGerald Carter2001-11-051-1/+1
| | | | | 2.2 to HEAD? (This used to be commit 4f47daf97b9e74ec75287f46e2c4aeddc944779e)
* old merge from 2.2Gerald Carter2001-11-051-8/+27
| | | | (This used to be commit 292a0265a9de7f5fa06140768ecf27056d59f6c1)
* Fixed some compiler warnings.Tim Potter2001-11-051-8/+8
| | | | (This used to be commit 7c3090fb2017eb08b8785f0b6e4eb98ab9246bbc)
* Renamed make_user_info_for_winbindd() to be more consistent with theTim Potter2001-11-052-8/+8
| | | | | names of the other functions in this file. (This used to be commit 4880f37e4ee08b6363314a3fb67051a6708988d0)
* Fixed compiler warnings.Tim Potter2001-11-051-3/+2
| | | | (This used to be commit 54e40b270208774ed71eff32f3c3b1d3b86b5aca)
* Use cli_nt_login_network() instead of domain_client_validate() to performTim Potter2001-11-054-43/+88
| | | | | | | | pam authentication. This allows us to link in less other crap. Authenticating with a challenge/response doesn't seem to work though - we always get back NT_STATUS_WRONG_PASSWORD. (This used to be commit d85aa1ce83327dda6aa3dcd9bbab9cf6979dda1e)
* Removed duplicate debug.Tim Potter2001-11-051-2/+0
| | | | (This used to be commit 5c3521c937f9ba3c4c586495f54dc69a664c392a)
* Don't put a \n on the end of the arg to exit_server()Tim Potter2001-11-0510-26/+26
| | | | (This used to be commit dfb8566220c3e90ca2b757ea124f53aed103269e)
* Added missing strchr_wa.Jeremy Allison2001-11-041-0/+5
| | | | | Jeremy. (This used to be commit 16c5d279b97250ceb84ee6de6e5e801350c816c4)
* Fix for broken-as-shipped RedHat 7.2 system headers. Now we haveJeremy Allison2001-11-041-0/+12
| | | | | | to detect this in configure. Jeremy. (This used to be commit 44fb1992c98e7cca5663b17ea9a4833fcf0a8478)
* a big one:Simo Sorce2001-11-047-1113/+579
| | | | | | | | | | | | | | | | | | - old mangle code has gone, the new one based on tdb seem resonably ok probably the valid.dat table need to be updated to treat wild chars as invalid ones (work ok without it) - a LOT of new string manipulation function for unicode, they are somewhat tested but a review would not be bad - some new function I will need for the new unix_convert function I'm writing, this will be renamed filename_convert and use only unicode strings. - charconv, I attached a comment, if someone wnat to look if I'm right or just was hacking to late in the night to make a sane one :) of course any bug is my responsibility an will be pleased to see patches if you find any. :-) Simo. (This used to be commit ee19f7efb6ea9216fc91cf112ac1afa691983e9d)
* get the string lengths right in domain logonsAndrew Tridgell2001-11-041-2/+2
| | | | | | | Andrew, this fixes domain logons in head. Please look at the change, as I think you may have misunderstood the max_str_len field (which is badly named) (This used to be commit fd3a657b440a61c0c146947bb62d2b83c1689b87)
* remove {} from default valid char listAndrew Tridgell2001-11-041-1/+1
| | | | (This used to be commit 5dd3c7b3fb8aac7fb3a256ae40c882fb8983537f)
* Fix segfault. sup_tok might not always be with us.Andrew Bartlett2001-11-041-3/+5
| | | | (This used to be commit 1f409a1f3fb0906f1ff985b96bb7a65f56253046)
* Fix up authenticated pipes in line with vuser changes. This ensures that globalAndrew Bartlett2001-11-041-1/+4
| | | | | | | | | | | | | | | | | groups obtained via a domain logon are respected in the attached NT_USER_TOKEN. This functionality is only available in HEAD, becosue of the way authenticaion has been abstracted. Both vuid logins and authenticated pipes need to use the same code for this in future. Can sombody with the correct facilties check this please?\ Thanks, Andrew Bartlett (This used to be commit caae69fcd096f20aa4c6879b95ec2c275afea041)
* Fixup for accounts without a local /etc/passwd entry.Andrew Bartlett2001-11-041-9/+5
| | | | | - Now perfectly valid. (This used to be commit be04aad90da341fb1b4ef472f2279aefab972258)
* Fix up pdbedit so that it at least compiles without warnings.Andrew Bartlett2001-11-041-92/+61
| | | | | | | - Basic functionality intact - Now adds machine accounts without a uid. (using the machine uid range to avoid conflict with real uid based accounts) (This used to be commit 09d2e05d26f71b10ccabe4c6fa168a4923697bae)
* Got serious about const again.Jeremy Allison2001-11-045-116/+118
| | | | | | | | REMOVED BZERO CALLS YET AGAIN !!! Why do these keep creeping back in.... They are *NOT* POSIX. I'm also thinking of removing strncpy as I'm sure it's not being used correctly.... Jeremy. (This used to be commit b1930abb35dee74f858a3f7190276c418af2322b)
* Added NT_USER_TOKEN into server_info to fix extra groups problem.Jeremy Allison2001-11-0322-148/+297
| | | | | | Got "medieval on our ass" about const warnings (as many as I could :-). Jeremy. (This used to be commit ee5e7ca547eff016818ba5c43b8ea0c9fa69b808)
* Added many more defines in service category, user category and othersSteve French2001-11-031-0/+26
| | | | (This used to be commit 3bfb828cf70489165b46281bf03ea7074d3ba07d)
* Added support for UserListGroups, ServiceEnumSteve French2001-11-031-0/+125
| | | | (This used to be commit 4e882289b0e291bb57d48fc2b2120919632daa5f)
* Adding support for net password, net service, net user info, fixing net helpsSteve French2001-11-031-59/+258
| | | | (This used to be commit a1f3930637a6ccadd4dba90dcd713cf1e4b5a536)
* anonymous logins are guest logins, so mark them as such. (Otherwise they canAndrew Bartlett2001-11-031-1/+1
| | | | | browse non-guest shares). (This used to be commit 7131fe3be4eb2c652f3afe2f3cd99d3f82e09654)