gelöschter Benutzer
Guest
G
Hallo Leute,
Ich habe einen PC, auf dem alles mit der (anscheinend) selben Konfiguration einwandfrei funktioniert, auf den anderen PCs funktioniert es nicht. Ich habe den Firmennamen immer durch "redacted" ersetzt, im Folgenden mal die Konfigurationsdateien und die Fehler, die auftreten. Die PCs laufen alle auf Debian 7 "Wheezy" mit XFCE und sind alle auf dem neusten Stand (upgrade mindestens wöchentlich automatisch, manuell gestern).
Zuerst die Fehler:
[src=text]root@REDACTED-PC9:~# su phre4k
reenter password for pam_mount:
(mount.c:72): Messages from underlying mount program:
(mount.c:76): mount error(13): Permission denied
(mount.c:76): Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
(pam_mount.c:522): mount of ablage failed
phre4k@REDACTED-PC9:/root$ exit
exit
(mount.c:72): umount messages:
(mount.c:76): umount: /home/REDACTED.local/phre4k/Öffentlich ist nicht eingehängt
(mount.c:885): unmount of ablage failed
root@REDACTED-PC9:~# dmesg | tail
[ 237.007952] CIFS VFS: cifs_mount failed w/return code = -13
[23208.914633] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[23208.914649] CIFS VFS: Send error in SessSetup = -13
[23208.914749] CIFS VFS: cifs_mount failed w/return code = -13
[23236.005142] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[23236.005156] CIFS VFS: Send error in SessSetup = -13
[23236.005354] CIFS VFS: cifs_mount failed w/return code = -13
[23400.427703] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[23400.427717] CIFS VFS: Send error in SessSetup = -13
[23400.427917] CIFS VFS: cifs_mount failed w/return code = -13[/src]
Hier ein paar Tests zu Samba/Winbind (Namensauflösung funktioniert wunderbar):
[src=text]root@REDACTED-PC9:~# wbinfo -P
checking the NETLOGON dc connection to "REDACTED-server.REDACTED.local" succeeded
root@REDACTED-PC9:~# wbinfo -p
Ping to winbindd succeeded
root@REDACTED-PC9:~# net rpc testjoin
Join to 'REDACTED' is OK[/src]
<edit>
So sieht dmesg auf dem funktionierenden PC aus:
[src=text][ 259.610360] Key type dns_resolver registered
[ 259.621819] FS-Cache: Netfs 'cifs' registered for caching
[ 259.621881] Key type cifs.spnego registered
[ 259.621902] Key type cifs.idmap registered
[/src]
</edit>
Der Server heißt nicht REDACTED-server.REDACTED.local sondern filesrv1.
Hier die /etc/security/pam_mount.conf.xml:
[src=text]<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE pam_mount SYSTEM "pam_mount.conf.xml.dtd">
<!--
See pam_mount.conf(5) for a description.
-->
<pam_mount>
<!-- debug should come before everything else,
since this file is still processed in a single pass
from top-to-bottom -->
<debug enable="0" />
<!-- Volume definitions -->
<volume
fstype="cifs"
server="filesrv1"
path="ablage"
mountpoint="/home/REDACTED.local/%(DOMAIN_USER)/Öffentlich"
option="sec=krb5,workgroup=REDACTED" />
<!-- pam_mount parameters: General tunables -->
<!--
<luserconf name=".pam_mount.conf.xml" />
-->
<!-- Note that commenting out mntoptions will give you the defaults.
You will need to explicitly initialize it with the empty string
to reset the defaults to nothing. -->
<mntoptions allow="nosuid,nodev,loop,encryption,fsck,nonempty,allow_root,allow_other" />
<!--
<mntoptions deny="suid,dev" />
<mntoptions allow="*" />
<mntoptions deny="*" />
-->
<mntoptions require="nosuid,nodev" />
<logout wait="0" hup="0" term="0" kill="0" />
<!-- pam_mount parameters: Volume-related -->
<mkmountpoint enable="1" remove="true" />
</pam_mount>[/src]
Auf dem anderen PC mit der selben pam_mount.conf.xml funktioniert es. libpam-mount ist installiert, Namensauflösung funktioniert auch (per Ping getestet).
Alles was ich im Internet gefunden habe, spielt auf eine fehlende Domain oder Authentifizierungsmethode in den Konfigurationen an, allerdings habe ich die ja beide angegeben (REDACTED bzw. Kerberos). Mit klist erfahre ich nach dem Login, dass ein Ticket vorhanden ist, daran kann es also auch nicht liegen. Falls ich Informationen vergessen habe, bitte anfragen
Ich habe einen PC, auf dem alles mit der (anscheinend) selben Konfiguration einwandfrei funktioniert, auf den anderen PCs funktioniert es nicht. Ich habe den Firmennamen immer durch "redacted" ersetzt, im Folgenden mal die Konfigurationsdateien und die Fehler, die auftreten. Die PCs laufen alle auf Debian 7 "Wheezy" mit XFCE und sind alle auf dem neusten Stand (upgrade mindestens wöchentlich automatisch, manuell gestern).
Zuerst die Fehler:
[src=text]root@REDACTED-PC9:~# su phre4k
reenter password for pam_mount:
(mount.c:72): Messages from underlying mount program:
(mount.c:76): mount error(13): Permission denied
(mount.c:76): Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
(pam_mount.c:522): mount of ablage failed
phre4k@REDACTED-PC9:/root$ exit
exit
(mount.c:72): umount messages:
(mount.c:76): umount: /home/REDACTED.local/phre4k/Öffentlich ist nicht eingehängt
(mount.c:885): unmount of ablage failed
root@REDACTED-PC9:~# dmesg | tail
[ 237.007952] CIFS VFS: cifs_mount failed w/return code = -13
[23208.914633] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[23208.914649] CIFS VFS: Send error in SessSetup = -13
[23208.914749] CIFS VFS: cifs_mount failed w/return code = -13
[23236.005142] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[23236.005156] CIFS VFS: Send error in SessSetup = -13
[23236.005354] CIFS VFS: cifs_mount failed w/return code = -13
[23400.427703] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[23400.427717] CIFS VFS: Send error in SessSetup = -13
[23400.427917] CIFS VFS: cifs_mount failed w/return code = -13[/src]
Hier ein paar Tests zu Samba/Winbind (Namensauflösung funktioniert wunderbar):
[src=text]root@REDACTED-PC9:~# wbinfo -P
checking the NETLOGON dc connection to "REDACTED-server.REDACTED.local" succeeded
root@REDACTED-PC9:~# wbinfo -p
Ping to winbindd succeeded
root@REDACTED-PC9:~# net rpc testjoin
Join to 'REDACTED' is OK[/src]
<edit>
So sieht dmesg auf dem funktionierenden PC aus:
[src=text][ 259.610360] Key type dns_resolver registered
[ 259.621819] FS-Cache: Netfs 'cifs' registered for caching
[ 259.621881] Key type cifs.spnego registered
[ 259.621902] Key type cifs.idmap registered
[/src]
</edit>
Der Server heißt nicht REDACTED-server.REDACTED.local sondern filesrv1.
Hier die /etc/security/pam_mount.conf.xml:
[src=text]<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE pam_mount SYSTEM "pam_mount.conf.xml.dtd">
<!--
See pam_mount.conf(5) for a description.
-->
<pam_mount>
<!-- debug should come before everything else,
since this file is still processed in a single pass
from top-to-bottom -->
<debug enable="0" />
<!-- Volume definitions -->
<volume
fstype="cifs"
server="filesrv1"
path="ablage"
mountpoint="/home/REDACTED.local/%(DOMAIN_USER)/Öffentlich"
option="sec=krb5,workgroup=REDACTED" />
<!-- pam_mount parameters: General tunables -->
<!--
<luserconf name=".pam_mount.conf.xml" />
-->
<!-- Note that commenting out mntoptions will give you the defaults.
You will need to explicitly initialize it with the empty string
to reset the defaults to nothing. -->
<mntoptions allow="nosuid,nodev,loop,encryption,fsck,nonempty,allow_root,allow_other" />
<!--
<mntoptions deny="suid,dev" />
<mntoptions allow="*" />
<mntoptions deny="*" />
-->
<mntoptions require="nosuid,nodev" />
<logout wait="0" hup="0" term="0" kill="0" />
<!-- pam_mount parameters: Volume-related -->
<mkmountpoint enable="1" remove="true" />
</pam_mount>[/src]
Auf dem anderen PC mit der selben pam_mount.conf.xml funktioniert es. libpam-mount ist installiert, Namensauflösung funktioniert auch (per Ping getestet).
Alles was ich im Internet gefunden habe, spielt auf eine fehlende Domain oder Authentifizierungsmethode in den Konfigurationen an, allerdings habe ich die ja beide angegeben (REDACTED bzw. Kerberos). Mit klist erfahre ich nach dem Login, dass ein Ticket vorhanden ist, daran kann es also auch nicht liegen. Falls ich Informationen vergessen habe, bitte anfragen
Zuletzt bearbeitet: