Günther Deschner
b4989afbab
YES! NETLOGON rpc server side migration to pidl finished.
...
Guenther
(This used to be commit 7845a0d9a8
)
2008-02-16 14:53:45 +01:00
Günther Deschner
185842df52
Use pidl for _netr_LogonSamLogon() and _netr_LogonSamLogonEx().
...
Guenther
(This used to be commit 0d0b939953
)
2008-02-16 14:28:55 +01:00
Günther Deschner
3f24ef1848
Replace DOM_CHAL with "struct netr_Credential" where we can right now.
...
This allows to remove some more old netlogon client calls.
Guenther
(This used to be commit c0b1a87658
)
2008-02-15 23:57:54 +01:00
Günther Deschner
ea1443efff
Fix the netlogon rpc_server build.
...
Guenther
(This used to be commit 47806386e5
)
2008-02-15 23:36:31 +01:00
Günther Deschner
5bce07977a
Use pidl for _netr_LogonSamLogoff().
...
Guenther
(This used to be commit a9683cbf43
)
2008-02-15 21:52:19 +01:00
Günther Deschner
c9f1f3d5ff
Use pidl for _netr_ServerAuthenticate2().
...
Guenther
(This used to be commit 5d81cc136b
)
2008-02-15 21:41:38 +01:00
Günther Deschner
55b2292aba
Use pidl for _netr_ServerAuthenticate().
...
Guenther
(This used to be commit 943386c5dd
)
2008-02-15 21:32:14 +01:00
Günther Deschner
4f0b904538
Use pidl for _netr_ServerPasswordSet().
...
Guenther
(This used to be commit 85b7489dd2
)
2008-02-15 21:18:23 +01:00
Michael Adam
355faf2e3d
Move the implementation of _winreg_RestoreKey to reg_api.c
...
This removes the internals of reg_api from srv_winreg_nt.c entirely,
only reg_api is used there, now. This enlarges the dependencies of
reg_api somewhat now since it adds regfio. But this can be separated
out later. The current goal is to achieve a complete use of reg_api.
Michael
(This used to be commit 2222acbac9
)
2008-02-15 16:23:10 +01:00
Michael Adam
c720a0e228
Move implementation of _winreg_SaveKey() from srv_winreg_nt.c to reg_api.c
...
This gives a new function reg_savekey() and hides a piece of
the backend code from srv_winreg_nt.c. One step towards using
reg_api throughout samba code.
Michael
(This used to be commit bf6340d00d
)
2008-02-15 16:23:10 +01:00
Jeremy Allison
ba9499e8dc
Currently we don't SPNEGO negotiate back to NTLMSSP. Note this.
...
Jeremy.
(This used to be commit 67768fc71f
)
2008-02-14 18:08:23 -08:00
Günther Deschner
10462a5a79
Use pidl for _lsa_RemoveAccountRights.
...
Guenther
(This used to be commit 39f8508f5d
)
2008-02-14 15:22:33 +01:00
Günther Deschner
41b574783d
Use pidl for _lsa_EnumAccountRights().
...
Guenther
(This used to be commit cb6a84712c
)
2008-02-14 15:02:31 +01:00
Günther Deschner
b9bc1ac1b9
Use pidl for _lsa_AddAccountRights().
...
Guenther
(This used to be commit 253cf15238
)
2008-02-14 14:40:26 +01:00
Günther Deschner
08f019d973
Use pidl for _lsa_AddPrivilegesToAccount and _lsa_RemovePrivilegesFromAccount.
...
Guenther
(This used to be commit 0c9904864b
)
2008-02-14 13:53:28 +01:00
Günther Deschner
a63b27bec0
Use pidl for _lsa_LookupPrivValue().
...
Guenther
(This used to be commit 87dc2471d1
)
2008-02-14 13:53:27 +01:00
Günther Deschner
d0ae7cfb6f
Remove white space.
...
Guenther
(This used to be commit a33ed08509
)
2008-02-14 13:12:28 +01:00
Günther Deschner
4583389f93
Use pidl for _lsa_EnumPrivsAccount().
...
Guenther
(This used to be commit d7655932a7
)
2008-02-14 01:55:33 +01:00
Günther Deschner
d69d58664c
Fix typo.
...
Guenther
(This used to be commit 4e3357ac3a
)
2008-02-14 01:54:15 +01:00
Günther Deschner
0460295c1f
Use pidl for _lsa_EnumAccounts.
...
Guenther
(This used to be commit 07e5138ad9
)
2008-02-14 01:19:25 +01:00
Günther Deschner
7acdc9e8d6
Use pidl for _netr_LogonControl2.
...
Guenther
(This used to be commit 4bd02aa6cd
)
2008-02-13 23:06:09 +01:00
Günther Deschner
3722208ddf
Add some netr_NETLOGON_INFO init functions.
...
Guenther
(This used to be commit f0c6668858
)
2008-02-13 23:01:34 +01:00
Günther Deschner
4140f3213d
Use pidl for _netr_ServerReqChallenge.
...
Guenther
(This used to be commit ef42431941
)
2008-02-13 14:18:58 +01:00
Günther Deschner
b94093173d
Pure cosmetics: remove trailing whitespace in netlogon server.
...
Guenther
(This used to be commit 983ac0a676
)
2008-02-13 14:18:23 +01:00
Günther Deschner
abba82ef5b
Use pidl for _netr_LogonControl.
...
Guenther
(This used to be commit ec4947525e
)
2008-02-13 12:19:37 +01:00
Günther Deschner
3b45ebb1b7
Use pidl for _netr_NetrEnumerateTrustedDomains().
...
This call is completely broken. For now, just make sure that we return the exact same
data as before the conversion to pidl.
Guenther
(This used to be commit 243bdaeea7
)
2008-02-13 10:23:45 +01:00
Günther Deschner
b462e92b2a
Some minor, cosmetic cleanup in srv_samr_util.c.
...
Guenther
(This used to be commit cd5bf3449a
)
2008-02-13 09:42:47 +01:00
Jeremy Allison
a6997bb2ff
Prevent "parameters" being used without initialization.
...
Jeremy.
(This used to be commit f0195e937d
)
2008-02-12 17:21:17 -08:00
Günther Deschner
f57c67b8f3
Use pidl for _lsa_EnumTrustDom()
...
Guenther
(This used to be commit 1f45079907
)
2008-02-13 00:29:20 +01:00
Günther Deschner
e2b3aad817
Collect all init_lsa_string varients in one place.
...
Guenther
(This used to be commit f4581e9f44
)
2008-02-12 22:05:39 +01:00
Günther Deschner
befc71c942
Re-add support for samr_QueryDisplayInfo2/samr_QueryDisplayInfo3.
...
(This used to be commit cac740d87f
)
2008-02-12 21:35:42 +01:00
Günther Deschner
80d20d8e54
w00t! SAMR server-side conversion to pidl is finished.
...
Guenther
(This used to be commit c6d9650930
)
2008-02-12 14:55:20 +01:00
Günther Deschner
4974200f30
Use pidl for _samr_QueryUserInfo.
...
Guenther
(This used to be commit 53dc913b2d
)
2008-02-12 14:52:25 +01:00
Günther Deschner
4867e1ff93
Merge _samr_SetUserInfo and _samr_SetUserInfo2 into one call.
...
Guenther
(This used to be commit 8ee7dfad2e
)
2008-02-12 14:49:59 +01:00
Günther Deschner
6aa84ad8c5
Move some samr init functions around (to allow easier identification of new
...
calls).
Guenther
(This used to be commit c51c126049
)
2008-02-12 12:30:51 +01:00
Günther Deschner
50019747fc
Cosmetics: remove new whitespace, sorry.
...
Guenther
(This used to be commit d82b66b969
)
2008-02-12 10:08:23 +01:00
Günther Deschner
8b02303c90
Use pidl for _samr_EnumDomainUsers().
...
Guenther
(This used to be commit 54e884add2
)
2008-02-12 10:02:27 +01:00
Günther Deschner
fff3f99b5a
Use pidl for _samr_EnumDomainGroups() and _samr_EnumDomainAliases().
...
Guenther
(This used to be commit 327cdb05af
)
2008-02-12 10:00:37 +01:00
Günther Deschner
f0149d23d2
Fix SAMR_FIELD_PARAMETERS handling in rpc_server/srv_samr_util.c.
...
Guenther
(This used to be commit ef7c74401c
)
2008-02-11 23:37:44 +01:00
Günther Deschner
14ee7be97b
Fix SAMR_FIELD_LOGON_HOURS handling in rpc_server/srv_samr_util.c.
...
Guenther
(This used to be commit ed89daec1d
)
2008-02-11 23:37:36 +01:00
Günther Deschner
f0e8c5d4c2
Use SAMR_FIELDS for fields_present in rpc_server/srv_samr_util.c.
...
Guenther
(This used to be commit 16199c2694
)
2008-02-11 23:37:24 +01:00
Günther Deschner
326477e522
Allow to set correct info level log prefix in duplicates of copy_id21_to_sam_passwd.
...
Guenther
(This used to be commit 118e166c00
)
2008-02-11 22:50:07 +01:00
Günther Deschner
6bb6af65ab
Use pidl for _samr_SetUserInfo and _samr_SetUserInfo2.
...
Guenther
(This used to be commit d148ffbc95
)
2008-02-11 22:49:10 +01:00
Günther Deschner
e917a8a94a
Use pidl for _lsa_GetUserName().
...
Guenther
(This used to be commit b24cf05dca
)
2008-02-11 20:49:43 +01:00
Günther Deschner
419ab84b01
Use pidl for _lsa_LookupPrivDisplayName().
...
Guenther
(This used to be commit c866403201
)
2008-02-11 19:16:04 +01:00
Günther Deschner
e1bd9c30b0
Use pidl for _lsa_EnumPrivs().
...
Guenther
(This used to be commit 6294400731
)
2008-02-11 10:49:21 +01:00
Günther Deschner
67536ed68f
Use pidl for _samr_EnumDomains().
...
Guenther
(This used to be commit 2d5e2abc27
)
2008-02-09 02:05:39 +01:00
Günther Deschner
da3e2d4c27
Testing revealed some errors, reverting some of the lsa changes.
...
Guenther
(This used to be commit ac1e4f1eb2
)
2008-02-09 02:05:39 +01:00
Günther Deschner
f621c1a9ab
Pure cosmetics, breaking some very long lines.
...
Guenther
(This used to be commit 25c030136f
)
2008-02-08 23:02:41 +01:00
Günther Deschner
3dab928081
Use pidl for _lsa_GetSystemAccessAccount().
...
Guenther
(This used to be commit aaf662a724
)
2008-02-08 22:54:36 +01:00
Günther Deschner
9049db8ffb
Use pidl for _lsa_SetSystemAccessAccount().
...
Guenther
(This used to be commit 478612b79d
)
2008-02-08 22:51:57 +01:00
Günther Deschner
02abf612c8
Use pidl for _lsa_OpenAccount().
...
Guenther
(This used to be commit e1968880a8
)
2008-02-08 22:44:18 +01:00
Günther Deschner
7643300a92
Use pidl for _lsa_CreateAccount().
...
Guenther
(This used to be commit d71f56a293
)
2008-02-08 22:38:34 +01:00
Günther Deschner
fddbd6ec1c
Use pidl for _samr_LookupNames().
...
Guenther
(This used to be commit 325bf05592
)
2008-02-08 13:29:24 +01:00
Günther Deschner
d69a0b9f14
Use pidl for _samr_LookupRids().
...
Guenther
(This used to be commit fe3a02d44c
)
2008-02-08 11:52:13 +01:00
Günther Deschner
b13277ed4e
Remove unused marshalling for LSA_QUERY_INFO2.
...
Guenther
(This used to be commit 0fac016d9d
)
2008-02-08 10:16:08 +01:00
Günther Deschner
7daee37868
Use pidl for _lsa_QueryInfoPolicy().
...
Guenther
(This used to be commit 1b931e9145
)
2008-02-08 10:02:51 +01:00
Günther Deschner
f27a5561aa
Use pidl for _samr_QueryDisplayInfo().
...
Guenther
(This used to be commit b6d1283121
)
2008-02-08 00:10:40 +01:00
Günther Deschner
ca790c96d2
Remove trailing whitespace in samr client and server.
...
Guenther
(This used to be commit 0b630db298
)
2008-02-07 14:40:39 +01:00
Günther Deschner
cce7e93d84
Use pidl for _samr_GetGroupsForUser().
...
Guenther
(This used to be commit 3a3feb3761
)
2008-02-07 14:25:04 +01:00
Günther Deschner
28124ad667
Use pidl for _samr_QueryGroupInfo().
...
Guenther
(This used to be commit e808524269
)
2008-02-07 14:03:48 +01:00
Günther Deschner
f7ad51084c
Use pidl for _samr_QueryAliasInfo().
...
Guenther
(This used to be commit 62dacea87a
)
2008-02-07 13:34:57 +01:00
Günther Deschner
cdb5f49849
Use pidl for _samr_SetGroupInfo().
...
Guenther
(This used to be commit a576d9e80d
)
2008-02-07 11:03:26 +01:00
Günther Deschner
c56cb9d0dc
Use pidl for _samr_SetAliasInfo().
...
Guenther
(This used to be commit f483797c68
)
2008-02-07 10:56:14 +01:00
Günther Deschner
1b35cc2e08
Use pidl for _samr_ChangePasswordUser3().
...
Guenther
(This used to be commit 07c28f3086
)
2008-02-07 10:07:00 +01:00
Günther Deschner
3dbbb4a6a0
Use pidl for _samr_SetDomainInfo().
...
Guenther
(This used to be commit 370973c101
)
2008-02-06 02:08:16 +01:00
Günther Deschner
3028c76fb5
Use pidl for _samr_QueryDomainInfo() and _samr_QueryDomainInfo2().
...
Guenther
(This used to be commit 1ac767b0d8
)
2008-02-06 02:07:06 +01:00
Günther Deschner
4a8010012a
Fix _samr_Connect5(). Yes we do pretend to be > w2k all the time :)
...
Guenther
(This used to be commit a407feb653
)
2008-02-05 13:39:04 +01:00
Günther Deschner
ca772c8b18
Use pidl for _samr_RemoveMemberFromForeignDomain().
...
Guenther
(This used to be commit ab344dea96
)
2008-02-05 13:19:47 +01:00
Günther Deschner
f9447d248f
Remove trailing while space, just couldn't resist. No code change.
...
Guenther
(This used to be commit efb6d24e97
)
2008-02-05 12:54:19 +01:00
Günther Deschner
01a9964e82
Use idl for _samr_QueryGroupMember().
...
Guenther
(This used to be commit 4b06895467
)
2008-02-05 10:19:34 +01:00
Günther Deschner
f3d5f69564
Use pidl for _samr_GetAliasMembership().
...
Guenther
(This used to be commit b573f67723
)
2008-02-05 10:13:01 +01:00
Günther Deschner
1dbfc38b28
Use pidl for _samr_LookupDomain().
...
Guenther
(This used to be commit 9bc106ba56
)
2008-02-05 10:09:50 +01:00
Günther Deschner
5bec586b42
Use pidl for _samr_GetMembersInAlias().
...
Guenther
(This used to be commit f6db8a51c8
)
2008-02-05 10:05:45 +01:00
Günther Deschner
5bae7a4bec
Use pidl for _samr_AddAliasMember().
...
Guenther
(This used to be commit 98d8482bae
)
2008-02-05 10:01:18 +01:00
Günther Deschner
0bdb2d42bb
Use pidl for _samr_DeleteAliasMember().
...
Guenther
(This used to be commit 51f5bcfd39
)
2008-02-05 09:58:16 +01:00
Günther Deschner
b04a5e09f7
Use pidl for _samr_GetUserPwInfo().
...
Guenther
(This used to be commit 4e7236c10e
)
2008-02-05 09:56:42 +01:00
Günther Deschner
d04f1416ea
Use pidl for (dummy) _lsa_DeleteObject().
...
Guenther
(This used to be commit 81e2e3a288
)
2008-02-04 22:12:41 +01:00
Günther Deschner
a64cd55101
Use pidl for _lsa_QuerySecurity().
...
Guenther
(This used to be commit 6b2f205844
)
2008-02-04 22:12:40 +01:00
Günther Deschner
6a77f8d2d9
Use pidl for _lsa_OpenPolicy2().
...
Guenther
(This used to be commit fc29364abe
)
2008-02-04 22:12:40 +01:00
Günther Deschner
c6eddfee89
Use pidl for _lsa_OpenPolicy().
...
Guenther
(This used to be commit b6b226e636
)
2008-02-04 22:12:40 +01:00
Günther Deschner
062820eaee
Use pidl for _samr_AddGroupMember().
...
Guenther
(This used to be commit 4f923d970e
)
2008-02-04 18:41:46 +01:00
Günther Deschner
4906b5037d
Use pidl for _samr_DeleteGroupMember().
...
Guenther
(This used to be commit 94d6536809
)
2008-02-04 18:32:24 +01:00
Günther Deschner
e1e8ab30f7
Use pidl for _samr_Connect5().
...
Guenther
(This used to be commit ca233bfe0e
)
2008-02-04 17:53:51 +01:00
Günther Deschner
867edaa33f
Use pidl for _samr_Connect4().
...
Guenther
(This used to be commit ceb3b6a0a3
)
2008-02-04 17:53:51 +01:00
Günther Deschner
390746afea
Use pidl for _samr_Connect2().
...
Guenther
(This used to be commit 35a691c259
)
2008-02-04 17:53:51 +01:00
Günther Deschner
2730ce9997
Use pidl for _samr_Connect().
...
Guenther
(This used to be commit 79c3aa6588
)
2008-02-04 17:53:50 +01:00
Günther Deschner
a31829ffcd
Remove unused arguments in read_package_entry() in the eventlog rpc server.
...
Guenther
(This used to be commit c2e786d4e2
)
2008-02-04 11:33:06 +01:00
Günther Deschner
5ab6d66f13
Use pidl for _eventlog_OpenEventLogW().
...
Guenther
(This used to be commit ef293be6cb
)
2008-02-04 11:10:18 +01:00
Günther Deschner
221a2a9a5f
Copy inline comment for _eventlog_ClearEventLogW() from rpc_parse to rpc_server.
...
Guenther
(This used to be commit 26eadadbf6
)
2008-02-04 10:55:14 +01:00
Günther Deschner
48d2990d8c
Use pidl for _eventlog_ClearEventLogW().
...
Guenther
(This used to be commit 70a4ba798c
)
2008-02-04 10:53:59 +01:00
Günther Deschner
8d20f3f999
Use pidl for _eventlog_GetOldestRecord().
...
Guenther
(This used to be commit a6a5d99f52
)
2008-02-04 10:44:51 +01:00
Günther Deschner
72d0deddc4
Use pidl for _eventlog_GetNumRecords().
...
Guenther
(This used to be commit af30a6373e
)
2008-02-04 10:10:12 +01:00
Günther Deschner
65172ba6b8
Use pidl for _samr_SetSecurity().
...
Guenther
(This used to be commit 6bfd76002f
)
2008-02-02 13:37:19 +01:00
Günther Deschner
f965f324f5
Use pidl for _samr_QuerySecurity().
...
Guenther
(This used to be commit c61cba9726
)
2008-02-02 13:37:19 +01:00
Günther Deschner
e7a82edd35
Use pidl for _samr_ChangePasswordUser2().
...
Guenther
(This used to be commit a142fe21e3
)
2008-02-01 23:26:09 +01:00
Günther Deschner
f0438acfda
Use pidl for _samr_CreateUser2().
...
Guenther
(This used to be commit 36f52b631c
)
2008-02-01 16:29:20 +01:00
Günther Deschner
6e74a5dba3
Use pidl for _samr_CreateDomainGroup().
...
Guenther
(This used to be commit c53bfd7425
)
2008-02-01 16:29:20 +01:00
Günther Deschner
3e67d648a1
Use pidl for _samr_CreateDomAlias().
...
Guenther
(This used to be commit 622d529c45
)
2008-02-01 16:29:20 +01:00
Günther Deschner
1921a6d67e
Use pidl for _samr_DeleteDomAlias().
...
Guenther
(This used to be commit 31d5a3aaa4
)
2008-02-01 10:04:35 +01:00
Günther Deschner
b36ad1d59b
Use pidl for _samr_DeleteDomainGroup().
...
Guenther
(This used to be commit b8bf051bdd
)
2008-02-01 10:04:26 +01:00
Günther Deschner
145ff9a4b4
Use pidl for _samr_DeleteUser().
...
Guenther
(This used to be commit 86827e3744
)
2008-02-01 10:04:13 +01:00
Günther Deschner
846c3a3001
Use pidl for _samr_OpenGroup().
...
Guenther
(This used to be commit e74ad425ff
)
2008-02-01 09:57:30 +01:00
Günther Deschner
ecaa48925f
Use pidl for _samr_OpenAlias().
...
Guenther
(This used to be commit 1a98282d2c
)
2008-02-01 09:57:20 +01:00
Günther Deschner
645559990f
Use pidl for _samr_OpenUser().
...
Guenther
(This used to be commit ea3a096bcd
)
2008-02-01 09:57:10 +01:00
Günther Deschner
fd15e9dd1c
Use pidl for _samr_OpenDomain().
...
Guenther
(This used to be commit 15801832ec
)
2008-02-01 09:56:59 +01:00
Günther Deschner
8d8d955b98
Fix _samr_Close().
...
A good example that work in this area needs very careful testing :)
Guenther
(This used to be commit 7d369906ec
)
2008-01-31 14:24:33 +01:00
Günther Deschner
09454362cf
Enable build of pidl generated netlogon server.
...
Guenther
(This used to be commit cb0fad1c97
)
2008-01-31 13:46:54 +01:00
Günther Deschner
2e2fa2c66e
Use pidl for samr_GetDomPwInfo() server-side.
...
Guenther
(This used to be commit 60fe8ade74
)
2008-01-31 13:39:37 +01:00
Günther Deschner
8dc7fe774e
Cleanup status codes inside _net_logon_ctrl2() reply structs.
...
Guenther
(This used to be commit 1acb9daf80
)
2008-01-31 11:27:49 +01:00
Günther Deschner
3d507a2fca
Let _samr_Close() use pidl generated server code.
...
Guenther
(This used to be commit 2df3408079
)
2008-01-31 11:20:13 +01:00
Gerald W. Carter
c0aa988e83
Make make_way_for_eventlogs() static
...
(This used to be commit cb6531965b
)
2008-01-29 15:08:37 -06:00
Volker Lendecke
cb9029dbf5
Fix a memleak
...
(This used to be commit 252c313069
)
2008-01-29 15:07:41 -06:00
Gerald W. Carter
5dcc7f7e61
Fix a return value from sync_eventlog_params() (patch from Volker)
...
(This used to be commit 77085f1a58
)
2008-01-29 15:06:59 -06:00
Günther Deschner
1a7583dd0b
Remove unused rpc_ds marshalling code that is unused now.
...
Guenther
(This used to be commit 153253e14f
)
2008-01-29 15:51:19 +01:00
Günther Deschner
5ab43ae0d8
Eliminate remote tree of dsgetdcname (which will happen in libnetapi then).
...
Guenther
(This used to be commit fd490d236b
)
2008-01-29 15:09:56 +01:00
Günther Deschner
05ff7fd46e
Use generated DSSETUP client & server rpc functions and remove the hand-written ones.
...
Guenther
(This used to be commit d5ebfccebb
)
2008-01-25 15:30:43 +01:00
Kai Blin
805caafd44
util_str: Don't return memory from talloc_tos(), use mem_ctx instead.
...
(This used to be commit ab0ee6e9a6
)
2008-01-19 02:20:16 +01:00
Günther Deschner
a92eb76688
Finally enable pidl generated SAMR & NETLOGON headers and clients.
...
Guenther
(This used to be commit f7100156a7
)
2008-01-17 16:54:46 +01:00
Michael Adam
32a8e74078
Add a reg_getversion() function to reg_api and use it in srv_winreg_nt.c.
...
Michael
(This used to be commit 903223b160
)
2008-01-17 16:25:11 +01:00
Michael Adam
7bfdcbcfdc
Use reg_[gs]etkeysecurity() instead of regkey_[gs]et_secdes().
...
Rationale: Use reg_api instead of backend functions.
Michael
(This used to be commit f986a708be
)
2008-01-17 16:25:11 +01:00
Michael Adam
00f3df3c13
Convert sync_eventlog_params() to use reg_api instead of reg_frontend.
...
This is a step towards untangling the registry.
All places should use reg_api.c, reg_frontend should actually more
appropriately be named reg_backend_dispatcher and hidden from callers.
:-)
Michael
(This used to be commit 92e95fe585
)
2008-01-17 16:25:11 +01:00
Günther Deschner
587a2dbf8d
Merge lsarpc.idl from samba4 and rerun make idl.
...
Guenther
(This used to be commit d9c8a2271d
)
2008-01-16 16:32:12 +01:00
Günther Deschner
41c72bd804
Fix (non-activated) _wkssvc_NetrJoinDomain2 server code.
...
Guenther
(This used to be commit dea64a0d88
)
2008-01-16 11:08:05 +01:00
Michael Adam
58d2f1ff81
Fix Compiler warnings by including the proper header.
...
Michael
(This used to be commit edaf52a301
)
2008-01-13 12:52:25 +01:00
Jeremy Allison
d9ee831d0e
Fix CID 524 - reference before allocation fail null check.
...
Jeremy.
(This used to be commit a5cd3c9b65
)
2008-01-11 22:47:25 -08:00
Volker Lendecke
5ddb2abf76
Some more talloc_tos()
...
(This used to be commit 444e35e7df
)
2008-01-10 13:19:58 +01:00
Volker Lendecke
7cbdb48475
Remove tiny code duplication
...
ndr_size_security_descriptor does the same as sec_desc_size
(This used to be commit bc3bd7a8e7
)
2007-12-29 23:13:26 +01:00
Volker Lendecke
e9b8eb1446
Remove a silly static
...
(This used to be commit ef75dcc9ff
)
2007-12-27 22:33:02 +01:00
Günther Deschner
cdb51f3bc3
Deactive remote join code server side until some last issues are resolved.
...
Guenther
(This used to be commit 1489870f05
)
2007-12-21 16:44:52 +01:00
Günther Deschner
5799dcdfed
Add _wkssvc_NetrJoinDomain2() server.
...
Guenther
(This used to be commit 9b0423e7d9
)
2007-12-21 15:29:10 +01:00
Volker Lendecke
99b86e4a26
Some C++ fixes
...
(This used to be commit 5c392c4c6e
)
2007-12-21 09:58:21 +01:00
Volker Lendecke
addf598cde
Some C++ warnings
...
(This used to be commit 5ab82d4f57
)
2007-12-21 09:58:20 +01:00
Michael Adam
233eb0e560
Change the prototype of the vfs function get_nt_acl().
...
Up to now, get_nt_acl() took a files_struct pointer (fsp) and
a file name. All the underlying functions should need and now
do need (after the previous preparatory work), is a connection_struct
and a file name. The connection_struct is already there in the
vfs_handle passed to the vfs functions. So the files_struct
argument can be eliminated.
This eliminates the need of calling open_file_stat in a couple
of places to produce the fsp needed.
Michael
(This used to be commit b5f600fab5
)
2007-12-19 23:08:01 +01:00
Volker Lendecke
e518e19bc0
Remove Get_Pwnam and its associated static variable
...
All callers are replaced by Get_Pwnam_alloc
(This used to be commit 735f593154
)
2007-12-19 21:09:10 +01:00
Jeremy Allison
e3efe7cd7e
More static fstring elimination.
...
Jeremy.
(This used to be commit b4dfec09e8
)
2007-12-17 18:00:43 -08:00
Michael Adam
81327b1613
Fix for bug #4801 : Correctly implement lsa lookup levels for lookupnames.
...
This patch is still incomplete in that winbindd does not walk
the the trusted domains to lookup unqualified names here.
Apart from that this fix should be pretty much complete.
Michael
(This used to be commit f7efc0eca9
)
2007-12-17 13:06:13 +01:00
Michael Adam
4c8a708288
Fix flags in call of lookup_name() in srv_samr_nt.c: can_create().
...
Use LOOKUP_NAME_LOCAL instead of LOOKUP_NAME_ISOLATED.
Michael
(This used to be commit 1d4e0ad114
)
2007-12-17 13:05:54 +01:00
Volker Lendecke
02dd1f7f4c
Make smb_np_struct talloc'ed
...
Convert "name" from string to a talloc'ed char *
(This used to be commit e82069f921
)
2007-12-16 12:59:21 +01:00
Volker Lendecke
a9b6deaa05
Remove unused code
...
(This used to be commit fcd45ad6fb
)
2007-12-16 12:59:14 +01:00
Volker Lendecke
2e07c2ade8
s/sid_to_string/sid_to_fstring/
...
least surprise for callers
(This used to be commit eb523ba776
)
2007-12-15 22:47:30 +01:00
Volker Lendecke
14ef4cdec1
Replace sid_string_static with sid_to_string
...
This adds 28 fstrings on the stack, but I think an fstring on the stack is
still far better than a static one.
(This used to be commit c7c885078b
)
2007-12-15 22:09:37 +01:00
Volker Lendecke
900288a2b8
Replace sid_string_static by sid_string_dbg in DEBUGs
...
(This used to be commit bb35e794ec
)
2007-12-15 22:09:36 +01:00
Stefan Metzmacher
adc31b9235
Revert "Fix for bug #4801 : Correctly implement lsa lookup levels for lookupnames."
...
As it breaks all tests which try to join a new machine account.
So more testing is needed...
metze
This reverts commit dd320c0924
.
(This used to be commit cccb80b7b7
)
2007-12-14 08:28:10 +01:00
Michael Adam
951466000c
Fix for bug #4801 : Correctly implement lsa lookup levels for lookupnames.
...
This is a first patch aimed at fixing bug #4801 .
It is still incomplete in that winbindd does not walk
the the trusted domains to lookup unqualified names here.
Apart from that this fix should be pretty much complete.
Michael
(This used to be commit dd320c0924
)
2007-12-13 10:15:13 +01:00
Jeremy Allison
6dd89174ec
Fix return values for invalid printers. Found by kblin
...
spoolss test.
Jeremy.
(This used to be commit bb8c044d42
)
2007-12-10 12:11:45 -08:00
Jeremy Allison
7faee02d0d
Remove the char[1024] strings from dynconfig. Replace
...
them with malloc'ing accessor functions. Should save a
lot of static space :-).
Jeremy.
(This used to be commit 52dc5eaef2
)
2007-12-10 11:30:37 -08:00
Volker Lendecke
6bec071408
Don't copy the rpc function pointers
...
This actually shows up in a valgrind massif run with 4.1% of allocated memory.
I don't see why we would have to make a copy here.
Metze?
(This used to be commit 616d6b97e5
)
2007-12-09 11:11:21 -08:00
Volker Lendecke
78c6ee0090
Remove some globals
...
(This used to be commit 31d0a846db
)
2007-12-05 14:39:07 +01:00
Volker Lendecke
bbf2cb6da9
Fix some C++ warnings
...
(This used to be commit 156c7f10bb
)
2007-12-01 10:43:35 -08:00