Profile Details

Toggle Sidebar
Recent updates
  • Marcel van Leeuwen wrote:

    [offtopic]
    Okay, I borked my ClearOS Community VM. I thought to upgrade to business silver for 30 days but I can't. I already did before I suppose. Is a ClearOS 6 license transferable to 7?
    [/offtopic]

    I tried what you devs suggested on my unregistered (I suspect this make no difference) VM and groups still aren't visible.

    btw, I like the category headers menu!


    Hi Marcel,

    Try the info from Step 10 in my post below. Here is the info for quick reference:

    If you have a working Samba Directory but all of the Windows Group domain user settings are not there, it appears this currently a known issue with a fix in the works. Here is a temp fix that resolved the issue for me: Log into ssh or console as root and perform the following:

    nano /usr/clearos/apps/samba_directory/libraries/Group_Manager_Driver.php

    use Ctrl W to find and jump to: "if (! in_array($group_name"

    Then comment out the following lines:

    // if (! in_array($group_name, $valid_list)) {
    // $entry = $this->ldaph->next_entry($entry);
    // continue;
    // }

    Press Ctrl X, type Y to save, hit enter. Restart your webconfig or reboot, and when you go into the User Group portal, all of the user group settings, windows domain user groups, etc. should all be there.

  • Austin Tech
    Austin Tech updated their profile
  • I have clear install of ClearOS7 and SAMBA4 don't work at all

    I have make it few times:
    VirtualBOX
    1. Clear install of ClearOS7 as server with one ethernet and local area (without any firewall) DHCP CLIENT
    2. At wizard: make all updates (I don't install any apps from market)
    3. Reboot (try without, the same)
    4. Go to server/users and have 3 options: LDAP, SAMBA4 and MS Connector (not available)
    5. Click to SAMBA4 and apply all as default SERVER NAME and etc.
    6. It fails on DOMAIN SID: S-1-5-21-2485327205-1595316610-3853825375

  • I have clear install of ClearOS7 and SAMBA4 don't work at all

    I have make it few times:
    VirtualBOX
    1. Clear install of ClearOS7 as server with one ethernet and local area (without any firewall) DHCP CLIENT
    2. At wizard: make all updates (I don't install any apps from market)
    3. Reboot (try without, the same)
    4. Go to server/users and have 3 options: LDAP, SAMBA4 and MS Connector (not available)
    5. Click to SAMBA4 and apply all as default SERVER NAME and etc.
    6. It fails on DOMAIN SID: S-1-5-21-2485327205-1595316610-3853825375

  • Dear ClearOS and Community,

    I am hoping (praying) for help to get my Samba Directory to work, and maybe ClearOS and others can learn from my trials. I have attempted installing Samba Directory over a dozen times messing with numerous different setting and keep getting hung at the point when the Samba Directory is trying to initialize. It doesn't hang at same point, sometimes while self joining, sometimes when creating the Domain SIP, etc. There have been 3 or 4 occasions where I was able to manually remove and re-initialize the Samba Directory components (without a reformat/reinstall by following the directions at https://www.clearos.com/resources/documentation/clearos/content:en_us:kb_troubleshooting_re-initialize_openldap_directory) but even after these few times I had a successful initialization, the User/Group portal in the webconfig will then not load and gave the error message "Invalid DN Syntax!" Only a reformat/reinstall would remove the error and remote attempts to join the domain would not work even though Samba Directory appeared to initialize and was "running".

    Below is my current setup. I will gladly give anyone willing to help the system's root user/password to login to this test box and see if there is something I am simply missing if they can lend a hand. Also, after several failed attempts using our registered domain, I followed Roger Nixon's setup using .local domains (see: https://www.youtube.com/watch?v=pueCMuQ2acY) and could not get my system to replicate his successful results. Something seems to be SERIOUSLY wrong with the current Samba Directory Beta app.

    Test setup (ESXI Virtual Machine):
    ClearOS 7.1 Business Edition
    Intel Xeon E5-2420 v2 2.2Ghz (6 vCPUs)
    8GB ECC Ram
    2 dedicated NICs (VMX Net3 drivers)

    1st NIC: External Static IP 96.81.49.11, Subnet 255.255.255.248, Static Gateway IP, using ISP's static DNS Servers 75.75.75.75 and 75.75.75.76
    2nd NIC: LAN Static IP (DHCP server enabled) - set to 192.168.1.1, 255.255.255.0

    I have tried the following domain setups:

    Servername; CompanyPDC
    Domain: company.com
    Host: gateway.company.com (The DNS A record for this alias points to External Static IP)
    Internet Host: gateway.company.com

    AD Realm: AD.GATEWAY.COMPANY.COM
    Windows Domain: CompanyAD
    Netbios name: CompanyPDC

    and I have also tried the following (using Roger Nixon's test setup)

    Servername; CompanyPDC
    Domain: company.local
    Host: gateway.local
    Internet Host: gateway.local

    AD Realm: COMPANY.LOCAL
    Windows Domain: CompanyAD
    Netbios name: CompanyPDC


    Every time I perform a fresh install I check both the /etc/hosts and /etc/resolv.conf. They are rarely setup correctly during OS installation (unless NICs are properly setup from the console before finishing the OS install through the webconfig), and Samba Directory will fail initialization EVERY time without correcting the /etc/hosts and /etc/resolv.conf, so I current modify them to read:

    #/etc/hosts#
    127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 #this is here by default
    ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 #this is here by default
    192.168.1.1 company.local gateway.local #this is here 50/50 and needs to be added to corrected sometimes

    #/etc/resolv.conf
    domain company.local
    nameserver 75.75.75.75 ## this always reads 127.0.0.1 before I make the changes. Samba will fail without a working DNS server and 127.0.0.1 does not work



    This is where I am in my attempts, but have been unsuccessful to create a working Samba Directory. Did anyone have these same issues and figured out a fix? I have never been so stumped setting up a server from fresh install. Thanks in advance,

    Austin

  • Dear ClearOS and Community,

    I am hoping (praying) for help to get my Samba Directory to work, and maybe ClearOS and others can learn from my trials. I have attempted installing Samba Directory over a dozen times messing with numerous different setting and keep getting hung at the point when the Samba Directory is trying to initialize. It doesn't hang at same point, sometimes while self joining, sometimes when creating the Domain SIP, etc. There have been 3 or 4 occasions where I was able to manually remove and re-initialize the Samba Directory components (without a reformat/reinstall by following the directions at https://www.clearos.com/resources/documentation/clearos/content:en_us:kb_troubleshooting_re-initialize_openldap_directory) but even after these few times I had a successful initialization, the User/Group portal in the webconfig will then not load and gave the error message "Invalid DN Syntax!" Only a reformat/reinstall would remove the error and remote attempts to join the domain would not work even though Samba Directory appeared to initialize and was "running".

    Below is my current setup. I will gladly give anyone willing to help the system's root user/password to login to this test box and see if there is something I am simply missing if they can lend a hand. Also, after several failed attempts using our registered domain, I followed Roger Nixon's setup using .local domains (see: https://www.youtube.com/watch?v=pueCMuQ2acY) and could not get my system to replicate his successful results. Something seems to be SERIOUSLY wrong with the current Samba Directory Beta app.

    Test setup (ESXI Virtual Machine):
    ClearOS 7.1 Business Edition
    Intel Xeon E5-2420 v2 2.2Ghz (6 vCPUs)
    8GB ECC Ram
    2 dedicated NICs (VMX Net3 drivers)

    1st NIC: External Static IP 96.81.49.11, Subnet 255.255.255.248, Static Gateway IP, using ISP's static DNS Servers 75.75.75.75 and 75.75.75.76
    2nd NIC: LAN Static IP (DHCP server enabled) - set to 192.168.1.1, 255.255.255.0

    I have tried the following domain setups:

    Servername; CompanyPDC
    Domain: company.com
    Host: gateway.company.com (The DNS A record for this alias points to External Static IP)
    Internet Host: gateway.company.com

    AD Realm: AD.GATEWAY.COMPANY.COM
    Windows Domain: CompanyAD
    Netbios name: CompanyPDC

    and I have also tried the following (using Roger Nixon's test setup)

    Servername; CompanyPDC
    Domain: company.local
    Host: gateway.local
    Internet Host: gateway.local

    AD Realm: COMPANY.LOCAL
    Windows Domain: CompanyAD
    Netbios name: CompanyPDC


    Every time I perform a fresh install I check both the /etc/hosts and /etc/resolv.conf. They are rarely setup correctly during OS installation (unless NICs are properly setup from the console before finishing the OS install through the webconfig), and Samba Directory will fail initialization EVERY time without correcting the /etc/hosts and /etc/resolv.conf, so I current modify them to read:

    #/etc/hosts#
    127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 #this is here by default
    ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 #this is here by default
    192.168.1.1 company.local gateway.local #this is here 50/50 and needs to be added to corrected sometimes

    #/etc/resolv.conf
    domain company.local
    nameserver 75.75.75.75 ## this always reads 127.0.0.1 before I make the changes. Samba will fail without a working DNS server and 127.0.0.1 does not work



    This is where I am in my attempts, but have been unsuccessful to create a working Samba Directory. Did anyone have these same issues and figured out a fix? I have never been so stumped setting up a server from fresh install. Thanks in advance,

    Austin

  • Dear ClearOS and Community,

    I am hoping (praying) for help to get my Samba Directory to work, and maybe ClearOS and others can learn from my trials. I have attempted installing Samba Directory over a dozen times messing with numerous different setting and keep getting hung at the point when the Samba Directory is trying to initialize. It doesn't hang at same point, sometimes while self joining, sometimes when creating the Domain SIP, etc. There have been 3 or 4 occasions where I was able to manually remove and re-initialize the Samba Directory components (without a reformat/reinstall by following the directions at https://www.clearos.com/resources/documentation/clearos/content:en_us:kb_troubleshooting_re-initialize_openldap_directory) but even after these few times I had a successful initialization, the User/Group portal in the webconfig will then not load and gave the error message "Invalid DN Syntax!" Only a reformat/reinstall would remove the error and remote attempts to join the domain would not work even though Samba Directory appeared to initialize and was "running".

    Below is my current setup. I will gladly give anyone willing to help the system's root user/password to login to this test box and see if there is something I am simply missing if they can lend a hand. Also, after several failed attempts using our registered domain, I followed Roger Nixon's setup using .local domains (see: https://www.youtube.com/watch?v=pueCMuQ2acY) and could not get my system to replicate his successful results. Something seems to be SERIOUSLY wrong with the current Samba Directory Beta app.

    Test setup (ESXI Virtual Machine):
    ClearOS 7.1 Business Edition
    Intel Xeon E5-2420 v2 2.2Ghz (6 vCPUs)
    8GB ECC Ram
    2 dedicated NICs (VMX Net3 drivers)

    1st NIC: External Static IP 96.81.49.11, Subnet 255.255.255.248, Static Gateway IP, using ISP's static DNS Servers 75.75.75.75 and 75.75.75.76
    2nd NIC: LAN Static IP (DHCP server enabled) - set to 192.168.1.1, 255.255.255.0

    I have tried the following domain setups:

    Servername; CompanyPDC
    Domain: company.com
    Host: gateway.company.com (The DNS A record for this alias points to External Static IP)
    Internet Host: gateway.company.com

    AD Realm: AD.GATEWAY.COMPANY.COM
    Windows Domain: CompanyAD
    Netbios name: CompanyPDC

    and I have also tried the following (using Roger Nixon's test setup)

    Servername; CompanyPDC
    Domain: company.local
    Host: gateway.local
    Internet Host: gateway.local

    AD Realm: COMPANY.LOCAL
    Windows Domain: CompanyAD
    Netbios name: CompanyPDC


    Every time I perform a fresh install I check both the /etc/hosts and /etc/resolv.conf. They are rarely setup correctly during OS installation (unless NICs are properly setup from the console before finishing the OS install through the webconfig), and Samba Directory will fail initialization EVERY time without correcting the /etc/hosts and /etc/resolv.conf, so I current modify them to read:

    #/etc/hosts#
    127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 #this is here by default
    ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 #this is here by default
    192.168.1.1 company.local gateway.local #this is here 50/50 and needs to be added to corrected sometimes

    #/etc/resolv.conf
    domain company.local
    nameserver 75.75.75.75 ## this always reads 127.0.0.1 before I make the changes. Samba will fail without a working DNS server and 127.0.0.1 does not work



    This is where I am in my attempts, but have been unsuccessful to create a working Samba Directory. Did anyone have these same issues and figured out a fix? I have never been so stumped setting up a server from fresh install. Thanks in advance,

    Austin

  • Austin Tech
    Austin Tech unlocked the badge Newbie
    Newbie
    Congrats on registering on the site!
  • Austin Tech
    Austin Tech just registered on the site