Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed up some const related compiler warnings. | Tim Potter | 2003-02-25 | 5 | -39/+42 | |
| | ||||||
* | After some comments from tridge, clean the new usergroups code into a helper | Andrew Bartlett | 2003-02-25 | 1 | -71/+94 | |
| | | | | | | function. Andrew Bartlett | |||||
* | For some reason some attributes in ADS do not appear (and are not available) | Andrew Bartlett | 2003-02-25 | 1 | -1/+63 | |
| | | | | | | | | | in general searches, but only if searching for the DN only. In my case, it was the tokenGroups attribute that caused me trouble, hence this patch. Andrew Bartlett | |||||
* | tokenGroups are SIDs, so dump them as such. | Andrew Bartlett | 2003-02-25 | 1 | -0/+1 | |
| | ||||||
* | Fix a really nasty bug where some users in AD domains (particularly child | Andrew Bartlett | 2003-02-25 | 1 | -14/+90 | |
| | | | | | | | | | | | | domains) would not have the tokenGroups or memberOf attributes filled in. This would cause a user to have no supplementary group membership. Detect this by the fact that the primaryGid must be present in the tokenGroups, and if it isn't (ie, if there is no tokenGroups at all), do a server-side search on all groups using the 'member' attribute and the user's DN. Andrew Bartlett | |||||
* | Whenever we have a password, use the in-memory ccache. This fixes a bug where | Andrew Bartlett | 2003-02-24 | 1 | -2/+3 | |
| | | | | | | we were overwriting the user's ccache with the machine password (the -P option). Andrew Bartlett | |||||
* | Clean up non-krb5 breakages from my modifications to luke howard's patch. | Andrew Bartlett | 2003-02-24 | 2 | -7/+2 | |
| | | | | Andrew Bartlett | |||||
* | Finish removing setenv replacements from smbwrapper. | Andrew Bartlett | 2003-02-24 | 2 | -20/+2 | |
| | ||||||
* | Move off-by-one buggy malloc()/safe_strcpy() combination to strdup() instead. | Andrew Bartlett | 2003-02-24 | 1 | -3/+1 | |
| | | | | Andrew Bartlett | |||||
* | typo | Andrew Bartlett | 2003-02-24 | 1 | -1/+1 | |
| | ||||||
* | Patch from Luke Howard to add mutual kerberos authentication, and SMB session | Andrew Bartlett | 2003-02-24 | 8 | -42/+157 | |
| | | | | | | keys for kerberos authentication. Andrew Bartlett | |||||
* | setenv takes 3 arguments... | Andrew Bartlett | 2003-02-24 | 1 | -4/+4 | |
| | ||||||
* | If it's a pstring, use pstrcpy(). | Andrew Bartlett | 2003-02-24 | 1 | -2/+2 | |
| | ||||||
* | Fix off-by-one bugs, and move to strdup() rather than malloc()/strcpy(). | Andrew Bartlett | 2003-02-24 | 1 | -16/+9 | |
| | | | | Andrew Bartlett | |||||
* | Quieten compiler warning. | Tim Potter | 2003-02-24 | 1 | -0/+7 | |
| | ||||||
* | Merge documentation from 3_0. | Martin Pool | 2003-02-24 | 1 | -6/+13 | |
| | ||||||
* | Always initialise | Andrew Bartlett | 2003-02-24 | 1 | -2/+2 | |
| | ||||||
* | Merge: | Tim Potter | 2003-02-24 | 1 | -7/+5 | |
| | | | | > Exit path cleanup for cli_samr_enum_dom_users() | |||||
* | Add const | Andrew Bartlett | 2003-02-24 | 1 | -4/+4 | |
| | ||||||
* | Fix 2 off-by-one bugs in the use of malloc()ed strings and safe_strcpy(). | Andrew Bartlett | 2003-02-24 | 2 | -3/+5 | |
| | | | | | | | | | | | | | | | safe_strcpy() isn't particularly safe (this has been noted before) as it does not take the size of the buffer, but instead the size of the buffer *minus 1* The locking.c fix was causing segfaults on machines running with --enable-developer, and was tracked down thanks to the fact that vance's build farm machine runs with such an option, and smbtorture's DIR1 test hits this bug very well. (The --enable-developer code writes to the last byte of the string, to check for incorrect use of safe_strcpy()). Andrew Bartlett | |||||
* | forgot the altered include file | Simo Sorce | 2003-02-23 | 1 | -4/+4 | |
| | ||||||
* | move genparser to use talloc contexts instead of [m|c|re]alloc() and free()s | Simo Sorce | 2003-02-23 | 2 | -152/+163 | |
| | ||||||
* | Make sure we set the error code to indicate failure... | Andrew Bartlett | 2003-02-22 | 1 | -2/+11 | |
| | | | | Andrew Bartlett | |||||
* | See if I can make this look slightly like C. It compiled locally, honest... | Andrew Bartlett | 2003-02-22 | 1 | -3/+4 | |
| | | | | Andrew Bartlett | |||||
* | More signed/unsigned fixes (yes, I run with funny compiler options) and | Andrew Bartlett | 2003-02-22 | 9 | -19/+20 | |
| | | | | | | make x_fwrite() match fwrite() in returning a size_t. Andrew Bartlett | |||||
* | Fixes from Paul Green and vorlon@debian.org for building shared libraries | Andrew Bartlett | 2003-02-22 | 2 | -32/+99 | |
| | | | | (make it possible to build both shared and static) and -lcrypt handling. | |||||
* | Fix comment - the other bits of code don't call this any more. | Andrew Bartlett | 2003-02-22 | 1 | -4/+1 | |
| | ||||||
* | Add static | Andrew Bartlett | 2003-02-22 | 2 | -8/+8 | |
| | ||||||
* | With assuptions about unixsam gone, we can forget about looking up | Andrew Bartlett | 2003-02-22 | 1 | -4/+1 | |
| | | | | | | the user a second time now. Andrew Bartlett | |||||
* | Remove 'unixsam' from the default passdb backends. | Andrew Bartlett | 2003-02-22 | 10 | -283/+264 | |
| | | | | | | | | | | | | | | | | | | | | | | The intention is to remove the muliple passdb backends, but we need the 'guest' account to always be there. If the admin adds the guest account to (say) LDAP, there will only be one backend required for operation. This helps remove some nasty behaviours with adding accounts to the system for both the RPC 'create user' and the SAMSYNC code. Users 'added' with an 'add user/machine' script won't magicly appear, and machine accounts 'pre-added' to unix, but not the smbpasswd file will not cause mayhem. This commit also implements somthing tridge discussed with me, the concept of 'default' passdb operation pointers - so that each backend does not need it's own stub funcitons wrapping the default tdb privilages/group mapping code. This also removes an implicit 'sid->name' and 'name->sid' mapping from our own local SID space, to winbind usernames. When adding mapping for NIS/LDAP non-sam users in future, we need to be careful. Andrew Bartlett | |||||
* | First check if the user is in the passdb, then check Get_Pwnam(). | Andrew Bartlett | 2003-02-22 | 2 | -31/+61 | |
| | | | | | | | | | | We check passdb becouse the user might have things like a logon script set, but we have to check the passdb becouse the user might not be in smbpasswd at all. This is in preperation for the removal of unixsam as an assuption. Andrew Bartlett | |||||
* | When checking is_locked() new WRITE locks conflict with existing READ locks even | Jeremy Allison | 2003-02-22 | 1 | -3/+10 | |
| | | | | | if the context is the same. See LOCKTEST7 in smbtorture. Jeremy. | |||||
* | New locktest7 code based on patch from "Srikanta Shivanna" ↵ | Jeremy Allison | 2003-02-22 | 1 | -0/+134 | |
| | | | | | | <sshivanna@pillardata.com> Jeremy. | |||||
* | Fix a DEBUG() formatting, add some more debug to our SID pulling code and | Andrew Bartlett | 2003-02-22 | 2 | -19/+34 | |
| | | | | | | | | | inline the call to prs_copy_all_data_out() so that we can know we are not overrunning our buffer. Also check more return values. Andrew Bartlett | |||||
* | i patched the wrong branch! s/unistr2_to_dos/unistr2_to_ascii/ | Gerald Carter | 2003-02-21 | 1 | -1/+1 | |
| | ||||||
* | couple of merges from APP_HEAD | Gerald Carter | 2003-02-21 | 2 | -4/+25 | |
| | | | | | | | | * performance optimization in enumprinterdataex() when keyname is empty * fix a few typos in comments * reload services after addprinter_command() dump registry data in ascii when the key is REG_SZ or REG_MULTI_SZ | |||||
* | patch from Hal Roberts check for a valid [f]chmod_acl function pointer ↵ | Gerald Carter | 2003-02-21 | 1 | -2/+12 | |
| | | | | before calling it. Fixes seg fault in audit VFS module | |||||
* | Fix IRIX build...void fn can't return another void fn | Jim McDonough | 2003-02-21 | 1 | -1/+2 | |
| | ||||||
* | rename 'winbind backend' to 'idmap backend'. Put paramter in security ↵ | Jim McDonough | 2003-02-21 | 2 | -27/+27 | |
| | | | | section...does this make sense? | |||||
* | Added comments to make it clearer when we're assigning a pointer that it | Jeremy Allison | 2003-02-21 | 1 | -0/+12 | |
| | | | | | must not be freed afterwards. Jeremy. | |||||
* | Ignore errors on python_clean target. | Tim Potter | 2003-02-21 | 1 | -1/+1 | |
| | ||||||
* | Doesn't anyone run ./configure.developer anymore? | Tim Potter | 2003-02-21 | 1 | -1/+1 | |
| | ||||||
* | Fix another compiler warning. | Tim Potter | 2003-02-21 | 1 | -1/+0 | |
| | ||||||
* | Fixed another compiler warning. | Tim Potter | 2003-02-21 | 1 | -1/+1 | |
| | ||||||
* | Fixed compiler warning. | Tim Potter | 2003-02-21 | 2 | -2/+1 | |
| | ||||||
* | Added enumdomusers command. | Tim Potter | 2003-02-21 | 1 | -0/+75 | |
| | ||||||
* | Exit path cleanup for cli_samr_enum_dom_users() | Tim Potter | 2003-02-21 | 1 | -34/+18 | |
| | ||||||
* | Fix for only specifying one command with -c | Tim Potter | 2003-02-21 | 1 | -1/+4 | |
| | ||||||
* | Doxygen janitor | Martin Pool | 2003-02-21 | 1 | -3/+10 | |
| | ||||||
* | From aliguori@us.ibm.com: | Jim McDonough | 2003-02-20 | 5 | -438/+738 | |
| | | | | | | This patch adds the architecture for an IDMAP backend system including a new smb.conf parameter "winbind backend". Right now, the only valid value is "tdb" but I'm currently working on an LDAP backend. |