Is still not working
Sep 25 13:45:46 ubuntucliente lightdm[702]: (pam_mount.c:365): pam_mount
2.14: entering auth stage
Sep 25 13:45:46 ubuntucliente org.gtk.vfs.Daemon[9012]: A connection to the
bus can't be made
Sep 25 13:45:46 ubuntucliente systemd[1]: Started Session c16 of user
prueba3.
Sep 25 13:45:46 ubuntucliente lightdm[702]: (pam_mount.c:568): pam_mount
2.14: entering session stage
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:267): Mount info:
globalconf, user=prueba3 <volume fstype="cifs" server="
domain-server2.policia2.rionegro.gov.ar" path="FS_PRUEBA_3"
mountpoint="/home/POLICIA2/prueba3/compartido"
cipher="(null)"
fskeypath="(null)" fskeycipher="(null)"
fskeyhash="(null)" options="" />
fstab=0 ssh=0
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:664): Password will be
sent to helper as-is.
Sep 25 13:45:46 ubuntucliente lightdm[702]: command: 'mount'
'-t' 'cifs' '//
domain-server2.policia2.rionegro.gov.ar/FS_PRUEBA_3'
'/home/POLICIA2/prueba3/compartido' '-o'
'username=prueba3,uid=50006,gid=50027'
Sep 25 13:45:46 ubuntucliente kernel: [17681.763998] Unable to determine
destination address.
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:72): Messages from
underlying mount program:
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:76): mount: wrong fs
type, bad option, bad superblock on //
domain-server2.policia2.rionegro.gov.ar/FS_PRUEBA_3,
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:76): missing
codepage or helper program, or other error
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:76): (for
several filesystems (e.g. nfs, cifs) you might
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:76): need a
/sbin/mount.<type> helper program)
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:76):
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:76): In some
cases useful info is found in syslog - try
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:76): dmesg |
tail or so.
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 22 27 0:21 /
/sys rw,nosuid,nodev,noexec,relatime shared:7 - sysfs sysfs rw
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 23 27 0:4 /
/proc rw,nosuid,nodev,noexec,relatime shared:12 - proc proc rw
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 24 27 0:6 / /dev
rw,nosuid,relatime shared:2 - devtmpfs udev
rw,size=990848k,nr_inodes=247712,mode=755
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 25 24 0:22 /
/dev/pts rw,nosuid,noexec,relatime shared:3 - devpts devpts
rw,gid=5,mode=620,ptmxmode=000
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 26 27 0:23 /
/run rw,nosuid,noexec,relatime shared:5 - tmpfs tmpfs
rw,size=204124k,mode=755
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 27 0 8:1 / /
rw,relatime shared:1 - ext4 /dev/sda1 rw,errors=remount-ro,data=ordered
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 28 22 0:7 /
/sys/kernel/security rw,nosuid,nodev,noexec,relatime shared:8 - securityfs
securityfs rw
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 29 24 0:24 /
/dev/shm rw,nosuid,nodev shared:4 - tmpfs tmpfs rw
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 30 26 0:25 /
/run/lock rw,nosuid,nodev,noexec,relatime shared:6 - tmpfs tmpfs
rw,size=5120k
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 31 22 0:26 /
/sys/fs/cgroup ro,nosuid,nodev,noexec shared:9 - tmpfs tmpfs ro,mode=755
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 32 31 0:27 /
/sys/fs/cgroup/systemd rw,nosuid,nodev,noexec,relatime shared:10 - cgroup
cgroup
rw,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 33 22 0:28 /
/sys/fs/pstore rw,nosuid,nodev,noexec,relatime shared:11 - pstore pstore rw
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 34 31 0:29 /
/sys/fs/cgroup/freezer rw,nosuid,nodev,noexec,relatime shared:13 - cgroup
cgroup rw,freezer
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 35 31 0:30 /
/sys/fs/cgroup/memory rw,nosuid,nodev,noexec,relatime shared:14 - cgroup
cgroup rw,memory
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 36 31 0:31 /
/sys/fs/cgroup/devices rw,nosuid,nodev,noexec,relatime shared:15 - cgroup
cgroup rw,devices
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 37 31 0:32 /
/sys/fs/cgroup/net_cls,net_prio rw,nosuid,nodev,noexec,relatime shared:16 -
cgroup cgroup rw,net_cls,net_prio
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 38 31 0:33 /
/sys/fs/cgroup/perf_event rw,nosuid,nodev,noexec,relatime shared:17 -
cgroup cgroup rw,perf_event
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 39 31 0:34 /
/sys/fs/cgroup/cpu,cpuacct rw,nosuid,nodev,noexec,relatime shared:18 -
cgroup cgroup rw,cpu,cpuacct
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 40 31 0:35 /
/sys/fs/cgroup/cpuset rw,nosuid,nodev,noexec,relatime shared:19 - cgroup
cgroup rw,cpuset
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 41 31 0:36 /
/sys/fs/cgroup/pids rw,nosuid,nodev,noexec,relatime shared:20 - cgroup
cgroup rw,pids
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 42 31 0:37 /
/sys/fs/cgroup/rdma rw,nosuid,nodev,noexec,relatime shared:21 - cgroup
cgroup rw,rdma
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 43 31 0:38 /
/sys/fs/cgroup/blkio rw,nosuid,nodev,noexec,relatime shared:22 - cgroup
cgroup rw,blkio
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 44 31 0:39 /
/sys/fs/cgroup/hugetlb rw,nosuid,nodev,noexec,relatime shared:23 - cgroup
cgroup rw,hugetlb
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 45 23 0:40 /
/proc/sys/fs/binfmt_misc rw,relatime shared:24 - autofs systemd-1
rw,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=12506
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 80 24 0:18 /
/dev/mqueue rw,relatime shared:58 - mqueue mqueue rw
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 82 22 0:8 /
/sys/kernel/debug rw,relatime shared:60 - debugfs debugfs rw
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 84 24 0:41 /
/dev/hugepages rw,relatime shared:62 - hugetlbfs hugetlbfs rw,pagesize=2M
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 46 22 0:19 /
/sys/kernel/config rw,relatime shared:25 - configfs configfs rw
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 47 22 0:42 /
/sys/fs/fuse/connections rw,relatime shared:26 - fusectl fusectl rw
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 137 26 0:44 /
/run/user/1000 rw,nosuid,nodev,relatime shared:114 - tmpfs tmpfs
rw,size=204124k,mode=700,uid=1000,gid=1000
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 143 26 0:46 /
/run/user/50006 rw,nosuid,nodev,relatime shared:120 - tmpfs tmpfs
rw,size=204124k,mode=700,uid=50006,gid=50027
Sep 25 13:45:46 ubuntucliente lightdm[702]: (mount.c:558): 149 26 0:45 /
/run/user/108 rw,nosuid,nodev,relatime shared:126 - tmpfs tmpfs
rw,size=204124k,mode=700,uid=108,gid=114
Sep 25 13:45:46 ubuntucliente lightdm[702]: (pam_mount.c:522): mount of
FS_PRUEBA_3 failed
root at ubuntucliente:/etc/security# cat pam_mount.conf.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE pam_mount SYSTEM "pam_mount.conf.xml.dtd">
<pam_mount>
<volume fstype="cifs"
server="domain-server2.policia2.rionegro.gov.ar"
path="FS_PRUEBA_3"
mountpoint="/home/POLICIA2/prueba3/compartido"
Options="username=%(USER),uid=%(USERUID),gid=%(USERGID),domain=%(GRUPO3)"
>
<not> <uid>0-9999</uid> </not> </volume>
<!-- ... -->
</pam_mount>
On the domain, list users on the group GRUPO3
root at domain-server2:~# samba-tool group listmembers "GRUPO3"
WARNING: No path in service sudo - making it unavailable!
NOTE: Service sudo is flagged unavailable.
prueba3
regards
El vie., 25 sept. 2020 a las 12:27, Rowland penny via samba (<
samba at lists.samba.org>) escribi?:
> On 25/09/2020 16:05, jmpatagonia via samba wrote:
> >
> >
> > <volume fstype="cifs"
> > server="domain-server2"
> > path="FS_PRUEBA_3"
> > mountpoint="/home/prueba3/compartido"
> >
>
options="username=%(USER),uid=%(USERUID),gid=%(USERGID),domain=%(DOMAIN_NAME)"
>
> OK, try replacing the '%(DOMAIN_NAME)' with the workgroup name in
uppercase
>
> Also as you don't seem to be hearing me, I will raise my voice: REPLACE
> 'domain-server2' with its FQDN (fully qualified domain name), for
> example 'domain-server2.example.com'
>
> Rowland
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>