summaryrefslogtreecommitdiffstats
path: root/source/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix for ENOSPC from DCB.Jeremy Allison2001-03-271-4/+10
| | | | Jeremy.
* Fix from Ryo Kawahara <rkawa@lbe.co.jp> to make SWAT correctly write and ↵Jeremy Allison2001-03-261-2/+12
| | | | | | | smb.conf file in utf8. Jeremy.
* groupdb/mapping.c:Jeremy Allison2001-03-231-0/+2
| | | | | | | | | include/proto.h: Fix missing (void) in proto. rpc_server/srv_samr_nt.c: Fix user private group problem by filtering out groups that clash with users. smbd/posix_acls.c: Ensure default ACE's are sensible. utils/pdbedit.c: Fix from Simo Sorce. Jeremy.
* can delete mapping from command line now.Jean-François Micouleau2001-03-231-12/+15
| | | | J.F.
* first pass of the new group mapping codeJean-François Micouleau2001-03-231-0/+341
| | | | J.F.
* added -E option (for exit on errors)Andrew Tridgell2001-03-211-2/+8
| | | | forced exclusion of filenames containing only '.' as NT rejects those
* latest attempt at lanman1 wildcard matchingAndrew Tridgell2001-03-211-4/+20
|
* patches from Simo. Couple of snity thingsGerald Carter2001-03-141-4/+4
|
* Added JF's new util.Jeremy Allison2001-03-111-0/+64
| | | | Jeremy.
* Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMRJeremy Allison2001-03-112-14/+9
| | | | | | RPC code to merge with new passdb code. Currently rpcclient doesn't compile. I'm working on it... Jeremy.
* Ooops - forgot to check the rpcclient and smbcacls compile with the newJeremy Allison2001-02-281-22/+18
| | | | | code :-(. Jeremy.
* better handling of '.'Andrew Tridgell2001-02-271-15/+17
| | | | better verbose print
* remove some test codeAndrew Tridgell2001-02-271-1/+2
|
* almost there with lanman1 wildcards. We now seem to correctly handleAndrew Tridgell2001-02-271-4/+17
| | | | | '<', '>', '"' and '?' when combined with '.'. The '*' character is proving troublesome.
* I have now found that despite initial appearences the lanman1 wildcardAndrew Tridgell2001-02-271-35/+24
| | | | | | algorithm does *not* match separately on base and extension. I also added a -v option to masktest for verbose output
* made some LANMAN1 wildcard progressAndrew Tridgell2001-02-261-6/+7
| | | | it now handles -M LANMAN1 -f '.x' -m '?x' nicely
* made some progress in masktestAndrew Tridgell2001-02-261-16/+15
| | | | it now handles the server renaming files on create
* a snapshot of my attempts to get wildcard matching right for LANMAN1Andrew Tridgell2001-02-251-10/+108
| | | | | clients. This is not complete and not correct - expect some more work on this soon
* make sure denied aces are firstAndrew Tridgell2001-02-231-1/+1
|
* cast the qsortAndrew Tridgell2001-02-231-1/+1
|
* - fixed the sort_acl bug, sorting now works rightAndrew Tridgell2001-02-231-45/+32
| | | | | - don't allow setting of duplicate ACEs - fixed a ACE delete bug
* don't crash on null acl sortAndrew Tridgell2001-02-221-0/+2
|
* fixed character set init in smbw_sampleAndrew Tridgell2001-02-221-0/+2
|
* - workaround filer lsa lookup bug for unknown sidsAndrew Tridgell2001-02-221-11/+10
| | | | - add \ at start of name if not needed (another filer workaround)
* cope with filer/NT/samba all in one binary. yeah.Andrew Tridgell2001-02-221-7/+35
| | | | we now don't open rw for acls
* fixed a crash bug in smbpasswdAndrew Tridgell2001-02-211-1/+0
| | | | (the user can come from optarg, so we can't free it)
* don't need _uni hack nowAndrew Tridgell2001-02-201-30/+6
|
* playing with CAP_NT_SMBSAndrew Tridgell2001-02-201-2/+2
|
* Merge of JohnR's changes to appliance-head, JF's changes to 2.2,Jeremy Allison2001-02-121-19/+32
| | | | | updated the POSIX_ACL code to be in sync. Jeremy.
* Some systems don't support SEC_RIGHTS_MAXIMUM_ALLOWED for lsa_open_policy()Tim Potter2001-01-231-1/+5
| | | | but NT sends 0x2000000 so we might as well do it too.
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-111-2/+9
| | | | | | | | source/lib/smbpasswd.c - Only call load_interfaces() when doing a network related operation. This means you can add, remove, enable or disable smbpasswd entries without a network. Changing passwords always requires a network.
* Needed a callback arg on cli_list ...Richard Sharpe2001-01-052-8/+8
|
* I need a callback arg for cli_NetServerEnum and cli_RNetShareEnum, so I hadRichard Sharpe2001-01-041-3/+3
| | | | | | to modifiy any routine that calls it to pass NULL and so forth. Should have no impact. It compiles OK.
* Return appropriate exit codes for various situations:Tim Potter2000-12-211-22/+32
| | | | | | 0 for success 1 if operation failed 2 command line parse error
* Don't call string_to_sid after cli_lsa_lookup_names() fails.Tim Potter2000-12-211-2/+55
| | | | | | | | | | Can't use space as a ACL separator as it breaks NT user/group names that contain spaces (i.e most of the default ones). The MSDN is contradictory over the exact ordering of ACE entries in an ACL. However NT4 gives a "The information may have been modified by a computer running Windows NT 5.0" if denied ACEs do not appear before allowed ACEs. Sort ACE list before calling cli_set_secdesc().
* Some systems seem to only accept a ntcreate&x with a unicode filenameTim Potter2000-12-211-5/+45
| | | | | | | despite samba negotiating ascii filenames. Retry with unicode pathnames if the ascii version fails. Convert all forward slashes to backslashes in the filename argument.
* Cleaned up SidToString() and StringToSid() exit paths.Tim Potter2000-12-211-17/+27
| | | | | Can now use user%password format in $USER environment variable. -U option is now optional.
* implemented a much nicer name_status() interface. It now returns aAndrew Tridgell2000-12-201-6/+51
| | | | | | | list of structures rather than the dodgy parsing code we had before this also gets smbw working correctly with no initial workgroup (using name_status_find on __MSBROWSE__ returns)
* Added -C username and -G username that allow a user (usually Administrator)Jeremy Allison2000-12-161-5/+61
| | | | | | | | to change the ownership or group ownership of a file to any arbitrary user from the UNIX command line. This will show the people who quote NT manuals at us about how this is "impossible" how their operating system really works :-). Jeremy.
* Fixed memory leaks in lsa_XX calls. Fixed memory leaks in smbcacls. MergedJeremy Allison2000-12-152-8/+25
| | | | | | in fixes from appliance-head and 2.2. Fixed multiple connection.tdb open problem. Jeremy.
* Renamed parameters and variables called acl to the_acl as it conflictsTim Potter2000-12-141-18/+18
| | | | with a Solaris system call.
* Cache lsa connection and policy handle for resolving names and sids.Tim Potter2000-12-141-48/+56
|
* Convert names to sids when modifying ACLs. Convert sids to names whenTim Potter2000-12-131-10/+68
| | | | displaying ACLs.
* Don't print out the security descriptor type as it is automaticallyTim Potter2000-12-121-7/+1
| | | | calculated by the new make_sec_desc() function.
* Better error checking for ACL parsing.Tim Potter2000-12-121-7/+21
| | | | Print an error when attempting to delete a non-existent ACL.
* Fixed very subtle bug returning correct error on an open, when we haveJeremy Allison2000-12-111-2/+69
| | | | | | | a choice of invalid share mode and access denied. We must return the access denied by preference, but also remember to break the oplocks... This is needed for multi-user MS-Access. Jeremy.
* Added undocumented -t command for testing parsing of acl entries.Tim Potter2000-12-071-11/+118
| | | | | | | | | | | Print out hex value for ace mask if we can't decode it. We can now parse FULL,CHANGE,READ as well as combos of RWXDPO as ace mask values. Clarified usage message. Bomb out if excess args are given.
* added passdb editor (rough form with a few bugs) Should workGerald Carter2000-12-061-0/+692
| | | | | | | with all backends. --jerry
* added a commentAndrew Tridgell2000-12-041-0/+2
|
* fixed the parsing again and got setting acls working with w2kAndrew Tridgell2000-12-041-3/+3
|