summaryrefslogtreecommitdiffstats
path: root/source/lib/substitute.c
Commit message (Collapse)AuthorAgeFilesLines
* sync with SAMBA_2_2 for 2.2.6rc1Gerald Carter2002-10-091-9/+5
|
* merging for 2.2.6pre1Gerald Carter2002-07-271-16/+16
|
* Start of merge to 2_2_RELEASE branch for release.Jeremy Allison2002-04-301-1/+16
| | | | Jeremy.
* Move over to RELEASE branch.Jeremy Allison2002-02-011-23/+58
| | | | Jeremy.
* Syncup getting ready for release.Jeremy Allison2001-07-061-2/+12
| | | | Jeremy.
* Got "medieval on our ass" about adding the -1 to slprintf.Jeremy Allison2001-04-081-1/+1
| | | | Jeremy.
* Patch to make automount lookup fallback to get home directory from getpwnam.Jeremy Allison2001-03-261-9/+15
| | | | | From Robert Montjoy <Rob_Montjoy@ECECS.UC.EDU>. Jeremy.
* include/vfs.h:Jeremy Allison2001-01-231-2/+3
| | | | | | | | | | | | | smbd/vfs-wrap.c: smbd/vfs.c: Added fchmod_acl and chmod_acl. lib/substitute.c: smbd/lanman.c: smbd/open.c: smbd/process.c: smbd/reply.c: smbd/service.c: Removed sessetup_user variable. Added current_user_info struct which conatins domain info etc. Added '%D' for client domain parameter. Jeremy.
* Call standard_sub_advanced() after lp_logon_XX() calls.Jeremy Allison2000-10-301-3/+0
| | | | Jeremy.
* Fixing someone's problem where %U was not being substituted.Richard Sharpe2000-10-301-0/+3
| | | | | | | | Not sure if this is the right fix ... Will take more code perusing than I have done so far, and may need to look things up in a vuid? Anyway, NET USE H: /HOME now works for Win9X clients ... Now for Win2K which does not work. One of the RPCs is not working.
* - fixed the %U macro so that the old (and documented) semantics workAndrew Tridgell2000-08-251-2/+13
| | | | | | | | | again. This got broken with one of the substitute.c updates a couple of months ago. - also fixed %u to return the username from the current_user structure when called via a method that does not have direct access to the username. I cache the uidtoname() result to prevent thrashing nss.
* do some standard_sub_advanced() in api_net_sam_logon on lp_logon_xxx().Jean-François Micouleau2000-06-091-1/+1
| | | | | | | and if you have unix realname=yes, you get the gecos name when locking the station. J.F.
* split the username in the vuser structure into a separateAndrew Tridgell2000-05-021-2/+2
| | | | | | | | userdom_struct. As the name implies this also contains a domain (unused at the moment). This will be important shortly, as operation in appliance mode needs the domain to be always carried with the username.
* Added sys_fork() and sys_getpid() functions to stop the overheadJeremy Allison2000-05-021-1/+1
| | | | | of doing a system call every time we want to just get our pid. Jeremy.
* Now that fsp's are created on successful file open, the structure memberJeremy Allison2000-04-241-1/+0
| | | | | | | | | | | | fsp->open is no longer needed (if an fsp pointer is valid, then it's open :-). NB for Luke, this patch also did not apply to TNG. TNG is not yet identical w.r.t file serving with HEAD. This makes it impossible for me to help maintain TNG. Please fix asap. lib/substitute.c: Removed unused variable (pidstr). Jeremy.
* split out standard_sub_basic() again to fix a bug where %p was beingAndrew Tridgell2000-04-231-14/+29
| | | | substituted in the loadparm code and thus leaving lpq with no printer
* - got rid of the "passive" optionAndrew Tridgell2000-04-191-70/+54
| | | | - cleaned up the standard_sub_*() calls a lot
* moved standard_sub() and friends into a separate moduleAndrew Tridgell2000-04-171-0/+295