Sziasztok!
Ssegtséget szeretnék kérni.
Ezen leírás alapján próbálok készíteni egy ldap-ból működő samba pdc rendszert:
https://help.ubuntu.com/community/OpenLDAP-SambaPDC-OrgInfo-Posix
A Join Windows XP PC to the Domain részhez értem és feljött a kis ablak, hogy kéri a user nevet és jelszót... és itt akadok el.
Mindent a leírás alapján csináltam annyi különbséggel, hogy nem ugyan azokat a gépneveket meg ldap root neveket használtam.
A belépéskor hibát ír, hogy nem jó a user név v jelszó.
Az nss-t és pam-ot még nem állítottam át.
Megkérhatnék valakit, hogy nézze meg nekem mit ronthatok el?
Köszi,
Csaba
Itt a log.smbd
[2010/03/01 14:38:49, 0] auth/auth_util.c:create_builtin_administrators(792)
create_builtin_administrators: Failed to create Administrators
[2010/03/01 14:38:49, 0] auth/auth_util.c:create_builtin_users(758)
create_builtin_users: Failed to create Users
[2010/03/01 14:38:50, 0] auth/auth_util.c:create_builtin_administrators(792)
create_builtin_administrators: Failed to create Administrators
[2010/03/01 14:38:50, 0] auth/auth_util.c:create_builtin_users(758)
create_builtin_users: Failed to create Users
[2010/03/01 14:42:33, 0] smbd/server.c:main(944)
smbd version 3.0.28a started.
Itt az smb.conf
[global]
# Domain name ..
workgroup = krudy-maros
# Server name - as seen by Windows PCs ..
netbios name = marostest
# Be a PDC ..
domain logons = Yes
domain master = Yes
local master = yes
# Be a WINS server ..
wins support = yes
os level = 256
obey pam restrictions = Yes
dns proxy = No
os level = 35
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
pam password change = Yes
# Allows users on WinXP PCs to change their password when they press Ctrl-Alt-Del
unix password sync = no
ldap passwd sync = yes
# Printing from PCs will go via CUPS ..
load printers = yes
printing = cups
printcap name = cups
# Use LDAP for Samba user accounts and groups ..
passdb backend = ldapsam:ldap://localhost
# This must match init.ldif ..
ldap suffix = dc=ubuntuldap,dc=localhost
# The password for cn=admin MUST be stored in /etc/samba/secrets.tdb
# This is done by running 'sudo smbpasswd -w'.
ldap admin dn = cn=admin,dc=ubuntuldap,dc=localhost
# 4 OUs that Samba uses when creating user accounts, computer accounts, etc.
# (Because we are using smbldap-tools, call them 'Users', 'Computers', etc.)
ldap machine suffix = ou=Computers
ldap user suffix = ou=Users
ldap group suffix = ou=Groups
ldap idmap suffix = ou=Idmap
# Samba and LDAP server are on the same server in this example.
ldap ssl = no
# Scripts for Samba to use if it creates users, groups, etc.
add user script = /usr/sbin/smbldap-useradd -m '%u'
delete user script = /usr/sbin/smbldap-userdel %u
add group script = /usr/sbin/smbldap-groupadd -p '%g'
delete group script = /usr/sbin/smbldap-groupdel '%g'
add user to group script = /usr/sbin/smbldap-groupmod -m '%u' '%g'
delete user from group script = /usr/sbin/smbldap-groupmod -x '%u' '%g'
set primary group script = /usr/sbin/smbldap-usermod -g '%g' '%u'
# Script that Samba users when a PC joins the domain ..
# (when changing 'Computer Properties' on the PC)
add machine script = /usr/sbin/smbldap-useradd -w '%u'
# Values used when a new user is created ..
# (Note: '%L' does not work properly with smbldap-tools 0.9.4-1)
logon drive = H:
logon home = \\marostest\%U
logon path = \\marostest\Profiles\%U
logon script = logon.bat
# This is required for Windows XP client ..
server signing = auto
server schannel = Auto
[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No
[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
admin users = root
guest ok = Yes
browseable = No
[Profiles]
comment = Roaming Profile Share
# would probably change this to elsewhere in a production system ..
path = /home/samba/profiles
read only = No
profile acls = Yes
browsable = No
[printers]
comment = All Printers
path = /var/spool/samba
use client driver = Yes
create mask = 0600
guest ok = Yes
printable = Yes
browseable = No
public = yes
writable = yes
admin users = root
write list = root
[print$]
comment = Printer Drivers Share
path = /home/samba/printers
write list = root
create mask = 0664
directory mask = 0775
admin users = root
smbclient -L file-server-ldap -U anonymous%
Anonymous login successful
Domain=[KRUDY-MAROS] OS=[Unix] Server=[Samba 3.0.28a]
Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (Samba 3.0.28a)
print$ Disk Printer Drivers Share
PDF Printer PDF
Anonymous login successful
Domain=[KRUDY-MAROS] OS=[Unix] Server=[Samba 3.0.28a]
Server Comment
--------- -------
MAROSTEST Samba 3.0.28a
Workgroup Master
--------- -------
KRUDY-MAROS MAROSTEST
- 2046 megtekintés