[cvsnt] Re: CVS system groups
Albe
alberto.difede at gmail.com
Wed Mar 8 17:19:45 GMT 2006
Thanks for the answer.
To be sure i ran the test on a virtual machine in order to avoid any
problem or operator (me) mistake on the productive server. I spent like
the entire afternoon and part of the morning on the issue.
Then, fed up, i tried it on the production server and it works!!!
I don't know why exactly, since i double checked all the services on the
VM, flushed samba cache, and so on. I also tested permission on the file
system to check correct group ownership. But cvsnt acls didn't work.
Thanks a lot for the support anyway, i will keep your script for future
problems (they'll never miss).
Cheers
Alberto
Glen Starrett wrote:
> Albe wrote:
>> At first the group was "CVS STAP Developers" and i thought it was an
>> issue with the spaces in the group name, but nothing changed. Then i
>> thought it might have been that this group is defined in the domain
>> and tried with a local group (my machine is a linux joined to the
>> domain that inherits all users and group via samba). Nothing changed
>> too. In the manual there's: "If SystemAuth is enabled CVSNT will
>> automatically add all the system groups for the user to the list
>> of available groups. If you don’t require other groups then editing
>> the group file is unnecessary.".
>> This doesn't seems to be the case.
>>
>> Again, am i doing something wrong?
>
> I didn't realize that had been added to cvsnt, but it certainly sounds
> like you're doing everything right. I have a utility that will
> enumerate the groups a user is a member of -- try running that and see
> if there's any issue with your domain / group information.
>
> Where is your cvsnt server? On a domain controller, workstation, or
> member server?
>
> This script is in VBScript, I alter it for debugging stuff.
>
> >>>>>
> Option explicit
>
> Dim oUsr, sGroups, oGroup
> Const UF_SCRIPT = &H0001
> Const UF_ACCOUNTDISABLE = &H0002
> Const UF_HOMEDIR_REQUIRED = &H0008
> Const UF_LOCKOUT = &H0010
> Const UF_PASSWD_NOTREQD = &H0020
> Const UF_PASSWD_CANT_CHANGE = &H0040
> Const UF_TEMP_DUPLICATE_ACCOUNT = &H0100
> Const UF_NORMAL_ACCOUNT = &H0200
> Const UF_INTERDOMAIN_TRUST_ACCOUNT = &H0800
> Const UF_WORKSTATION_TRUST_ACCOUNT = &H1000
> Const UF_SERVER_TRUST_ACCOUNT = &H2000
> Const UF_DONT_EXPIRE_PASSWD = &H10000
> Const UF_MNS_LOGON_ACCOUNT = &H20000
>
>
> Set oUsr = GetObject("WinNT://YOUR_DOMAIN_HERE/YOUR_USERNAME_HERE,user")
> 'msgbox oUsr.FullName
> 'msgbox oUsr.UserFlags
>
> sGroups = oUsr.FullName & vbCrLf & vbCrLf
> For each oGroup in oUsr.Groups
> sGroups = sGroups & vbCrLf & oGroup.Name
> Next
> MsgBox "Groups for: " & sGroups
>
> 'If oUsr.UserFlags And UF_LOCKOUT Then
> ' oUsr.Put "UserFlags", oUsr.UserFlags Xor UF_LOCKOUT
> ' oUsr.SetInfo
> 'End If
>
> 'msgbox oUsr.UserFlags
> <<<<<
>
>
More information about the cvsnt
mailing list