summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixups for HPUX winbindd build.Jeremy Allison2002-01-163-290/+290
| | | | Jeremy.
* Fixed include problems.Jeremy Allison2002-01-161-1/+3
| | | | Jeremy.
* don't include libnss_wins.so as it appears this may be illegal on non GPL OSHerb Lewis2002-01-162-9/+5
| | | | add define for DMF_FIX and hide warnings about exrtanious const casts.
* don't let smb.conf debug level override command line (or default 0 setting)Herb Lewis2002-01-163-0/+138
| | | | | | | | add documentation or options that have been added in the past but never documented. Could someone generate the other files, I still have not been able to get docbook working on my system.
* Added setprinter command.Jeremy Allison2002-01-161-4/+2
| | | | Jeremy.
* trans2.c : Fixed up a BSOD test - may need this for W2K clients.Jeremy Allison2002-01-162-12/+9
| | | | | parse_spoolss.c : Got client side setprinter working from rpcclient. Jeremy.
* Remove extra '()'s.Jeremy Allison2002-01-161-8/+8
| | | | Jeremy.
* New passthough levels for qfsinfo. Still need data in ControlInfo.Jeremy Allison2002-01-162-1/+33
| | | | Jeremy.
* Tidy up stupid StrnCpy uses.Jeremy Allison2002-01-162-12/+12
| | | | Jeremy.
* Don't link a .c :-(.Jeremy Allison2002-01-161-1/+1
| | | | Jeremy.
* Finished fixes to allow HPUX 11 to use winbindd.Jeremy Allison2002-01-168-14/+104
| | | | Jeremy.
* add wins commands to libnss_winbind.soHerb Lewis2002-01-151-0/+10
|
* fix proper use of safe_strcatHerb Lewis2002-01-151-15/+12
|
* Small fix to make getprinter work with connection to server as IP, not name.Jeremy Allison2002-01-151-3/+3
| | | | Jeremy.
* Check malloc fixes from andreas moroder <claudiamoroder@st-ulrich.suedtirol.net>Jeremy Allison2002-01-155-6/+9
| | | | Jeremy.
* Fix strncat compile failure and 'truth value' warning messageJim McDonough2002-01-151-10/+10
|
* Missing assign fix from Bernt Nilsson bkn@ida.liu.se.Jeremy Allison2002-01-151-1/+1
| | | | Jeremy.
* Fixed typo in debug statement only.John Terpstra2002-01-151-1/+1
|
* add new file nsswitch/winbindd_wins.oHerb Lewis2002-01-151-0/+1
|
* add wins commands to winbindHerb Lewis2002-01-154-1/+81
| | | | add wins test commands to wbinfo
* This commit was manufactured by cvs2svn to create branch 'SAMBA_2_2'.cvs2svn Import User2002-01-151-0/+211
|\
| * adding wins commands to winbindd - will check in the rest of the changesHerb Lewis2002-01-151-0/+211
| | | | | | | | after further testing in 2.2 branch.
| * Add constness to parametersMartin Pool2002-01-151-2/+2
| |
| * Add constness to filenames passed to functions.Martin Pool2002-01-153-3/+28
| |
| * Commit the auth associated changes I missed from the last commit.Andrew Bartlett2002-01-154-3/+21
| | | | | | | | | | | | | | | | Also set the default value of all the allocated strings to "" to avoid changing the interface (becouse pdb_get...() would point to a null string, rather than a null pointer and parts of samba rely on that). Andrew Bartlett
| * Change the passdb interface to use allocated strings.Andrew Bartlett2002-01-156-129/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These strings are allocated using talloc(), either using its own memory context stored on the SAM_ACCOUNT or one supplied by the caller. The pdb_init_sam() and pdb_free_sam() function have been modifed so that a call to pdb_free_sam() will either clean up (remove hashes from memory) and destroy the TALLOC_CTX or just clean up depending on who supplied it. The pdb_init_sam and pdb_free_sam functions now also return an NTSTATUS, and I have modified the 3 places that actually checked these returns. The only nasty thing about this patch is the small measure needed to maintin interface compatability - strings set to NULL are actually set to "". This is becouse there are too many places in Samba that do strlen() on these strings without checking if they are NULL pointers. A supp patch will follow to set all strings to "" in pdb_default_sam(). Andrew Bartlett
| * rerun autoconfAndrew Bartlett2002-01-141-802/+812
| |
| * I like --enable-developer, but I find it rather usless when all it gets me is aAndrew Bartlett2002-01-141-1/+5
| | | | | | | | | | | | | | | | screen-full of kerberos warnings. This is almost as good, and I can actually see the Samba warnings. Andrew Bartlett
| * Initialise cli variables and try not to do a cli_shutdown() of uninitialsedAndrew Bartlett2002-01-141-4/+10
| | | | | | | | | | | | | | | | | | memory. The winbind connection caching code isn't exactly a plesent beast, and there is more work that needs to be done to nail this properly. Andrew Bartlett
| * Fix a segfault in auth/auth_domain.c error cases.Andrew Bartlett2002-01-141-2/+1
| | | | | | | | | | | | | | | | This occured when the attempt to contact the PDC failed. The connection code has already shut down the connection, and 'free'ed the cli or has never initialised it in the first place. Andrew Bartlett
| * Removed MAXSTATUS which was set incorrectly - thus causing tdb traversalJeremy Allison2002-01-145-33/+19
| | | | | | | | | | | | of the connections db on smbd startup. This should fix the Solaris large load bug.... (fingers crossed). Jeremy.
| * FIXME We should turn the global list off when using Insure++,Martin Pool2002-01-141-0/+3
| | | | | | | | otherwise all the memory will be seen as still reachable.
| * Move local variable to avoid warning when compiled without GSSAPI.Martin Pool2002-01-141-1/+2
| |
| * PSTRING_SANCTIFY:Martin Pool2002-01-141-3/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you define this, pstring and fstring become distinguished types, so that it's harder to accidentally overflow them by for example passing an fstring on the lhs of pstrcpy. The types are defined as one-element union arrays so that with "fstring f" the name "f" will be a pointer and with a big hammer you can cast it to (char *). So code that tries to just use it directly will get a loud warning, but hopefully nothing worse. To pass them to non-pstring-aware functions, use PSTR and check that the function takes a const. They should almost never be modified except by special calls. In those unusual cases, use PSTR_MUTABLE. This is off by default so as not to produce too many warnings. As the code is vetted it can become the default.
| * Removed fprintf(stderr, ...); calls which should not be present in libraryTim Potter2002-01-141-4/+0
| | | | | | | | functions.
| * A couple of coding syle updates to follow the re-indent.Andrew Bartlett2002-01-131-5/+5
| |
| * Re-indent these two functions to make it actually possible to understand theirAndrew Bartlett2002-01-131-161/+161
| | | | | | | | | | | | contents... Andrew Bartlett
| * don't try to allocate zero bytesAndrew Tridgell2002-01-131-10/+7
| |
| * I'm doing some things towards the NamedPipes game with lckl and he has asked meAndrew Bartlett2002-01-132-87/+105
| | | | | | | | | | | | | | | | | | | | to move this from being a static to matching its mate in lib/util_sock.c. In any case, this should discorage anybody from using the 'wrong' version of this function. (ie the one from TNG, which needs a bit more error checking depending on use). Andrew Bartlett
| * Many thanks to Alexander Bokovoy <a.bokovoy@sam-solutions.net>.Andrew Bartlett2002-01-127-2/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This work was sponsored by Optifacio Software Services, Inc. Andrew Bartlett (various e-mails announcements merged into some form of commit message below:) This patch which adds basics of universal groups support into Samba 3. Currently, only Winbind with RPC calls supports this, ADS support requires additional (possibly huge) work on KRB5 PAC. However, basic infrastructure is here. This patch adds: 1. Storing of universal groups for particular user logged into Samba software (smbd/ two winbind-pam methods) into netlogon_unigrp.tdb as array of uint32 supplemental group rids keyed as DOMAIN_SID/USER_RID in tdb. 2. Fetching of unversal groups for given user rid and domain sid from netlogon_unigrp.tdb. Since this is used in both smbd and winbindd, main code is in source/lib/netlogon_uingrp.c. Dependencies are added to AUTH_OBJ as UNIGRP_OBJ and WINBINDD_OBJ as UNIGRP_OBJ. This patch has had a few versions, the final version in particular: Many thanks to Andrew Bartlett for critics and comments, and partly rewritten code. New: - updated fetching code to changed byte order macros - moved functions to proper namespace - optimized memory usage by reusing caller's memory context - enhanced code to more follow Samba coding rules Todo: - proper universal group expiration after timeout
| * updates from 2.2Simo Sorce2002-01-126-95/+141
| |
| * Added PRINTER_INFO_4/PRINTER_INFO_5, we're seeing level 5 requested on the ↵Jeremy Allison2002-01-123-0/+224
| | | | | | | | | | | | wire... so. Jeremy.
| * Thanks to vance for spotting the missing Makefile.in commit.Andrew Bartlett2002-01-121-1/+1
| | | | | | | | | | | | This should make things a little happier... Andrew Bartlett
| * Move all the pdb_get...() and pdb_set...() functions to a new file.Andrew Bartlett2002-01-122-798/+825
| | | | | | | | | | | | | | This brings passdb.c down to a much more manageable ~1100 lines and makes it a little easier to comprehend whats going on here. Andrew Bartlett
| * Added the O_NOFOLLOW flag if follow symlinks is set off.Jeremy Allison2002-01-121-0/+6
| | | | | | | | Jeremy.
| * Round and round we go....Jeremy Allison2002-01-113-3/+5
| | | | | | | | Jeremy.
| * Latest attempt at changeid.Jeremy Allison2002-01-112-6/+31
| | | | | | | | Jeremy.
| * Same fix as went into 2.2 (I'm waiting for jerry to finish some code).Jeremy Allison2002-01-1120-156/+162
| | | | | | | | Jeremy.
| * fixed a crash bug in domain auth caused by an uninitialised nt_statusAndrew Tridgell2002-01-112-1/+3
| |
| * fixed a crash in merge_aces()Andrew Tridgell2002-01-111-0/+1
| | | | | | | | when we free curr_ace_outer we need to not try to use it again :)