Changeset 706
- Timestamp:
- Jul 9, 2012, 11:30:49 AM (13 years ago)
- Location:
- branches/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/scripts/group/groupmod.cmd
r705 r706 1 1 /* GroupMod script for Samba Server for eCS (OS/2) */ 2 Version = '2.2. 2'2 Version = '2.2.3' 3 3 /* Copyright (C) netlabs.org 2007-2012 4 4 … … 312 312 313 313 _GroupJoin: /* Add a new user to the groups user STEM */ 314 /* Translate machine account to upper case - Samba 3.3 needs this */ 315 if right(User,1) = "$" then User = translate(User) 314 316 do I = 1 to groupname.0 315 317 if translate(groupname.I) = translate(group) then do -
branches/scripts/user/usermod.cmd
r705 r706 1 1 /* UserMod script for Samba Server for eCS (OS/2) */ 2 Version = '2.3. 4'2 Version = '2.3.5' 3 3 /* Copyright (C) netlabs.org, Herwig Bauernfeind 2007-2012 4 4 … … 266 266 /* parse fields into stem variables */ 267 267 J = J + 1 268 parse var userline username.J':'password.J':'uid.J':'gid.J':'LoginClass.J':'pwchange.J':'deact.J':'gecos.J':'home.J':'shell.J 269 Status.J ="" 268 parse var userline username.J':'password.J':'uid.J':'gid.J':'LoginClass.J':'pwchange.J':'deact.J':'gecos.J':'home.J':'shell.J 269 /* translate any machine account to upper case - Samba 3.3 seems to need this */ 270 if right(username.J,1) = "$" then username.J = translate(username.J) 271 Status.J ="" 270 272 do K = 1 to J - 1 271 273 if translate(Username.K) = translate(Username.J) then do
Note:
See TracChangeset
for help on using the changeset viewer.