summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* Since AB has been changing the winbind interface it's time to add the "mockTim Potter2002-01-103-21/+21
| | | | | | | | | | | swedish" test to client calls. This is putting a length field at the start of a request so we can disconnect clients talking with an out of date libnss_winbind.so rather than deadlock them. Misc cleanups: - made some int values uint32 - moved WINBIND_INTERFACE_VERSION to start of cmd list
* added structure members referred to by recent changes in vfs-wrap.cHerb Lewis2002-01-101-1/+5
|
* merge tpots name changes into IRIX part of code. When you change the nameHerb Lewis2002-01-101-8/+8
| | | | of a define you need to grep for the old name and change ALL places.
* Return the winbind separator over the socket, so programs don't have to parseAndrew Bartlett2002-01-105-18/+78
| | | | | | | | | | | | | | | | smb.conf to get it right. While wb_client needs its lp_load() for samba dependency reasons, it now uses the new method both to example and test the new code. Also add an interface version function, and return the winbind's samba version string. In preperation for default domains, its now up to winbindd to reject plaintext auths that don't have a seperator, but NTLM (CRAP) auths now have two feilds, hence need parsing. Andrew Bartlett
* This changes the winbind protcol a bit:Andrew Bartlett2002-01-106-38/+84
| | | | | | | | | | | | | | It adds a 'ping' request, just to check winbind is in fact alive It also changes winbindd_pam_auth_crap to take usernames and domain seperatly. (backward incompatible change, needs merge to 2.2, but this is not yet released code, so no workarounds) Finally, it adds some debugs and fixes a few memory leaks (uses talloc to do it). Andrew Bartlett
* Quieten warning about uninitialized variable.Martin Pool2002-01-101-1/+3
|
* A big tidyup while thinking about getting trusted domains being re-readTim Potter2002-01-108-132/+142
| | | | | | | | | | | | | | | | | | when they are added or removed on the PDC. - renamed GETPWNAM_FROM_{UID,USER} constants and functions to GETPW{NAM,UID} - renamed GETGRNAM_FROM_{GID,GROUP} constants and functions to GETGR{NAM,GID} - use SIGUSR2 in winbindd for debugging/logging instead of SIGUSR1 in preparation for moving to smbcontrol type messages (not sure whether to ditch this altogether or not) - tidy debugging messages in top level winbind user and group routines - convert talloc_init() to talloc_init_named() - make enumerations of the domain list use the same local variable names
* Spelling fix.Tim Potter2002-01-101-1/+1
|
* browse_fn: FIXME: If the remote machine returns non-ascii charactersMartin Pool2002-01-101-0/+3
| | | | | in any of these fields, they can corrupt the output. We should remove them.
* First part of UNIX extensions (#ifdefed out) more to follow.Jeremy Allison2002-01-104-2/+177
| | | | Jeremy.
* Oh joy - the original code didn't do mapping of the perms onto the wire.Jeremy Allison2002-01-101-11/+41
| | | | | Make it up as we go along... :-). Jeremy.
* Ensure this is committed last.Jeremy Allison2002-01-101-288/+370
| | | | Jeremy.
* We need to test for major/minor macros.Jeremy Allison2002-01-104-0/+39
| | | | Jeremy.
* Although configure.in and configure were checked in at the same timeTim Potter2002-01-101-9/+9
| | | | | I think configure.in just beat it to the repository so the timestamp of configure.in is newer than configure. )-:
* Getting ready to add UNIX extensions in HEAD also.Jeremy Allison2002-01-1010-495/+860
| | | | Jeremy
* Added tests for st_blocks in struct stat, and added a (hateful) constantJeremy Allison2002-01-094-311/+389
| | | | | | | | | the specifies the units that st_blocks is in. The reason for this is that HPUX uses 8k, AIX uses a #defined constant and everyone else (tm) uses 512 byte units. Needed for the CIFS UNIX extensions - coming to a Samba server near you soon.... :-). Jeremy.
* Fixed typo.Jeremy Allison2002-01-091-1/+1
| | | | Jeremy.
* Move SAFE_FREE into tdb.c to stop exporting it into tdb.h namespace.Jeremy Allison2002-01-092-5/+5
| | | | Jeremy.
* Add two more memory-debug smbcontrol messages: these ones shouldMartin Pool2002-01-095-7/+97
| | | | | prompt dmalloc to log information about what happening, so you can see in flight why smbd is getting bloated.
* FIXME: At the moment, if the user should happen to give the optionsMartin Pool2002-01-091-1/+7
| | | | | | | ahead of the service name (in standard Unix fashion) then smbclient just spits out the usage message with no explanation of what in particular was wrong. Is there any reason we can't just parse out the service name and password after running getopt??
* Better explanation message for dmalloc.Martin Pool2002-01-098-15/+15
| | | | | | | | | | Also more insertion of parenthesis to handle struct members called 'free'. You can now get useful dmalloc output, as long as it is compatible with your C library. On RH7.1 it looks like you have to rebuild dmalloc to allow free(0) by default, because something in libcrypt does that. (sigh)
* With --enable-dmalloc, also use dmalloc's wrappers around routinesMartin Pool2002-01-093-785/+791
| | | | like strcat
* Sample configuration for dmalloc.Martin Pool2002-01-091-0/+2
|
* Add UNUSED(paramname) macro to be used in parameter lists, to quietenMartin Pool2002-01-092-2/+12
| | | | gcc warnings about unused parameters.
* Add UNUSED(paramname) macro to be used in parameter lists, to quietenMartin Pool2002-01-091-1/+4
| | | | | | gcc warnings about unused parameters. msg_pool_usage: assert msg_type is as expected.
* When re-writing tdb version numbers as little endian int32, we mustJeremy Allison2002-01-093-27/+33
| | | | | change the version number also. Jeremy.
* Fix macro name controlling inclusion of DMALLOC.Martin Pool2002-01-091-1/+1
|
* Add harmless parentheses so that dmalloc doesn't get confused by aMartin Pool2002-01-091-1/+1
| | | | variable called 'free'.
* Merge from appliance-head:Tim Potter2002-01-091-4/+72
| | | | | | | - put in some level 10 debugs so we can see what internal_resolve_name() is doing - remove duplicates from returned ip list of internal_resolve_name()
* For hysterical raisins you must use string_set() to set the value of aTim Potter2002-01-091-1/+1
| | | | | string in the loadparam Globals struct. Using pstrcpy was causing every NULL string was being set to the name of the winbindd log file. (-:
* Fixed all uses of tdb_fetch/store/_int to use explicit int32 little endianJeremy Allison2002-01-096-52/+90
| | | | | in tdb's. All except winbindd_idmap.... Hmmmmmm. Jeremy.
* HPUX nss fix.Jeremy Allison2002-01-091-2/+18
| | | | Jeremy.
* Fixed up atomic update code.Jeremy Allison2002-01-093-5/+5
| | | | Jeremy.
* Added int32 version of "atomic" update.Jeremy Allison2002-01-091-0/+35
| | | | Jeremy.
* Added int32 versions of the endian-dependent code.Jeremy Allison2002-01-091-2/+66
| | | | Jeremy.
* My previous fix had a bug....Jeremy Allison2002-01-081-6/+11
| | | | | | | | This is SO NASTY as some drivers need this to change, others need it static. This value will change every second, and I must hope that this is enough..... DON'T CHANGE THIS CODE WITHOUT A TEST MATRIX THE SIZE OF UTAH ! Jeremy.
* Getting ready to add winbindd support for HPUX 11.Jeremy Allison2002-01-082-0/+154
| | | | Jeremy.
* Another attempt at getting changeid correct. Jerry / JF please check !Jeremy Allison2002-01-081-7/+14
| | | | | This fixes a driver init bug. Jeremy.
* - fixed my breakage of CPPFLAGSAndrew Tridgell2002-01-083-683/+687
| | | | - allow winbindd and wbinfo to build without shared libraries
* Caught one problem where a BOOL fn was returning 3 different values :-).Jeremy Allison2002-01-081-11/+12
| | | | | Roll on defined types :-). Jeremy.
* Debugs that print out a share mode table in debug level 10. This codeJeremy Allison2002-01-081-4/+46
| | | | | enabled me to track down a *nasty* bug. Jeremy.
* Added get_called_name() function, which replaces global_myname in printingJeremy Allison2002-01-083-29/+31
| | | | | | code (one less global, hurrah !) - to allow NetBIOS aliasing to be used with point and print. Jeremy.
* Return called NetBIOS name if present in preference to global_myname.Jeremy Allison2002-01-071-5/+9
| | | | | | Should allow print servers to work with NetBIOS aliases. Needs testing. Jeremy.
* merge changes from 2.2 branch to prevent smb.conf from changing debug levelHerb Lewis2002-01-078-0/+28
| | | | of commands when specified on command line.
* sync getopt() args with 2.2Gerald Carter2002-01-071-1/+1
|
* - use CFLAGS when linking shared libs (for things like -64 on irix)Andrew Tridgell2002-01-073-7/+6
| | | | - don't attempt to build winbindd if we can't do shared libs
* Sed error. The status value in the PRINTER_INFO_2 structure isn't a WERRORTim Potter2002-01-074-4/+4
| | | | but a plain old uint32.
* Converted getprinterdriver to WERROR - it always returns dos error 6Tim Potter2002-01-072-65/+81
| | | | (invalid handle) though. )-:
* Spelling fix.Tim Potter2002-01-072-665/+662
|
* Don't log the password in pam_sm_authenticate() unless DEBUG_PASSWORD isTim Potter2002-01-071-2/+10
| | | | defined. This is done with --enable-developer mode.