Author: amit Date: 2005-08-07 05:46:12 +0000 (Sun, 07 Aug 2005) New Revision: 397
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=lorikeet&rev=397 Log: removing files which were not necessary Removed: trunk/sangria/src/LatestDesign/cgi/list_sambauser.cgi trunk/sangria/src/LatestDesign/cgi/listsmb_groups.cgi Changeset: Deleted: trunk/sangria/src/LatestDesign/cgi/list_sambauser.cgi =================================================================== --- trunk/sangria/src/LatestDesign/cgi/list_sambauser.cgi 2005-08-07 02:19:00 UTC (rev 396) +++ trunk/sangria/src/LatestDesign/cgi/list_sambauser.cgi 2005-08-07 05:46:12 UTC (rev 397) @@ -1,55 +0,0 @@ -#!/usr/bin/python - -print "Content-type: text/html" -print - -import cgi , sys -sys.stderr = sys.stdout - -# edit_sambauser.cgi -# Edit an existing samba user -# here initially the list of samba users in the system should be shown ... - -form = cgi.FieldStorage() - -import sys,operator -sys.path.append('/home/amit/test/new/classes/ServerObjects') -sys.path.append('/home/amit/test/new/classes/AccountManager') -sys.path.append('/home/amit/test/new/classes/GroupManager') - - -from ServerClass import Server -from FileShareClass import FileShare -from AccountManagerClass import AccountManager -from AccountManagerClass import UserAccount -from GroupManagerClass import GroupManager - -g = AccountManager("/etc/passwd", "/usr/bin/mksmbpasswd.sh", "/etc/samba/smbpasswd") -smbusrlist = g.ListSambaUserAccounts() -print "<html><body bgcolor=#6696am>" -print "<form action=save_euser.cgi>" -print "<table width=100%>" - -# to print in different cols ... print first 10 in first ... next in another and so on .. - - -print "<tr> <td> <b> The Samba Users List </b> </td></tr>" -print "<table border = 1 width = 100%>" -print "<tr>" -for i in range(0,len(smbusrlist)): - if not ( operator.mod(i,4) == 0): - print "<td>%s</td>" %smbusrlist[i] - else: - print "</tr><tr><td>%s</td>" %smbusrlist[i] - -print "</tr>" -print "</table>" - -print "</table>" -print "</body></html>" - - - - - - Deleted: trunk/sangria/src/LatestDesign/cgi/listsmb_groups.cgi ===================================================================
