search for: subauthor

Displaying 8 results from an estimated 8 matches for "subauthor".

Did you mean: 5bauthor
2008 Jul 08
12
Some more win32-security: SID.create
Hi all, How does this look as a general approach to a SID.create method: # Creates and initializes def self.create(authority, *sub_authorities) if sub_authorities.length > 8 raise ArgumentError, ''maximum of 8 subauthorities allowed'' end authorities = Array.new(8, 0) authorities.replace(sub_authorities) count = authorities.select{ |e| e > 0 }.size if count == 0 # Use InitializeSid() else # Use AllocateAndInitializeSid() end end Any help actually implementing this met...
2008 Dec 19
0
Fwd: win32-security 0.1.0
...only to domain admins. If you want to read a DACL over LDAP, you need an NTSD parser - and preferably the ability to set the LDAP server options that say not to retrieve the SACL, otherwise you get nothing when not domain admin. SIDs. The SID is made up of: version, top authority, and a number of subAuthorities. The SID as you retrieve it over LDAP will *always* contain slots for 12 sub-auths, so its important to use the count provided, not believe the size. I forget whether it''s important to encode all 12 (zero-padded) when composing an LDAP command. The SubAuthorities are encoded as 32-bit...
2002 Nov 22
0
winbind / sid problem.
...sswitch/winbindd_sid.c:winbindd_uid_to_sid(178) Could not convert uid 10196 to rid I have verified that the users that don't work correctly do exist on the NT domain. eg: Administrator@MUFFIN ~/sid-utils/sid $ ./user2sid.exe 0251040 S-1-5-21-1201230140-1892445974-1082013118-2265 Number of subauthorities is 5 Domain is STUDENT Length of SID in memory is 28 bytes Type of SID is SidTypeUser Administrator@MUFFIN ~/sid-utils/sid [root@danish nsswitch]# wbinfo -n STUDENT_0251040 S-1-5-21-1201230140-1892445974-1082013118-2265 1 So basically I'm guessing that means somehow my winbindd_idmap.td...
2008 Aug 05
7
[ANNOUNCE] Samba 3.2.1 Available for Download
...in the registry. * Fix "net sam rights" on domain member servers. * Add documentation for the vfs streams modules. o Herb Lewis <herb@samba.org> * Cleanup some duplicate code by passing the password to the wbinfo_auth* functions. * Allow SID with 0 in subauthority to be converted properly. o Zach Loafman <zachary.loafman@isilon.com> * Set sin[6]_family instead of ss_family in in[6]_addr_to_sockaddr_storage. * Fix realpath() check so that it doesn''t generate a core() when it fails. o Jim McDonough <jmcd@samba.org> *...
2008 Aug 05
7
[ANNOUNCE] Samba 3.2.1 Available for Download
...in the registry. * Fix "net sam rights" on domain member servers. * Add documentation for the vfs streams modules. o Herb Lewis <herb@samba.org> * Cleanup some duplicate code by passing the password to the wbinfo_auth* functions. * Allow SID with 0 in subauthority to be converted properly. o Zach Loafman <zachary.loafman@isilon.com> * Set sin[6]_family instead of ss_family in in[6]_addr_to_sockaddr_storage. * Fix realpath() check so that it doesn''t generate a core() when it fails. o Jim McDonough <jmcd@samba.org> *...
2013 Jan 07
0
ANNOUNCE: cifs-utils release 5.9 ready for download
...<jlayton at samba.org> commit bacbbf7c0994bdeaf49234abd07d840673d37e95 Author: Jeff Layton <jlayton at samba.org> Date: Tue Dec 4 06:21:06 2012 -0500 getcifsacl: ensure that we don't overrun the wbcDomainSid when converting If we get a SID that contains more than 15 subauthorities, we'll end up overrunning the struct wbcDomainSid. Just ignore any past 15. Signed-off-by: Jeff Layton <jlayton at samba.org> commit 2584e62c06dbea59bbd6a001040d7780959c8358 Author: Jeff Layton <jlayton at samba.org> Date: Thu Dec 6 06:45:57 2012 -0500 auto...
2012 Nov 11
0
ANNOUNCE: cifs-utils release 5.8 is ready for download
...ishpargaonkar at gmail.com> Signed-off-by: Jeff Layton <jlayton at samba.org> commit f0269e2a0efacf5299b123801d9ec49695ed30b6 Author: Jeff Layton <jlayton at samba.org> Date: Mon Oct 29 16:04:11 2012 -0400 setcifsacl: clean up sizing of cifs_sid The max number of subauthorities on windows and in winbind is generally 15, not 5. If winbind sends more than 5, then this code may end up overrunning the buffer. Also, define some preprocessor constants and use those instead of hardcoding '5' and '6' all over the place. Signed-off-by: Jef...
2007 Sep 28
0
Wine release 0.9.46
...b32: Store the context internally as Unicode, implement WTOpenW and WTGetW. wintab32: Add DisableThreadLibraryCalls. advapi32: Fix a test. ntdll: Add RtlAddAuditAccessAceEx. advapi32: Add AddAuditAccessAceEx. advapi32: Make ConvertStringSidToSid not to ignore the first subauthority. wine.inf: add four keys found on Windows XP to Active Setup\Installed Components. include: Fix the definition of VALID_INHERIT_FLAGS. advapi32: Implement ConvertSecurityDescriptorToStringSecurityDescriptor[AW]. advapi32: Make ConvertSidToStringSid use helper functions of...