Changeset 926
- Timestamp:
- Jul 6, 2016, 4:45:40 PM (9 years ago)
- Location:
- branches/guitools-1.0
- Files:
-
- 1 added
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/guitools-1.0/shared/sambainit.vrs
r451 r926 373 373 /*:VRX */ 374 374 _PasswordDbRewrite: 375 IF options.!debug == 1 THEN say "_PasswordDBRewrite() started"375 IF options.!debug == 1 then say time()' _PasswordDBRewrite() started' 376 376 377 377 /* Reset any old rc from pwd_mkdb.exe */ … … 396 396 call _SambaShowError 397 397 end 398 IF options.!debug == 1 THEN say "_PasswordDBRewrite() done ("pwd_mkdbrc")"399 return 398 IF options.!debug == 1 then say time()" _PasswordDBRewrite() done ("pwd_mkdbrc")" 399 return -
branches/guitools-1.0/smbusers/readme.smbusers
r574 r926 1 Local Samba users and groups 0.9.10-test 2 ======================================== 3 4 NOTE: If smbusers.exe detects an error during startup (inspect the console 5 for "ERROR could not find ...." messages), it will not let you save any 6 changes to disk, as this might make the situation worse than it is. 7 8 NOTE: Make sure you have read and understood Ticket #59 at 9 http://svn.netlabs.org/samba before using smbusers.exe! 10 11 NOTE: Ticket #59 seems to be gone in Samba 3.3.x! 12 13 NOTE: smbusers.exe needs rexxini.dll, drctl017.dll, rxcrypt.dll and vrobj.dll 14 somewhere in the LIBPATH. In case you installed a recent Samba WPI this 15 is requirement is fullfilled. 16 17 NOTE: Version 0.5.0 or better are designed to work with the new usermod.cmd 18 script (enclosed for conveniance), which replaces useradd.cmd, 19 userren.cmd and userdel.cmd. Don't forget to update your smb.conf 20 (look into usermod.cmd to see what changes need to be done!). 21 22 NOTE: In case it is not possible to change smb.conf there are forwarder 23 scripts included that translate the old calling convention into the 24 new one. 1 Local Samba users and groups 1.0.4 2 ================================== 25 3 26 4 With smbusers.exe you can … … 63 41 NOTE: There is an alternative icon view on the users page, which does not 64 42 have a particular purpose at this time. 43 44 NOTE: Version 1.0.0 optionally also stores the crypted password in 45 master.passwd. You have to turn on this feature manually. 65 46 66 47 Right click to bring up a context menu. … … 154 135 Ticket #59 situation (groups broken). 155 136 137 NOTE: If smbusers.exe detects an error during startup (inspect the console 138 for "ERROR could not find ...." messages), it will not let you save any 139 changes to disk, as this might make the situation worse than it is. 140 141 NOTE: Make sure you have read and understood Ticket #59 at 142 http://svn.netlabs.org/samba before using smbusers.exe! 143 144 NOTE: Ticket #59 seems to be gone in Samba 3.3.x! 145 146 NOTE: smbusers.exe needs rexxini.dll, drctl017.dll, rxcrypt.dll and vrobj.dll 147 somewhere in the LIBPATH. In case you installed a recent Samba WPI this 148 is requirement is fullfilled. 149 150 NOTE: Version 0.5.0 or better are designed to work with the new usermod.cmd 151 script (enclosed for conveniance), which replaces useradd.cmd, 152 userren.cmd and userdel.cmd. Don't forget to update your smb.conf 153 (look into usermod.cmd to see what changes need to be done!). 154 155 NOTE: In case it is not possible to change smb.conf there are forwarder 156 scripts included that translate the old calling convention into the 157 new one. 158 156 159 157 160 How to get back to a working state in case of a pwd_mkdb.exe error: … … 166 169 167 170 Bug reports appreciated. 168 mailto:herwig.bauernfeind@aon.at 169 HerwigB on irc://freenode/netlabs 171 mailto:herwig.bauernfeind@bitwiseworks.com -
branches/guitools-1.0/smbusers/smbusers.RC
r288 r926 1 icon 1 add_rem_users.ico 2 bitmap 2 netlabs.bmp3 bitmap 4 paper1.bmp 4 bitmap 5 paper2.bmp 5 bitmap 6 paper3.bmp 1 ICON 1 add_rem_users.ICO 2 BITMAP 2 bww_bw.bmp 3 BITMAP 4 PAPER1.BMP 4 BITMAP 5 PAPER2.BMP 5 BITMAP 6 PAPER3.BMP 6 6 icon 8 group.ico 7 bitmap 11 tab11.bmp 8 bitmap 12 tab12.bmp 9 bitmap 13 tab13.bmp 10 bitmap 14 tab14.bmp 11 bitmap 15 tab15.bmp 12 bitmap 16 tab16.bmp 13 bitmap 17 tab17.bmp 14 bitmap 18 tab18.bmp 15 bitmap 21 tab21.bmp 16 bitmap 22 tab22.bmp 17 bitmap 23 tab23.bmp 18 bitmap 24 tab24.bmp 19 bitmap 25 tab25.bmp 20 bitmap 26 tab26.bmp 21 bitmap 27 tab27.bmp 22 bitmap 28 tab28.bmp 7 BITMAP 11 TAB11.BMP 8 BITMAP 12 TAB12.BMP 9 BITMAP 13 TAB13.BMP 10 BITMAP 14 TAB14.BMP 11 BITMAP 15 TAB15.BMP 12 BITMAP 16 TAB16.BMP 13 BITMAP 17 TAB17.BMP 14 BITMAP 18 TAB18.BMP 15 BITMAP 21 TAB21.BMP 16 BITMAP 22 TAB22.BMP 17 BITMAP 23 TAB23.BMP 18 BITMAP 24 TAB24.BMP 19 BITMAP 25 TAB25.BMP 20 BITMAP 26 TAB26.BMP 21 BITMAP 27 TAB27.BMP 22 BITMAP 28 TAB28.BMP 23 23 icon 29 user.ico 24 icon 30 add_users. ico25 icon 31 add_users_d. ico26 icon 32 rem_users. ico27 icon 33 rem_users_d. ico28 icon 34 join_group. ico29 icon 35 join_group_d. ico30 icon 36 leave_group. ico31 icon 37 leave_group_d. ico24 icon 30 add_users.ICO 25 icon 31 add_users_d.ICO 26 icon 32 rem_users.ICO 27 icon 33 rem_users_d.ICO 28 icon 34 join_group.ICO 29 icon 35 join_group_d.ICO 30 icon 36 leave_group.ICO 31 icon 37 leave_group_d.ICO 32 32 icon 38 add_group.ico 33 33 icon 39 add_group_d.ico -
branches/guitools-1.0/smbusers/smbusers.VRP
r579 r926 5 5 RunParameters: 6 6 RunDirectory: U:\Develop\Samba\guitools-1.0\smbusers 7 VRXWindow: __VREMainWindow,1,2156,3228,903, 41928 VRXWindow: __VRESectionListWindow,1,373,12093,11539, 33429 VRXWindow: __VREToolsWindow, 0,3192,9395,6486,166910 VRXWindow: __VREWindListWindow,1,385,8913, 2650,31507 VRXWindow: __VREMainWindow,1,2156,3228,903,5974 8 VRXWindow: __VRESectionListWindow,1,373,12093,11539,6035 9 VRXWindow: __VREToolsWindow,1,3300,9395,5468,1669 10 VRXWindow: __VREWindListWindow,1,385,8913,5348,3150 11 11 UserFile: 1 12 12 UserWindow: Main,1 13 13 UserWindow: AddUser,1 14 UserWindow: About,1 -
branches/guitools-1.0/smbusers/smbusers.VRX
r579 r926 102 102 userdata = VRGet(VRInfo("OBject"),"Userdata") 103 103 parse var userdata Container '|' fieldh '|' VisStatus 104 say userdata105 104 ok = VRMethod(Container,"SetFieldAttr", fieldh, "Visible", \VisStatus ) 106 105 return … … 351 350 ok = stream(samba.!group,'c','close') 352 351 353 NTGroupname. = " "352 NTGroupname. = "(klibc group)" 354 353 NTComment. = "" 355 354 NTGroupType. = "" … … 538 537 539 538 settings.!WriteMasterPwd = VRGetIni( "Settings", "WriteMasterPwd", OurINI) 540 if settings.!WriteMasterPwd = "" then settings.!WriteMasterPwd = 0539 if settings.!WriteMasterPwd = "" then settings.!WriteMasterPwd = 1 541 540 542 541 options.!debug = VRGetIni( "Options", "Debug", OurINI) … … 1524 1523 CurUser = arg(1) 1525 1524 1526 /* "up" hier drin heiát UserProperties*/1525 /* "up" is an abbreviation for UserProperties in here */ 1527 1526 1528 1527 UserProperties = TempDir'UserProperties.txt' … … 1668 1667 ok = VRSet("About","Caption", NLVGetMessage(127)) 1669 1668 ok = VRSet("PB_AboutOK","Caption", NLVGetMessage(2)) 1670 SambaTeam.0 = 8 1671 SambaTeam.1 = 'Paul Smedley' 1672 SambaTeam.2 = 'Yuri Dario' 1673 SambaTeam.3 = 'Herwig Bauernfeind' 1674 SambaTeam.4 = 'Silvan Scherrer' 1675 SambaTeam.5 = 'Alex Taylor' 1676 SambaTeam.6 = 'Nikolay Kolosov' 1677 SambaTeam.7 = 'All the Samba people' 1678 SambaTeam.8 = 'All the netlabs people' 1669 SambaTeam.0 = 9 1670 SambaTeam.1 = 'Silvan Scherrer' 1671 SambaTeam.2 = 'Herwig Bauernfeind' 1672 SambaTeam.3 = 'Vitali Pelenyov' 1673 SambaTeam.4 = 'Paul Smedley' 1674 SambaTeam.5 = 'Yuri Dario' 1675 SambaTeam.6 = 'Alex Taylor' 1676 SambaTeam.7 = 'Nikolay Kolosov' 1677 SambaTeam.8 = 'All the Samba people' 1678 SambaTeam.9 = 'All the netlabs people' 1679 1679 ok = VRSet("About","Font", VRGet("Page_4","Font")) 1680 1680 ok = VRMethod("LB_SambaTeam","AddStringList", "SambaTeam." ) … … 3113 3113 3114 3114 call _SambaInit 3115 say "hier!"3116 3115 if ErrorState then call _OnErrorDisable 3117 say "hier jetzt!" 3116 3118 3117 if StartSamba then do 3119 3118 address cmd samba.!smbcmd' start' 3120 3119 end 3121 say "hier2!"3122 3120 if \_SambaRunning() then do 3123 3121 Msg.Text = NLVGetMessage(107) … … 3612 3610 if SelGroups.0 = 0 then return 3613 3611 do I = 1 to SelGroups.0 3612 if SelGroups.I = "(klibc group)" then iterate 3614 3613 ok = VRCopyFile(samba.!group, samba.!group'.bak') 3615 3614 say samba.!netexe' rpc addmem "'SelGroups.I'" 'Username.SelNr' 'DebugLevel' 'UserCred' 2>'samba.!error' 1>'samba.!msg … … 3715 3714 say samba.!pdbeditexe' --policies-reset 'DebugLevel' 1>'samba.!msg 3716 3715 address cmd samba.!pdbeditexe' --policies-reset 'DebugLevel' 1>'samba.!msg 3717 call _SambaShowMsg "description "3716 call _SambaShowMsg "description unknown parameter" 3718 3717 return 3719 3718 … … 3723 3722 say samba.!pdbeditexe' -P "'VRGet("DDCB_Policy","Value")'" -C 'VRGet("EF_PolValue","Value")' 'DebugLevel' 1>'samba.!msg 3724 3723 address cmd samba.!pdbeditexe' -P "'VRGet("DDCB_Policy","Value")'" -C 'VRGet("EF_PolValue","Value")' 'DebugLevel' 1>'samba.!msg 3725 call _SambaShowMsg "description "3724 call _SambaShowMsg "description unknown parameter" 3726 3725 return 3727 3726 -
branches/guitools-1.0/smbusers/smbusers_de.mkm
r569 r926 201 201 ; More error messages 202 202 SMU0180I: Zuwenig freier Platz auf "%1"! 203 SMU0181 I:204 SMU0182 I:205 SMU0183 I:206 SMU0184 I:207 SMU0185 I:208 SMU0186 I:209 SMU0187 I:210 SMU0188 I:211 SMU0189 I:203 SMU0181?: 204 SMU0182?: 205 SMU0183?: 206 SMU0184?: 207 SMU0185?: 208 SMU0186?: 209 SMU0187?: 210 SMU0188?: 211 SMU0189?: 212 212 ;More settings 213 213 SMU0190I: Passwort auch in master.passwd speichern 214 SMU0191I: Standardbenutzerkonto 215 SMU0192I: Alternatives Benutzerkonto 216 SMU0193I: Administratorkonto 217 SMU0194I: Gastkonto 218 SMU0195?: 219 SMU0196?: 220 SMU0197?: 221 SMU0198?: 222 SMU0199?: -
branches/guitools-1.0/smbusers/smbusers_en.mkm
r569 r926 211 211 ;More settings 212 212 SMU0190I: Write password also to master.passwd 213 SMU0191I: Default user account 214 SMU0192I: Alternative user account 215 SMU0193I: Administrator account 216 SMU0194I: Guest account 217 SMU0195?: 218 SMU0196?: 219 SMU0197?: 220 SMU0198?: 221 SMU0199?: -
branches/guitools-1.0/smbusers/smbusers_es.mkm
r569 r926 211 211 ;More settings 212 212 SMU0190I: Write password also to master.passwd 213 SMU0191I: Default user account 214 SMU0192I: Alternative user account 215 SMU0193I: Administrator account 216 SMU0194I: Guest account 217 SMU0195?: 218 SMU0196?: 219 SMU0197?: 220 SMU0198?: 221 SMU0199?: -
branches/guitools-1.0/smbusers/smbusers_fr.mkm
r569 r926 227 227 ;More settings 228 228 SMU0190I: Write password also to master.passwd 229 SMU0191I: Default user account 230 SMU0192I: Alternative user account 231 SMU0193I: Administrator account 232 SMU0194I: Guest account 233 SMU0195?: 234 SMU0196?: 235 SMU0197?: 236 SMU0198?: 237 SMU0199?: -
branches/guitools-1.0/smbusers/smbusers_sv.mkm
r569 r926 212 212 ;More settings 213 213 SMU0190I: Write password also to master.passwd 214 SMU0191I: Default user account 215 SMU0192I: Alternative user account 216 SMU0193I: Administrator account 217 SMU0194I: Guest account 218 SMU0195?: 219 SMU0196?: 220 SMU0197?: 221 SMU0198?: 222 SMU0199?:
Note:
See TracChangeset
for help on using the changeset viewer.