I am having a hard time getting any information from this list about the default OU's used when running the net ads join command.

After mapping to the wrong OU in Active Directory for a Samba Domain Member Server (ou=wrong_container,dc=server,dc=com) I cannot change this back to the default (cn=users,dc=server,dc=com). Any help is appreciated and here is the result of net ads dn command:

This is the contianer I would like to have used:
[EMAIL PROTECTED]:~> sudo net ads dn CN=Users,DC=scl,DC=utah,DC=edu
Got 1 replies

cn: Users
description: Default container for upgraded user accounts
instanceType: 4
isCriticalSystemObject: TRUE
distinguishedName: CN=Users,DC=server,DC=com
objectCategory: CN=Container,CN=Schema,CN=Configuration,DC=server,DC=com
objectClass: top
objectClass: container
objectGUID: 4d844717-2fbc-44ef-bc20-9cde9cd8fd57
name: Users
showInAdvancedViewOnly: FALSE
systemFlags: -1946157056
uSNChanged: 1314
uSNCreated: 1314
whenChanged: 20020611232724.0Z
whenCreated: 20020611232724.0Z

And here is the results of the same command on the container in which I mapped on accident following the Samba-Official-HowTo Chapter 6 Section II:
[EMAIL PROTECTED]:~> sudo net ads dn OU=wrong_container,DC=server,DC=com
Got 1 replies

dSCorePropagationData: 20020613223654.0Z
dSCorePropagationData: 20020613000034.0Z
dSCorePropagationData: 16010101000417.0Z
gPLink: [LDAP://CN={53EAFCD9-1407-42B3-B03D-379ECD71E7B1},CN=Policies,CN=System,DC=server,DC=com;0][LDAP://CN={D292B584-66EA-4939-94F7-6E09EDD2EF64},CN=Policies,CN=System,DC=server,DC=com;0][LDAP://CN={86B5C70E-0B7B-475C-B036-C7B161C5BDD5},CN=Policies,CN=System,DC=scl,DC=utah,DC=edu;0]
gPOptions: 0
instanceType: 4
distinguishedName: OU=campus,DC=server,DC=com
objectCategory: CN=Organizational-Unit,CN=Schema,CN=Configuration,DC=server,DC=com
objectClass: top
objectClass: organizationalUnit
objectGUID: eaf62e3b-9611-4995-baf7-4b744dcd6c25
ou: campus
name: campus
uSNChanged: 1891078
uSNCreated: 4142
whenChanged: 20021212223456.0Z
whenCreated: 20020612235318.0Z

If you compare the two you can see that there is a gPLink attribute on the container I DONT want to use vs. the other. Any assistance is appreciated.

--
Jason Gerfen

"My girlfriend threated to
leave me if I went boarding...
I will miss her."
~ DIATRIBE aka FBITKK

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to