summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Use defined constants not integers.Jeremy Allison2001-11-101-3/+3
| | | | Jeremy.
* As pdb_ldap.c does not compile in HEAD anyway, a not-compiled mergeVolker Lendecke2001-11-091-2/+6
| | | | | | from 2_2. Volker
* Fixed a few typos and added the opnum for ADDPRINTERDRIVEREX to theGerald Carter2001-11-092-3/+10
| | | | rpc_spoolss.h header file.
* Fixup __LPID -> _LPID.Jeremy Allison2001-11-092-2/+2
| | | | Jeremy.
* 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
* fix the tree so it compiles againAndrew Tridgell2001-11-091-1/+1
| | | | grumble, mumble, ...
* 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.
* 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
* Fixed incorrect debug message. )-:Tim Potter2001-11-081-1/+1
|
* spoolss_io_devmode private data is binary and should be shown in hex,Martin Pool2001-11-081-1/+2
| | | | not ascii.
* Only 1mb allocate slop.Jeremy Allison2001-11-081-56/+55
| | | | Jeremy.
* Merge overdue changes from 2.2. Fix <4gb write problem.Jeremy Allison2001-11-081-40/+29
| | | | Jeremy.
* Added more define bits. Fixed error in vol attributes.Jeremy Allison2001-11-082-4/+6
| | | | Jeremy.
* Added debug in truncate, fixed warning with gcc3.Jeremy Allison2001-11-072-2/+2
| | | | Jeremy.
* Add function to add those hosts who have added msbrowse (domain master browsers)Steve French2001-11-071-0/+8
|
* Added delheaders as a dependency for clean.Tim Potter2001-11-071-1/+10
|
* add convert_string_allocate() functionSimo Sorce2001-11-071-5/+86
|
* 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!
* Initilising these variables before appending the domain groups to themAndrew Bartlett2001-11-072-1/+5
|
* Fixed unsigned / long unsigned format missmatch.Jeremy Allison2001-11-061-4/+4
| | | | Jeremy
* Internationalization enbalement for net utility - replace printf with d_printfJim McDonough2001-11-061-233/+233
|
* Fixed looking up domain (winbind) users ahead of local users inTim Potter2001-11-051-6/+18
| | | | domain_client_validate()
* Removed totally annoying verbose debug in sid_to_string()Tim Potter2001-11-051-2/+0
|
* free the negTokenInit structureAndrew Tridgell2001-11-051-0/+2
|
* Changed MAX_OPEN_PIPES to 2048.Jeremy Allison2001-11-051-1/+1
| | | | Jeremy.
* 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.
* merge from 2.2. Why is STR_CONVERT missing when comparingGerald Carter2001-11-051-1/+1
| | | | 2.2 to HEAD?
* old merge from 2.2Gerald Carter2001-11-051-8/+27
|
* Fixed some compiler warnings.Tim Potter2001-11-051-8/+8
|
* 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.
* Fixed compiler warnings.Tim Potter2001-11-051-3/+2
|
* 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.
* Removed duplicate debug.Tim Potter2001-11-051-2/+0
|
* Don't put a \n on the end of the arg to exit_server()Tim Potter2001-11-0510-26/+26
|
* Added missing strchr_wa.Jeremy Allison2001-11-041-0/+5
| | | | Jeremy.
* Fix for broken-as-shipped RedHat 7.2 system headers. Now we haveJeremy Allison2001-11-041-0/+12
| | | | | to detect this in configure. Jeremy.
* 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.
* 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)
* remove {} from default valid char listAndrew Tridgell2001-11-041-1/+1
|
* Fix segfault. sup_tok might not always be with us.Andrew Bartlett2001-11-041-3/+5
|
* 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
* Fixup for accounts without a local /etc/passwd entry.Andrew Bartlett2001-11-041-9/+5
| | | | - Now perfectly valid.
* 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)
* 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.
* 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.
* Added many more defines in service category, user category and othersSteve French2001-11-031-0/+26
|
* Added support for UserListGroups, ServiceEnumSteve French2001-11-031-0/+125
|
* Adding support for net password, net service, net user info, fixing net helpsSteve French2001-11-031-59/+258
|
* anonymous logins are guest logins, so mark them as such. (Otherwise they canAndrew Bartlett2001-11-031-1/+1
| | | | browse non-guest shares).
* Minor cleanups/fixes in the NTLMv2 codeAndrew Bartlett2001-11-032-12/+4
|