Ignore:
Timestamp:
Feb 17, 2013, 4:34:32 PM (12 years ago)
Author:
Herwig Bauernfeind
Message:

GUI-Tools: EVFSGUI 2.5 final stuff (including helpfiles EN and DE)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/guitools/shared/masterpasswd.vrs

    r719 r759  
    7272    newmasterpasswd = TempDir'master.passwd'
    7373    ok = SysFileDelete(newmasterpasswd)
    74     call lineout newmasterpasswd, '# Created by smbusers Version 'word(VRGet("Main", "Hinttext"),2)
     74    call lineout newmasterpasswd, '# Created by Samba GUI Tools 'date('E')' 'time(''))
    7575    call lineout newmasterpasswd, '# syntax:'
    7676    call lineout newmasterpasswd, '# username:passwd:UID:GID:login-class:chg pw x sec:deact x sec:GECOS:home:shell'
     
    121121    IF options.!debug == 1 then say time()" _PasswordDBRewrite() done ("pwd_mkdbrc")"
    122122return
     123
     124_MasterPasswdFindUser: procedure expose username.
     125    IF options.!debug == 1 THEN say '_MasterpasswdFindUser("'arg(1)'") started'
     126    FindUser = arg(1)
     127    Idx = 0
     128    do I = 1 to username.0
     129        if translate(username.I) = translate(FindUser) then do
     130            Idx = I
     131            leave
     132        end
     133    end
     134    IF options.!debug == 1 THEN say '_MasterpasswdFindUser("'FindUser'") done, returning 'Idx
     135return idx
Note: See TracChangeset for help on using the changeset viewer.