summaryrefslogtreecommitdiffstats
path: root/source/utils
Commit message (Collapse)AuthorAgeFilesLines
* r22479: Add "net ads keytab list".Günther Deschner2007-10-101-1/+9
| | | | Guenther
* r22412: Add a "deletelocalgroup" subcommand to net sam.Michael Adam2007-10-101-0/+42
| | | | Thanks to Karolin Seeger <ks@sernet.de>.
* r22282: Fix last few name -> servicename changes.Jeremy Allison2007-10-102-3/+3
| | | | Jeremy.
* r22135: Check in most of Michael Adam's net conf utility. A good share of ↵Volker Lendecke2007-10-103-0/+1122
| | | | | | | | | | | | this patch is moving functions around to fix some linker dependencies for the registry. Michael, I've renamed your auth_utils2.c to token_utils.c. Thanks! Volker
* r22071: Make the error message for incorrect use of '-c' show the parameter ↵Andrew Bartlett2007-10-101-1/+1
| | | | | | | | | | as used. This means that smbpasswd -c user (which in htpasswd creates a new file) and smbpasswd -c /not/my/smb.conf should give errors an admin will think to chase down. Andrew Bartlett
* r22009: change TDB_DATA from char * to unsigned char *Stefan Metzmacher2007-10-101-1/+1
| | | | | | and fix all compiler warnings in the users metze
* r22003: Fix from Jiri.Sasek@Sun.COM to wrap our krb5_locate_kdcJeremy Allison2007-10-101-2/+2
| | | | | | call as smb_krb5_locate_kdc to prevent incorrect linking and crashes on Solaris. Jeremy.
* r22001: change prototype of dump_data(), so that it takes unsigned char * now,Stefan Metzmacher2007-10-102-16/+16
| | | | | | | | which matches what samba4 has. also fix all the callers to prevent compiler warnings metze
* r22000: remove useless castsStefan Metzmacher2007-10-101-9/+9
| | | | metze
* r21962: Make pdbedit use the configfile specified by -sVolker Lendecke2007-10-101-1/+6
|
* r21888: Add the osname and osver options to 'net ads join' as discussedGerald Carter2007-10-101-1/+94
| | | | | | | | on the samba-technical ml. I'll add a 'net ads set attribute=value' utility later rather than the original 'net ads setmachineupn' patch that was also posted to the tech ml.
* r21831: Back out r21823 for a while, this is going into a bzr tree first.Volker Lendecke2007-10-103-8/+3
| | | | Volker
* r21823: Let secrets_store_machine_password() also store the account name. ↵Volker Lendecke2007-10-103-3/+8
| | | | | | | | | Not used yet, the next step will be a secrets_fetch_machine_account() function that also pulls the account name to be used in the appropriate places. Volker
* r21784: Replace smb_register_idle_event() with event_add_timed(). This fixes ↵Volker Lendecke2007-10-104-5/+5
| | | | | | | | winbind who did not run the idle events to drop ldap connections. Volker
* r21780: let smbcontrol use POPT_COMMON_SAMBA options to allow setting debugHerb Lewis2007-10-101-20/+8
| | | | | level. Fix calculation of argc after options are stripped. I couldn't find a popt function that returned this.
* r21776: fix bugs #4438 #4440Simo Sorce2007-10-101-4/+10
|
* r21768: Fix the client dfs code such that smbclient canJeremy Allison2007-10-101-2/+10
| | | | | | | | | process deep dfs links (ie. links that go to non root parts of a share). Make the directory handling conanonical in POSIX and Windows pathname processing. dfs should not be fully working in client tools. Please bug me if not. Jeremy.
* r21755: Memory leak fixes from Zack Kirsch <zack.kirsch@isilon.com>.Jeremy Allison2007-10-102-0/+10
| | | | Jeremy.
* r21714: Change the VFS interface to use struct timespecJeremy Allison2007-10-103-6/+6
| | | | | | | | | | for utimes - change the call to ntimes. This preserves nsec timestamps we get from stat (if the system supports it) and only maps back down to usec or sec resolution on time set. Looks bigger than it is as I had to move lots of internal code from using time_t and struct utimebuf to struct timespec. Jeremy.
* r21663: Fix from the Wine guys: Robert Shearman <rob@codeweavers.com>Jeremy Allison2007-10-101-1/+2
| | | | | | | | The background behind this patch is that we're using ntlm_auth with Wine. Windows allows us to pass in a NULL domain and a username of the form of "user@domain" and this is converted into an NTLMSSP_AUTH packet with a NULL domain name and a username of the same form. Jeremy.
* r21609: Fix memory leaks in error code paths (and one in winbindd_group.c).Jeremy Allison2007-10-102-0/+31
| | | | | Patch from Zack Kirsch <zack.kirsch@isilon.com>. Jeremy.
* r21608: Fix a couple of memleaks in error code paths beforeJeremy Allison2007-10-101-1/+10
| | | | | Coverity finds them :-) Jeremy.
* r21607: While committing I saw I had not newline terminated this string ...Simo Sorce2007-10-101-1/+1
|
* r21606: Implement escaping function for ldap RDN valuesSimo Sorce2007-10-102-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix escaping of DN components and filters around the code Add some notes to commandline help messages about how to pass DNs revert jra's "concistency" commit to nsswitch/winbindd_ads.c, as it was incorrect. The 2 functions use DNs in different ways. - lookup_usergroups_member() uses the DN in a search filter, and must use the filter escaping function to escape it Escaping filters that include escaped DNs ("\," becomes "\5c,") is the correct way to do it (tested against W2k3). - lookup_usergroups_memberof() instead uses the DN ultimately as a base dn. Both functions do NOT need any DN escaping function as DNs can't be reliably escaped when in a string form, intead each single RDN value must be escaped separately. DNs coming from other ldap calls (like ads_get_dn()), do not need escaping as they come already escaped on the wire and passed as is by the ldap libraries DN filtering has been tested. For example now it is possible to do something like: 'net ads add user joe#5' as now the '#' character is correctly escaped when building the DN, previously such a call failed with Invalid DN Syntax. Simo.
* r21540: Fix Bug #3713 and readd reporting what the profiles tool does (whenGünther Deschner2007-10-101-4/+56
| | | | | | | | called with the -v option). Patch from William Jojo <jojowil@hvcc.edu>. Guenther
* r21462: Fix EnumValue (?)Jelmer Vernooij2007-10-101-1/+2
|
* r21417: Janitor for Herb. Make sure sharesec.c is functionallyJeremy Allison2007-10-101-127/+319
| | | | | identical in 3.0.25 and 3.0. Jeremy.
* r21240: Fix longstanding Bug #4009.Günther Deschner2007-10-101-2/+2
| | | | | | | | | | | | | | | | | For the winbind cached ADS LDAP connection handling (ads_cached_connection()) we were (incorrectly) assuming that the service ticket lifetime equaled the tgt lifetime. For setups where the service ticket just lives 10 minutes, we were leaving hundreds of LDAP connections in CLOSE_WAIT state, until we fail to service entirely with "Too many open files". Also sequence_number() in winbindd_ads.c needs to delete the cached LDAP connection after the ads_do_search_retry() has failed to submit the search request (although the bind succeeded (returning an expired service ticket that we cannot delete from the memory cred cache - this will get fixed later)). Guenther
* r21115: notify_internal.c needs to remove the table entry if a process has ↵Volker Lendecke2007-10-101-1/+2
| | | | | | | | | | | crashed. So it needs the specific error message. Make messages.c return NTSTATUS and specificially NT_STATUS_INVALID_HANDLE if sending to a non-existent process. Volker
* r21114: Fix 'net usershare': Adding "guest_ok=y" required a correct acl. Set theVolker Lendecke2007-10-101-4/+6
| | | | | | | | default if "" is set. And fix the calculation for too man shares. Thanks to Karolin Seeger <ks@sernet.de> Volker
* r21064: The core of this patch isVolker Lendecke2007-10-102-12/+15
| | | | | | | | | | | | | | | | | | | | | | void message_register(int msg_type, void (*fn)(int msg_type, struct process_id pid, - void *buf, size_t len)) + void *buf, size_t len, + void *private_data), + void *private_data) { struct dispatch_fns *dfn; So this adds a (so far unused) private pointer that is passed from message_register to the message handler. A prerequisite to implement a tiny samba4-API compatible wrapper around our messaging system. That itself is necessary for the Samba4 notify system. Yes, I know, I could import the whole Samba4 messaging system, but I want to do it step by step and I think getting notify in is more important in this step. Volker
* r21010: fix the pstring change in ntlm_auth for require-membership-of in ↵Gerald Carter2007-10-101-1/+1
| | | | ntlm_auth
* r20917: Fix missing error returns pointed out by "Li, Ying (ESG)" ↵Jeremy Allison2007-10-101-0/+3
| | | | | | <ying.li2@hp.com> Jeremy.
* r20903: Replace the hardcoded "smb.conf" string with the dyn_CONFIGFILEGerald Carter2007-10-101-6/+7
|
* r20874: We need to distinguish client sitenames per realm. We were overwritingGünther Deschner2007-10-101-2/+4
| | | | | | | the stored client sitename with the sitename from each sucessfull CLDAP connection. Guenther
* r20857: Silence gives assent :-). Checking in the fix forJeremy Allison2007-10-102-16/+17
| | | | | | | | | site support in a network where many DC's are down. I heard via Volker there is still a bug w.r.t the wrong site being chosen with trusted domains but we'll have to layer that fix on top of this. Gd - complain if this doesn't work for you. Jeremy.
* r20832: Remove extra pointers previously added to unique [out] pointers. ↵Jelmer Vernooij2007-10-103-42/+24
| | | | | | | | | Instead, add [ref] pointers where necessary (top-level [ref] pointers, by spec, don't appear on the wire). This brings us closer to the DCE/RPC standard again.
* r20824: Send access to the trusted domain passwords through the pdb backend, ↵Volker Lendecke2007-10-101-9/+9
| | | | | | | | | | so that in the next step we can store them in LDAP to be replicated across DCs. Thanks to Michael Adam <ma@sernet.de> Volker
* r20744: Fix the build (I missed some chkpth -> checkpath renames).Jeremy Allison2007-10-101-2/+2
| | | | Jeremy.
* r20654: Fix from Karolin Seeger <ks@sernet.de>: Accept "forever", "off" and ↵Volker Lendecke2007-10-101-7/+15
| | | | | | | | "never" as key words for -1 as policy values for net sam policy. Volker
* r20498: Two 64-bit warningsVolker Lendecke2007-10-101-1/+1
|
* r20428: Rename dns_open. This conflicts with the dns_open symbol inJames Peach2007-10-101-2/+2
| | | | libSystem on Mac OS X.
* r20261: merge 20260 from samba_3_0_24Herb Lewis2007-10-104-20/+21
| | | | clean up a bunch of no previous prototype warnings
* r20173: DNS update fixes:Gerald Carter2007-10-102-67/+65
| | | | | | | | | * Fix DNS updates for multi-homed hosts * Child domains often don't have an NS record in DNS so we have to fall back to looking up the the NS records for the forest root. * Fix compile warning caused by mismatched 'struct in_addr' and 'in_addr_t' parameters called to DoDNSUpdate()
* r20170: Fix secure DNS updates to work againstGerald Carter2007-10-101-2/+12
| | | | | | Wnidows 2000 DNS which expects the TKEY payload to be in the answer section and not in the additional set of records (like Windows 2003 and the RFC).
* r20131: get rid of a few no previous prototype warningsHerb Lewis2007-10-101-0/+3
|
* r20119: Update help info indicating how to use separators (forward slash only)Jim McDonough2007-10-101-0/+2
| | | | and properly use backslashes in "net ads join computername="
* r20116: Start merging in the work done to create the new idmap subsystem.Simo Sorce2007-10-102-200/+177
| | | | Simo.
* r20003: Fix error messageVolker Lendecke2007-10-101-1/+1
|
* r20001: Fix bug 4273, thanks to Pascal TerjanVolker Lendecke2007-10-101-1/+1
|