View Poll Results: Was this tutorial useful for you?

Voters
54. You may not vote on this poll
  • Yes, it was easy and worked on first try

    29 53.70%
  • Yes, but I had some issues understanding it

    13 24.07%
  • No, at the end it worked but the guide didn't cover all my issues

    4 7.41%
  • No, this tutorial failed at making me have a PDC

    8 14.81%
Page 1 of 18 12311 ... LastLast
Results 1 to 10 of 175

Thread: HowTo: Ubuntu 10.04 Samba Primary Domain Controller with LDAP

  1. #1
    Join Date
    May 2006
    Beans
    167

    Lightbulb -> to be rewritten (soon)

    Sorry, I have decided to rewrite this manual as it was incomplete in some areas, including roaming profiles and so on. It also had some errors.

    I will update it soon.
    Last edited by bulletxt; August 18th, 2010 at 01:01 AM. Reason: rewrite

  2. #2
    Join Date
    Dec 2004
    Beans
    22

    Re: HowTo: Ubuntu 10.04 Samba Primary Domain Controller with LDAP

    Hi, bulletxt! Excellent post. All works flawless, like a charm .

    Only one question: Is there a way to have roaming profiles enabled with this config? I have a classroom of 30 client PCs and I would like to have that option available, so the students can sit on any PC and get all their docs and configuration available.

    Thanks very much in advance.

  3. #3
    Join Date
    May 2006
    Beans
    167

    Re: HowTo: Ubuntu 10.04 Samba Primary Domain Controller with LDAP

    Quote Originally Posted by ricpelo View Post
    Hi, bulletxt! Excellent post. All works flawless, like a charm .

    Only one question: Is there a way to have roaming profiles enabled with this config? I have a classroom of 30 client PCs and I would like to have that option available, so the students can sit on any PC and get all their docs and configuration available.

    Thanks very much in advance.
    Hi, I'm sorry but I'm not sure how to enable roaming profiles, and I really don't have the time now to test it. Taking a wild guess, I'm quite sure you'll have to modify smb.conf at "logon home" and "logon path". Something similar must be done in /etc/smbldap/smbldap.conf

    If you find how to do it, please share it and I'll put it in main thread!

  4. #4
    Join Date
    Dec 2004
    Beans
    22

    Re: HowTo: Ubuntu 10.04 Samba Primary Domain Controller with LDAP

    Quote Originally Posted by bulletxt View Post
    Hi, I'm sorry but I'm not sure how to enable roaming profiles, and I really don't have the time now to test it. Taking a wild guess, I'm quite sure you'll have to modify smb.conf at "logon home" and "logon path". Something similar must be done in /etc/smbldap/smbldap.conf

    If you find how to do it, please share it and I'll put it in main thread!
    Hi. Thank you very much for the answer. I'm trying to enable the roaming profiles, but without luck. The WinXP client refuses to load the profile during the logon and displays an error message like "Windows cannot locate the server copy of your roaming profile...". I've tried with:

    logon drive = H:
    logon home = \\%N\%U
    logon path = \\%N\%U\profile
    logon script = logon.cmd

    as well as:

    [Profiles]
    comment = Roaming Profile Share
    # would probably change this to elsewhere in a production system ..
    path = /var/lib/samba/profiles
    read only = No
    profile acls = Yes
    browsable = No

    I can't see where's the point. Any clues?

    Cheers,

    Ricardo.

  5. #5
    Join Date
    May 2006
    Beans
    167

    Re: HowTo: Ubuntu 10.04 Samba Primary Domain Controller with LDAP

    Try this, put it inside [netlogon] :

    logon path = \\$netbios\profiles\%U

    Replace $netbios with your netbios= set in smb.conf
    Last edited by bulletxt; June 18th, 2010 at 01:26 AM.

  6. #6
    Join Date
    Jul 2006
    Location
    Brampton ON Can
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HowTo: Ubuntu 10.04 Samba Primary Domain Controller with LDAP

    Is there a way that you know of to integrate a samba domain controller into a network running Active Directory? I've been wanting to do this for some time. I understand that Samba 4 might help with this but in the mean time I've been looking.

    I have a network with 4 AD servers running Win2k3 server, and 140 workstations. Instead of adding yet another AD server I've been wanting to add a linux box with a share that the windows boxes will be able to access.

  7. #7
    Join Date
    May 2006
    Beans
    167

    Re: HowTo: Ubuntu 10.04 Samba Primary Domain Controller with LDAP


  8. #8
    Join Date
    Jul 2006
    Location
    Brampton ON Can
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HowTo: Ubuntu 10.04 Samba Primary Domain Controller with LDAP

    I'll give that a try. I don't see where the ubuntu box is getting it's AD information from but hopefully I can try soon.

    Thanks.

  9. #9
    Join Date
    Dec 2004
    Beans
    22

    Re: HowTo: Ubuntu 10.04 Samba Primary Domain Controller with LDAP

    Quote Originally Posted by bulletxt View Post
    Try this, put it inside [netlogon] :

    logon path = \\$netbios\profiles\%U

    Replace $netbios with your netbios= set in smb.conf
    Thanks, but it doesn't work, sorry . I've got the same error message in my WinXP client.

    This is an excerpt of what I have inside my smb.conf:

    Code:
    [netlogon]
        comment = Network Logon Service
        path= /var/lib/samba/netlogon
        admin users = root
        guest ok = Yes
        browseable = No
        logon drive = H:
        logon script = logon.cmd
        logon home = \\%N\%U
        logon path = \\%N\profiles\%U
    
    [profiles]
        comment = Roaming Profile Share
        path = /var/lib/samba/profiles
        read only = No
        profile acls = Yes
        browsable = No
    Both /var/lib/samba/netlogon and /var/lib/samba/profiles exist and have a chmod 777. May I miss something?

  10. #10
    Join Date
    Jun 2010
    Location
    Netherlands
    Beans
    22
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HowTo: Ubuntu 10.04 Samba Primary Domain Controller with LDAP

    Try this
    In Global section
    logon script = logon.cmd
    logon path = \\%L\profiles\%U\%m
    logon drive = H:
    logon home = \\%L\%U\.win_profile\%m (for old windows version, 98)

    [netlogon]
    comment = Network Logon Service
    path = /var/lib/samba/netlogon
    write list = @"Domain Admins"
    guest ok = Yes

    [profiles]
    comment = Profile Share
    path = /var/lib/samba/profiles
    read only = No
    profile acls = Yes
    browseable = No

    This works for me!

Page 1 of 18 12311 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •