i'm trying to setup my samba 2.2.8a server as a PDC to be accessed by win laptops on a mandrake 9.2 based PC.
after countless hours reading and trying i have been able to add the laptops to the domain. but when i log in with my username it complains that the system is not able to locate my roaming profile. details: The network path was not found.
what's the cause for this? i have the feeling this is related to the access rights of the different profile directories samba uses. how do i need to set them so that only the ones that need them can actually access these folders?
but even worse, i don't have the permission to access any of the shares from samba. message: There are currently no logon servers available to service the logon request. both smbd and nmbd are running.
where's the problem? could it be that i'm still logged in from another station? i was before but logged out and restarde smbd.
i've set the rights to a+rwx for
rwxrwxrwx on /pdc/profiles
rwxrwxrwx on /var/lib/samba/profiles
rwxrwxrwx on /var/lib/samba/netlogon
i've created the local accounts by hand (the script did not seem to work) for my laptop:
/etc/passwd:
laptop03$:x:700:700:Machine Account:/dev/null:/bin/false
tto:x:505:502
efault User:/working/users/tto:/bin/bash
/etc/samba/smbpasswd
laptop03$:700:B905609F1B0ECB566B7FA287A74C4327:8500887CAE0B90AD0D82200CB33BC4F8:[W ]:LCT-4117D45D:
tto:505:0979254E770DE43DAAD3B435B51404EE:066B09ABA1B35BC6D2DC04FA85A4DB95:[UX ]:LCT-402B8877:
here's my smb.conf file:
**********************************************
[global]
server string = Samba Server %v
printcap name = cups
load printers = yes
printing = cups
printer admin = @adm
log file = /var/log/samba/log.%m
max log size = 50
map to guest = bad user
;encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
netbios name = server01
workgroup = etinveni
os level = 64
;passdb backend = smbpasswd
preferred master = yes
domain master = yes
local master = yes
domain logons = yes
security = user
encrypt passwords = yes
logon path = \\%L\pdc\profiles\%u
logon drive = H:
logon home = \\%L\pdc\%U\.profile
;logon script = logon.cmd
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
read only = yes
write list = ntadmin
gues ok = yes
[profiles]
path = /var/lib/samba/profiles
browseable = no
guest ok = yes
read only = no
create mask = 0600
directory mask = 0700
root preexec = PROFILE=/var/lib/samba/profiles/%u; if [ ! -e $PROFILE ]; \
then mkdir -pm700 $PROFILE; chown %u.%g $PROFILE;fi
[homes]
comment = Home Directories
path = /working/users/%U
browseable = no
writable = yes
create mode = 0664
directory mode = 0775
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# to allow user 'guest account' to print.
guest ok = yes
writable = no
printable = yes
create mode = 0700
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
[archieve]
path = /archive
public = no
guest only = no
writeable = yes
printable = no
**********************************************
appreciate any help