Results 1 to 5 of 5

Thread: Samba4 Error

  1. #1
    Join Date
    May 2012
    Beans
    2

    Samba4 Error

    Hi, I was wondering if there was a solution to this error?

    Unknown parameter encountered: "max log size"
    Ignoring unknown parameter "max log size"
    Unknown parameter encountered: "syslog"
    Ignoring unknown parameter "syslog"
    Unknown parameter encountered: "unix password sync"
    Ignoring unknown parameter "unix password sync"
    Unknown parameter encountered: "passwd program"
    Ignoring unknown parameter "passwd program"
    Unknown parameter encountered: "pam password change"
    Ignoring unknown parameter "pam password change"
    Unknown parameter encountered: "map to guest"
    Ignoring unknown parameter "map to guest"
    Unknown parameter encountered: "usershare allow guests"
    Ignoring unknown parameter "usershare allow guests"
    Unknown parameter encountered: "guest ok"
    Ignoring unknown parameter "guest ok"
    Unknown parameter encountered: "guest ok"
    Ignoring unknown parameter "guest ok"
    ERROR: Invalid smb.conf
    Unknown parameter encountered: "max log size"
    Ignoring unknown parameter "max log size"
    Unknown parameter encountered: "syslog"
    Ignoring unknown parameter "syslog"
    Unknown parameter encountered: "unix password sync"
    Ignoring unknown parameter "unix password sync"
    Unknown parameter encountered: "passwd program"
    Ignoring unknown parameter "passwd program"
    Unknown parameter encountered: "pam password change"
    Ignoring unknown parameter "pam password change"
    Unknown parameter encountered: "map to guest"
    Ignoring unknown parameter "map to guest"
    Unknown parameter encountered: "usershare allow guests"
    Ignoring unknown parameter "usershare allow guests"
    Unknown parameter encountered: "guest ok"
    Ignoring unknown parameter "guest ok"
    Unknown parameter encountered: "guest ok"
    Ignoring unknown parameter "guest ok"

    This happens every time I try to download Samba4, and therefore every other app I try to install. Does anyone have any idea how to fix this?

  2. #2
    Join Date
    Jun 2010
    Location
    N1x,Pluto
    Beans
    66
    Distro
    Ubuntu Development Release

    Re: Samba4 Error

    I believe you want to install samba not samba4 ..

    http://wiki.samba.org/index.php/Samba4

    read the description of samba4 in a terminal execute ..

    apt-cache show samba4

    so , you need to purge samba4

    sudo apt-get purge samba4
    Last edited by Sary.sa; May 21st, 2012 at 06:33 AM.
    Linux User #556069 IRC'ing in chat.freenode.net




  3. #3
    Join Date
    May 2012
    Beans
    2

    Re: Samba4 Error

    Thanks alot, this really helped me.

  4. #4
    Join Date
    Jun 2012
    Beans
    1

    Re: Samba4 Error

    Hi every one.
    My problem is this:
    Installing package(s) with command apt-get -y install sudo ..


    .................................
    14: /var/lib/dpkg/info/samba4.postinst: /usr/share/samba/setoption.pl: Permission denied dpkg: error processing samba4 (--configure):
    subprocess installed post-installation script returned error exit status 126 Setting up sudo (1.8.3p1-1ubuntu3.3) ...
    Installing new version of config file /etc/pam.d/sudo ...
    Errors were encountered while processing: samba4 E: Sub-process /usr/bin/dpkg returned an error code (1) ..

    install failed!


    someone has an idea how to fix it?
    Thanks
    Last edited by Dondo70; June 9th, 2012 at 02:00 AM.

  5. #5
    Join Date
    Apr 2008
    Beans
    7

    Re: Samba4 Error

    Quote Originally Posted by Dondo70 View Post
    Hi every one.
    My problem is this:
    Installing package(s) with command apt-get -y install sudo ..


    .................................
    14: /var/lib/dpkg/info/samba4.postinst: /usr/share/samba/setoption.pl: Permission denied dpkg: error processing samba4 (--configure):
    subprocess installed post-installation script returned error exit status 126 Setting up sudo (1.8.3p1-1ubuntu3.3) ...
    Installing new version of config file /etc/pam.d/sudo ...
    Errors were encountered while processing: samba4 E: Sub-process /usr/bin/dpkg returned an error code (1) ..

    install failed!


    someone has an idea how to fix it?
    Thanks
    sudo chmod +x /usr/share/samba/setoption.pl
    sudo apt-get -f install


    that will get you past the error you describe. but you will loop in the errors that follow.
    sadly dont bother with samba4

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •