Samba nach update auf 3.0.24-6etch4 kein zugriff auf PDC
Nachdem ich Samba auf 3.0.24-6etch4 upgedatet habe, kann ich mich zwar an der domain anmelden, aber habe keinen zugriff auf freigaben und auch nicht auf den Server.
hier mal die smb.conf
[global]
workgroup = PDC
domain logons = Yes
server string = %h server (Samba %v)
obey pam restrictions = Yes
passdb backend = tdbsam
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
preferred master = Yes
domain master = Yes
wins support = Yes
logon drive = U:
logon path = \\%L\%U\.profile
logon home = \\%L\%U\
panic action = /usr/share/samba/panic-action %d
logon script = %U.bat
map to guest = Bad User
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod -G %g %u
add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u
add group script = /etc/samba/smbgrpadd.sh "%g"
[homes]
comment = Home Directories
create mask = 0770
directory mask = 0770
browseable = No
read only = No
path = /home/%U
[gemeinsam]
comment = Transfer
create mask = 0777
directory mask = 0777
browseable = Yes
read only = No
path = /samba/gemeinsam
[archiv]
comment = Archiv
path = /samba/archiv
create mask = 770
directory mask = 770
browseable = Yes
read only = No
[printers]
comment = All Printers
path = /tmp
create mask = 0700
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[netlogon]
comment = Network Logon Service
path = /samba/netlogon
guest ok = no
share modes = no
browseable = no
directory mask = 777
create mask = 666
[www]
comment = Webfiles
path = /srv/www
guest ok = no
valid users = root, XXX
browsable = yes
create mask = 0777
directory mask = 0777
read only = no
writeable = Yes
write list = root, XXX
writable=yes
write ok=yes
[system]
comment = Systemdateien
path = /
guest ok = no
valid users = root, XXX
browsable = yes
create mask = 0777
directory mask = 0777
read only = no
writeable = Yes
write list = root
writable=yes
write ok=yes
vorher stand noch "passdb backend = tdbsam, guest" was aber fehler verursachte...
aber jetzt weis ich nicht weiter, woran es liegen könnte... vorallem kann ich mich an der domain anmelden, aber bekomme keinen zugriff auf \\pdc oder gar \\<ip-adresse> ... kann mir mal jemand schnell helfen???
hier mal die smb.conf
[global]
workgroup = PDC
domain logons = Yes
server string = %h server (Samba %v)
obey pam restrictions = Yes
passdb backend = tdbsam
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
preferred master = Yes
domain master = Yes
wins support = Yes
logon drive = U:
logon path = \\%L\%U\.profile
logon home = \\%L\%U\
panic action = /usr/share/samba/panic-action %d
logon script = %U.bat
map to guest = Bad User
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod -G %g %u
add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u
add group script = /etc/samba/smbgrpadd.sh "%g"
[homes]
comment = Home Directories
create mask = 0770
directory mask = 0770
browseable = No
read only = No
path = /home/%U
[gemeinsam]
comment = Transfer
create mask = 0777
directory mask = 0777
browseable = Yes
read only = No
path = /samba/gemeinsam
[archiv]
comment = Archiv
path = /samba/archiv
create mask = 770
directory mask = 770
browseable = Yes
read only = No
[printers]
comment = All Printers
path = /tmp
create mask = 0700
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[netlogon]
comment = Network Logon Service
path = /samba/netlogon
guest ok = no
share modes = no
browseable = no
directory mask = 777
create mask = 666
[www]
comment = Webfiles
path = /srv/www
guest ok = no
valid users = root, XXX
browsable = yes
create mask = 0777
directory mask = 0777
read only = no
writeable = Yes
write list = root, XXX
writable=yes
write ok=yes
[system]
comment = Systemdateien
path = /
guest ok = no
valid users = root, XXX
browsable = yes
create mask = 0777
directory mask = 0777
read only = no
writeable = Yes
write list = root
writable=yes
write ok=yes
vorher stand noch "passdb backend = tdbsam, guest" was aber fehler verursachte...
aber jetzt weis ich nicht weiter, woran es liegen könnte... vorallem kann ich mich an der domain anmelden, aber bekomme keinen zugriff auf \\pdc oder gar \\<ip-adresse> ... kann mir mal jemand schnell helfen???
Bitte markiere auch die Kommentare, die zur Lösung des Beitrags beigetragen haben
Content-ID: 62015
Url: https://administrator.de/contentid/62015
Ausgedruckt am: 24.11.2024 um 16:11 Uhr
3 Kommentare
Neuester Kommentar