summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
* Janitorial duty for tpot - --with-fhs fix.Jeremy Allison2004-03-021-7/+14
| | | | Jeremy.
* fix typo for callback bitJim McDonough2004-03-021-1/+1
|
* allow the 'printing' parameter to be set on a per share basis.Gerald Carter2004-03-021-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 Carter2004-03-021-46/+50
| | | | options
* BUG 692: patch from SATOH Fumiyasu <fumiya@miraclelinux.com> to correct ↵Gerald Carter2004-03-011-4/+4
| | | | truncation of share names and workgroup names
* BUG 1147; bad pointer case in get_stored_queue_info() causing seg faultGerald Carter2004-03-011-1/+1
|
* net_rpc.c: Don't complain if [add|del]mem was successful.Volker Lendecke2004-02-292-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 fromVolker Lendecke2004-02-291-0/+6
| | | | | | something not a group. Volker
* Add 'net rpc group [add|del]mem' for domain groups and aliases.Volker Lendecke2004-02-284-3/+732
| | | | Volker
* Fix my fix to net rpc group list. We can certainly have more than a singleVolker Lendecke2004-02-281-3/+6
| | | | | | set of groups. Volker
* Can't set allocation size on directories, return correct error code onJeremy Allison2004-02-283-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 Allison2004-02-282-13/+34
| | | | Jeremy.
* Added copyrights I forgot about looong ago...Rafal Szczesniak2004-02-272-2/+4
| | | | rafal
* Fix for writable printerdata problem - bugzilla #1112.Tim Potter2004-02-261-6/+12
|
* That const was one too manyVolker Lendecke2004-02-261-3/+2
|
* Implement 'net groupmap set' and 'net groupmap cleanup'.Volker Lendecke2004-02-263-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 constVolker Lendecke2004-02-261-1/+1
|
* Apply some constVolker Lendecke2004-02-261-2/+3
| | | | Volker
* Fixes to minor security bug pointed out by AB in the mount helperSteve French2004-02-261-1/+8
|
* fixed compilation with --enable-dmallocAndrew Tridgell2004-02-262-4/+4
| | | | | the macro redefinition of free() means we cannot have a structure element called "free"
* Merging Richard's rename test.Jeremy Allison2004-02-261-6/+75
| | | | Jeremy.
* Interesting fact found by IFSTEST /t LockOverlappedTest...Jeremy Allison2004-02-261-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 fromAndrew Bartlett2004-02-252-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 Bartlett2004-02-254-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 Allison2004-02-251-1/+2
| | | | Jeremy.
* Do the query part of the previous fix...reset time and duration are set in ↵Jim McDonough2004-02-251-2/+2
| | | | minutes, not seconds. Works from usrmgr.
* reset time and duration are set in minutes, not seconds. Works from usrmgr.Jim McDonough2004-02-251-2/+2
|
* Figured out a new flags bit with gentest and ethereal....Jeremy Allison2004-02-252-2/+11
| | | | Jeremy.
* More gentest fun :-). NB. I'm not fixing OpenX breakage 'cos if you lookJeremy Allison2004-02-251-5/+27
| | | | | at what W2K3 accepts here it's COMPLETELY BROKEN ! :-). Jeremy.
* More gentest fixes.Jeremy Allison2004-02-251-6/+17
| | | | Jeremy.
* Add 'net rpc group add'. For this parse_samr.c had to be changed: TheVolker Lendecke2004-02-244-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 Lendecke2004-02-241-1/+0
| | | | Volker
* 'net idmap restore' is too useful to be left broken :-)Volker Lendecke2004-02-241-1/+105
| | | | | | Set the HWM values correctly after having manipulated the tdb. Volker
* Ensure '.' and '..' don't match in delete requests.Jeremy Allison2004-02-241-1/+4
| | | | Jeremy.
* More gentest error fixups.Jeremy Allison2004-02-243-2/+13
| | | | Jeremy.
* Fixup bad-path error found by gentest.Jeremy Allison2004-02-241-4/+6
| | | | Jeremy.
* Added NTrename SMB (0xA5) - how did we miss this.... ?Jeremy Allison2004-02-244-2/+55
| | | | Jeremy.
* Fixup correct timeout values for blocking lock timeouts (tested at connectathonJeremy Allison2004-02-241-1/+1
| | | | | by Herb). Jeremy.
* Found by Fabien Chevalier <fabien.chevalier@supelec.fr> andAndrew Bartlett2004-02-231-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 withJeremy Allison2004-02-232-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 aixJim McDonough2004-02-238-14/+14
|
* Add bad password count/time attributesJim McDonough2004-02-232-0/+3
|
* Add calls to password lockout functions. Should now work against tdbsam only.Jim McDonough2004-02-211-0/+38
|
* printf -> d_printfTim Potter2004-02-211-1/+1
| | | | Bugzilla #1066.
* Make SMB_FILE_ACCESS_INFORMATION call work correctly.Jeremy Allison2004-02-203-8/+13
| | | | Jeremy.
* Make us bug-for-bug compatible with W2K3 - to get delete on close semanticsJeremy Allison2004-02-203-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 durationJim McDonough2004-02-201-4/+4
|
* Make default lockout duration and reset count time 30 minutes, to match ↵Jim McDonough2004-02-201-2/+2
| | | | windows, and also be valid (0 was invalid)
* just say no to crackGerald Carter2004-02-201-1/+1
|
* <attr/xattr.h> & <sys/xattr.h> are mutually exclusive it seems; fix build on ↵Gerald Carter2004-02-201-3/+2
| | | | SuSE 8.2