AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-9302

Ubuntuser's questions

Martin Hope
Ubuntuser
Asked: 2017-10-13 21:06:31 +0800 CST

在 (K)ubuntu 16.04 中将 Firefox 设置为 KDE5 中所有新用户的最爱

  • 2

我想在 KDE5 菜单中将 Firefox 设置为所有新用户最喜欢的应用程序。我怎样才能做到这一点?目前我最喜欢的部分是空白的。我正在使用 (K)Ubuntu 16.04.3 LTS。

例如这张图片http://www.omgubuntu.co.uk/wp-content/uploads/2014/07/kde-plasma5-desktop.jpg 您应该能够看到最喜欢的部分。我希望为所有用户永久设置 Firefox。

kde5
  • 1 个回答
  • 260 Views
Martin Hope
Ubuntuser
Asked: 2017-08-29 22:24:11 +0800 CST

AD 登录和 smbclient 登录成功,但从 Windows 客户端失败

  • 0

我可以使用 AD/LDAP 身份验证登录 Ubuntu 16.04 系统并访问所有内容。但是,当我将 samba 配置为从 Windows 客户端连接时,它会失败。

来自另一台 Ubuntu 机器的 smbclient 成功并列出所有文件夹

smbclient -k -L serverip -U user%password
  Sharename       Type      Comment
  ---------       ----      -------
   public          Disk
   user            Disk
   IPC$            IPC       IPC Service (Samba Server 4.3.11-Ubuntu)

    Server               Comment
    ---------            -------
    servername         Samba Server 4.3.11-Ubuntu

    Workgroup            Master
    ---------            -------
    workgroup

任何人都可以为这种情况提供正确的 smb.conf 文件吗?互联网上的任何配置都不起作用。下面是我的 smb.conf

[global]

  workgroup = {{ workgroup}}
  server string = Samba Server %v
  netbios name = server-fqdn
 # Active Directory System
  passdb backend = tdbsam
  security = ads
  idmap config * : range = 1000000-2000000
  os level = 0
  # With .tld
  realm = {{ realm_id }}
  local master = no
  preferred master = no
  domain master = no

  #Auth
  client use spnego = yes
  client ntlmv2 auth = yes
  ntlm auth = yes
  lanman auth = no

  encrypt passwords = yes
  password server = *
  restrict anonymous = 2
  #log
  log file = /var/log/samba/samba.log
  log level = 2
  #mapping
  map to guest = bad user
  guest account = nobody
  unix extensions = yes

 [ubuser]
  path = /opt/samba/ubuser
  valid users = %S, domain\ubuser
  admin users = %S, domain\ubuser
  writable = yes
  read only = no
  force create mode = 0660
  create mask = 0777
  directory mask = 0777
  force directory mode = 0770
  access based share enum = yes
  hide unreadable = yes

我得到的错误是

../auth/credentials/credentials_secrets.c:396(cli_credentials_set_machine_account_db_ctx)
  Could not find machine account in secrets database:

[2017/08/29 08:16:16.879389,  0] ../source3/auth/auth_domain.c:121(connect_to_domain_password_server)
  connect_to_domain_password_server: unable to open the domain client session to machine machine.host.com. Error was : NT_STATUS_CANT_ACCESS_DOMAIN_INFO.
[2017/08/29 08:16:16.883324,  1] ../auth/credentials/credentials_secrets.c:396(cli_credentials_set_machine_account_db_ctx)
  Could not find machine account in secrets database: Failed to fetch machine account password for WBI from both secrets.ldb (Could not find entry to match filter: '(&(flatname=domain)(objectclass=primaryDomain))' base: 'cn=Primary Domains': No such object: (null)) and from /var/lib/samba/private/secrets.tdb: NT_STATUS_CANT_ACCESS_DOMAIN_INFO
[2017/08/29 08:16:16.883435,  0] ../source3/auth/auth_domain.c:121(connect_to_domain_password_server)
  connect_to_domain_password_server: unable to open the domain client session to machine machine.host.com. Error was : NT_STATUS_CANT_ACCESS_DOMAIN_INFO.
