summaryrefslogtreecommitdiffstats
path: root/source/utils/net.c
Commit message (Collapse)AuthorAgeFilesLines
* r19514: Fix net ads join with missing realm.Jeremy Allison2006-10-301-6/+50
| | | | Jeremy.
* r16104: Set version to 3.0.23rc2Gerald Carter2006-06-081-1/+14
| | | | | Bring release tree up to current 3.0 tree (svn merge -r15845:16103 $SVNURL/branches/SAMBA_3_0)
* r15837: starting sync up for 3.0.23rc1 (in sync with SAMBA_3_0 r15822)Gerald Carter2006-05-231-10/+64
|
* r14098: Fix Coverity # 112Volker Lendecke2006-03-091-2/+13
|
* r13861: Avoid "net rpc join" segfaulting when storing the servername in theGünther Deschner2006-03-061-1/+1
| | | | | | affinity cache. Guenther
* r13382: added server affinity cache stores for 'net rpc join' and trusted ↵Gerald Carter2006-02-081-0/+5
| | | | domain code
* r13316: Let the carnage begin....Gerald Carter2006-02-031-0/+27
| | | | Sync with trunk as off r13315
* r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman2006-01-281-1/+1
| | | | | | | | | | | | 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.)
* r12986: Use d_fprintf(stderr, ...) for any error message in net.Lars Müller2006-01-171-19/+19
| | | | | | | | 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.
* r12544: Fix segfaults in winbind, smbpasswd and netVolker Lendecke2005-12-281-0/+2
|
* r10656: BIG merge from trunk. Features not copied overGerald Carter2005-09-301-7/+10
| | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck)
* r8911: cosmetic fixes.Günther Deschner2005-08-021-1/+1
| | | | Guenther
* r7998: Fix usage messageVolker Lendecke2005-06-291-1/+1
|
* r6277: This implements a new caching API for enumerating the pdb elements. It isVolker Lendecke2005-04-101-48/+24
| | | | | | | | | | | | | | | | | | | | | modeled after query_displayinfo and should hide the differences between users, groups and aliases while allowing a cache analog load_sampw_entries: struct pdb_search *pdb_search_users(uint16 acct_flags); struct pdb_search *pdb_search_groups(void); struct pdb_search *pdb_search_aliases(const DOM_SID *sid); uint32 pdb_search_entries(struct pdb_search *search, uint32 start_idx, uint32 max_entries, struct samr_displayentry **result); void pdb_search_destroy(struct pdb_search *search); Why this API? Eventually we will need to apply the work gd has started on enumerating users with paged ldap searches to groups and aliases. Before doing that I want to clean up the search routines we have. The sample application (more to follow) is 'net maxrid'. Volker
* r6225: get rid of warnings from my compiler about nested externsHerb Lewis2005-04-061-1/+1
|
* r5316: Get 'net afskey' into a subcommand of its own, 'net afs key'.Volker Lendecke2005-02-101-4/+42
| | | | | | | Implement 'net afs impersonate', generate a token for a specified user. You obviously need to be root for this operation. Volker
* r4850: Fix remaining pdb_setsampwent-calls. Günther Deschner2005-01-191-3/+2
| | | | | | To get all entries use a 0 acb_mask. Guenther
* r4848: fix build; gd please check and make sure this is okGerald Carter2005-01-191-1/+2
|
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2004-12-071-10/+10
| | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy.
* r3761: Fix bug #1932: crash when non-root invokes net getlocalsidJim McDonough2004-11-151-1/+9
| | | | First check to see if we can open secrets.tdb.
* r2935: This is a long-standing one in my patch-queue: A pair of net commandsVolker Lendecke2004-10-121-0/+1
| | | | | | | (usersidlist/allowedusers) to scan a file server's share and list all users who have permission to connect there. Volker
* r2835: Since we always have -I. and -I$(srcdir) in CFLAGS, we can get rid of Tim Potter2004-10-071-1/+1
| | | | | '..' from all #include preprocessor commands. This fixes bugzilla #1880 where OpenVMS gets confused about the '.' characters.
* r2832: Readd WKGUID-binding to match the correct default-locations of newGünther Deschner2004-10-061-1/+1
| | | | | | | | | | | | | | | User-, Group- and Machine-Accounts in Active Directory (this got lost during the last trunk-merge). This way we match e.g. default containers moved by redircmp.exe and redirusr.exe in Windows 2003 and don't blindly default to cn=Users or cn=Computers. Further wkguids can be examied via "net ads search wellknownobjects=*". This should still keep a samba3-client joining a samba4 dc. Fixes Bugzilla #1343. Guenther
* r2080: Remove last traces of static migration to localhost. Needed to allow aGünther Deschner2004-08-261-10/+14
| | | | | | | | | local netbios-alias bound to non-loopback interface as a migration target. It's now possible to migrate printers|shares|files from Server A to Server B while running the net-command on client C. Guenther
* r1966: further work on and cleanup of the net-migration-tool.Günther Deschner2004-08-201-5/+9
| | | | | | | It's now possible to migrate files preserving dos-attributes and correct timestamps. Also added some small docu- and syntax-fixes. Guenther
* r1716: Get rid of a compiler warning. "pipe" is a symbol that is defined as ↵Volker Lendecke2004-08-111-2/+2
| | | | | | | | a system call, and gcc -Wall complains about a shadowed definition. Volker
* r1692: first commit :)Günther Deschner2004-08-101-5/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add IA64 to the architecture table of printer-drivers * add new "net"-subcommands: net rpc printer migrate {drivers|printers|forms|security|settings|all} [printer] net rpc share migrate {shares|files|all} [share] this is the first part of the migration suite. this will will (once feature-complete) allow to do 1:1 server-cloning in the best possible way by making heavy use of samba's rpc_client-functions. all migration-steps are implemented as rpc/smb-client-calls; net communicates via rpc/smb with two servers at the same time (a remote, source server and a destination server that currently defaults to the local smbd). this allows e. g. printer-driver migration including driverfiles, recursive mirroring of file-shares including file-acls, etc. almost any migration step can be called with a migrate-subcommand to provide more flexibility during a migration process (at the cost of quite some redundancy :) ). "net rpc printer migrate settings" is still in a bad condition (many open questions that hopefully can be adressed soon). "net rpc share migrate security" as an isolated call to just migrate share-ACLs will be added later. Before playing with it, make sure to use a test-server. Migration is a serious business and this tool-set can perfectly overwrite your existing file/print-shares. * along with the migration functions had to make I the following changes: - implement setprinter level 3 client-side - implement net_add_share level 502 client-side - allow security descriptor to be set in setprinterdata level 2 serverside guenther
* r269: Patch from Krischan Jodies <kj@sernet.de>: Implement 'net rpc group ↵Volker Lendecke2004-04-181-1/+2
| | | | | | delete'. Volker
* r21: Ensure 'net' follows the behaviour of all other samba client tools,Andrew Bartlett2004-04-051-5/+3
| | | | and honours the 'netbios name' in the smb.conf.
* r4: merge in the SAMBA_3_0 branch from cvsCVS Import User2004-04-041-1/+0
| | | | | | | | to checkout try this: svn co svn+ssh://svn.samba.org/home/svn/samba/branches/SAMBA_3_0 samba-3_0-work metze
* r2: import HEAD into svn+ssh://svn.samba.org/home/svn/samba/trunkCVS Import User2004-04-041-0/+796
metze