summaryrefslogtreecommitdiffstats
path: root/source3/include
Commit message (Collapse)AuthorAgeFilesLines
* s3-charset: add smb_iconv_convenience.Günther Deschner2008-09-231-0/+2
| | | | Guenther
* netlogon: move password change code out to rpccli_netlogon_set_trust_password.Günther Deschner2008-09-211-0/+6
| | | | Guenther
* netlogon: add init_netr_CryptPassword.Günther Deschner2008-09-211-0/+3
| | | | Guenther
* Add comment to explain version bumpSimo Sorce2008-09-191-0/+1
|
* idmap: Increment the interface number after Volker's rewrite.Gerald (Jerry) Carter2008-09-191-1/+1
|
* Merge branch 'master' of ssh://git.samba.org/data/git/samba into singlelibJelmer Vernooij2008-09-172-0/+15
|\
| * * Allow an admin to define the "uid" attribute for a RFC2307Gerald (Jerry) Carter2008-09-161-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | user object in AD to be the username alias. For example: $ net ads search "(uid=coffeedude)" distinguishedName: CN=Gerald W. Carter,CN=Users,DC=pink,DC=plainjoe,DC=org sAMAccountName: gcarter memberOf: CN=UnixUsers,CN=Users,DC=pink,DC=plainjoe,DC=org memberOf: CN=Domain Admins,CN=Users,DC=pink,DC=plainjoe,DC=org memberOf: CN=Enterprise Admins,CN=Users,DC=pink,DC=plainjoe,DC=org memberOf: CN=Schema Admins,CN=Users,DC=pink,DC=plainjoe,DC=org uid: coffeedude uidNumber: 10000 gidNumber: 10000 unixHomeDirectory: /home/gcarter loginShell: /bin/bash $ ssh coffeedude@192.168.56.91 Password: coffeedude@orville:~$ id uid=10000(coffeedude) gid=10000(PINK\unixusers) groups=10000(PINK\unixusers) $ getent passwd PINK\\gcarter coffeedude:*:10000:10000::/home/gcarter:/bin/bash $ getent passwd coffeedude coffeedude:*:10000:10000::/home/gcarter:/bin/bash $ getent group PINK\\Unixusers PINK\unixusers:x:10000:coffeedude
| * winbindd: Add support for name aliasing.Gerald (Jerry) Carter2008-09-161-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support user and group name aliasing by expanding the ws_name_replace() and ws_name_return() functions. The lookup path is aliases -> qualified name -> SID SID -> fully qualified name -> alias In other words, the name aliasing support is a thin layer built on top of SID/NAME translation. * Rename the ws_name_XX() functions to normalize_name_map() and normalize_name_unmap(). Chaneg interface to return NTSTATUS rather than char *. * Add associated cache validation functions.
* | Merge branch 'singlereplace' into singleJelmer Vernooij2008-09-162-3/+3
|\ \ | | | | | | | | | | | | | | | Conflicts: source4/configure.ac source4/torture/local/config.mk
| * | Make Samba 3 and Samba 4 both use the same single copy of libreplace.Jelmer Vernooij2008-09-162-3/+3
| |/
* / Share talloc source code between Samba 3 and Samba 4.Jelmer Vernooij2008-09-162-2/+2
|/
* Add a more explaining commentVolker Lendecke2008-09-121-1/+3
| | | | (This used to be commit edd70836daef340f21df3cb102144935f36e5c4c)
* doserr: add WERR_NO_SUCH_ALIAS.Günther Deschner2008-09-121-0/+1
| | | | | Guenther (This used to be commit e065802a61f22e9fdcd4b911805c42c46a79b3f2)
* messaging: move types to IDL.Günther Deschner2008-09-122-85/+1
| | | | | Guenther (This used to be commit 6c346d0eb20af5ba9b09f30319420f7c91480da6)
* Add async trans/trans2/nttrans calls to libsmbVolker Lendecke2008-09-091-0/+21
| | | | | Logic stolen from Samba4, naturally the specific implementation differs a bit. (This used to be commit 4b8bc5b03d35d563104791c0d8317d9886e4f032)
* Add utility function cli_in_chain()Volker Lendecke2008-09-091-0/+1
| | | | | | This gives a hint whether a function is called from within the middle of a chain. In particular the trans calls don't really like this. (This used to be commit 4252b32db5ef7483f2c5c52312b6e6dc68d1d687)
* make smb_bytes_push_str publicVolker Lendecke2008-09-091-0/+1
| | | | (This used to be commit d611f599b45ad9dad1027a16a0e8da7d4b96e608)
* Add a utility function to append a DATA_BLOB to a talloc objectVolker Lendecke2008-09-091-0/+1
| | | | (This used to be commit d8259cbe666d96cc468203a64fb208c02a64849f)
* smbd: some write time fixesStefan Metzmacher2008-09-081-0/+1
| | | | | | | | | | | | | | | - only the first non truncating write causes the write time update with 2 seconds delay. It's not enough to check for an existing update event as it will be NULL after the event was triggered. - SMBwrite truncates always update the write time unless the sticky write time is set. - SMBwrite truncates don't trigger a write time update on close. metze (This used to be commit 3d17089b6dc773303c8c553f3f6140e60e348fb7)
* Write times code update.Jeremy Allison2008-09-052-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ok, here's the fix for the write times breakage with the new tests in S4 smbtorture. The key is keeping in the share mode struct the "old_file_time" as the real write time, set by all the write and allocation calls, and the "changed_write_time" as the "sticky" write time - set by the SET_FILE_TIME calls. We can set them independently (although I kept the optimization of not setting the "old_file_time" is a "changed_write_time" was already set, as we'll never see it. This allows us to update the write time immediately on the SMBwrite truncate case, SET_END_OF_FILE and SET_ALLOCATION_SIZE calls, whilst still have the 2 second delay on the "normal" SMBwrite, SMBwriteX calls. I think in a subsequent patch I'd like to change the name of these from "old_file_time" to "write_time" and "changed_write_time" to "sticky_write_time" to make this clearer. I think I also fixed a bug in Metze's original code in that once a write timestamp had been set from a "normal" SMBwriteX call the fsp->update_write_time_triggered variable was set and then never reset - thus meaning the write timestamp would never get updated again on subsequent SMBwriteX's. The new code checks the update_write_time_event event instead, and doesn't update is there's an event already scheduled. Metze especially, please check this over for your understanding. Jeremy. (This used to be commit 6f20585419046c4aca1f7d6c863cf79eb6ae53b0)
* Revert "Split lookup_name() and create a new functiong called"Simo Sorce2008-09-031-4/+0
| | | | | This reverts commit 8594edf666c29fd4ddf1780da842683dd81483b6. (This used to be commit ad462e2e2d025a7fc23e7dea32b2b442b528970b)
* Merge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-develSimo Sorce2008-09-037-117/+165
|\ | | | | | | (This used to be commit 8e4dca3b9416d9b5e535bda5e4befc073bfc1641)
| * factor prs_append_some_data out of prs_append_some_prs_dataVolker Lendecke2008-09-031-0/+2
| | | | | | | | (This used to be commit 32cb45c962c822bd79a7d0f666f2f6037060b324)
| * Remove unused CLI_DO_RPC macrosVolker Lendecke2008-09-021-48/+0
| | | | | | | | (This used to be commit f5212c64d23a28fa40a14b45a8d1c0181f01a6da)
| * doserr: add WERR_WRONG_PASSWORD.Günther Deschner2008-09-021-0/+1
| | | | | | | | | | Guenther (This used to be commit 977fec76b77639403ba9ab7bb00c57601e23493d)
| * kerberos: fix HAVE_KRB5 related build issue.Günther Deschner2008-08-291-3/+4
| | | | | | | | | | Guenther (This used to be commit 7d7ba8397743af52a74d00fd717bdeb5e3e12a28)
| * kerberos: use KRB5_KT_KEY macro where appropriate.Günther Deschner2008-08-291-1/+1
| | | | | | | | | | Guenther (This used to be commit a042dffd7121bda3dbc9509f69fcfae06ed4cc22)
| * kerberos: add KRB5_KT_KEY abstraction macro.Günther Deschner2008-08-291-1/+9
| | | | | | | | | | Guenther (This used to be commit be846d5383ef31136cca6b11eb6181736fb2e29d)
| * kerberos: move the KRB5_KEY* macros to header file.Günther Deschner2008-08-291-0/+12
| | | | | | | | | | Guenther (This used to be commit c28fa17ffffee3e6fd4897c9c6b4937388a19600)
| * Remove cli_request_get()Volker Lendecke2008-08-281-6/+0
| | | | | | | | | | req->private_data==NULL at this point is definitely a bug. (This used to be commit ce3dc9f616cafc1289a94ac7cae0beca967d836e)
| * Add async smbecho client supportVolker Lendecke2008-08-282-2/+9
| | | | | | | | (This used to be commit c1d645fbe39433541d8bfe6b818c855cee318dc5)
| * Add cli_request->recv_helperVolker Lendecke2008-08-281-0/+12
| | | | | | | | | | Necessary for requests with multiple replies (This used to be commit cb2e338eb33dfb4627f9b43456af0c86d7d268c6)
| * Activate code to enable chained requestsVolker Lendecke2008-08-282-3/+26
| | | | | | | | | | Add the CHAIN1 torture test (This used to be commit 82992d74a99b056bbfe90e1b79190e0b7c0bf2bd)
| * Move "struct cli_request" from client.h to async_smb.hVolker Lendecke2008-08-282-24/+66
| | | | | | | | | | Also add some comments (This used to be commit 2ecc311f785317caf5b60051147dcd085c80d64f)
| * Add cli_pull_replyVolker Lendecke2008-08-281-0/+4
| | | | | | | | | | | | Along the lines of cli_request_send this abstracts away the smb-level buffer handling when parsing replies we got from the server. (This used to be commit 253134d3aaa359fdfb665709dd5686f69af7f8fd)
| * Remove cli->event_ctx, pass it explicitlyVolker Lendecke2008-08-283-18/+18
| | | | | | | | | | | | Storing the event_context as permanent state in struct cli_state creates more complex code than necessary IMO. (This used to be commit debb37f703075008e5ea7d34d214cfa4d0f8f916)
| * Add async open&xVolker Lendecke2008-08-281-0/+3
| | | | | | | | (This used to be commit faf353edd60967efac4d5c222db14fa730866273)
| * Add async cli_closeVolker Lendecke2008-08-281-0/+3
| | | | | | | | (This used to be commit f84a2b5dbf8a072a9e356fa39523f65d042a2643)
| * Refactoring: Add the routine cli_request_send()Volker Lendecke2008-08-282-21/+6
| | | | | | | | | | | | cli_request_send() is supposed to bundle all generic SMB-header handling. This makes cli_request_new static to async_smb.c. (This used to be commit 7e73dd4e7622db64d30d48ba106892e0895fc188)
| * Fix the wcache_invalidate_samlogon calls.Jeremy Allison2008-08-271-1/+1
| | | | | | | | | | Jeremy. (This used to be commit 7c820899ed1364fdaeb7b49e8ddd839e67397ec0)
| * Add st_birthtime and friends for accurate create times on systems that ↵Jeremy Allison2008-08-271-1/+0
| | | | | | | | | | | | | | | | support it (*BSD and MacOSX). Should have done this ages ago, sorry. Jeremy. (This used to be commit 4c3a9558906f213948c3bdc081be73f8fed148cb)
* | Merge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-develSimo Sorce2008-08-262-5/+13
|\| | | | | | | (This used to be commit e038f1cf9fb305fc1e7a4189208e451d30aaa1f0)
| * Here is a re-working of the winbinddJeremy Allison2008-08-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reconnect code to cope with rebooting a DC. This replaces the code I asked Volker to revert. The logic is pretty simple. It adds a new parameter, "winbind reconnect delay", set to 30 seconds by default, which determines how long to wait between connection attempts. To avoid overwhelming the box with DC-probe forked children, the code now keeps track of the DC probe child per winbindd_domain struct and only starts a new one if the existing one has died. I also added a little logic to make sure the dc probe child always sends a message whatever the reason for exit so we will always reschedule another connect attempt. Also added documentation. Jeremy. (This used to be commit 8027197635b988b3dcf9d3d00126a024e768fa62)
| * smbd: fix the handling of create_options to pass RAW-OPENStefan Metzmacher2008-08-201-4/+11
| | | | | | | | | | | | | | | | | | Some of the bits generate INVALID_PARAMETER and some bits are ignored when they come from a client, that's why we need to use bits from the ignored range for our internal usage. metze (This used to be commit 7b4c8a4e39f310eb450918fa841b0ea1b4af19f7)
| * Fix bug 5697 nmbd spins in reload_interfaces when only loopback has an IPv4 ↵Jeremy Allison2008-08-191-1/+1
| | | | | | | | | | | | | | | | address reported by Ted Percival <ted@midg3t.net>. Jeremy. (This used to be commit ab06efccf31fbc899536d2681a2076e6dfd65b9e)
* | Split lookup_name() and create a new functiong calledSimo Sorce2008-08-171-0/+4
|/ | | | | | lookup_domain_name(). This new function accept separated strings for domain and name. (This used to be commit 8594edf666c29fd4ddf1780da842683dd81483b6)
* Add modules_path() to construct paths to files in MODULESDIR.Michael Adam2008-08-151-0/+1
| | | | | Michael (This used to be commit 5ef9da6f4f04b07804b389902862fae0fbbfed13)
* dynconfig: add support for MODULESDIR.Michael Adam2008-08-151-0/+4
| | | | | Michael (This used to be commit 34309f097f5c7321930bf6c2ea2447de1008130c)
* dynconfig: remove commented-out old stuff from dynconfig.c and dynconfig.hMichael Adam2008-08-151-16/+0
| | | | | Michael (This used to be commit 85a781fa0248fcd0cefcc4de25b3dea3e37d5844)
* dynconfig: remove unused prototypes.Michael Adam2008-08-151-4/+5
| | | | | | | | | set_dyn_STATEDIR, is_default_dyn_STATEDIR, set_dyn_CACHEDIR, is_default_dyn_CACHEDIR are neither used nor implemented. Michael (This used to be commit f30b70b2c3a49bc962848039953a565a040b563d)