Ressources defined in include files can't be used in 1.9.18p2

Jean-Marie.Chretien at ibt.univ-angers.fr Jean-Marie.Chretien at ibt.univ-angers.fr
Wed Feb 4 17:20:30 GMT 1998


Hello,

I'm currently using samba 1.9.18p2 on a sparc solaris 2.5.
My clients are NT4 Workstation

I use the include feature in my smb.conf to provide specific shares to users.
This was ok in 1.9.17p2 but it doesn't work in 1.9.18p2. 
The only available shares are those described in smb.conf

I noticed that if i restart samba, then I'm able to see the list of all shares,
but i can only use the shares defined in smb.conf.
When i refresh the list from explorer, only the shares of smb.conf are visible.
 
The problem is the same with the branch NTDOM patched up to 1.9.18p2.

The global section of my smb.conf is the following:

[global]
   debug level = 100
   workgroup=IBTLAN
   printing = sysv
   domain master=yes
   preferred master = yes
   wins support = yes
   os level = 255
   printcap name = /usr/local/samba/lib/printcap
   allow hosts=@ibthosts
   alternate permissions=yes
   encrypt passwords = yes
   create mask=0750
   directory mask = 0750
   mangling char= ^
   map archive=no
   security=user
   wide links = no
   share modes=no
   include = /usr/local/samba/lib/%U.conf 

Once the samba server is up the end of log.nmb is the following :

>announce_myself_to_domain_master_browser: t (886611380) - last(886611370) < 900
>dump_workgroups: dump workgroup on subnet   193.49.145.17:  netmask=  255.255.255.0:
>        IBTLAN(1) current master browser = GENPHYS
>                GENPHYS 400c9a03 (Samba 1.9.18p2)
>                JMCPC 40011003 ()
>dump_workgroups: dump workgroup on subnet  UNICAST_SUBNET:  netmask=  193.49.145.17:
>        IBTLAN(1) current master browser = UNKNOWN
>                GENPHYS 40099a03 (Samba 1.9.18p2)
>find_workgroup_on_subnet: workgroup search for IBTLAN on subnet 193.49.145.17: found
>find_workgroup_on_subnet: workgroup search for IBTLAN on subnet 193.49.145.17: found
>find_workgroup_on_subnet: workgroup search for IBTLAN on subnet UNICAST_SUBNET:
>found
>is_myname("GENPHYS") returns 1
>is_myname("JMCPC") returns 0
>is_myname("GENPHYS") returns 1
>write_browse_list: Wrote browse list into file /usr/local/samba/var/locks/browse.dat
>find_workgroup_on_subnet: workgroup search for IBTLAN on subnet UNICAST_SUBNET:
>found

When i attempt the first browse, the log indicate that the smb.conf and %U.conf are processed correctly, the list of shares is sent to the nt workstation. An error occur several times during this transaction :

>switch message SMBopenX (pid 25130)
>become_user uid=(0,270) gid=(100,100)
>chdir to /tmp
>Opening pipe \PIPE\srvsvc.
>02/04/1998 17:58:16 error packet at line 101 cmd=45 (SMBopenX) eclass=2 ecode=4

For the following browse, i've got the same error but the smb.conf and %U.conf
are not parsed.


What's wrong ?

Does anyone had succesfully used the include feature in 1.9.18p2 ?

Thanks for your help.

Jean-Marie Chretien

_____________________________________________________________________________
UNIVERSITE D'ANGERS
Institut de Biologie Theorique                           _________________
10, Rue A. Bocquel                                      __   __   ___  __/
49100 ANGERS - FRANCE                                    /  /  \    / /
                                                        /  /___/   / /
e-mail: chretien at ibt.univ-angers.fr                    /  /    \  / /
  fax: (33) 241.72.34.46                             _/  /_____/ /_/
phone: (33) 241.72.34.38
_____________________________________________________________________________



More information about the samba mailing list