[2017/08/29 08:16:16.883811,  0] ../source3/auth/auth_domain.c:184(domain_client_validate)
  domain_client_validate: Domain password server not available.
[2017/08/29 08:16:16.884142,  2] ../source3/auth/auth.c:315(auth_check_ntlm_password)
  check_ntlm_password:  Authentication for user [ubuser] -> [ubuser] FAILED with error NT_STATUS_NO_LOGON_SERVERS
[2017/08/29 08:16:16.884211,  2] ../auth/gensec/spnego.c:716(gensec_spnego_server_negTokenTarg)
  SPNEGO login failed: NT_STATUS_NO_LOGON_SERVERS
[2017/08/29 08:16:17.238067,  2] ../source3/librpc/crypto/gse_krb5.c:196(fill_mem_keytab_from_secrets)
  ../source3/librpc/crypto/gse_krb5.c:196: failed to fetch machine password
samba
  • 1 个回答
  • 6133 Views
Martin Hope
Ubuntuser
Asked: 2016-09-02 05:26:24 +0800 CST

如何将 http_proxy 自动添加到 ubuntu 服务器中的新用户

  • 1

我有一个无头 ubuntu 服务器,它位于代理后面。我通常使用手动设置代理export http_proxy=http://serverip:8080。我想知道如何/在哪里可以设置它,以便在服务器上创建的每个新用户都可以默认使用这个代理。

proxy
  • 1 个回答
  • 2093 Views
Martin Hope
Ubuntuser
Asked: 2016-06-09 04:24:57 +0800 CST

通过 Exceed on Demand 帮助启动 Unity

  • 1

我正在尝试通过 Exceed on Demand 客户端连接到安装了 Unity 的 Ubuntu 14.04 服务器。虽然我可以通过运行 /usr/bin/startkde 来启动 kde 会话,但我无法通过简单地运行 "unity" 或 "compiz" 来启动 Unity 会话。我只能看到鼠标。

任何指示都会非常有帮助

unity
  • 1 个回答
  • 503 Views
Martin Hope
Ubuntuser
Asked: 2016-02-09 10:55:33 +0800 CST

Evolution 3.16 无法打开加密的 Office 365 消息

  • 1

我已经在 Ubuntu 15.10 中成功配置了带有 Evoltion 3.16.x 的 Office 365。

虽然大多数电子邮件都可以轻松阅读,但加密的电子邮件无法打开并显示以下消息

Could not parse S/MIME message: Cannot decrypt: you are not a recipient, or matching certificate and private key not found. 

通常在 Outlook 2013 中,它会自动从数据库中获取用户的密钥,我怎样才能让 Evolution 检索密钥?

谢谢。

encryption
  • 1 个回答
  • 898 Views
Martin Hope
Ubuntuser
Asked: 2015-04-06 21:40:06 +0800 CST

安装 Plasma 5 后图标无法正常显示

  • 3

我在运行 Unity 的 UBuntu 中安装了 Plasma5。安装很顺利,但是 KDE 的图标没有正确显示。我尝试删除,/var/tmp/kdecache-$USER/icon-cache.kcache但没有帮助。

我怎样才能解决这个问题?

附上截图。

在此处输入图像描述

icons
  • 1 个回答
  • 8621 Views
Martin Hope
Ubuntuser
Asked: 2014-10-27 00:42:00 +0800 CST

如何在 Ubuntu 14.04 LTS 中安装 Ubuntu 14.10 的内核?

  • 2

我已经能够从 ubuntu 主线内核存储库下载内核 3.16。但是,我更想知道 Ubuntu 14.10 默认附带的内核是否可以安装在 Ubuntu 14.04 LTS 中。

请注意,主线 3.16 内核与 Ubuntu 14.10 附带的内核略有不同,我对后者感兴趣。而且,这个答案不是我要找的。

kernel
  • 2 个回答
  • 7994 Views
