summaryrefslogtreecommitdiff
path: root/server/infopipe/org.freeipa.sssd.infopipe.Introspect.xml
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-03-06 08:46:03 -0500
committerSimo Sorce <ssorce@redhat.com>2009-03-06 12:36:53 -0500
commit88f6f6db02c76f4f9d17cbd665b951cdccaaa39e (patch)
tree2b2b7e654bb40a4bdce989c6dd76a54ec6a548a9 /server/infopipe/org.freeipa.sssd.infopipe.Introspect.xml
parentbaa296befe5908dde17d6e907c0071c2f65a4a88 (diff)
downloadsssd-88f6f6db02c76f4f9d17cbd665b951cdccaaa39e.tar.gz
sssd-88f6f6db02c76f4f9d17cbd665b951cdccaaa39e.tar.bz2
sssd-88f6f6db02c76f4f9d17cbd665b951cdccaaa39e.zip
Implement CreateUser in InfoPipe
Changed the order of the arguments to CreateUser in the Introspection XML to match the other functions (domain belongs second on the list) A few other minor fixes as well: Fixed a typo in SYSDB_GETCACHED_FILTER and sysdb_transaction_end(). Added missing error handling in infp_do_user_set_uid().
Diffstat (limited to 'server/infopipe/org.freeipa.sssd.infopipe.Introspect.xml')
-rw-r--r--server/infopipe/org.freeipa.sssd.infopipe.Introspect.xml8
1 files changed, 3 insertions, 5 deletions
diff --git a/server/infopipe/org.freeipa.sssd.infopipe.Introspect.xml b/server/infopipe/org.freeipa.sssd.infopipe.Introspect.xml
index 164c9d10..0dcd2a0d 100644
--- a/server/infopipe/org.freeipa.sssd.infopipe.Introspect.xml
+++ b/server/infopipe/org.freeipa.sssd.infopipe.Introspect.xml
@@ -46,7 +46,7 @@
CheckPermissions(domain=>'LOCAL', object=>'user', instance=>'testuser1', actions=>[('modify','userpic'),('modify','fullname')])
returns permissions=>[1,0]
Can I add members to group wheel?
- CheckPermissions(domain=>'LOCAL', object=>'user', instance=>'wheel', actions=>[('addmember','somearg')])
+ CheckPermissions(domain=>'LOCAL', object=>'group', instance=>'wheel', actions=>[('addmember','somearg')])
returns permissions=>[1]
The argument 'somearg' is ignored, since it does not apply to addmember."
/>
@@ -79,9 +79,8 @@
<annotation
name="org.freeipa.sssd.infopipe.DocString"
value="Create a new user in a particular domain. User will initially have a disabled password.
- @param domain The domain in which to add the user
@param username Username for the new user. Must be unique within a domain.
- @param defaultgroup Default group name for the user.
+ @param domain The domain in which to add the user
@param fullname Full (display) name for the user. Will set both 'fullname' and 'gecos' to this value initially.
@param homedir Home directory path for the user. Must be a parsable path, but does not need to exist or be mounted.
@param shell Login shell. Must exist in /etc/shells.
@@ -91,9 +90,8 @@
@note CreateUser will ignore users that already exist.
@note This function will automatically generate an appropriate UID for the user."
/>
- <arg name="domain" type="s" direction="in" />
<arg name="username" type="s" direction="in" />
- <arg name="defaultgroup" type="s" direction="in" />
+ <arg name="domain" type="s" direction="in" />
<arg name="fullname" type="s" direction="in" />
<arg name="homedir" type="s" direction="in" />
<arg name="shell" type="s" direction="in" />