Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r13589: Make sure we only try to close the tdbsam file in endsampwent() when we | Gerald Carter | 2007-10-10 | 1 | -4/+11 |
| | | | | | have a valid pwent list from a setsampwent(). Fixes a bug with the reference count on the open tdb. | ||||
* | r13588: Second attempt to fix Bug #3330 - treat the string as a | Jeremy Allison | 2007-10-10 | 2 | -8/+8 |
| | | | | | | uint8 array and copy as such. Gunther please check (sorry I reverted your earlier fix). Jeremy. | ||||
* | r13585: Sorry Gunther, had to revert this. It's got a buffer | Jeremy Allison | 2007-10-10 | 3 | -47/+12 |
| | | | | | | overrun. Spoke to Jerry about the correct fix. Will add this after. Jeremy. | ||||
* | r13581: Correctly parse a non-null terminated, little-endian UCS2 string in the | Günther Deschner | 2007-10-10 | 3 | -12/+47 |
| | | | | | | | | | PAC_LOGON_NAME structure. This was broken on big-endian machines (Solaris SPARC and ppc). Fixes Bug #3330. Jerry, this should be in 3.0.21c. Guenther | ||||
* | r13579: Next try to fix the AIX build. Thanks to Björn for nagging... | Volker Lendecke | 2007-10-10 | 1 | -22/+20 |
| | | | | Volker | ||||
* | r13576: This is the beginnings of moving the SAM_ACCOUNT data structure | Gerald Carter | 2007-10-10 | 31 | -917/+831 |
| | | | | | | | | | | | | | | | | | | | | | | | to make full use of the new talloc() interface. Discussed with Volker and Jeremy. * remove the internal mem_ctx and simply use the talloc() structure as the context. * replace the internal free_fn() with a talloc_destructor() function * remove the unnecessary private nested structure * rename SAM_ACCOUNT to 'struct samu' to indicate the current an upcoming changes. Groups will most likely be replaced with a 'struct samg' in the future. Note that there are now passbd API changes. And for the most part, the wrapper functions remain the same. While this code has been tested on tdb and ldap based Samba PDC's as well as Samba member servers, there are probably still some bugs. The code also needs more testing under valgrind to ensure it's not leaking memory. But it's a start...... | ||||
* | r13574: fix build; talloctort.c should not use the TALLOC_FREE() macro | Gerald Carter | 2007-10-10 | 1 | -40/+40 |
| | |||||
* | r13573: removing wrepld from SAMBA_3_0. The Samba 4 work is more current ↵ | Gerald Carter | 2007-10-10 | 7 | -2862/+2 |
| | | | | and any integration into Samba 3 would most likely be from scratch | ||||
* | r13571: Replace all calls to talloc_free() with thye TALLOC_FREE() | Gerald Carter | 2007-10-10 | 61 | -267/+268 |
| | | | | macro which sets the freed pointer to NULL. | ||||
* | r13566: Fix EA support for AIX. | Günther Deschner | 2007-10-10 | 3 | -1/+33 |
| | | | | | | Patch from Bjoern Jacke <bjacke-at-sernet-dot-de>. Guenther | ||||
* | r13564: Remove trailing backslash. Makes other than GNU make choke on this. | James Peach | 2007-10-10 | 1 | -2/+1 |
| | |||||
* | r13563: Fix bug #3526 found and diagnosed by corinna@vinschen.de. | Jeremy Allison | 2007-10-10 | 1 | -0/+2 |
| | | | | | | trans2findfirst recognises two info levels *not* recognised by trans2findnext. Add them. Needed for 3.0.21c. Jeremy. | ||||
* | r13559: Fix bug #3522 reported by Sandeep Tamhankar ↵ | Jeremy Allison | 2007-10-10 | 1 | -6/+0 |
| | | | | | | | <sandman@electric-cloud.com>. mkdir foo returns the wrong error message when file foo exists. Jeremy. | ||||
* | r13557: (Hopefully) get the creds store/restore key right from | Jeremy Allison | 2007-10-10 | 2 | -19/+42 |
| | | | | | the correct part of the netlogon and schannel packets. Jeremy. | ||||
* | r13556: Ensure that any potential creds operation are protected | Jeremy Allison | 2007-10-10 | 1 | -14/+31 |
| | | | | | by schannel if "server schannel = true" was set. Jeremy. | ||||
* | r13553: Fix all our warnings at -O6 on an x86_64 box. | Jeremy Allison | 2007-10-10 | 8 | -28/+26 |
| | | | | Jeremy. | ||||
* | r13552: Make sure we're using the same name to load the stored | Jeremy Allison | 2007-10-10 | 1 | -1/+1 |
| | | | | | | creds under all circumstances. This may be wrong, but at least we're now consistent. Jeremy. | ||||
* | r13550: remove pdb_guest | Gerald Carter | 2007-10-10 | 2 | -161/+0 |
| | |||||
* | r13548: Always use the get_remote_macinhe_name() as the key | Jeremy Allison | 2007-10-10 | 2 | -51/+51 |
| | | | | | | for the creds store. This should fix the problems Jerry reported (but I have still to run tests :-). Jeremy. | ||||
* | r13547: add earlier checks to deny deleting a printer driver. The previous | Gerald Carter | 2007-10-10 | 2 | -0/+29 |
| | | | | | | code relied upon file permissions alone. Now we check that the user is a printer administrator and that the share has not been marked read only for that user. | ||||
* | r13546: NSS soname merge from trunk | Gerald Carter | 2007-10-10 | 1 | -3/+5 |
| | |||||
* | r13545: A patch which I think it's time has come. VOlker, we can talk about | Gerald Carter | 2007-10-10 | 3 | -30/+64 |
| | | | | | | | | | | | | | | | | this more but it gets around the primary group issue. * don't map a SID to a name from the group mapping code if the map doesn't have a valid gid. This is only an issue in a tdb setup * Always allow S-1-$DOMAIN-513 to resolve (just like Windows) * if we cannot resolve a users primary GID to a SID, then set it to S-1-$DOMAIN-513 * Ignore the primary group SID inside pdb_enum_group_memberships(). Only look at the Unix group membersip. Jeremy, this fixes a fresh install startup for smbd as far as my tests are concerned. | ||||
* | r13544: -O1 janitor work :-) | Volker Lendecke | 2007-10-10 | 1 | -6/+5 |
| | |||||
* | r13542: Don't reuse a pointer we just freed (Doh!). | Jeremy Allison | 2007-10-10 | 1 | -2/+2 |
| | | | | Jeremy. | ||||
* | r13541: we have to wrap pen_enum_group_memberships() in become/unbecome_root() | Gerald Carter | 2007-10-10 | 1 | -1/+5 |
| | | | | | blocks. This fixes the problem I had with missing groups in the net_samlogon() reply from a Samba PDC. | ||||
* | r13539: Add 128 bit creds processing client and server. Thanks to Andrew ↵ | Jeremy Allison | 2007-10-10 | 4 | -24/+98 |
| | | | | | | | Bartlett's Samba4 code. Jeremy. | ||||
* | r13538: Make sure we store all 16 bytes of credentials session | Jeremy Allison | 2007-10-10 | 1 | -5/+6 |
| | | | | | | key and delete records that are old. We will need this for the full 16 byte session key support. Jeremy. | ||||
* | r13535: Fix #2353 based on a patch by William Jojo. | Jeremy Allison | 2007-10-10 | 1 | -3/+4 |
| | | | | Jeremy. | ||||
* | r13530: Fix from William Jojo for #1970. Make nmblookup do | Jeremy Allison | 2007-10-10 | 1 | -7/+6 |
| | | | | | a node status on all IP's when requested. Jeremy. | ||||
* | r13529: No functional, line break changes to let it fit into 80 chares screen | Lars Müller | 2007-10-10 | 1 | -8/+9 |
| | | | | width again. | ||||
* | r13528: Mention the tools and commandline option names used. | Lars Müller | 2007-10-10 | 1 | -2/+2 |
| | |||||
* | r13527: Adjust copyright header with information got from the 2.2 cvs tree. | Lars Müller | 2007-10-10 | 1 | -3/+7 |
| | |||||
* | r13526: Remove superfuous extra spaces at EOL. | Lars Müller | 2007-10-10 | 1 | -8/+8 |
| | |||||
* | r13525: This is only a cleanup to have the memset() and SAFE_FREE() only one | Lars Müller | 2007-10-10 | 1 | -8/+9 |
| | | | | | | | time in the code. Even if we now have an additional if statement after the free I prefer this solution in opposite to the duplicated code we had before. | ||||
* | r13524: Add -t|--password-from-stdin option to pdbedit as we had with Samba 2.2. | Lars Müller | 2007-10-10 | 4 | -56/+85 |
| | | | | | | | | | | This fixes bug #1386. The initial changes had been made by Carsten Höger <choeger at open-xhange dot com> for Samba 2.2 while being at SuSE. *sigh* To not duplicate code from smbpasswd in pdbedit stdin_new_passwd() and get_pass() are moved from smbpasswd to utils/passwd_util.c. | ||||
* | r13523: Fix indent. | Günther Deschner | 2007-10-10 | 1 | -13/+13 |
| | | | | Guenther | ||||
* | r13522: Add SAMR_GET_USRDOM_PWINFO client-side. | Günther Deschner | 2007-10-10 | 4 | -45/+132 |
| | | | | Guenther | ||||
* | r13521: Implement LOOKUPNAME3 and 4. | Jeremy Allison | 2007-10-10 | 3 | -30/+259 |
| | | | | Jeremy. | ||||
* | r13519: Fix the credentials chaining across netlogon pipe disconnects. | Jeremy Allison | 2007-10-10 | 4 | -68/+163 |
| | | | | | I mean it this time :-). Jeremy. | ||||
* | r13517: Fix typo -- thanks to Karolin Seeger <ks@sernet.de> | Volker Lendecke | 2007-10-10 | 1 | -1/+1 |
| | |||||
* | r13515: Make sure to store the correct domain name in the server affinity cache. | Gerald Carter | 2007-10-10 | 1 | -1/+1 |
| | |||||
* | r13513: Changing defaults: | Gerald Carter | 2007-10-10 | 1 | -16/+2 |
| | | | | | | | * enable privileges = yes * enable asu support = no Remove unused function after the tdbsam rewrite. | ||||
* | r13512: Rewrite tdbsam code to use a reference count based open/close | Gerald Carter | 2007-10-10 | 1 | -326/+281 |
| | | | | | | | on the tdb file. This allow recusive calls to succeed without complaining about failed opens since a tdb can only be opened once per process. We probably still need to backport the transaction support from Samba 4 here though. | ||||
* | r13511: Fix bug in the samr dispinfo enumeration code. | Gerald Carter | 2007-10-10 | 1 | -0/+11 |
| | | | | | | Make sure to associate the DOMAIN dispinfo cache with a User/Group SAMR handle (not the SID of the user or group). Ensure that enumeration after deleting a user works. | ||||
* | r13510: plug memory leak in WINS server code. | Gerald Carter | 2007-10-10 | 1 | -0/+5 |
| | |||||
* | r13509: remove unnecessary sql flags | Gerald Carter | 2007-10-10 | 1 | -2/+0 |
| | |||||
* | r13502: Fix error messages for usershares when smbd is not | Jeremy Allison | 2007-10-10 | 4 | -20/+53 |
| | | | | | | running. More generic error return cleanup in libsmb/ needs doing (everything returning NTSTATUS not BOOL). Jeremy | ||||
* | r13500: Fix ordering of FD_* arguments. | James Peach | 2007-10-10 | 1 | -10/+6 |
| | |||||
* | r13498: Fix the kernel oplocks code for IRIX. Should fix #3515. | Jeremy Allison | 2007-10-10 | 3 | -23/+39 |
| | | | | Jeremy. | ||||
* | r13497: Fix #3508 from jason@ncac.gwu.edu | Jeremy Allison | 2007-10-10 | 1 | -4/+8 |
| | | | | Jeremy. |