PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : samba server zu einer samba domain hinzufügen



apt-get
11.08.04, 16:13
grüße,

ich habe folgendes problem.

ich möchte einen samba-server einer samba-domain hinzufügen, doch ich scheitere daran. wenn ich auf dem hinzuzufügendem server


smbpasswd -j schumann.local -r pdc.schumann.local -U root

eingebe kommt die fehlermeldung


Error connecting to pdc.schumann.local
Unable to join domain schumann.local


auf dem pdc ist ein maschinenkonto für diesen server vorhanden. auch läst sich der hostname sowohl von dem pdc als auch von dem hinzuzufügenden server auflösen. weiterhin kann ich mich von diversen win2k maschinen an dem pdc als benutzer anmelden.

die smb.conf vom pdc


[global]
workgroup = schumann.local
obey pam restrictions = yes
logon path = \\%L\profiles\%u
logon script = %u.bat
security = user
encrypt passwords = yes
os level = 65
local master = yes
preferred master = yes
domain master = yes
wins support = yes
netbios name = pdc
domain logons = yes
domain admin users = root

[netlogon]
comment = Domain-Anmeldedienst
path = /home/samba/netlogon
public = no
read only = yes
browseable = no

[profiles]
comment = Benutzerprofile
path = /home/samba/profiles
public = no
read only = no
browseable = no
create mode = 0600
directory mode = 0700


die smb.conf vom hinzuzufügendem server


[global]
password server = pdc.schumann.local
wins server = pdc.schumann.local
security = domain
encrypt passwords = yes
workgroup = schumann.local
server string = web ftp mail
syslog = 0
socket options = TCP_NODELAY
log file = /var/log/samba/%m.log
os level = 32
max log size = 1000
preferred master = no

[intranet]
path = /var/www
comment = Intranet @ schumann.local
writeable = yes
force create mode = 755
dont descend = /var/www/.default


die sambaversion ist 3.0.5

so long...

Fly
12.08.04, 07:16
versuch mit net join, da seit Samba 3.0 mit net join gemacht wird!

net rpc join –U <Admin des Domänencontroller>

siehe man net join...

RichieX
12.08.04, 07:35
Lass mal bei den Hosteinträgen (pdc.schumann.local) das schumann.local weg. In der smb.conf sowie im smbpasswd-Befehl.

RichieX

RichieX
12.08.04, 11:15
Bei der richtigen Konfiguration der smb.conf reicht eigentlich ein


net join -U <Domain-Admin>


RichieX