[Samba] Re: Need help understanding smbldap-tools and user
records
Markus Schabel
markus.schabel at tgm.ac.at
Fri Feb 28 11:04:24 GMT 2003
Jim wrote:
> After investigateing the scripts behaviour a little further I found that
> the answer is no. The are not the same. The smblda-adduser.pl script
> creates primaryGroupID as gidNumber + (gidNumber * 2) + 1 such that if
> you add a user who's gidNumber is 1002 you wind up with a primaryGroupID
> that is 3005.
Sounds fair. That's because samba can't differentiate between a user and
a group, so you calculate the rid with uidNumber*2 and the GroupID with
gidNumber*2+1, so you can differentiate odd/even and never get equal
numbers.
At least I think it is so ;)
regards
--
\\\ ||| /// _\=/_
( @ @ ) (o o)
+--------oOOo-(_)-oOOo--------------------------oOOo-(_)-oOOo------+
| Markus Schabel TGM - Die Schule der Technik www.tgm.ac.at |
| IT-Service A-1200 Wien, Wexstrasse 19-23 net.tgm.ac.at |
| markus.schabel at tgm.ac.at Tel.: +43(1)33126/316 |
| markus.schabel at members.fsf.org Fax.: +43(1)33126/154 |
| FSF Associate Member #597, Linux User #259595 (counter.li.org) |
| oOOo Yet Another Spam Trap: oOOo |
| ( ) oOOo yast at tgm.ac.at ( ) oOOo |
+--------\ (----( )--------------------------\ ( -----( )-----+
\_) ) / \_) ) /
(_/ (_/
Computers are like airconditioners:
They stop working properly if you open windows.
More information about the samba
mailing list