search for: set_sd

Displaying 6 results from an estimated 6 matches for "set_sd".

Did you mean: set_sg
2023 Jan 12
0
Samba-tool Error creating new GPO
...? return self.run(*args, **kwargs) ? File "/usr/lib64/python3.10/site-packages/samba/netcmd/gpo.py", line 1279, in run ??? conn.set_acl(sharepath, fs_sd, sio) ? File "/usr/lib64/python3.10/site-packages/samba/samba3/libsmb_samba_internal.py", line 128, in set_acl ??? self.set_sd(fnum, sd, sinfo) I'm thinking it's a configuration issue, but I'm not sure what. I tinkered with the call to set_acl in python/samba/netcmd/gpo.py, and found if I remove the SECINFO_OWNER from the sinfo then the command succeeds. If I disable that set_acl call, then I can successfu...
2001 May 09
0
Samba on LynxOS
...include/includes.h:70, from smbd/nttrans.c:22: /usr/lib/gcc-lib/i386-coff-lynxos/2.7-97r1/../../../../include/sys/time.h:21: warning: #warning Using <time.h> instead of <sys/time.h> smbd/nttrans.c:1092: error: syntax error before `uint' smbd/nttrans.c: In function `set_sd': smbd/nttrans.c:1099: error: `sd_len' undeclared (first use this function) smbd/nttrans.c:1099: error: (Each undeclared identifier is reported only once smbd/nttrans.c:1099: error: for each function it appears in.) smbd/nttrans.c:1100: error: `pdef_class' undeclared (first use this fun...
2010 May 28
1
samba 3.5.3: loads of errors copying some simple ACLs with robocopy
Maybe I'm doing somthing really stupid, but while copying some windows share onto a samba server, on some random subdirectory robocopy says ERROR 87 (0x00000057) Copying NTFS Security to Destination Directory... The samba logfile has lots of these lines. modules/vfs_posixacl.c:349(smb_acl_to_posix) smb_acl_to_posix: ACL is invalid for set (Das Argument ist ung?ltig) The strange thing is
2007 Oct 12
0
Wine release 0.9.47
...ACL revisions. advapi32: Implement SetFileSecurityW on top of NtSetSecurityObject. advapi32: Allow GetFileSecurityA/W to work on files that have been opened already with restricted sharing flags. server: Add a simple mapping from Unix uids to NT SIDs. server: Add get_sd and set_sd object operations to allow the security descriptor to be stored somewhere other than server memory, such as on disk. server: Add primitive support for setting and getting the security descriptor of files based on their Unix permissions. server: Remove an unnecessary check from file_set_...
2018 Aug 17
0
Wine release 3.14
...lifetime. kernel32: Add AttachConsole implementation. kernel32/tests: Add more pipe tests. ntdll/tests: Add more NtQueryInformationFile tests. server: Store named_pipe reference in pipe_end struct. server: Use common implementation for pipe client and server get_sd and set_sd. server: Use common implementation for client and server get_file_info. server: Use pipe stored in pipe_end in get_named_pipe_info. server: Use pipe stored in pipe_end in set_named_pipe_info. server: Remove no longer needed pipe reference from pipe server object. serve...
2003 Dec 01
0
No subject
...ttrans.c --- samba-2.2.1a/source/smbd/nttrans.c Fri Jul 6 04:02:00 2001 +++ samba-2.2.1a-qnx/source/smbd/nttrans.c Sat Jul 28 20:28:29 2001 @@ -1101,7 +1101,7 @@ Internal fn to set security descriptors. ****************************************************************************/ -static BOOL set_sd(files_struct *fsp, char *data, uint32 sd_len, uint security_info_sent, int *pdef_class,uint32 *pdef_code) +static BOOL set_sd(files_struct *fsp, char *data, uint32 sd_len, uint32 security_info_sent, int *pdef_class,uint32 *pdef_code) { prs_struct pd; SEC_DESC *psd = NULL; diff -ru samba-2.2.1a...