1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

30205 Commits

Author SHA1 Message Date
Günther Deschner
37704001bb netapi: add NetShareDel example code.
Guenther
(This used to be commit 0962128a54)
2008-09-05 12:34:43 +02:00
Günther Deschner
e51de3e502 netapi: add NetShareDel to public header.
Guenther
(This used to be commit 3ac8f83fcd)
2008-09-05 12:34:35 +02:00
Günther Deschner
6d310cb1d3 netapi: add NetShareDel skeleton.
Guenther
(This used to be commit 5b6e4740ea)
2008-09-05 12:34:28 +02:00
Günther Deschner
c8be1cd406 re-run make idl.
Guenther
(This used to be commit 3469b8c797)
2008-09-05 12:34:21 +02:00
Günther Deschner
6194cbb3c8 netapi: add NetShareDel to IDL.
Guenther
(This used to be commit f9c3ae1ab8)
2008-09-05 12:34:10 +02:00
Günther Deschner
d07f0e345e net: use netapi for rpc_sh_share_add as well.
Guenther
(This used to be commit 0c23274256)
2008-09-05 12:32:56 +02:00
Günther Deschner
04e363c961 net: use netapi to add shares.
Guenther
(This used to be commit 95ac480e20)
2008-09-05 12:32:56 +02:00
Günther Deschner
7850c90d2d netapi: fix return code in NetShareAdd_r.
Guenther
(This used to be commit 69e6532e9d)
2008-09-05 12:32:56 +02:00
Volker Lendecke
60255c3b2e Protect against a closed socket
(This used to be commit d6cb5fdafb)
2008-09-05 12:33:48 +02:00
Volker Lendecke
f912ac962a Do proper error handling if the socket is closed
(This used to be commit e5a27773f9)
2008-09-05 12:33:48 +02:00
Michael Adam
c1d4ae3b59 configure: fix typo in GNU ld version-script test.
Michael
(This used to be commit 0d9f3dfc4c)
2008-09-05 11:41:48 +02:00
Gerald (Jerry) Carter
a263fa04e4 Add workaround for docs build and dependency on parameters.all.xml
(cherry picked from commit d4f5b5255f)
(This used to be commit c8154142d9)
2008-09-05 10:59:37 +02:00
James Ding
72df999759 Fix winbindd crash bug with trusted domains. Bug #5736
(This used to be commit d4f5caa3d3)
2008-09-04 15:13:12 -07:00
Herb Lewis
14a7860681 Merge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-devel
(This used to be commit 0311d17197)
2008-09-04 14:48:27 -07:00
Jelmer Vernooij
174fd4a731 Use different variable names for talloc and tdb object file names than
Samba 4.
(This used to be commit 3f821e8c88)
2008-09-04 23:43:58 +02:00
Herb Lewis
24992010cb get rid of unneeded argument in get_methods and get_alloc_methods
(This used to be commit 07b0323472)
2008-09-04 14:35:27 -07:00
Jelmer Vernooij
e83fbdf598 Ignore unused pidl-generated files.
(This used to be commit 7eb6bfca40)
2008-09-04 23:05:48 +02:00
Jeremy Allison
7c16514eb9 Merge branch 'v3-devel' of ssh://jra@git.samba.org/data/git/samba into v3-devel
(This used to be commit 98b2fbef52)
2008-09-04 11:51:55 -07:00
Steven Danneman
304554115a Cleanup of DC enumeration in get_dcs()
This is a fix for a few small inefficiencies/bugs in the get_dcs() path.

* because the third add_one_dc_unique() loop was outside the ADS check all DCs
  returned from the non-sitename lookup were being tacked onto the dc_name_ip
  list twice.
* add_one_dc_unique() now checks if the given IP address already exists before
  adding it to the list, making the returned list actually unique
* added more thorough doxygen comment headers
(This used to be commit cb2d488e1d)
2008-09-04 11:50:25 -07:00
Günther Deschner
862ff66da9 kerberos: fix indent of enc type lines in generated krb5.conf files.
Guenther
(This used to be commit 18a26f08b6)
2008-09-04 15:17:57 +02:00
Karolin Seeger
1bf6680c08 man pages: Several fixes for man wbinfo.
-Tag replaceables
-Fix typos
-Unify indentation

