summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Correctly check for inet_addr fail. Patch from gregor.7@osu.edu.Jeremy Allison2003-02-171-2/+5
| | | | Jeremy.
* Dummy commit, I can't get through to samba-cvs@samba.org. It can't reallyVolker Lendecke2003-02-171-1/+0
| | | | | | | | | | | remember under what mail address I have to post. My last commit to this file made it compile again, my fingers were a bit too fast to really type this message. Sorry for this confusion, Volker
* cmd_srvsvc.cVolker Lendecke2003-02-171-3/+3
|
* This is a very nice way to detect pstrcpy() into a malloc()ed string, butAndrew Bartlett2003-02-171-0/+2
| | | | | | it really is a developer hack... Andrew Bartlett
* This patch fixes one of my longest-standing pet hates with Samba :-).Andrew Bartlett2003-02-179-52/+81
| | | | | | | | | | | | | | | | | When we look see if a user is in a list, and we try to 'expand' an @group, we should lookup the user's own list of groups, rather than looking for all the members of a group. I'm sure this will fix some nasty performance issues, particularly on large domains etc. In particular, this avoids contacting winbind at all, if the group is not a winbind group. (This caused a deadlock on my winbind-on-PDC setup). The groups list always includes the user's primary group, as per the getgrouplist manpage, and my recent changes to our implementation. Andrew Bartlett
* Don't leak a session_key worth of memory at the end of the NTLMSSP auth.Andrew Bartlett2003-02-171-0/+1
|
* Set the length back to zero when we free the data_blob.Andrew Bartlett2003-02-171-0/+1
|
* Try to make our getgrouplist replacement better match the 'real' implemenations.Andrew Bartlett2003-02-171-4/+11
| | | | | | In particular, make sure we include the primary gid in the list. Andrew Bartlett
* Typo: /mized/mixed/Martin Pool2003-02-171-1/+1
|
* Don't pstrcpy into an fstring. (Harmless in this case since it comesMartin Pool2003-02-171-3/+10
| | | | from an environment variable.)
* Start reworking rpcclient to use popt rather than next_token to parseMartin Pool2003-02-171-103/+69
| | | | | | | | | command lines. This makes the code much simpler and also stops trivial syntax errors from causing a crash. Also fix support for semicolon-separated commands in -c, which is promised by the manual but apparently never working due to an off-by-one error.
* Added SRVSVC pipe support. I've started implementing NetServerGetInfo()Tim Potter2003-02-173-0/+217
|
* Add KRBCLIENT_OBJ to PYTHON_OBJ list.Tim Potter2003-02-171-1/+2
|
* Return a WERROR instead of a NTSTATUS like the rest of the srvsvcTim Potter2003-02-171-11/+7
| | | | rpc calls.
* If we didn't make the server_info correctly, then don't segfault trying toAndrew Bartlett2003-02-171-1/+3
| | | | | | set the 'guest' bit. Andrew Bartlett
* People were being tripped up by the fact that we havn't updated acconfig.hAndrew Bartlett2003-02-172-235/+3
| | | | | | | as we don't need it for autoconf 2.53. Remove it from CVS, and assert the newer autotools in configure.in Andrew Bartlett
* Add the 'session key' output of the NTLMSSP exchange to the cli struct, soAndrew Bartlett2003-02-165-10/+39
| | | | | | | | | it can be used for 'net rpc join'. Also fix a bug in our server-side NTLMSSP code - a client without any domain trust links to us may calculate the NTLMv2 response with "" as the domain. Andrew Bartlett
* Recover much of my changes to editreg.c. Add some const and start codingRichard Sharpe2003-02-161-8/+203
| | | | the regedit file parser etc.
* * set PRINTER_ATTRIBUTE_RAW_ONLY; CR 1736Gerald Carter2003-02-154-5/+40
| | | | | | | * never save a pointer to an automatic variable (they go away) implement a deep copy for SPOOLSS_NOTIFY_MSG to correct messages being sent that have junk for strings; fix in response to changes for CR 1504
* Third-party configuration scripts may produce undesirable additions to ↵Alexander Bokovoy2003-02-152-0/+31
| | | | | | | | | | | | | CFLAGS/CPPFLAGS and LIBS/LDFALGS. In particular, they often don't check where the appropriate libraries were installed and pass -I/usr/include and -L/usr/lib as part of CFLAGS/LDFLAGS. While the latter isn't dangerous, passing system include directory through -I lead to change of its status in CPP from system to user-defined in many cases. This patch cleans up CFLAGS/CPPFLAGS from errorenous -I/usr/include and LIBS/LDFLAGS from -L/usr/lib. This is done as two m4 macros which are called before AC_OUTPUT.
* Don't return NULL pointers for now.Andrew Bartlett2003-02-151-4/+4
| | | | | | | We should look into how to deal with NULL v "" strings, and the NTLMSSP code underneath properly at some stage. Andrew Bartlett
* fix dumb perror used without errno beeing set.Simo Sorce2003-02-151-2/+2
| | | | thanks to RedHat developers for the report
* Some small updatesJelmer Vernooij2003-02-151-3/+12
|
* When checking for tgetent, include libtinfo from recent Ncurses as wellAlexander Bokovoy2003-02-151-1/+1
|
* Add support for krb5-config from recent MIT and Heimdal. And fallback to ↵Alexander Bokovoy2003-02-151-1/+16
| | | | traditional guessing only if krb5-config was not found.
* Add draft of universal passdb document that combines ENCRYPTION.sgml,Jelmer Vernooij2003-02-151-0/+933
| | | | Samba-LDAP-HOWTO.sgml, pdb_mysql.sgml and pdb_xml.sgml
* Remove obsolete textdocs - they have been migrated to SGMLJelmer Vernooij2003-02-153-241/+0
|
* Fix *a lot* of syntax errorsJelmer Vernooij2003-02-151-49/+94
|
* Move our NTLMSSP client code into ntlmssp.c. The intention is to provide aAndrew Bartlett2003-02-157-128/+459
| | | | | | | | | | relitivly useful external lib from this code, and to remove the dupicate NTLMSSP code elsewhere in samba (RPC pipes, LDAP client). The code I've replaced this with in cliconnect.c is relitivly ugly, and I hope to replace it with a more general SPENGO layer at some later date. Andrew Bartlett
* Use more portable @SHLIBEXT@ instead of .soJelmer Vernooij2003-02-151-1/+1
|
* Remove obsolete file lib/netatalk.c - We have a VFS module nowJelmer Vernooij2003-02-153-159/+0
|
* Patch based on work by Michael Steffens <michael_steffens@hp.com> to wrapJeremy Allison2003-02-151-65/+107
| | | | | | all cm_get_XX calls and their subsequent requests in a retry loop in case we've temporarily lost connection to the DC. Makes winbindd more reliable. Jeremy.
* Add reference to example mysql.dump fileJelmer Vernooij2003-02-151-0/+13
|
* Antti Andreimann <Antti.Andreimann@mail.ee> has done some changes to enableAndrew Bartlett2003-02-1513-181/+475
| | | | | | | | | | | | | | | | | | | | | | | | | users w/o full administrative access on computer accounts to join a computer into AD domain. The patch and detailed changelog is available at: http://www.itcollege.ee/~aandreim/samba This is a list of changes in general: 1. When creating machine account do not fail if SD cannot be changed. setting SD is not mandatory and join will work perfectly without it. 2. Implement KPASSWD CHANGEPW protocol for changing trust password so machine account does not need to have reset password right for itself. 3. Command line utilities no longer interfere with user's existing kerberos ticket cache. 4. Command line utilities can do kerberos authentication even if username is specified (-U). Initial TGT will be requested in this case. I've modified the patch to share the kinit code, rather than copying it, and updated it to current CVS. The other change included in the original patch (local realms) has been left out for now. Andrew Bartlett
* Move our NTLMSSP code into easily seperated peices, not relying on the wholeAndrew Bartlett2003-02-154-327/+353
| | | | | | of libsmb. Andrew Bartlett
* Oops, forgot the header file changes.Andrew Bartlett2003-02-141-0/+1
|
* NTLMSSP parinoia - we really don't want to run over the end of our blob,Andrew Bartlett2003-02-142-14/+46
| | | | | | and make sure we can never get an 'authenticate' packet without a challenge. Andrew Bartlett
* Ensure that only parse_prs.c access internal members of the prs_struct.Jeremy Allison2003-02-1411-79/+118
| | | | | Needed to move to disk based i/o later. Jeremy.
* off by one bug in string length; CR 1159Gerald Carter2003-02-141-1/+1
|
* Put dynrpc modules as part of make all, when specified in configure.Jim McDonough2003-02-141-4/+6
|
* Further extract our NTLMv2 code into smbencrypt.c, prior to merge into ourAndrew Bartlett2003-02-142-32/+51
| | | | | | NTLMSSP client code. Andrew Bartlett
* DocMartin Pool2003-02-141-1/+5
|
* Simplify some return values in gencache functions:Tim Potter2003-02-141-5/+5
| | | | | | | | | | - return ret == 0 ? True : False; + return ret == 0; and - return tdb_close(cache) ? False : True; + return tdb_close(cache) != -1;
* Fix for trusted domains scan not working inspired by Ken Cross.Tim Potter2003-02-142-7/+8
| | | | (Sorry - I should have checked this in yesterday but forgot)
* A few typo fixes Andrew eventually let off to me.Rafal Szczesniak2003-02-133-8/+8
| | | | Rafal
* Removed unused variable.Jeremy Allison2003-02-131-1/+0
| | | | Jeremy.
* Fix typo in WIFSIGNALED (as per Waider's report)Alexander Bokovoy2003-02-131-1/+1
|
* Merge JohnR's patch.Jeremy Allison2003-02-131-3/+1
| | | | | | | Removed extra copy of server name in the printername field (it was mangling the the name to be \\server\\\server\printer ... yes, there were 3 backslashes) reported by get & enum jobs level 2. Jeremy.
* Add FIXME about checking exit code for popen'd commands.Martin Pool2003-02-131-1/+4
| | | | Fix typo.
* waitstatus audit: Correctly handle case where smbmnt is killed by aMartin Pool2003-02-131-0/+3
| | | | signal. Previously this was incorrectly treated as success.