[Samba] upgraded from samba 2.2.7a on RH to 3.0.1 get errors running smbstatus

bill eight b88e88 at yahoo.com
Sun Dec 21 00:23:02 GMT 2003


Hello,

Please advise,

upgraded from Samba 2.2.7a on RH to
Samba 3.0.1

Getting error messages when running
smbstatus.

I am assuming samba is NOT running when
I see this ... what to do now?

Must I redo smb.conf file completely?
(I am still new to this .. ) 

thanks
b

----- errors from smbstatus ------

[root at test samba]# smbstatus
params.c:Parameter() - Ignoring badly formed line in
configuration file: Account
' -s /bin/false -M %u
params.c:Parameter() - Ignoring badly formed line in
configuration file: ogon \&
& chmod 644 /var/lib/samba/netlogon/%U.bat;
params.c:Parameter() - Ignoring badly formed line in
configuration file: l*authe
ntication*tokens*updated*successfully*
Unknown parameter encountered: "domain admin group"
Ignoring unknown parameter "domain admin group"
sessionid.tdb not initialised

Service      pid     machine       Connected at
-------------------------------------------------------
Failed to open byte range locking database
ERROR: Failed to initialise locking database
Can't initialise locking module - exiting
[root at test samba]# smbstatus
params.c:Parameter() - Ignoring badly formed line in
configuration file: Account' -s /bin/false -M %u
params.c:Parameter() - Ignoring badly formed line in
configuration file: ogon \&& chmod 644
/var/lib/samba/netlogon/%U.bat;
params.c:Parameter() - Ignoring badly formed line in
configuration file:
l*authentication*tokens*updated*successfully*
Unknown parameter encountered: "domain admin group"
Ignoring unknown parameter "domain admin group"
sessionid.tdb not initialised

Service      pid     machine       Connected at
-------------------------------------------------------
Failed to open byte range locking database
ERROR: Failed to initialise locking database
Can't initialise locking module - exiting


------ smb.conf file -------------------

#======================= Global Settings
=====================================
[global]
        smb passwd file = /etc/samba/smbpasswd
        add user script = /usr/sbin/useradd -d
/dev/null -g machines -c 'Machine
 Account' -s /bin/false -M %u
# -d = home dir, -g group, -c comment, -s shell, -M
userhome dir will NOT be created
        pam password change = yes
        encrypt passwords = yes
        wins support = true
        max log size = 0
        obey pam restrictions = yes
        directory mode = 775
        security = user
        passwd program = /usr/bin/passwd %u
        printing = lprng
        create mode = 775
        dns proxy = no
        only user = yes
        socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
        valid users = @samba
        root preexec = /usr/bin/ntlogon -u %U -g %G -o
%a -d /var/lib/samba/netl
ogon \&& chmod 644 /var/lib/samba/netlogon/%U.bat;
        printcap name = /etc/printcap
        invalid users = root
        logon script = %U.bat
        passwd chat = *New*password* %n\n
*Retype*new*password* %n\n *passwd:*al
l*authentication*tokens*updated*successfully*
        domain admin group = admin1 admin2
        user = @samba
        domain logons = yes
        unix password sync = Yes
        workgroup = WG
        server string = WG Server
        log file = /var/log/samba/%m.log
        delete readonly = yes
        netbios name = server
        load printers = yes
        root postexec = rm -f
/var/lib/samba/netlogon/%U.bat
        os level = 33
        write list = @samba
        logon home = "\\server\%U"

[homes]
   comment = Home Directories
   browseable = no
   writable = yes
   valid users = %S
   create mode = 0664
   directory mode = 0775
# If you want users samba doesn't recognize to be
mapped to a guest user
; map to guest = bad user


# Un-comment the following and create the netlogon
directory for Domain Logons
[netlogon]
        comment = Network Logon Service
        path = /usr/local/samba/lib/netlogon
        guest ok = yes
        writable = no
        share modes = no


# Un-comment the following to provide a specific
roving profile share
# the default is to use the user's home directory
;[Profiles]
;    path = /usr/local/samba/profiles
;    browseable = no
;    guest ok = yes


# NOTE: If you have a BSD-style print system there is
no need to
# specifically define each individual printer
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
# Set public = yes to allow user 'guest account' to
print
   guest ok = no
   writable = no
   printable = yes
[data]
        path = /usr/data
        force group = samba


__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/


More information about the samba mailing list