Karolin
(This used to be commit 872defd1d2)
2008-09-04 11:27:44 +02:00
Jeremy Allison
c16f2907c5 Fix bug #5729. Explicitly allow "-valid".
Jeremy
(This used to be commit 4f2de29723)
2008-09-03 13:06:36 -07:00
Simo Sorce
3fa16da8c7 Revert "Split lookup_name() and create a new functiong called"
This reverts commit 8594edf666.
(This used to be commit ad462e2e2d)
2008-09-03 14:36:43 -04:00
Simo Sorce
04691de379 The msync manpage reports that msync *must* be called before munmap. Failure to do so may result in lost data. Fix an ifdef check, I really think we meant to check HAVE_MMAP here.
(This used to be commit 74c8575b3f)
2008-09-03 14:25:33 -04:00
Simo Sorce
c5894e1477 Merge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-devel
(This used to be commit 8e4dca3b94)
2008-09-03 11:52:54 -04:00
Volker Lendecke
84fca380f2 factor prs_append_some_data out of prs_append_some_prs_data
(This used to be commit 32cb45c962)
2008-09-03 14:47:48 +02:00
Volker Lendecke
29dd253e69 Tiny logic simplification: remove an else branch
(This used to be commit 9c4905ed67)
2008-09-03 13:52:13 +02:00
Günther Deschner
aac60fead2 winbindd: the ad trusted_domains call should return talloced strings.
Guenther
(This used to be commit b57cbf62e8)
2008-09-02 21:53:04 +02:00
Volker Lendecke
c97880e979 Remove unused CLI_DO_RPC macros
(This used to be commit f5212c64d2)
2008-09-02 12:14:44 +02:00
Günther Deschner
087a992b97 doserr: add WERR_WRONG_PASSWORD.
Guenther
(This used to be commit 977fec76b7)
2008-09-02 00:46:10 +02:00
Volker Lendecke
767130ebec Fix some nonempty blank lines
(This used to be commit 9336cd1c5e)
2008-09-01 23:32:42 +02:00
Volker Lendecke
edd16eaa90 Slightly simplify logic: remove an else branch
(This used to be commit 56ecec5013)
2008-09-01 23:32:33 +02:00
Volker Lendecke
cad04676ca Fix typo
(This used to be commit 544d1fd19a)
2008-09-01 23:31:42 +02:00
Volker Lendecke
227718cd1a Fix Coverity ID 587
The following test program prints "8" on 64-bit :-)

static void print_size(const char lenbuf[4])
{
        printf("sizeof(lenbuf) = %d\n", (int)sizeof(lenbuf));
}
int main(void)
{
        const char lenbuf[4];
        print_size(lenbuf);
        return 0;
}

Jeremy, please check :-)

Volker
(This used to be commit 9daea0ccfd)
2008-09-01 13:51:11 +02:00
Volker Lendecke
9554f39b12 Fix Coverity ID 589, dead code
(This used to be commit 67c0835226)
2008-08-31 12:15:35 +02:00
Volker Lendecke
06dd647fe0 Remove a duplicate retval check
Jeremy, please check!
(This used to be commit 6579005e64)
2008-08-31 11:45:12 +02:00
Volker Lendecke
ec4015d34f Fix Coverity ID 592
The scanner did not figure out that we always have a primary domain, so it
complained about us potentially passing a NULL pointer down to
set_domain_online_request() where it is dereferenced.

Make the code a bit clearer.
(This used to be commit e6e8d108f9)
2008-08-31 11:36:27 +02:00
Jeremy Allison
8f525afbd2 Merge branch 'v3-devel' of ssh://jra@git.samba.org/data/git/samba into v3-devel
(This used to be commit 882297edc0)
2008-08-29 09:29:21 -07:00
Jeremy Allison
b12c7dbb53 Deal with systems that don't initialize birthtime correctly.
Pointed out by SATOH Fumiyasu <fumiyas@osstech.jp>.
Jeremy.
(This used to be commit 4f60348c0a)
2008-08-29 09:29:07 -07:00
Michael Adam
d2dc2e34be packaging(RHEL-CTDB): add the cifs.upcall manpage to package.
Michael
(This used to be commit 8343dd5c3a)
2008-08-29 18:03:10 +02:00
Michael Adam
dfa91accbd packaging(RHEL-CTDB): Add the ldbtools' manpages to the package.
Michael
(This used to be commit f570071e55)
2008-08-29 18:03:10 +02:00
Michael Adam
81e9895a0e packaging(RHEL-CTDB): fix direction of symlink for libnss_winbind.so.2
This is a workaround, until we have proper creation
of libnss_winbind.so.2 and .so as a symlink from the Makefile.

Michael
(This used to be commit f48070b879)
2008-08-29 18:03:10 +02:00
Michael Adam
3b18ac2282 packaging(RHEL-CTDB): move libnss_winbind.so bits closer together
and comment on commented out libnss_wins.so installation

Michael
(This used to be commit 590744d6ca)
2008-08-29 18:03:09 +02:00
Michael Adam
0d08227623 packaging(RHEL-CTDB): remove duplicate installation of pam_smbpass.so
Michael
(This used to be commit 54e3a6dcb2)
2008-08-29 18:03:09 +02:00
Michael Adam
595fff8585 packaging(RHEL-CTDB): remove library packaging hacks due to fixed Makfile.
Use --libdir instead of --with-libdir .
Use new --with-modulesdir to separate LIBDIR and MODULESDIR.

This makes post "make install" hacks unnecessary.

Michael
(This used to be commit a87c0cc084)
2008-08-29 18:03:03 +02:00
Michael Adam
9cfe9b3f86 packaging(RHEL-CTDB): remove unused variable from makerpms.sh
Michael
(This used to be commit 8686ceb9ad)
2008-08-29 18:00:52 +02:00
Michael Adam
8193b5694d packaging(RHEL-CTDB): auto-detect samba version from spec in makerpms.sh
Michael
(This used to be commit d18075524f)
2008-08-29 18:00:52 +02:00
Michael Adam
f9a0b1675e libnet_join: streamline logic of libnet_join_post_processing()
Michael
(This used to be commit 81cc1af1e6)
2008-08-29 18:00:51 +02:00
Michael Adam
2d25608a5d libnet: fix join by creating keytab after changing the config.
Michael
(This used to be commit 96d1c780bf)
2008-08-29 18:00:51 +02:00
Günther Deschner
1f0cd6a744 wbinfo: add change-user-password command.
Guenther
(This used to be commit e572ede999)
2008-08-29 17:35:23 +02:00