summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* bug 977 - don't create a homes share for a user if a static share already ↵Gerald Carter2004-01-271-1/+7
| | | | exists by the same name
* Clarify comment on set_effective_uid()Andrew Bartlett2004-01-271-2/+10
| | | | Andrew Bartlett
* Revise our server-side password change code to cope with the variousAndrew Bartlett2004-01-261-109/+158
| | | | | | | | | | different feilds that different clients send. (For example, not all clients send both password types). This also cleans up the code to make it clearer what is really going on, and to make better use of common functions. Andrew Bartlett
* This adds client-side support for the unicode/SAMR password change scheme.Andrew Bartlett2004-01-2610-91/+220
| | | | | | | | | | As well as avoiding DOS charset issues, this scheme returns useful error codes, that we can map back via the pam interface. This patch also cleans up the interfaces used for password buffers, to avoid duplication of code. Andrew Bartlett
* Add a few more NTSTATUS <=> PAM error mappings.Andrew Bartlett2004-01-261-1/+3
| | | | Andrew Bartlett
* Patch by Luca Bolcioni <Luca.Bolcioni@yacme.com>. Ensure we alwaysAndrew Bartlett2004-01-261-0/+2
| | | | | | | initialise the session key. Fixes segfaults with security=server, and encrypt passwords = no. Andrew Bartlett
* Fix memleak just introduced. Thanks to abartlet :-)Volker Lendecke2004-01-251-0/+1
| | | | Volker
* On my SuSE 8.2 (glibc 2.3.2) the getpwnam inside pdb_getsampwnam resetVolker Lendecke2004-01-251-30/+43
| | | | | | | the surrounding getpwent loop to the first entry. So smbd went into an endless loop. Volker
* Fix the initialisation vectors for NTLM2, so that they at least make sense,Andrew Bartlett2004-01-251-2/+2
| | | | | | even if they don't work yet. Andrew Bartlett
* If we are providing strndup(), ensure we provide a prototype too.Andrew Bartlett2004-01-251-0/+4
| | | | Andrew Bartlett
* Fix removal of attributes in LDAP - we would not actually remove the oldAndrew Bartlett2004-01-251-16/+16
| | | | | | value in the previous code. Andrew Bartlett
* A Samba DC is nothing special these days - so every domain controllerAndrew Bartlett2004-01-241-8/+8
| | | | | | | | location packet from the client is not a DEBUG(1) event anymore... (Yes, we printed this for each of these UDP packets...) Andrew Bartlett
* Fix typoVolker Lendecke2004-01-231-2/+1
|
* Fix decoding of base64. We got the length wrong when the result was notVolker Lendecke2004-01-231-0/+2
| | | | | | | | | | an exact multiple of 3. I also wrote a torture test and it survived some minutes of random stuff coded/decoded up to 16 MB data. But that would be a bit too embarassing to commit... :-) Volker
* Fix for debian Bug#225328 by LaMont Jones <lamont@debian.org>, whereAndrew Bartlett2004-01-221-0/+2
| | | | | | | | | | the failure of our LFS test caused the _GNU_SOURCE define not to be added, causeing strndup() not to be defined... I'll into when we really should define _GNU_SOURCE shortly, but the fix is correct anyway. Andrew Bartlett
* * Add SIGABRT to fault handlingStefan Metzmacher2004-01-221-3/+6
| | | | | | | so we now got a backtrace, if we crash in libldap with SIGABRT metze
* Fix compiler warningVolker Lendecke2004-01-211-0/+2
|
* Display some nicer error messages for login via 'net'. I don'tVolker Lendecke2004-01-211-0/+8
| | | | | | | | | see a reason why we have so many special cases and not simply use nt_errstr(nt_status). Comments? Volker
* Fix for a signing bug when the mid wraps.Jeremy Allison2004-01-171-3/+11
| | | | | | | | | | | Found by Fran Fabrizio <fran@cis.uab.edu>. Add to the *start* of the list not the end of the list. This ensures that the *last* send sequence with this mid is returned by preference. This can happen if the mid wraps and one of the early mid numbers didn't get a reply and is still lurking on the list. Jeremy.
* fix another bug caused by cli_lsa_query_info_policy() changesGerald Carter2004-01-161-2/+4
|
* Fix another join problem. Don't use a TALLOC_CTX before it has beenJim McDonough2004-01-161-4/+25
| | | | | | | | initialized. Also split out the oldstyle join into a new fn, allowing us to call it with no failure message from net rpc join, but displaying a failure message when used with net rpc oldjoin.
* Patch from "Stoian Ivanov" <sdr@bultra.com>: Add -g (greppable..) toVolker Lendecke2004-01-161-14/+34
| | | | | | smbclient -L to make the output usable in pipes. Volker
* Commit sid<->[ug]id extensions to libnss_winbind.so on Linux, as well as aVolker Lendecke2004-01-161-0/+138
| | | | | | | | | | factored-out nss_winbind.[ch]. I took tridge's public domain license comment for the nss_winbind.[ch]. This is probably not the last word on that extension, but as it is quite non-intrusive to the main samba code, I would like to give it a start. Volker
* Bug 381: check builtin (not local) group SID. Patch from Jianliang Lu ↵Gerald Carter2004-01-151-1/+1
| | | | <j.lu@tiesse.com>
* setting version to 3.0.2rc2Gerald Carter2004-01-151-2/+2
|
* Fix net rpc join (at least newstyle) after it was broken by changingJim McDonough2004-01-151-5/+5
| | | | the parms to cli_lsa_query_info_policy without changing them here...
* * BUG 446Gerald Carter2004-01-153-2/+7
| | | | | | | | | - setup_logging() in smbclient to be interactive (remove the timestamps) - Fix bad return value in pull_ucs2( needs more testing to make sure this didn't break something else) that caused clistr_pull() to always read the same string from the buffer (pull_usc2() could return -1 if the original source length was given as -1) - increment some debugging messages to avoid printing them out so often
* BUG 958; don't use the -N option when invoking smbclient from the smbtar scriptGerald Carter2004-01-151-1/+1
|
* reply_spnego_kerberos did not set the domain of the user handed toVolker Lendecke2004-01-151-0/+7
| | | | | | | | | | register_vuid correctly. We ended up with the local netbios name in substitutions for %D later. Volker P.S: Tridge, I can *really* see why you want to get rid of global variables :-)
* Don't substitute stuff in lp_afs_username_map, this is explicitlyVolker Lendecke2004-01-151-1/+1
| | | | | | done later. Volker
* And another memory corruption in winbind. Arg 3 of safe_strcpy does notVolker Lendecke2004-01-151-1/+1
| | | | | | include the terminating 0. Volker
* Fix a segfault in winbindd. Calling getusersids with a SID that results in 0Volker Lendecke2004-01-151-1/+1
| | | | | | groups winbind ended up freeing an uninitialised pointer. Volker
* * Fix sys_chown() when no chown() is presendStefan Metzmacher2004-01-151-0/+2
| | | | metze
* * Fix XFS quotas: XFS_USER_QUOTA -> USRQUOTAStefan Metzmacher2004-01-158-42/+194
| | | | | | | | | XFS_GROUP_QUOTA -> GRPQUOTA * Fix disk_free calculation with group quotas. * Add debug class 'quota' and a lot of DEBUG()'s to the quota code. metze
* BUG 936: fix bind credentials for schannel binds in smbd (and add a comment ↵Gerald Carter2004-01-152-7/+12
| | | | to winbindd_cm about this
* Fix for bug 905. Remove POBAD_CC as it doesn't seem to be applicableTim Potter2004-01-152-6/+0
| | | | anymore.
* BUG 972; check pointer in cli_ds_getprimarydominfo() before trying to copy a ↵Gerald Carter2004-01-151-1/+1
| | | | structure
* source/rpc_parse/parse_prs.c ZERO_STRUCTP(ps) not needed as it is doneHerb Lewis2004-01-141-1/+0
| | | | | | | in prs_init now testsuite/printing/psec.c cannot do a prs_mem_free() when tdb_prs_fetch fails as the prs structure has not been initialized
* Fix initgroups() call nss_winbind on solaris; patch from John Klinger ↵Gerald Carter2004-01-141-0/+16
| | | | <john.klinger@lmco.com>
* bug 770; correct fix this time; Make sure that we send the SMBjobid for ↵Gerald Carter2004-01-142-10/+19
| | | | unix jobs back to the client. Allows windows client to remove print jobs submitted from lpr
* bug 660; using byte order safe macros (or tdb_unpack) when reading 2 or 4 ↵Gerald Carter2004-01-141-16/+18
| | | | byte values from a tdb buffer
* revert the cracklib changes until post 3.0.2Gerald Carter2004-01-144-134/+26
|
* * Revert to using rpc for mixed mode AD domains.Gerald Carter2004-01-141-3/+9
| | | | | | | | | | | | | | | | | | The reason for this are: (a) the set_dc_type_and_flags() cannot tell the different between connecting to an NT4 domain and an NT4 BDC of a mixed mode domain. (b) the connection management for the rpc backend only provides on named pipe per cli_state. So it is possible to connect to an NT4 BDC for netlogon and an AD mixed mode DC for lsarpc. RPC is the lowest common demonimator here. (c) Issue with the sequence number value between the highestCommittedUSN LDAP attribute and the seq_num returned via RPC. We will revisit this later, but the changes need to make this work right now are too broad and risky.
* Remove duplicate extern.Jeremy Allison2004-01-141-1/+0
| | | | Jeremy.
* Remove references to 'jn' which gcc-3.4 with precompiled headersJeremy Allison2004-01-141-36/+36
| | | | | doesn't like. Jeremy.
* fix XFS quotas the macro changed from HAVE_XFS_QUOTA -> HAVE_XFS_QUOTASStefan Metzmacher2004-01-141-2/+2
| | | | metze
* Remove duplicate comment.Andrew Bartlett2004-01-141-2/+0
| | | | Andrew Bartlett
* Finish adding cracklib support - this adds the configure test to enableAndrew Bartlett2004-01-142-0/+65
| | | | | | | it, on machines that actually have a working cracklib, for which we have the correct path to the dictionary. Andrew Bartlett
* * allow dns lookups to be disabled for DOMAIN#1c (and #1b)Gerald Carter2004-01-131-7/+26
| | | | | names * fix some a mispelled variable name
* On systems without a working cracklib, ensure we don't include the headerAndrew Bartlett2004-01-121-0/+2
| | | | | | (the actual call to crack was already in this #ifdef) Andrew Bartlett