OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Luke Kenneth Casson Leighton (lkclSAMBA-TNG.ORG)
Date: Tue Apr 16 2002 - 15:48:52 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    mr jemms,

    my apologies for having to go through cifsdiscuss...com

    i cannot email hotmail accounts - my mailer gives me
    nice messages "host unknown"!

    On Tue, Apr 16, 2002 at 02:58:42PM +0530, D. Jemms wrote:

    > I have very normal doubt ,at the lowest level of SRV_NETSHAREENUM
    > what it does .It will be kind enough even if u tell me in simple language
    > without technical details.How does it give the share information back.
    > Using smb.conf (?)

     yes.

     basically.

     take a look at TNG's make_srv_share_1_info() function
     in srv_srvsvc_nt.c.

     pay special attention to all lp_xxx() functions because
     those are the ones that grab the info from smb.conf.

     note that they all take an snum integer parameter
     which is the index of the [section name] in the
     smb.conf file.

    > and suppose the windows client asks to create the share what does it do
    > ?Does it goes out and changes smb.conf ?

     not yet.

     because smb.conf can be included and is dynamically
     generated from the "include" option, this is almost
     impossible.

     if there was only ever _one_ smb.conf file allowed, it
     would be easy to do.

     l.

    ----------------------------------------------------------------
    Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
    contains important info including how to unsubscribe. Save time, search
    the archives at http://discuss.microsoft.com/archives/index.html