Martin Hope
Ubuntuser
Asked: 2014-06-29 20:48:00 +0800 CST

安装 Ubuntu Touch dualboot 后 Recovery 丢失

  • 0

我按照 Ubuntu Wiki 的说明安装了 Ubuntu Touch dualboot 应用程序。UT安装顺利,可以正常使用dualboot功能。但是,我现在看到,我的恢复分区丢失了。我无法重新启动进入 Recovery。

我试过从引导加载程序重新启动到恢复状态,也试过给出命令adb reboot recovery。每次我这样做时,它都会引导到 Ubuntu 分区而不是 Recovery。

有什么办法可以解决这个问题吗?我正在使用 Nexus 5。

dual-boot
  • 1 个回答
  • 207 Views
Martin Hope
Ubuntuser
Asked: 2014-06-26 23:03:29 +0800 CST

脚本在嵌套的 case 语句中跳过用户输入

  • 1

我正在尝试创建一个嵌套的 case 语句,其中需要用户输入 (Y/N)。然而,系统从不等待输入,总是转到第三个选项,“请回答是或否”。谁能告诉我我错过了什么?

这是案例陈述

#!/bin/bash
STATUS=status

find /etc/init.d/* -name '*' -print0 | while IFS= read -r -d '' FILE;
do
if [ "$FILE" != "." -o "$FILE" != ".." ]; then
OUTPUT=$($FILE $STATUS)
case "$OUTPUT" in
    *disabled* )
        echo "Do you wish to start $FILE ?"
        read  yn
        case $yn in
         [yY] | [yY][Ee][Ss] )
                $FILE start
                ;;
         [nN] | [n|N][O|o] )
                ;;
        * )
        echo "Please answer yes or no.";;
        esac
        ;;
       * )
        echo "App $FILE is running"
;;
esac
fi
done

在 Ubuntu 14.04 LTS 下运行

示例输出

App /etc/init.d/reboot is running
App /etc/init.d/resolvconf is running
App /etc/init.d/rsync is running
App /etc/init.d/rsyslog is running
App /etc/init.d/samba is running
App /etc/init.d/samba-ad-dc is running
Do you wish to start /etc/init.d/saned ?
Please answer yes or no.
bash
  • 3 个回答
  • 1939 Views
Martin Hope
Ubuntuser
Asked: 2011-05-06 03:17:19 +0800 CST

为什么 Plymouth 以后备文本模式启动?

  • 9

启动我的系统时,普利茅斯不显示图形,而是使用后备文本模式。但是,它在关机时可以正常运行(即带有图形)。这是为什么?

11.04
  • 2 个回答
  • 1945 Views
Martin Hope
Ubuntuser
Asked: 2011-05-05 09:09:13 +0800 CST

需要一个 Firefox 2.0 下载链接(工作)

  • 2

我正在尝试获取 Firefox 2.0.x 版本。我无法获得任何有效的下载链接。所有链接都失败了。谁能帮我提供一个工作链接?

为什么选择FF2.0?

我正在尝试运行显然仅在 FF2.0 中运行的 webex(cisco)。

提前致谢。

firefox
  • 1 个回答
  • 370 Views
Martin Hope
Ubuntuser
Asked: 2011-04-30 23:03:14 +0800 CST

如何统一更改新用户的默认启动器图标?

  • 4

我使用自定义启动器自定义了我的 Unity 启动器的图标列表。现在,我希望在创建新用户时出现相同的自定义启动器。目前,当我创建新用户时会出现默认的 ubuntu 启动器。我怎么做?

unity
  • 4 个回答
  • 5508 Views
Martin Hope
Ubuntuser
Asked: 2011-04-28 08:37:16 +0800 CST

网络管理器小程序未检测到 Internet 连接

  • 2

我一直在测试替代连接管理器 connman。在测试 connman 时,我不得不删除我的网络管理员。我做了一个

apt-get purge network-manager*

现在,当我重新安装网络管理器及其所有依赖项(包括 network-manager-gnome)时,我在面板上看不到它,但是,互联网是通过以太网连接的。我可以在浏览器上访问互联网,也可以通过 cli 连接 vpnc。但 GUI 无法识别它。知道如何让 GUI 识别 eth0 吗?

添加屏幕截图以便更好地理解。 在此处输入图像描述

networking
  • 2 个回答
  • 4136 Views
Martin Hope
Ubuntuser
Asked: 2011-04-23 11:53:40 +0800 CST

如何在使用 connman 时添加 vpn 连接

  • 1

我昨天在试康曼。我的无线互联网连接良好,但是,我找不到任何 VPN 选项。是否没有通过 Connman GUI 连接到 VPN 的选项?该网站说,它支持VPN。

vpn
  • 2 个回答
  • 2815 Views
Martin Hope
Ubuntuser
Asked: 2011-04-16 02:27:57 +0800 CST

apt.conf 中 SOCKS 代理的语法

  • 36

我想将 SOCKS 代理设置添加到 /etc/apt/apt.conf。它的语法是什么?它与http和ftp语法相同吗?

谢谢。

apt
  • 6 个回答
  • 62956 Views
Martin Hope
Ubuntuser
Asked: 2011-04-13 02:16:47 +0800 CST

/etc/apt/apt.conf 发生了什么?

  • 20

我正在浏览 apt 文件夹以尝试我的代理设置,但在 Ubuntu 11.04 中找不到 apt.conf 文件。有没有替代文件?

将代理设置添加到 apt.conf.d 中的 99-synaptic 并没有帮助,因为每次我重新启动系统时它都会被覆盖。

11.04
  • 2 个回答
  • 59014 Views
Martin Hope
Ubuntuser
Asked: 2011-04-08 06:44:42 +0800 CST

在 Empathy 中配置 pidgin-sipe

  • 2

虽然在 pidgin 中添加我的通信器帐户是小菜一碟,但我在同理心的连接偏好上苦苦挣扎。谁能给我步骤?

empathy
  • 3 个回答
  • 5696 Views
Martin Hope
Ubuntuser
Asked: 2011-04-07 10:52:37 +0800 CST

Remedy 客户端、AT&T webex 和 MS Office Communicator 的替代方案?

  • 0

我的问题的第二部分。我正在尝试用一个正常工作的 Ubuntu 系统替换我的 Windows 7 系统,但我遇到了一些在工作中使用的软件的问题。谁能建议以下软件/工具的替代品?

  1. 补救客户
  2. AT&T webex(目前仅适用于 RHEL 5.1 及更低版本 + FF 3.0 及更低版本)
  3. 微软办公室通讯器
software-recommendation
  • 2 个回答
  • 825 Views
Martin Hope
Ubuntuser
Asked: 2011-04-07 10:50:33 +0800 CST

Google Talk 和 Cisco VPN 的替代品?

  • 2

我的问题的第 3 部分。

我正在尝试用一个正常工作的 Ubuntu 系统替换我的 Windows 7 系统,但我遇到了一些在工作中使用的软件的问题。谁能建议以下软件/工具的替代品?

  1. 使用代理的 Google Talk(移情不适用于代理服务器)
  2. Cisco VPN 客户端 - (vpnc 无法连接,并且 cisco linux vpn build 在使用一段时间后会锁定任何双核系统)。
software-recommendation
  • 4 个回答
  • 1215 Views
Martin Hope
Ubuntuser
Asked: 2011-04-07 05:14:34 +0800 CST

Exchange 2007 邮件和日历同步以及共享 + 公共日历和文件夹的替代方案?

  • 5

我正在尝试用一个正常工作的 Ubuntu 系统替换我的 Windows 7 系统,但我遇到了一些在工作中使用的软件的问题。谁能建议以下软件/工具的替代品?

  1. Exchange 2007 邮件和日历同步(Evolution 加载邮件和日历太慢)
  2. 共享和公共日历和文件夹
software-recommendation
  • 4 个回答
  • 1226 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve