search for: usergrouprid

Displaying 3 results from an estimated 3 matches for "usergrouprid".

2003 Oct 07
1
userGroupRid and groupmapping
Hi ! When I create a user with samba-ldap tools, the userRid is calculated if the -x option is set. The userGroupRid is calculated too. But is the groumapping is enabled, the SambaPrimaryGroupSID not correspond with SambaSID of groupmapping Example : Groupe "Domain Users" : gidNumber 100 displayName Domain Users objectClass sambaGroupMapping sambaSID S-1-5-21-xxxxxxxxxx-xxxxxxxxx-xxxxxxxxxx-5...
2002 May 14
0
Bugfix for idealx smbldap-tools
...# as rid we use 2 * uid + 1000 my $userRid = 2 * $userUidNumber + 1000; if (defined($Options{'x'})) { - $userRid= sprint("%x", $userRid); + $userRid= sprintf("%x", $userRid); } my $createGroup = 0; @@ -131,7 +131,7 @@ # as grouprid we use 2 * gid + 1001 my $userGroupRid = 2 * $userGidNumber + 1001; if (defined($Options{'x'})) { - $userGroupRid = sprint("%x", $userGroupRid); + $userGroupRid = sprintf("%x", $userGroupRid); } # Read only first @ARGV my $userName = $ARGV[0]; @@ -153,6 +153,9 @@ $userHomeDirectory = $_userHome...
2003 Nov 11
1
Samba 3 Redhat 9 Openldap doc
...eGroup = 1; } else { # user will have gid = $_defaultUserGid $userGidNumber = $_defaultUserGid; } } else { my $gid; if (($gid = parse_group($userGidNumber)) < 0) { print "$0: unknown group $userGidNumber\n"; exit (6); } $userGidNumber = $gid; } # as grouprid we use 2 * gid + 1001 my $userGroupRid = 2 * $userGidNumber + 1001; if (defined($Options{'x'})) { $userGroupRid = sprint("%x", $userGroupRid); } # Read only first @ARGV my $userName = $ARGV[0]; # untaint $userName (can finish with one or two $) if ($userName =~ /^([\w -]+\$?)$/) { $userName = $1; } else { print "...