1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

163 Commits

Author SHA1 Message Date
Simo Sorce
8a751c019c Some progress towards gums and tdbsam2
genparser works fine, and it is a marvelous tool to store objects in tdb :)
(This used to be commit 4c6d461a8572f03cd33cba95500cc837638b732c)
2003-03-07 18:26:24 +00:00
Jelmer Vernooij
742dcedfa2 We now use <anchor/> instead of just <anchor> (strict XML syntax)
(This used to be commit 7c00fff475e15a9e9d5c3d2c8394a2cdc1b90cac)
2003-02-27 02:17:54 +00:00
Gerald Carter
a9f1ec0d6b autogen - cope with autoconf-2.53/2.13 systems (like RH 7.3)
findsmb - use @PERL@
(This used to be commit 15853857299c0de37b9cb736bb99928526924608)
2003-02-10 17:30:20 +00:00
Andrew Bartlett
4c9f6c5a31 Fix to findsmb by Waider
(This used to be commit c32c1bccc27f10e2f44f3e7f3778aae38bba8f25)
2003-01-29 13:13:00 +00:00
Gerald Carter
5fb5950258 small merges from SAMBA_3_0; mostly typos, renames, etc...
(This used to be commit 9ac196dad4893b0ceef13281a140be5d85391e6c)
2003-01-15 18:31:46 +00:00
Andrew Bartlett
80120a79bc Patch from ab, to make findsmb omit -r most of the time.
(original mail follows)
--
From:	Alexander Bokovoy <a.bokovoy@sam-solutions.net>
Greetings!

I propose to make an optional argument '-r' for findsmb utility to pass
'-r' option to nmblookup optionally and default to omit it. The reason is
to have findsmb working more user-friendly in contemporary office
environments where Windows 95/98 boxes are rare and also to allow usage of
the utility under non-priviledged accounts when Windows95/98 boxes are in
minority or even absent in network neighbourhood.

An attached patch provides this change for HEAD together with
documentation changes.

