Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Janitorial duty for tpot - --with-fhs fix. | Jeremy Allison | 2004-03-02 | 1 | -7/+14 |
| | | | | Jeremy. | ||||
* | fix typo for callback bit | Jim McDonough | 2004-03-02 | 1 | -1/+1 |
| | |||||
* | allow the 'printing' parameter to be set on a per share basis. | Gerald Carter | 2004-03-02 | 1 | -7/+29 |
| | | | | | | | | | | | | | The problem was that the current_printif struct was set during print_backend_init() based on the 'printcap name'. So you could not use cups and then override the setting for a specific printer by setting 'printing = bsd' (a common setup for pdf generation print services. There is a subtle change in behavior in that the print interface functions are selecting on the basis of lp_printing() and not lp_printcap_name(), but the new behavior seems more intuitive IMHO. | ||||
* | BUG 761: read the config file before initialized default values for printing ↵ | Gerald Carter | 2004-03-02 | 1 | -46/+50 |
| | | | | options | ||||
* | BUG 692: patch from SATOH Fumiyasu <fumiya@miraclelinux.com> to correct ↵ | Gerald Carter | 2004-03-01 | 1 | -4/+4 |
| | | | | truncation of share names and workgroup names | ||||
* | BUG 1147; bad pointer case in get_stored_queue_info() causing seg fault | Gerald Carter | 2004-03-01 | 1 | -1/+1 |
| | |||||
* | net_rpc.c: Don't complain if [add|del]mem was successful. | Volker Lendecke | 2004-02-29 | 2 | -5/+5 |
| | | | | | | srv_samr_nt.c: Correctly report that a user is not member of an alias. Volker | ||||
* | Print an informative error message if trying to add/remove members from | Volker Lendecke | 2004-02-29 | 1 | -0/+6 |
| | | | | | | something not a group. Volker | ||||
* | Add 'net rpc group [add|del]mem' for domain groups and aliases. | Volker Lendecke | 2004-02-28 | 4 | -3/+732 |
| | | | | Volker | ||||
* | Fix my fix to net rpc group list. We can certainly have more than a single | Volker Lendecke | 2004-02-28 | 1 | -3/+6 |
| | | | | | | set of groups. Volker | ||||
* | Can't set allocation size on directories, return correct error code on | Jeremy Allison | 2004-02-28 | 3 | -1/+18 |
| | | | | | fail if file exists and target is a directory. gentest. Jeremy. | ||||
* | More gentest fixes. Fix up regression in IS_NAME_VALID and renames. | Jeremy Allison | 2004-02-28 | 2 | -13/+34 |
| | | | | Jeremy. | ||||
* | Added copyrights I forgot about looong ago... | Rafal Szczesniak | 2004-02-27 | 2 | -2/+4 |
| | | | | rafal | ||||
* | Fix for writable printerdata problem - bugzilla #1112. | Tim Potter | 2004-02-26 | 1 | -6/+12 |
| | |||||
* | That const was one too many | Volker Lendecke | 2004-02-26 | 1 | -3/+2 |
| | |||||
* | Implement 'net groupmap set' and 'net groupmap cleanup'. | Volker Lendecke | 2004-02-26 | 3 | -0/+157 |
| | | | | | | | | | | | | | | | | | | | | | | I was rather annoyed by the net groupmap syntax, I could never get it right. net groupmap set "domain admins" domadm creates a mapping, net groupmap set "domain admins" -C "Comment" -N "newntname" should also do what you expect. I'd like to have some feedback on the usability of this. net groupmap cleanup solves a problem I've had two times now: Our SID changed, and a user's primary group was mapped to a SID that is not ours. net groupmap cleanup removes all mappings that are not from our domain sid. Volker | ||||
* | And another little const | Volker Lendecke | 2004-02-26 | 1 | -1/+1 |
| | |||||
* | Apply some const | Volker Lendecke | 2004-02-26 | 1 | -2/+3 |
| | | | | Volker | ||||
* | Fixes to minor security bug pointed out by AB in the mount helper | Steve French | 2004-02-26 | 1 | -1/+8 |
| | |||||
* | fixed compilation with --enable-dmalloc | Andrew Tridgell | 2004-02-26 | 2 | -4/+4 |
| | | | | | the macro redefinition of free() means we cannot have a structure element called "free" | ||||
* | Merging Richard's rename test. | Jeremy Allison | 2004-02-26 | 1 | -6/+75 |
| | | | | Jeremy. | ||||
* | Interesting fact found by IFSTEST /t LockOverlappedTest... | Jeremy Allison | 2004-02-26 | 1 | -1/+8 |
| | | | | | | | | | | | Even if it's our own lock context, we need to wait here as there may be an unlock on the way. So I removed a "&& !my_lock_ctx" from the following if statement. if ((lock_timeout != 0) && lp_blocking_locks(SNUM(conn)) && ERROR_WAS_LOCK_DENIED(status)) { Jeremy. | ||||
* | Fix bug in previous global_sam_sid() commit. I broke the 'read from | Andrew Bartlett | 2004-02-25 | 2 | -1/+6 |
| | | | | | | | | | | MACHINE.SID' file functionality. Also, before we print out the results of 'net getlocalsid' and 'net getdomainsid', ensure we have tried to read that file, or have generated one. Andrew Bartlett | ||||
* | I *hate* global variables... | Andrew Bartlett | 2004-02-25 | 4 | -31/+61 |
| | | | | | | | | | | | | | | | | | | OK, what was happening here was that we would invalidate global_sam_sid when we set the sid into secrets.tdb, to force a re-read. The problem was, we would do *two* writes into the TDB, and the second one (in the PDC/BDC case) would be of a NULL pointer. This caused smbd startups to fail, on a blank TDB. By using a local variable in the pdb_generate_sam_sid() code, we avoid this particular trap. I've also added better debugging for the case where this all matters, which is particularly for LDAP, where it finds out a domain SID from the sambaDomain object. Andrew Bartlett | ||||
* | Fixup strange rename error case (gentest). | Jeremy Allison | 2004-02-25 | 1 | -1/+2 |
| | | | | Jeremy. | ||||
* | Do the query part of the previous fix...reset time and duration are set in ↵ | Jim McDonough | 2004-02-25 | 1 | -2/+2 |
| | | | | minutes, not seconds. Works from usrmgr. | ||||
* | reset time and duration are set in minutes, not seconds. Works from usrmgr. | Jim McDonough | 2004-02-25 | 1 | -2/+2 |
| | |||||
* | Figured out a new flags bit with gentest and ethereal.... | Jeremy Allison | 2004-02-25 | 2 | -2/+11 |
| | | | | Jeremy. | ||||
* | More gentest fun :-). NB. I'm not fixing OpenX breakage 'cos if you look | Jeremy Allison | 2004-02-25 | 1 | -5/+27 |
| | | | | | at what W2K3 accepts here it's COMPLETELY BROKEN ! :-). Jeremy. | ||||
* | More gentest fixes. | Jeremy Allison | 2004-02-25 | 1 | -6/+17 |
| | | | | Jeremy. | ||||
* | Add 'net rpc group add'. For this parse_samr.c had to be changed: The | Volker Lendecke | 2004-02-24 | 4 | -5/+160 |
| | | | | | | | | group_info4 in set_dom_group_info also has the level in the record itself. This seems not to be an align. Tested with NT4 usrmgr.exe. It can still create a domain group on a samba machine. Volker | ||||
* | Remove unused variable. | Volker Lendecke | 2004-02-24 | 1 | -1/+0 |
| | | | | Volker | ||||
* | 'net idmap restore' is too useful to be left broken :-) | Volker Lendecke | 2004-02-24 | 1 | -1/+105 |
| | | | | | | Set the HWM values correctly after having manipulated the tdb. Volker | ||||
* | Ensure '.' and '..' don't match in delete requests. | Jeremy Allison | 2004-02-24 | 1 | -1/+4 |
| | | | | Jeremy. | ||||
* | More gentest error fixups. | Jeremy Allison | 2004-02-24 | 3 | -2/+13 |
| | | | | Jeremy. | ||||
* | Fixup bad-path error found by gentest. | Jeremy Allison | 2004-02-24 | 1 | -4/+6 |
| | | | | Jeremy. | ||||
* | Added NTrename SMB (0xA5) - how did we miss this.... ? | Jeremy Allison | 2004-02-24 | 4 | -2/+55 |
| | | | | Jeremy. | ||||
* | Fixup correct timeout values for blocking lock timeouts (tested at connectathon | Jeremy Allison | 2004-02-24 | 1 | -1/+1 |
| | | | | | by Herb). Jeremy. | ||||
* | Found by Fabien Chevalier <fabien.chevalier@supelec.fr> and | Andrew Bartlett | 2004-02-23 | 1 | -1/+1 |
| | | | | | | | | | | JustFillBug <mozbugbox@yahoo.com.au> on the Samba lists - a 'max password age' of zero should be considered as 'never expire'. For the timebeing we just set it like -1, but we might revisit this for closer-to-ms behaviour. Andrew Bartlett | ||||
* | Fix "unable to initialize" bug when smbd hasn't been run with | Jeremy Allison | 2004-02-23 | 2 | -2/+8 |
| | | | | | | new system and a user is being added via pdbedit/smbpasswd. Found at Connectathon setup. Jeremy. | ||||
* | Janitor for tpot...bugzilla #1098, msleep already exists on aix | Jim McDonough | 2004-02-23 | 8 | -14/+14 |
| | |||||
* | Add bad password count/time attributes | Jim McDonough | 2004-02-23 | 2 | -0/+3 |
| | |||||
* | Add calls to password lockout functions. Should now work against tdbsam only. | Jim McDonough | 2004-02-21 | 1 | -0/+38 |
| | |||||
* | printf -> d_printf | Tim Potter | 2004-02-21 | 1 | -1/+1 |
| | | | | Bugzilla #1066. | ||||
* | Make SMB_FILE_ACCESS_INFORMATION call work correctly. | Jeremy Allison | 2004-02-20 | 3 | -8/+13 |
| | | | | Jeremy. | ||||
* | Make us bug-for-bug compatible with W2K3 - to get delete on close semantics | Jeremy Allison | 2004-02-20 | 3 | -18/+44 |
| | | | | | | on an initial open the desired_access field *must* contain DELETE_ACCESS, simply having it map from a GENERIC_ALL won't do. Fixes delete on close test. Jeremy. | ||||
* | handle both 0 and -1 as disabling reset count and lockout duration | Jim McDonough | 2004-02-20 | 1 | -4/+4 |
| | |||||
* | Make default lockout duration and reset count time 30 minutes, to match ↵ | Jim McDonough | 2004-02-20 | 1 | -2/+2 |
| | | | | windows, and also be valid (0 was invalid) | ||||
* | just say no to crack | Gerald Carter | 2004-02-20 | 1 | -1/+1 |
| | |||||
* | <attr/xattr.h> & <sys/xattr.h> are mutually exclusive it seems; fix build on ↵ | Gerald Carter | 2004-02-20 | 1 | -3/+2 |
| | | | | SuSE 8.2 |