summaryrefslogtreecommitdiffstats
path: root/source/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* r13695: Make code consistent with documentation. :-)Alexander Bokovoy2006-02-261-5/+8
| | | | | smbcontrol was sending messages designated for nmbd and winbindd to smbd. Thus, nmbd and winbindd were "unshutdownable".
* r13679: Commiting the rm_primary_group.patch posted on samba-technicalGerald Carter2006-02-241-59/+24
| | | | | | | | | | * ignore the primary group SID attribute from struct samu* * generate the primary group SID strictlky from the Unix primary group when dealing with passdb users * Fix memory leak in original patch caused by failing to free a talloc * * add wrapper around samu_set_unix() to prevent exposing the create BOOL to callers. Wrappers are samu_set_unix() and samu-allic_rid_unix()
* r13648: Duh.Tim Potter2006-02-231-1/+1
|
* r13641: Finish fix for #3510. Don't use client schannel when toldJeremy Allison2006-02-221-13/+39
| | | | | not to, cope with a server that doesn't offer schannel also. Jeremy
* r13614: First part of the bugfix for #3510 - net join failsJeremy Allison2006-02-221-14/+21
| | | | | | against server with schannel disabled. Second part will come tomorrow (fixing net_rpc_join_ok()). Jeremy.
* r13607: Fix compile - don't ref auto variable in a structure initialization.Jeremy Allison2006-02-221-1/+1
| | | | | Fix from Richard Bollinger <rabollinger@gmail.com>. Jeremy.
* r13594: Got sense of NTSTATUS check reversed.Jeremy Allison2006-02-211-2/+2
| | | | Jeremy.
* r13590: * replace all pdb_init_sam[_talloc]() calls with samu_new()Gerald Carter2006-02-214-22/+43
| | | | * replace all pdb_{init,fill}_sam_pw() calls with samu_set_unix()
* r13579: Next try to fix the AIX build. Thanks to Björn for nagging...Volker Lendecke2006-02-201-22/+20
| | | | Volker
* r13576: This is the beginnings of moving the SAM_ACCOUNT data structure Gerald Carter2006-02-204-46/+46
| | | | | | | | | | | | | | | | | | | | | | | 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......
* r13571: Replace all calls to talloc_free() with thye TALLOC_FREE()Gerald Carter2006-02-205-11/+11
| | | | macro which sets the freed pointer to NULL.
* r13553: Fix all our warnings at -O6 on an x86_64 box.Jeremy Allison2006-02-181-1/+1
| | | | Jeremy.
* r13530: Fix from William Jojo for #1970. Make nmblookup doJeremy Allison2006-02-161-7/+6
| | | | | a node status on all IP's when requested. Jeremy.
* r13528: Mention the tools and commandline option names used.Lars Müller2006-02-161-2/+2
|
* r13527: Adjust copyright header with information got from the 2.2 cvs tree.Lars Müller2006-02-161-3/+7
|
* r13525: This is only a cleanup to have the memset() and SAFE_FREE() only oneLars Müller2006-02-161-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üller2006-02-163-52/+75
| | | | | | | | | | 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.
* r13517: Fix typo -- thanks to Karolin Seeger <ks@sernet.de>Volker Lendecke2006-02-151-1/+1
|
* r13502: Fix error messages for usershares when smbd is notJeremy Allison2006-02-152-17/+39
| | | | | | running. More generic error return cleanup in libsmb/ needs doing (everything returning NTSTATUS not BOOL). Jeremy
* r13494: Merge the stuff I've done in head the last days.Volker Lendecke2006-02-132-3/+3
| | | | Volker
* r13486: Two more -- fix bug 3503Volker Lendecke2006-02-131-0/+2
|
* r13460: by popular demand....Gerald Carter2006-02-111-159/+26
| | | | | | | | | * remove pdb_context data structure * set default group for DOMAIN_RID_GUEST user as RID 513 (just like Windows) * Allow RID 513 to resolve to always resolve to a name * Remove auto mapping of guest account primary group given the previous 2 changes
* r13382: added server affinity cache stores for 'net rpc join' and trusted ↵Gerald Carter2006-02-082-0/+9
| | | | domain code
* r13368: I must write out 1000 times, "Don't use C++ reserved words..."Jeremy Allison2006-02-061-5/+5
| | | | Jeremy.
* r13351: Fix copyrightVolker Lendecke2006-02-041-1/+1
|
* r13350: Implement rpccli_samr_set_domain_info. Weird that it was not around :-)Volker Lendecke2006-02-042-1/+418
| | | | | | | | | | Implement 'net rpc shell account' -- An editor for account policies nt_time_to_unix_abs changed its argument which to me seems wrong, and I could not find a caller that depends on this. So I changed it. Applied some more const in time.c. Volker
* r13337: Attempt to fix the AIX buildVolker Lendecke2006-02-041-1/+1
|
* r13316: Let the carnage begin....Gerald Carter2006-02-0320-224/+3453
| | | | Sync with trunk as off r13315
* r13262: Arrgggg. Fix smbstatus and swat status to ignoreJeremy Allison2006-01-311-0/+5
| | | | | | | bloody placeholder share mode entries (I hate these - I've had to add this filter code now to too many places :-). Jeremy.
* r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman2006-01-2814-14/+14
| | | | | | | | | | | | lp_load() could not be called multiple times to modify parameter settings based on reading from multiple configuration settings. Each time, it initialized all of the settings back to their defaults before reading the specified configuration file. This patch adds a parameter to lp_load() specifying whether the settings should be initialized. It does, however, still force the settings to be initialized the first time, even if the request was to not initialize them. (Not doing so could wreak havoc due to uninitialized values.)
* r13148: Fix bug: #3413Simo Sorce2006-01-261-3/+9
| | | | | | | | | Check that ldap admin dn is defined in smb.conf before setting the ldap password in secrets.tdb Based on patch by William Jojo <jojowil@hvcc.edu> Simo.
* r13136: Fix handling user sid and user gidSimo Sorce2006-01-251-2/+4
|
* r13133: patch from Makr Proehl <m.proehl@science-computing.de> for dumping ↵Gerald Carter2006-01-251-1/+1
| | | | server role when calling 'testparm -s' (BUG 1336)
* r13091: Fix gcc warning about using '0' with %s.Jeremy Allison2006-01-231-1/+1
| | | | Jeremy.
* r13083: patch suggested by Adam Nielsen for better smbstatus formattingGerald Carter2006-01-231-4/+4
|
* r13082: revert an accidentally commited patch (still in progress)Gerald Carter2006-01-231-4/+4
|
* r13081: correct fix for the segv in nmbd caused by a double free on namerec.Gerald Carter2006-01-231-4/+4
|
* r12986: Use d_fprintf(stderr, ...) for any error message in net.Lars Müller2006-01-1716-255/+278
| | | | | | | | All 'usage' messages are still printed to stdout. Fix some compiler warnings for system() calls where we didn't used the return code. Add appropriate error messages and return with the error code we got from system() or NT_STATUS_UNSUCCESSFUL.
* r12870: fixing net rpc registry enumerate from overwritnig the open subkey ↵Gerald Carter2006-01-121-1/+0
| | | | handle
* r12840: Add -W to smbpasswd. Thanks to William Jojo <jojowil@hvcc.edu>.Volker Lendecke2006-01-111-1/+9
| | | | Volker
* r12781: Support the level parameter for lsa_lookupsids.Volker Lendecke2006-01-081-0/+2
| | | | | | | Simplify the interfaces to domain trusts a bit: Nothing outside secrets.c needs to know we're storing stuff in ucs2. Volker
* r12678: One moreVolker Lendecke2006-01-021-0/+2
|
* r12555: Fix more load_case_table swegfaults. Arggg.Jeremy Allison2005-12-289-0/+16
| | | | | What I'd give for a global constructor... Jeremy.
* r12544: Fix segfaults in winbind, smbpasswd and netVolker Lendecke2005-12-282-0/+4
|
* r12415: Forgot newlines.Günther Deschner2005-12-211-1/+1
| | | | Guenther
* r12414: Remove the unnecessary SMB_STRDUP in server_role_str() + reuse the roleGünther Deschner2005-12-211-18/+1
| | | | | | translation elsewhere. Guenther
* r12398: adding Guenther's account policy migration fixGerald Carter2005-12-201-1/+50
|
* r12338: add ifdef DEBUG_PASSWORD before printing clear text password.Günther Deschner2005-12-191-0/+2
| | | | Guenther
* r12262: * patch from Brian Moran to fix segv in eventlogadm when not eventlogsGerald Carter2005-12-151-3/+7
| | | | | are listed in smb.conf * initialize the local group description in set_alias_info()
* r12203: Add the share path into the sharemode db. This involvesJeremy Allison2005-12-121-4/+4
| | | | | | | | | | revving the minor version number for libsmbsharemodes (we now have a new _ex interface that takes the share path as well as the filename). Needed for #3303. Some code written by SATOH Fumiyasu <fumiya@samba.gr.jp> included in the changes to locking/locking.c. The smbstatus output is a bit of a mess and needs overhauling... Jeremy.