[Samba] Re: [fwd: [Fwd: Re: network response] ]

Chris Garrigues cwg-dated-1088979386.cad0fd at deepeddy.com
Tue Jun 29 22:16:24 GMT 2004


> From:  Jeremy Allison <jra at samba.org>
> Date:  Tue, 29 Jun 2004 14:47:34 -0700
>
> The strange thing is the Oplock value of none here....
> 
> Are you sure you have kernel oplocks set to no ? Use testparm to
> be sure and ensure you've restarted smbd or it won't take effect.

hmmm..... what does this mean:

Load smb config files from /etc/samba3/smb.conf
Processing section "[homes]"
Processing section "[netlogon]"
Processing section "[profiles]"
Processing section "[groups]"
Processing section "[InterChk]"
Processing section "[local-soft]"
Processing section "[pointmeridian]"
Processing section "[print$]"
Processing section "[software]"
Processing section "[lp1]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Invalid combination of parameters for service netlogon.                    Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service profiles.                    Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service groups.                      Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service InterChk.                    Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service local-soft.                  Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service pointmeridian.               Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service print$.                      Level II oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service lp1.                         Level II oplocks can only be set if oplocks are also set.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions

# Global parameters
[global]
        workgroup = TRINSICS
        interfaces = eth0, 127.0.0.1
        bind interfaces only = Yes
        map to guest = Bad User
        smb passwd file = /etc/samba/smbpasswd
        passdb backend = ldapsam:ldap://127.0.0.1
        log level = 10
        log file = /var/log/samba3/%m.log
        max log size = 2500
        min protocol = NT1
        deadtime = 1440
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 IPTOS_LOWDELAY SO_KEEPALIVE
        load printers = No
        add user script = /usr/sbin/useradd -d /dev/null -g users -s /bin/false -M %u
        logon script = login.bat
        logon path = \\%L\profiles\%U
        logon drive = U:
        logon home = \\%L\%U
        domain logons = Yes
        os level = 127
        preferred master = Yes
        domain master = Yes
        wins support = Yes
        kernel oplocks = No
        ldap suffix = dc=trinsics,dc=com
        ldap machine suffix = ou=people,dc=trinsics,dc=com
        ldap user suffix = ou=people,dc=trinsics,dc=com
        ldap group suffix = ou=group,dc=trinsics,dc=com
        ldap admin dn = "cn=wheel,o=trinsics,c=us"
        ldap passwd sync = Yes
        min print space = 32768
        delete veto files = Yes
        oplocks = No

[homes]
        comment = Home Directories
        read only = No
        veto files = /.?*/.AppleDouble/.bin/.AppleDesktop/Network Trash Folder/.Parent/Icon?/Desktop/DesktopFolderDB/Maildir/
        browseable = No
        oplocks = Yes

[netlogon]
        path = /home/samba/netlogon
        guest ok = Yes

[profiles]
        path = /home/samba/ntprofile
        read only = No
        create mask = 0600
        force create mode = 0600
        directory mask = 0700
        force directory mode = 0700
        profile acls = Yes
        csc policy = disable

[groups]
        comment = Group Shares
        path = /export/groups
        write list = @users
        force group = +users
        read only = No
        create mask = 0664
        force create mode = 0660
        directory mask = 0775
        force directory mode = 0770
        map acl inherit = Yes
        veto files = /.AppleDouble/.bin/.AppleDesktop/Network Trash Folder/.Parent/Icon?/Desktop/DesktopFolderDB/

[InterChk]
        comment = Sophos InterCheck Share
        path = /export/intercheck
        read only = No
        map acl inherit = Yes

[local-soft]
        comment = Local Software (not backed up)
        path = /export/local-soft
        write list = @users
        force group = +users
        read only = No
        create mask = 0664
        force create mode = 0660
        directory mask = 0775
        force directory mode = 0770
        map acl inherit = Yes
        veto files = /.AppleDouble/.bin/.AppleDesktop/Network Trash Folder/.Parent/Icon?/Desktop/DesktopFolderDB/

[pointmeridian]
        comment = Point Meridian
        path = /export/pointmeridian
        read only = No
        map acl inherit = Yes
        browseable = No

[print$]
        comment = Printer Drivers
        path = /home/samba/print
        map acl inherit = Yes

[software]
        comment = Master Software Share
        path = /export/software/ms
        read only = No
        create mask = 0644
        force create mode = 0640
        force directory mode = 0750
        map acl inherit = Yes
        veto files = /.?*/.AppleDouble/.bin/.AppleDesktop/Network Trash Folder/.Parent/Icon?/Desktop/DesktopFolderDB/
        oplocks = Yes

[lp1]
        comment = HP 1300 Printer
        path = /var/spool/samba
        guest ok = Yes
        printable = Yes


The test case that I'm running is in the [homes] share.

Chris

-- 
Chris Garrigues                 http://www.DeepEddy.Com/~cwg/
Trinsic Solutions		http://www.trinsics.com
1611-B West 6th Street
Austin, TX  78703-5074		512-322-0180

	    If you don't apply what you've learned, you haven't 
	       learned anything.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20040629/4c0e6b72/attachment.bin


More information about the samba mailing list