rmillisl@millis-it.com
2004-Jan-15 16:49 UTC
[Samba] PDC upgrade Fedora core 1 / Samba version 3.0.0-15
I just finished upgrading my PDC to Fedora core 1 with Samba version
3.0.0-15 and I am having a few problems.
I have done some googling and thus far have not found a solution to my
problem. Any help or comments would be appreciate.
I was getting the following errors from testparm:
-cut-
Ignoring unknown parameter "domain admin group"
Unknown parameter encountered: "vfs options"
Invalid combination of parameters for service profile.
Level II oplocks can only be set if oplocks are also set.
-cut-
I see from
http://www.samba.org/samba/docs/man/upgrading-to-3.0.html#id2969141 that
the "domain admin group" and "vfs options" were removed.
Is there functional replacements for these? I was using the wheel group
for administrative purposes and was also using the network recycle folder.
Even with these items commented out my roaming profiles have stopped
working and I am getting the "Invalid combination of parameters for
service profile. Level II oplocks can only be set if oplocks are also
set." error.
-cut-
# Global parameters
[global]
workgroup = MYGROUP
netbios name = MYSERVER
server string = File Server
encrypt passwords = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 domain
admin group = @wheel
logon script = default.bat
logon path = \\fs2\profile\%U
logon drive = U:
logon home = \\fs2\%u
domain logons = Yes
os level = 99
preferred master = Yes
local master = No
domain master = Yes
dns proxy = No
wins support = Yes
admin users = root
security = user
share modes = No
# Printing
printcap name = /etc/printcap
load printers = Yes
printing = lprng
disable spoolss = yes
[profile]
comment = User Profiles
path = /home/profile
read only = No
create mask = 0600
directory mask = 0700
profile acls = yes
oplocks = No
[netlogon]
comment = Netlogon Share
path = /home/netlogon
[homes]
comment = Home Directories
path = /home/fs2/%u
read only = No
browseable = No
create mode = 0600
directory mode = 0700
vfs object = /usr/lib/samba/vfs/recycle.so
vfs options = /etc/samba/recycle.conf
oplocks = No
[tmp]
comment = Temp Space
path = /tmp
read only = No
browseable = Yes
create mode = 0600
directory mode = 0700
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
guest ok = Yes
writeable = No
printer admin = @wheel
[apps]
comment = Software
path = /home/apps
admin users = admin
read only = No
[dist]
comment = Software & OS Distribution
path = /dist
admin users = admin
read only = No
[public]
comment = Public Shared Files
path = /home/public
read only = No
[programs]
comment = Programs
path = /home/programs
read only = No
[mp3]
comment = MP3 Music
path = /home/mp3
read only = No
[cdrom]
comment = Server CD-ROM drive
path = /mnt/cdrom
guest ok = Yes
;[cdrom1]
; comment = Server CD-ROM drive
; path = /mnt/cdrom1
; guest ok = Yes
[admin]
path = /home
admin users = admin
force user = root
force group = root
read only = No
create mask = 0755
browseable = No
[atlas]
comment = Comptons Atlas CD Image
path = /home/cdimage/Atlas
guest ok = Yes
-cut-
<rmillisl@millis-it.com> wrote in message news:1329.192.168.0.24.1074185677.squirrel@webmail.millis-it.com...> I just finished upgrading my PDC to Fedora core 1 with Samba version > 3.0.0-15 and I am having a few problems. > > I see from > http://www.samba.org/samba/docs/man/upgrading-to-3.0.html#id2969141 that > the "domain admin group" and "vfs options" were removed.> Is there functional replacements for these? I was using the wheel group > for administrative purposes and was also using the network recycle folder.Assign a unix group to the ntgroup as follows: net groupmap modify ntgroup="Domain Admins" unixgroup=wheel See if it worked with the command: net groupmap list Put the following in the share definition: vfs objects = recycle I've never used this so I don't know any more.> Even with these items commented out my roaming profiles have stopped > working and I am getting the "Invalid combination of parameters for > service profile. Level II oplocks can only be set if oplocks are also > set." error.When I upgrade to Fedora, my roaming profiles wouldn't load correctly because there was a bad character in the filename for floppy disk in the "Send to" folder. I think it was the "1/2" in 3 1/2" floppy, that got messed up because of Fedora's use of UTF or something. Anyway, I just deleted these from the profiles and they started working again. Who really needs to send anything to a floppy anyway? If you don't want oplocks, then set both of the following in the share definition: oplocks = False level2 oplocks = False Since they are True by default, you can't turn oplocks off without also turning level2 oplocks off. Mark