--
/ Alexander Bokovoy
(This used to be commit d0bebea521e12fb9cef66feecd969216607ef63d)
2003-01-13 12:54:59 +00:00
Herb Lewis
26c01d3f7b add and escape before $( in regex string so it is not interpreted as the
perl variable for "real gid of this process"
(This used to be commit cfe2d01b7de846229e87c151059d80756929d129)
2003-01-07 17:33:30 +00:00
Simo Sorce
928b534961 forgont genstruct.pl is needed to build new include files for genparse
sorry
(This used to be commit 4029dae9064e10a02006e9d0a5d8cf93e22eaed5)
2002-12-16 17:51:40 +00:00
Herb Lewis
2ce7686a45 fix broken incremental tar - merge from 2.2
found by "Jacob Anawalt" <anawaltaj@hotmail.com>
(This used to be commit 52fdb787d426976941080acff126d592b288f301)
2002-12-10 21:50:44 +00:00
Simo Sorce
e6e3b79f74 make vfs recycle use vfs facilities correctly!
WARNING: every vfs module maintainer should look at these changes to understand how to properly write a vfs module in head!!

also make installmodules work correctly when the directory structure is not yet in place.

Simo.
(This used to be commit 6dfa46098679681a6d2c931395d6eeae2a978466)
2002-12-09 12:06:15 +00:00
Jelmer Vernooij
97bec3fc3e Remove obsolete scripts and put in module install/uninstall
(This used to be commit d777bba5082ebdf78d314b0d7b4196a4d6413e1f)
2002-11-13 20:38:56 +00:00
Jeremy Allison
250c980119 Removed global_myworkgroup, global_myname, global_myscope. Added liberal
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
(This used to be commit 82b8f749a36b42e22186297482aad2abb04fab8a)
2002-11-12 23:15:52 +00:00
Jelmer Vernooij
5b29a8f6ef Be less verbose
(This used to be commit 65c4a1060b57b1fa18f125d7ef92eb2cec0e1edf)
2002-10-02 18:38:04 +00:00
Jelmer Vernooij
f15c47d24d Update find_missing_doc.pl:
- Report references in smb.conf that point to non-existent entries
 - Report entries that are not referenced in the list
 - Report entries that are documented, but don't exist in loadparm.c
 - Report entries that are in loadparm.c, but are not documented
(This used to be commit bf5a84efb36410bc07e7de91f4a926a60083bb7a)
2002-10-02 18:36:38 +00:00
Volker Lendecke
dc262e3f39 An example of a group creation command that can handle failures
of groupadd.

Volker
(This used to be commit 3f78923a6feefffae6203d27a765b2a8cf3c5c24)
2002-09-27 09:47:02 +00:00
Jelmer Vernooij
1ceb135b6c Don't report missing "-valid"
(This used to be commit f9018f4560c205033d25e6294534be4b7a79f6c1)
2002-08-20 17:57:07 +00:00
Jelmer Vernooij
4c8b313a23 Add script to find undocumented smb.conf options
(This used to be commit 77152b4033f13abcdb86c7835f3112fa422a420d)
2002-08-19 14:55:06 +00:00
Gerald Carter
ea27af285a simple perl script for retreiving cvs log messages for a file
after a given date.  I use it to help update the WHATSNEW.txt for a
release.

	./cvslog.pl SAMBA_2_2 '>2002-06-18' configure.in

The output is a little messy right now, but I plan to clean that up.
(This used to be commit 8812223e2a37b0d0f143fcc74c6ba85ac8081ffb)
2002-07-29 16:22:37 +00:00
Tim Potter
c74a8d72f9 Merge from APPLIANCE_HEAD:
>When creating an automatically generated prototype make sure the
>destination directory exists.
(This used to be commit 9ffca4824c9fa76ab288f59b4b57a3cdc99a93b8)
2002-07-29 03:26:31 +00:00
Andrew Tridgell
03e9a50305 fixed man install
samba-patches 961
(This used to be commit 935996e1c7e742da5961e0eaaf4b3cf5a40b9547)
2002-07-28 05:57:23 +00:00
Gerald Carter
a12ed7f506 done! printer_info_2, devicemode, sec_desc, & printer data all enumerate
and display correctly in regedit.exe.

Not sure about REG_SZ values in PrinterDriverData.  If we store these
in UNICODE, I'll have to fix up a few things.

REG_BINARY & REG_DWORD are fine.
(This used to be commit 2a30c243ec28734bbc721dfc01b743faa6f73788)
2002-07-24 08:58:03 +00:00
Gerald Carter
6dd9f24d05 another intermediate checkin on the way to enumerating forms
via the registry.  There is a seg fault here which shouldn't
bother anyone until I can get it fixed.  I just need
a check point in case I need to roll back to this version later on.
(This used to be commit e62ae94823461e142978a786b2860ea97906cfb3)
2002-07-20 13:23:57 +00:00
Gerald Carter
06ae9ac5d9 virtual registry framework with initial printing hooks.
(This used to be commit a43d9788fa8823d678ee72470421b980165ec2b0)
2002-07-18 23:00:24 +00:00
Andrew Tridgell
9930b0b065 used findstatic.pl to make some variables static and remove some dead
code
(This used to be commit 91ad9041e9507d36eb3f40c23c5d4df61f139ef0)
2002-07-01 09:12:41 +00:00
Andrew Tridgell
fe082a8ff5 much better findstatic script
(This used to be commit 2947b7624f921032bcd2cc5507747b2f7ef190de)
2002-06-24 06:27:30 +00:00
Andrew Tridgell
2154ebce84 a useful script for finding global variables or functions that could
be static

very very slow ... I leave it as an exercise for the reader to make
this O(n) instead of O(n^2)
(This used to be commit 7c035d473c7175163ad5db0373ed2fe6c739b968)
2002-06-13 07:06:19 +00:00
Andrew Bartlett
58e1fe62cc A few things in this commit:
cleanup some of the code in net_rpc_join re const warnings and
fstrings.

Passdb:

Make the %u and %U substituions in passdb work.
This is done by declaring these paramters to be 'const' and doing
the substitution manually.  I'm told this is us going full circle,
but I can't really see a better way.

Finally these things actually seem to work properly...

Make the lanman code use the pdb's recorded values for homedir etc
rather than the values from lp_*()

Add code to set the plaintext password in the passdb, where it can
decide how to store/set it.  For use with a future 'ldap password
change' option, or somthing like that...

Add pdb_unix, so as to remove the 'not in passdb' special cases from the
local_lookup_*() code.  Quite small, as it uses the new 'struct passwd ->
SAM_ACCOUNT' code that is now in just one place.  (also used by pdb_smbpasswd)

Other:
Fix up the adding of [homes] at session setup time to actually pass
the right string, that is the unix homedir, not the UNC path.

Fix up [homes] so that for winbind users is picks the correct name.
(bad interactions with the default domain code previously)

Change the rpc_server/srv_lsa_nt.c code to match NT when for the
SATUS_NONE_MAPPED reply:  This was only being triggered on
no queries, now it is on the 'no mappings' (ie all mappings failed).
Checked against Win2k.

Policy Question:  Should SID -> unix_user.234/unix_group.364 be
considered a mapping or not?  Currently it isn't.

Andrew Bartlett
(This used to be commit c28668068b5a3b3cf3c4317e5fb32ec9957f3e34)
2002-05-18 05:52:52 +00:00
Tim Potter
0502d0ad6b Added findsmb to .cvsignore list.
(This used to be commit 5b682b2e04d054a2843269373abddc764c4c0cdd)
2002-05-10 03:17:44 +00:00
Gerald Carter
3de73897e7 merge from SAMBA_2_2
(This used to be commit 7382c3013d7b630ba7229a1d12104b8f7edfd9ca)
2002-05-09 13:52:06 +00:00
Gerald Carter
dd83af65d7 merge from SAMBA_2_2
(This used to be commit cc241cb240db6956baf3d5c6b6d01a0a165a6ef5)
2002-05-09 04:12:15 +00:00
Tim Potter
321767cb66 Added another return type.
(This used to be commit 9b2777d3bcef92b10cdc43a4c1e90beb48382a17)
2002-03-28 04:12:39 +00:00
Tim Potter
740b24658c Use headername when closing off include file guards.
(This used to be commit 5bf5bffdd557cec3588e8d7a95b6cf75d00e616f)
2002-03-28 03:43:54 +00:00
Herb Lewis
87eb1ffd55 make install should also install the default dat files from codepages
directory so we don't keep getting these stupid error messages about
incorrect size for valid.dat upcase.dat and lowcase.dat
(This used to be commit 4af0c7a93f626dde33fd737618c2b786f83046c7)
2002-03-21 23:42:54 +00:00
Andrew Bartlett
7451e73ae2 Move the directory creation process outside the 'installbin.sh' script, and
into its own.  The 'installdirs' makefile entry didn't do anything on my laptop,
so it has been replaced with the section from installbin.sh.

This also fixes the bug that we ignored the setting of $(PRIVATEDIR) when
making the directories.

Finally, link pam_winbind with .po objects only, not a mix of .o and .po
(as per Don Mccall's request).

Andrew Bartlett
(This used to be commit c7a883df28da9dd6fb88198df22c4d78bf8acd8b)
2002-03-13 01:21:02 +00:00
Andrew Tridgell
88514f7d1c we definately don't want RCS $id tags in Samba. They make merging much
harder.
(This used to be commit 6d33b30929e323276e7fc21012983d691a4f8827)
2002-02-18 22:12:21 +00:00
Jim McDonough
6a92f246ca Add ADS_MODLIST to allowed types
(This used to be commit d082d3a9fc2d6eddf82b1583eb1cbfcf5965f1a0)
2002-02-12 18:23:34 +00:00
Andrew Tridgell
b6b6b0c691 support double functions
(This used to be commit e72c6fb36ebd3ea8fc6b6d8e1b1a9ff1ccb3ade9)
2002-02-05 01:30:50 +00:00
Andrew Bartlett
bb6af711b8 This is the current patch from Luke Leighton <lckl@samba-tng.org> to add a
degree of seperation betwen reading/writing the raw NamedPipe SMB packets
and the matching operations inside smbd's RPC components.

This patch is designed for no change in behaviour, and my tests hold that to be
true.  This patch does however allow for the future loadable modules interface
to specify function pointers in replacement of the fixed state.

The pipes_struct has been split into two peices, with smb_np_struct taking the
information that should be generic to where the data ends up.

Some other minor changes are made: we get another small helper function in
util_sock.c and some of the original code has better failure debugs and
variable use. (As per on-list comments).

Andrew Bartlett
(This used to be commit 8ef13cabdddf58b741886782297fb64b2fb7e489)
2002-01-20 02:40:05 +00:00
Andrew Tridgell
1f31ace6cb much better ADS error handling system
(This used to be commit 05a90a28843e0d69183a49a76617c5f32817df16)
2001-12-19 12:21:12 +00:00
Andrew Tridgell
a062e58d9e - added initial support for trusted domains in winbindd_ads
- gss error code patch from a.bokovoy@sam-solutions.net
- better sid dumping in ads_dump
- fixed help in wbinfo
(This used to be commit ee1c3e1f044b4ef62169ad74c5cac40eef81bfda)
2001-12-19 08:44:23 +00:00
Andrew Tridgell
ad2974cd05 added "net join" command
this completes the first stage of the smbd ADS support
(This used to be commit 058a5aee901e6609969ef7e1d482a720a84a4a12)
2001-11-24 14:16:41 +00:00
Andrew Tridgell
59efa068bd always install swat language files
(This used to be commit f283011c284844ef1bdd1f1fc718263904ef5797)
2001-10-15 05:15:31 +00:00
Andrew Tridgell
81f56139b6 initial kerberos/ADS/SPNEGO support in libsmb and smbclient. To
activate you need to:

- install krb5 libraries
- run configure
- build smbclient
- run kinit to get a TGT
- run smbclient with the -k option to choose kerberos auth
(This used to be commit d33057585644e1337bac743e25ed7653bfb39eef)
2001-10-11 07:42:52 +00:00
Tim Potter
18190fc051 Add CLI_POLICY_HND as a valid return type.
(This used to be commit 880201b52b92a430d3f593adf3d55893f7c1c4c4)
2001-10-05 00:16:04 +00:00
Motonobu Takahashi
1817c231c7 now --with-i18n-swat works to install some international files
used by SWAT into $swatdir/$ln/{help,images,include}

we have still points which needs to discuss, that is how to archive
and install lots of HTML help files and Using Samba files.

-- monyo
(This used to be commit 9ec2d5e96ebb907e66250772057bf5e2601f8ec9)
2001-09-25 17:40:12 +00:00
Andrew Bartlett
f3d8f6b198 Try to fix up manpage installation
(This used to be commit a302bb20e28ea2e4d04eca34a23ff42e9bc07b05)
2001-09-25 02:01:29 +00:00
Motonobu Takahashi
14403d5e8a fixed a typo in installman.sh
fixed a problem that source/install-sh is not executable
(This used to be commit c2e256c18cbaa1145ab6ca8ad59baadca36abbdd)
2001-09-24 18:22:46 +00:00
Motonobu Takahashi
96db4b1ba3 Added SWAT i18n feature:
TO enable configure with --with-i18n-swat
  to support this gettext is integrated
  and a new directories name "po" and "intl" are created.

  now these languages are supported:

  en - English (default)
  ja - Japanese
  po - Polish
  tr - Turkish

  To add your language,
  to create ${your_language}.po by translating source/po/en.po
  into your language is needed.

  some of html and image files of various language version are not
  included yet, though message catalogue files are installed.
  you need to copy files manually under
  ${swatdir}/lang/$ln/{help,images,included,using_samba}


And also added a option to intall manual pages:
of various lang version
  To enable configure with --with-manlangs
  but manual pages themself are not included yet.
(This used to be commit 486b79a6fc4ba20a751aab544bd0f7ccff2b3d19)
2001-09-24 15:55:09 +00:00
Andrew Bartlett
14811e7d0a Try to fix up the shell syntax
(This used to be commit f57b1085b3a608871f0c1c8fbfe19c121dc8504f)
2001-09-19 13:29:33 +00:00
Andrew Bartlett
b882efea35 typo
(This used to be commit 7a47e0fceb8999de93ac9e5721bf65401630dec6)
2001-09-19 11:44:00 +00:00