Samba als PDC

Post Reply
Message
Author
imat
Posts: 3
Joined: 04. Apr 2004 15:39

Samba als PDC

#1 Post by imat »

Hallo,

ich möchte einen Samba als PDC einsetzen. Die Clients sind alle Win2000 und schon an der Domain angemeldet. Die Samba User sind angelegt. Alle angegebenen Unix-Pfade in der smb.conf sind vorhanden.

Nun bekomme ich bei der Benutzeranmeldung an die Domain folgende Fehlermeldung:

Profilverzeichnis \<!--no-->server\Profiles\administrator.pds konnte nicht erstellt werden. Netzwerkname nicht gefunden.

hier habe ich mal meine smb.conf

[global]
workgroup = Schulung
server string = "Samba"
interfaces = eth0 eth1
encrypt passwords = yes
# smb passwd file = /etc/samba/smbpasswd
security = user
os level = 64
domain logons = yes
domain master = yes
preferred master = yes
logon path = \<!--no-->%L\Profiles\%U
logon script = \<!--no-->%L\NETLOGON\logon.bat
# wins support = yes
# domain admin group = root imat Administrator
# admin users = root imat Administrator
# log level = 9
printing = lprng
printcap name = /etc/printcap
load printers = yes
# add user script = /usr/sbin/useradd -c Machine -d /dev/null -s /bin/false %m$
# local master = yes
# logon home = \<!--no-->%L\%U
# logon drive = X

[NETLOGON]
path = /samba/NETLOGON
public = yes
readonly = yes
# browseable = yes
# guest ok = yes
# printable = yes

[HOME]
path = /samba/home/%U
writeable = yes
browsable = yes
public = no
create mode = 0700

# guest ok = no
# printable = no

[Profiles]
path = /samba/home/profiles
writeable = yes
create mode = 0750
# browseable = yes
# guest ok = no
# printable = no

[SHARE]
comment = Transfer
path = /samba/share
public = yes
create mode = 0770
# directory mask = 0775
# browseable = yes
# guest ok = yes
# printable = no
read only = no

[PRINTERS]
path = /var/spool/samba
create mode = 0700
printable = yes
browseable = no
comment = Drucker
directory = /tmp
# read only = yes


und hier ist das logfile log.smbd dazu

[2004/04/02 17:52:26, 0] smbd/server.c:main(791)
smbd version 2.2.8a-SuSE started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2004/04/02 17:52:45, 0] rpc_server/srv_pipe.c:api_pipe_netsec_process(1299)
failed to decode PDU
[2004/04/02 17:52:45, 0] rpc_server/srv_pipe_hnd.c:process_request_pdu(504)
process_request_pdu: failed to do schannel processing.
[2004/04/02 17:52:45, 0] smbd/service.c:make_connection(599)
wbs-003 (10.140.8.4) Can't change directory to /samba/home/profiles (No such file or directory)
[2004/04/02 17:52:45, 0] smbd/service.c:make_connection(599)
wbs-003 (10.140.8.4) Can't change directory to /samba/home/profiles (No such file or directory)
[2004/04/02 17:52:45, 0] smbd/service.c:make_connection(599)
wbs-003 (10.140.8.4) Can't change directory to /samba/home/profiles (No such file or directory)
[2004/04/02 17:52:45, 0] smbd/service.c:make_connection(599)
wbs-003 (10.140.8.4) Can't change directory to /samba/home/profiles (No such file or directory)
[2004/04/02 17:52:45, 0] smbd/service.c:make_connection(599)
wbs-003 (10.140.8.4) Can't change directory to /samba/home/profiles (No such file or directory)
[2004/04/02 17:53:03, 0] smbd/service.c:make_connection(252)
wbs-003 (10.140.8.4) couldn't find service administrator
[2004/04/02 17:53:03, 0] smbd/service.c:make_connection(252)
wbs-003 (10.140.8.4) couldn't find service administrator


Nun meine Fragen, was passt da nicht oder was fehlt da noch.

Ich bin über jeder Hifle dankbar!!!

imat

Jochen

Re: Samba als PDC

#2 Post by Jochen »

Hm, offensichtlich will der smbd in ein Verzeichnis wechseln und kann es nicht, weil's nicht existiert: "Can't change directory to /samba/home/profiles (No such file or directory)". Also entweder existiert das Verzeichnis nicht oder schon der Pfad dahin nicht. Was sagt er denn, wenn du ein <pre><font size="3">ls -l /samba/home/profiles</font><!--3--></pre>eingibst? Vielleicht hast Du das Verzeichnis nur unter anderem Namen ("profile" statt "profiles"? "Profiles" statt "profiles"?) angelegt...

Jochen

imat
Posts: 3
Joined: 04. Apr 2004 15:39

Re: Samba als PDC

#3 Post by imat »

Hallo Jochen,

vielen Dank für die schnelle Hilfe. Das Verzeichnis war wirklich nicht da. Jetzt läuft alles wunderbar.

Mathias

Post Reply