Replies: 4 comments 5 replies
-
Hello @rybussell thank you for your accurate report. Can you please check the LDAP server you are using. I guess it is 389-ds if you followed the doc. But just to make sure. Type |
Beta Was this translation helpful? Give feedback.
-
Version: 2.1.7-beta1 I ran dpkg -l | grep -i 389 and nothing returns.. not an error.. nothing.. I'm able to do other things with LDAP though.. Like I can go to the Virtual Machine settings under Access and where it says : Type a typical LDAP user name to fetch the attribute list I can type names and verify access.. So I feel like LDAP is working correctly. Unless the groups are based of something else.. |
Beta Was this translation helpful? Give feedback.
-
Sorry @rybussell there is something missing here. There must be some LDAP server installed somewhere. And Just in case I just tried creating a group of unique names in a plain server I have available just in case. |
Beta Was this translation helpful? Give feedback.
-
Hey, is this correct ? |
Beta Was this translation helpful? Give feedback.
-
Followed https://ravada.readthedocs.io/en/latest/docs/INSTALL_Ubuntu.html
OS is Ubuntu 22.04
Fully updated.
I have everything up and running. Able to log into the web interface with our LDAP credentials. Users able to start virtual desktops... All that is great...
When I go to create a group at https://ipaddress/group/new
I get multiple different error messages... The group name I try is PleaseCreateMe (please note actual domain name changed for errors...)
Under groupOfUniqueNames:
Error creating group PleaseCreateMe : 0000208D: NameErr: DSID-0310023C, problem 2001 (NO_OBJECT), data 0, best match of: 'DC=mydomain,DC=com' $VAR1 = [ 'dn', 'cn=PleaseCreateMe,ou=groups,dc=mydomain,dc=com', 'cn', 'PleaseCreateMe', 'attrs', [ 'cn', 'PleaseCreateMe', 'objectClass', [ 'top', 'groupOfUniqueNames' ], 'description', 'Group for PleaseCreateMe' ] ];
If I switch to nsMemberOf:
Error creating group PleaseCreateMe : 00000057: LdapErr: DSID-0C090EB7, comment: Error in attribute conversion operation, data 0, v2580 $VAR1 = [ 'dn', 'cn=PleaseCreateMe,ou=groups,dc=mydomain,dc=com', 'cn', 'PleaseCreateMe', 'attrs', [ 'cn', 'PleaseCreateMe', 'objectClass', [ 'top', 'nsMemberOf' ], 'description', 'Group for PleaseCreateMe' ] ];
Under posixGroup:
Error creating group PleaseCreateMe : 0000208D: NameErr: DSID-0310023C, problem 2001 (NO_OBJECT), data 0, best match of: 'DC=mydomain,DC=com' $VAR1 = [ 'dn', 'cn=PleaseCreateMe,ou=groups,dc=mydomain,dc=com', 'cn', 'PleaseCreateMe', 'attrs', [ 'cn', 'PleaseCreateMe', 'objectClass', [ 'top', 'posixGroup' ], 'description', 'Group for PleaseCreateMe', 'gidNumber', 100 ] ];
What is interesting about posixGroup is it flashes on screen for a brief moment and says
Oops! Group name cannot be empty
Oops! Group name must be less than 80 characters...
Last, if I try to create the group in command line using:
rvd_back --add-group-ldap PleaseCreateMe
Error creating group PleaseCreateMe : 00000057: LdapErr: DSID-0C090EB7, comment: Error in attribute conversion operation, data 0, v2580
$VAR1 = [
'dn',
'cn=PleaseCreateMe,ou=groups,dc=mydomain,dc=com',
'cn',
'PleaseCreateMe',
'attrs',
[
'cn',
'PleaseCreateMe',
'objectClass',
[
'groupOfUniqueNames',
'nsMemberOf',
'posixGroup',
'top'
],
'description',
'Group for PleaseCreateMe',
'gidNumber',
100
]
];
My Ravada.conf file is as follows:
ldap:
server: 192.168.0.254
port: 389
base: dc=mydomain,dc=com
field: cn (tried sAMAccountName, others)
admin_user: CN=admin_user,OU=admins,dc=mydomain,dc=com
password: AdminPassword12345!
Anything that sticks out? Anything to try?
Beta Was this translation helpful? Give feedback.
All reactions