Hi

Amit Regmi amitregmi at neolinuxsolutions.com
Fri Jul 29 04:26:25 GMT 2005


in file SambaConfig.py

    ## indexs into the parm table tuples
    DisplayName  = 0
    ObjectType   = 1
    DefaultValue = 2
    Scope        = 3

the parm_table tuple

    ("afs share", SambaParmBool, P_LOCAL, "No"),
     ("root directory", SambaParmString, P_GLOBAL, ""),
      ("name resolve order", SambaParmString, P_GLOBAL, "lmhosts wins 
host bcast"),

If I am not mistaken It must Have been
    DisplayName  = 0
    ObjectType   = 1
    DefaultValue =  3
    Scope        = 2

:-)
Or its all right with the previous definition ? plz suggest .

I could use the tools (wrap them into python)
   
    smbpasswd  or
    pdbedit

to handle the accounts for users
suggest me if I have to find some other way out.

Jerry:
   Can I expect comments on the code I commited . I believe it is you 
who is going to see those.
   and  my ideas may take things in the wrong direction from yours .

covered up so far 

Server
    commitChanges
    ListShares
    AddShare
    RemoveShare
    setServerName
    setWorkgroupName
    setOptionValuePairInService
    setServerType
    ListOptionsInShare
    printServerInfo

SetSharePermissions
    addOptionValuePair
    setGuestOk
    setBrowseable
    setSearchPath

FileService(SetSharePermissions)
    setReadOnly
    setWritable
    setCreateMask
    setDirectoryMask

PrintService(SetSharePermissions)
    setPrintable
    allowGuestToPrint
*
*
   

-- 
-Amit

<amit at samba dot org>
http://www.geocities.com/broamit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBC3HHp/u1Xr7tKTYARAv6eAJoDpKVv45v/M7NSH+xekpX6jasBJACeLcB/
lSIVQ0AMXFQrKPLZFOd6Qno=
=Tltk
-----END PGP SIGNATURE-----




More information about the samba-technical mailing list