Roaming Profile Error with Samba Domain Controller Setup

Discussion in 'HOWTO-Related Questions' started by noahlau, Mar 7, 2006.

  1. noahlau

    noahlau New Member

    I've most recently configured a Samba PDC with version 5.10. I followed each step. however, i got some problems

    here is my smb.conf:
    1. I log on a win XP as a local admin then i upload a user's profile to /home/samba/profiles and rename the profile to "tom":

    debian:/home/samba/profiles# ls -la
    drwxrwx--x 13 root users 4096 2006-03-08 00:07 tom

    I can successfully login from WinXP using the domain account "tom", but when I do, I get the following error, "Windows cannot locate the server copy of your roaming profile..."

    2. i writed a logon script and i converted the file to the Windows format by using unix2dos, but the winxp workstation never execute it:

    debian:/home/samba/netlogon/scripts# cat login.bat
    net use P: \\DEBIAN\allusers

    debian:/home/samba/netlogon/scripts# ls -al
    total 12
    drwxrwx--x 2 root users 4096 2006-03-08 00:36 .
    drwxrwx--x 3 root users 4096 2006-03-08 00:36 ..
    -rwxrwx--x 1 root users 30 2006-03-08 00:30 login.bat

    Would you please kindly help ???

    thank you so much !!!!
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Why did you copy the profile manually to the linux server. I'am not sure if the profile will work when you copy it manually. The better way is to let windows create the profile for you on the windows server after logging in as user tom.
  3. AboGassir

    AboGassir New Member

    I think it is a security problem, in fact an ownership one.
    Make sure that the owner of the profile folder AND ALL it's SUBCONTENTS is the same as the user who is logging in. And this also applies to the group.
  4. karthick

    karthick New Member


    hi Experts ,

    Im karthick ...

    I wish favour from everyone. using samba can we restrict internet downloadin limit for every user.If it is possible can u say how.

    If not how can we do that in linux.Is through proxy or something else.
    can you kindly help me please ,...
  5. falko

    falko Super Moderator Howtoforge Staff

    No. You can do this with a proxy like Squid.
  6. karthick

    karthick New Member

    Hi ,

    Thanks ... Can u help me with that proxy. How can we do it. I have installed and configured squid2.5 and i tried with basic configuration here it is

    http_port 3128
    acl test src
    http_access deny test
    http_access allow local_host

    when i did this config and started the server.The http is blocked and no sites are able to access.Can i do it to restrict access to particular site and how to set downloading limit. kindly pls help me...
  7. falko

    falko Super Moderator Howtoforge Staff

Share This Page