summaryrefslogtreecommitdiff
path: root/source3/services
AgeCommit message (Collapse)AuthorFilesLines
2010-09-21s3:services_db: change svcctl_lookup_description() to use reg_api functionsMichael Adam1-18/+16
2010-09-21s3:services_db: rewrite svcctl_lookup_description() to use a tmp talloc ctxMichael Adam1-16/+15
Also remove a possible memory by tallocing the result string also in a default case, where a string constant was returned before.
2010-09-21s3:services_db: change svcctl_lookup_dispname() to use reg_api functionsMichael Adam1-16/+13
2010-09-21s3:services_db: make svcctl_lookup_dispname() use a temp talloc ctxMichael Adam1-13/+11
2010-09-21s3:services_db: change svcctl_get_secdesc() to use reg_api functionsMichael Adam1-22/+11
2010-09-21s3:services_db: use temp talloc ctx in svcctl_get_secdesc()Michael Adam1-6/+8
2010-09-21s3:services_db: remove the TALLOC_CTX argument from svcctl_set_secdescMichael Adam1-1/+2
2010-09-21s3:services_db: fix a debug messageMichael Adam1-2/+2
2010-09-21s3:services_db: rewrite svcctl_set_secdesc to use tmp talloc ctxMichael Adam1-15/+15
and add a common exit point
2010-09-21s3:services_db: rewrite svcctl_set_secdesc() using reg_api calls instead of ↵Michael Adam1-15/+16
legacy
2010-09-21s3:services_db: untanlge assignments from check in read_init_file().Michael Adam1-4/+9
2010-09-21s3:services_db: untangle assignments from check in construct_service_sd().Michael Adam1-4/+8
2010-09-11s3:auth Remove NT_USER_TOKENAndrew Bartlett1-5/+5
The all UPPER case typedef is no longer the preferred Samba style and this makes it easier to see that this is the IDL-derivied structure Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-08-06s3-services: include svcctl.h where needed.Günther Deschner1-0/+2
Guenther
2010-05-25s3:registry: move reg_objects.h to registry/ and use it only where neededMichael Adam1-0/+1
Every place outside of registry/ where this is used, should probably be changed to use pure reg_api.c code.
2010-05-25s3:services_db: use regval_ctr_init() instead of direct allocationMichael Adam1-7/+14
2010-05-25s3:registry: extraxt the reg_dispatcher prototypes into their own header.Michael Adam1-0/+1
And use them only where needed.
2010-05-25s3:registry: adapt callers of regval_ctr_addvalue to uint8 * instead of char *Michael Adam1-5/+5
2010-05-25s3:registry: extract the reg_util_legacy prototypes into their own header.Michael Adam1-0/+1
And use them only where necessary.
2010-05-20s3-services: move services.h closer to services implementation.Günther Deschner7-6/+58
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner1-6/+6
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_acl SEC_ACL".Günther Deschner1-1/+1
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_ace SEC_ACE".Günther Deschner1-1/+1
Guenther
2010-05-18s3: Remove use of iconv_convenience.Jelmer Vernooij1-2/+2
2010-05-18s3-registry: only include registry headers when really needed.Günther Deschner1-0/+1
Guenther
2010-05-18s3-services: move services.h to where it is actually used.Günther Deschner6-0/+6
Guenther
2010-04-09s3: add iconv_convenience handle to pull/push sz helpers.Günther Deschner1-2/+2
Guenther
2009-10-01s3-registry: use pull_reg_sz() where appropriate.Günther Deschner1-4/+10
(and move away from rpcstr_pull and rpcstr_pull_talloc). Guenther
2009-09-30s3-registry: use regval_ctr_addvalue_sz().Günther Deschner1-27/+19
Greatly simplifies and cleanes up the code. Guenther
2009-09-30s3-registry: use push_reg_sz().Günther Deschner1-15/+15
Guenther
2009-04-27s3:registry: replace typedef REGISTRY_KEY by struct registry_key_handleMichael Adam1-9/+10
Michael
2009-04-27s3:registry: replace typedef REGISTRY_VALUE by struct regval_blobMichael Adam1-3/+3
Michael
2009-04-27s3:registry: replace typedef REGVAL_CTR by struct regval_ctr.Michael Adam1-15/+15
This paves the way for hiding the typedef and the implementation from the surface. Michael
2009-04-24s3-svcctl: indicate that the spooler is already running if it does.Günther Deschner1-0/+4
Guenther
2009-02-26s3:services_db: use regsubkey_ctr_init() instead of using talloc directlyMichael Adam1-2/+4
Michael
2009-02-26s3:registry: replace typedef "REGSUBKEY_CTR" by "struct regsubkey_ctr"Michael Adam1-5/+5
This paves the way for hiding the typedef and the implementation from the surface. Michael
2009-02-23More warning fixes for Solaris.Jeremy Allison1-3/+3
Jeremy.
2009-02-05s3-svcctl: use security descriptor marshall helper in svcctl_set_secdesc().Günther Deschner1-9/+7
Guenther
2009-01-09s3-svcctl: use pidl defined constants in services implementation.Günther Deschner5-54/+60
Guenther
2009-01-08s3-svcctl: use pidl based struct SERVICE_STATUS.Günther Deschner5-10/+10
Guenther
2009-01-08s3-svcctl: remove some more redundant headers.Günther Deschner1-1/+1
Guenther
2008-11-01Rename dos_errstr() to win_errstr() for consistency with Samba 4.Jelmer Vernooij1-8/+8
2008-10-09Remove SEC_ACCESS. It's a uint32_t.Jeremy Allison1-8/+8
Jeremy.
2008-09-17Ensure all pointers are initialized. Without this we can crash when looking ↵Jeremy Allison1-20/+20
up a non-existant uid. Jeremy.
2008-08-15svcctl: use MODULESDIR instead of LIBDIR for the svcctl script directory.Michael Adam2-6/+6
Michael (This used to be commit bb19634138cfd1f527c44e16a44aa21ebee50c1c)
2008-06-18Revert "Fix a memleak in svcctl_init_keys()"Volker Lendecke1-10/+1
This reverts commit b1afb31f3cadd4749bf6e3eb5d8935588bf8ebfc. This one is very strange: I need to investigate why valgrind showed it as leaking, and why in my initial tests this did not fail. (cherry picked from commit 24730f5981efb920811e7929a9483bd72bb0984c) (This used to be commit b1e8e5d173cdaa3fb9c1fb1d9aacf8e665bc5d61)
2008-06-17Fix a memleak in svcctl_init_keys()Volker Lendecke1-1/+10
(This used to be commit 675bb53398ba29c53d2dcf3c7122cf4770c2f938)
2008-03-17Coverity fixesMarc VanHeyningen1-1/+6
(This used to be commit 3fc85d22590550f0539215d020e4411bf5b14363)
2008-02-18Fix segfault in svcctl_get_secdesc(): prevent premature TALLOC_FREE.Michael Adam1-14/+14
This crash was triggered by (e.g.) net rpc service status. This patch prevents premature freeing of memory and creates a common exit point to the function. Michael (This used to be commit f1fb9fd6f14fc53629871cbe4b8558ad5acc14f0)
2008-02-18Add a check for success of fetch_reg_values().Michael Adam1-1/+5
Michael (This used to be commit ba69097f37086537e6b2606fceeb874f6d3e4e1c)