summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge of case fixes from APPLIANCE_HEAD.Tim Potter2002-08-111-5/+5
| |
* | Add indent argument to put function name and type on same line -Jelmer Vernooij2002-08-111-1/+1
| | | | | | | | for satisfying the autoprototyper and abartlet
* | Update CodingSuggestions to include 'indent' arguments for the samba codingJelmer Vernooij2002-08-111-2/+14
| | | | | | | | style
* | Make 'remote_machine' private to lib/substitute.c, and fix all the user to useAndrew Bartlett2002-08-1112-26/+16
| | | | | | | | | | | | the new accessor functions. Andrew Bartlett
* | Fix the %m security bug again - and try to make it harder to reintroduce inAndrew Bartlett2002-08-106-34/+60
| | | | | | | | | | | | | | | | | | | | | | future. This moves us from fstrcpy() and global variables to 'get' and 'set' functions. In particular, the 'set' function sainity-checks the input, in the same way as we always have. Andrew Bartlett
* | Adding pdb_xml and pdb_mysql passdb modules.Jelmer Vernooij2002-08-1011-4/+1784
| | | | | | | | Added some consts to pdb_test to follow pdb_methods struct more strictly
* | one line merge from APP_HEADGerald Carter2002-08-081-1/+1
| |
* | delete printer driver fix from APP_HEADGerald Carter2002-08-081-14/+37
| |
* | printing change notification merge from APPLIANCE_HEADGerald Carter2002-08-086-136/+244
| |
* | Samba dependency hell claim's another victim...Andrew Bartlett2002-08-083-839/+824
| | | | | | | | | | | | | | Back out last night's patch to to reduce -l dependencies until we can ensure that *all* configurations/platforms work... Andrew Bartlett
* | Merge of incomplete rffpcnex testing code from APPLIANCE_HEAD.Tim Potter2002-08-085-0/+236
| |
* | Hmm, had too many objects added last time in the nmbd changes. Don'tJim McDonough2002-08-071-2/+1
| | | | | | | | need all of them. Hopefully this will fix a few builds.
* | Patch from Steve Langasek <vorlon@netexpress.net> to split up our -lAndrew Bartlett2002-08-073-836/+848
| | | | | | | | | | | | | | | | | | | | dependencies. This benifits packagers (like debian) becouse then our client code won't have references to 'server only' libraries. (In particular, it removes the client dependency on CUPS, which was raised in a debian bug report). Andrew Bartlett
* | Add 'const' to the function prototypes to match the recent commit.Andrew Bartlett2002-08-071-2/+2
| |
* | Add some more const :-)Andrew Bartlett2002-08-071-3/+3
| | | | | | | | | | | | | | This also makes it a easier to see which paramaters are 'in', and which are 'out'. Andrew Bartlett
* | Add const to a pile of const to *DOM_SID paramaters.Andrew Bartlett2002-08-075-7/+7
| | | | | | | | Andrew Bartlett
* | Ooops...forgot to put this in with the new nmbd samlogon response code.Jim McDonough2002-08-061-1/+2
| | | | | | | | THis should fix the build.
* | Add AD version of samlogon replies for getdc. ATM it will only functionJim McDonough2002-08-063-11/+127
| | | | | | | | if you have an ADS DC.
* | Add SAMR 0x3e, which is samr_connect4. Seems to be the same as ourJim McDonough2002-08-064-10/+171
| | | | | | | | | | existing connect (which I've been told is really connect2), with one extra dword. We've only seen 0x00000002 there...
* | Try to bind with LDAPv3 if possible.Andrew Bartlett2002-08-061-7/+19
| | | | | | | | Andrew Bartlett
* | Back out idra's change (at his request) - the values in the tdb *should* beAndrew Bartlett2002-08-061-1/+1
| | | | | | | | | | | | | | | | | | | | upper cased already. However, if you created your registry tdb in the very early versions of jerry's patch, you could find that usrmgr doesn't function. Simply delete the registry.tdb, it will be recreated on startup. Andrew Bartlett
* | fixed 'net ads chostpass' for new ads structuresAndrew Tridgell2002-08-061-1/+11
| |
* | when using netbios lookup methods make sure we try any BDCs even ifAndrew Tridgell2002-08-061-9/+21
| | | | | | | | we get a response from WINS for a PDC, if the PDC isn't responding.
* | fixed a memory corruption bug in ads_try_dns()Andrew Tridgell2002-08-061-3/+3
| |
* | Compile fix for new cli_lsa_enum_trust_dom() argument list.Tim Potter2002-08-061-2/+2
| |
* | fixed a memory corruption bug in the wins codeAndrew Tridgell2002-08-061-1/+1
| |
* | added 'net rpc testjoin' and 'net ads testjoin' commandsAndrew Tridgell2002-08-053-20/+125
| | | | | | | | | | unfortuately we don't seem to be able to auto-test the ADS join due to a rather nasty property of the GSSAPI library.
* | Spelling fix.Tim Potter2002-08-051-1/+1
| |
* | fixed wbinfo -t for netbiosless domainsAndrew Tridgell2002-08-051-1/+7
| |
* | I must have missed this when I was adding 'const' to these earlier...Andrew Bartlett2002-08-051-1/+1
| | | | | | | | Andrew Bartlett
* | Try to make this easier to debug - display the username that failed.Andrew Bartlett2002-08-051-1/+1
| | | | | | | | Andrew Bartlett
* | This fixes a number of ADS problems, particularly with netbioslessAndrew Tridgell2002-08-0524-362/+629
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | setups. - split up the ads structure into logical pieces. This makes it much easier to keep things like the authentication realm and the server realm separate (they can be different). - allow ads callers to specify that no sasl bind should be performed (used by "net ads info" for example) - fix an error with handing ADS_ERROR_SYSTEM() when errno is 0 - completely rewrote the code for finding the LDAP server. Now try DNS methods first, and try all DNS servers returned from the SRV DNS query, sorted by closeness to our interfaces (using the same sort code as we use in replies from WINS servers). This allows us to cope with ADS DCs that are down, and ensures we don't pick one that is on the other side of the country unless absolutely necessary. - recognise dnsRecords as binary when displaying them - cope with the realm not being configured in smb.conf (work it out from the LDAP server) - look at the trustDirection when looking up trusted domains and don't include trusts that trust our domains but we don't trust theirs. - use LDAP to query the alternate (netbios) name for a realm, and make sure that both and long and short forms of the name are accepted by winbindd. Use the short form by default for listing users/groups. - rescan the list of trusted domains every 5 minutes in case new trust relationships are added while winbindd is running - include transient trust relationships (ie. C trusts B, B trusts A, so C trusts A) in winbindd. - don't do a gratuituous node status lookup when finding an ADS DC (we don't need it and it could fail) - remove unused sid_to_distinguished_name function - make sure we find the allternate name of our primary domain when operating with a netbiosless ADS DC (using LDAP to do the lookup) - fixed the rpc trusted domain enumeration to support up to approx 2000 trusted domains (the old limit was 3) - use the IP for the remote_machine (%m) macro when the client doesn't supply us with a name via a netbios session request (eg. port 445) - if the client uses SPNEGO then use the machine name from the SPNEGO auth packet for remote_machine (%m) macro - add new 'net ads workgroup' command to find the netbios workgroup name for a realm
* | passwords where not checked (you cannot check if the same buffer differs ↵Simo Sorce2002-08-041-6/+18
| | | | | | | | | | | | | | | | from itself). they where alo not clean after use! Simo.
* | commented out strupper before key check against internal db, it's no goodSimo Sorce2002-08-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | to check for uppercased strings when we store them not uppercased. jerry, this fix is needed to make usrmgr.exe work again. meanwhile we found out that NT_STATUS code may not be appropriate there. In particular it seem that an NT PDC will send back 02 as error (ERRbadfile) not 0xc000000f (NT_STATUS_NO_SUCH_FILE NT) I think further investigation is need to understand which are aprropriate return codes here.
* | Now that I got the function arguments sane, remove the silly (void **) castsAndrew Bartlett2002-08-041-9/+9
| | | | | | | | | | | | from some of the callers. Andrew Bartlett
* | fixed a bug where we were truncating the returned names in a netbiosAndrew Tridgell2002-08-031-1/+1
| | | | | | | | | | name status query to 14 bytes, so we could not join a DC who had a netbios name of 15 bytes in length.
* | updates the log level parameter man sectionSimo Sorce2002-08-031-3/+6
| | | | | | | | | | can someone regenerate and commit the other formats? thanks
* | fix log level, set a default, and also copy the value set in smb.conf into ↵Simo Sorce2002-08-032-10/+13
| | | | | | | | | | | | | | parm_struct.ptr this one also fixes log level not shown in swat fix swat help system
* | Fix length on mailslots. Looks like it should have been 0x17, not decimal 17.Jim McDonough2002-08-021-1/+1
| |
* | Escape ampersand(&) to better comply to SGML syntaxJelmer Vernooij2002-08-021-1/+1
| |
* | Moved rpc client routines from libsmb back to rpc_client where they belong.Tim Potter2002-08-0216-7671/+3635
| |
* | Added connect, session_request, session_setup and tconx methods.Tim Potter2002-08-021-21/+138
| |
* | Broke out unpacking of a username/password stored in a PythonTim Potter2002-08-022-28/+74
| | | | | | | | dictionary into a separate function.
* | Merge of print notify fixes from APPLIANCE_HEAD.Tim Potter2002-08-023-6/+27
| |
* | Fixed compiler warning.Tim Potter2002-08-011-1/+1
| |
* | make sure we null terminate plaintext passwordsAndrew Tridgell2002-08-011-1/+1
| |
* | merge from SAMBA_2_2Gerald Carter2002-07-311-0/+154
| |
* | forgot to change the makefile system, sorrySimo Sorce2002-07-312-12/+10
| |
* | Add the current working document on the interface to the tree that we haveAndrew Bartlett2002-07-311-0/+123
| | | | | | | | | | | | | | | | | | *somthing* in the directory. (Stops cvs update -P eating it). This is the combined effort of many from #samba-technical, kai, metze, ctrlsoft, idra and abartlet in particular. It will no doubt change :-) Andrew Bartlett
* | Let everybody enjoy my new toy - make it the default!Andrew Bartlett2002-07-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | Authenticaions will now attempt to use winbind, and only fall back to 'ntdomain' (the old security=domain) code if that fails (for any reason, including wrong password). I'll fix up the authenticaion code to better handle the different types of failures in the near future. Andrew Bartlett