Tim Potter
90dbd21cd0
Fix compiler warning.
...
(This used to be commit f127f96425
)
2003-04-28 06:19:11 +00:00
Tim Potter
507cdd1996
Merge:
...
>Patch from waider to set exit code of last executed command specified
>as an argument to -c.
(This used to be commit b1ad692688
)
2003-04-28 05:54:37 +00:00
Tim Potter
03412f056d
Whitespace syncup.
...
(This used to be commit 7fd7af121e
)
2003-04-28 05:47:07 +00:00
Tim Potter
b6ac19c69e
Merge: we need a rule for t_snprintf
...
(This used to be commit 4d2106f910
)
2003-04-28 05:29:10 +00:00
Tim Potter
60948799ea
Ignore t_snprintf binary.
...
(This used to be commit 8d70ef6b8c
)
2003-04-28 05:28:48 +00:00
Tim Potter
266f1fddff
Merge of a debuglevel downgrade from HEAD.
...
(This used to be commit d17e04e82b
)
2003-04-28 05:26:59 +00:00
Tim Potter
322d385b6e
Merge stf updates from HEAD.
...
(This used to be commit 20bde94eb8
)
2003-04-28 05:20:01 +00:00
Tim Potter
4ea3cd2629
Merge of const fixes from HEAD.
...
(This used to be commit a847ebd827
)
2003-04-28 05:18:30 +00:00
Tim Potter
ee007fc7b8
Merge from HEAD:
...
>Return NT_STATUS_UNSUCCESSFUL if the sourcedata and echodata rpcs
>return unexpected data.
>
>Closes bug #2 .
(This used to be commit 2e5f75beaf
)
2003-04-28 03:36:01 +00:00
Jelmer Vernooij
45ffe8c816
Fix number of arguments to asprintf()
...
(This used to be commit 42e76c3123
)
2003-04-28 00:28:25 +00:00
Jelmer Vernooij
d32e9ee6e1
Make some more functions static
...
(This used to be commit ddd2e65586
)
2003-04-28 00:28:01 +00:00
Jelmer Vernooij
d2cea7d289
Add 'smbiconv' program - a clone of the 'iconv' utility
...
that uses samba's internal iconv() functions. Useful for
testing purposes.
(This used to be commit ccabb7961a
)
2003-04-27 20:47:15 +00:00
John Terpstra
da66598b3e
Patch from Vorlon
...
(This used to be commit 837bc15a54
)
2003-04-26 19:46:59 +00:00
Gerald Carter
ce9af4e049
round three of CIDR fixes; spotted by Tomoki AONO
...
(This used to be commit 554026b208
)
2003-04-26 16:18:20 +00:00
Andrew Bartlett
38c0f29c9e
Remove the unpopular pdb_unix, which has served it's time well.
...
Also get charset 'werid' for both --enable-developer options in configure.
Andrew Bartlett
(This used to be commit 2a99e77e91
)
2003-04-26 13:49:55 +00:00
Andrew Bartlett
b292909ead
After a quick run with the 'weird' charset, squash a few bugs in our new
...
'UF8-safe' LDAP code.
I hope I've caught all the places where we were pushing strings into or
out of LDAP now.
Andrew Bartlett
(This used to be commit 70bf7a5f71
)
2003-04-26 13:29:37 +00:00
Jelmer Vernooij
56d2bb2b95
Add the weird charset in 3_0 and build it by default for ./configure --enable-developer
...
(This used to be commit bc5603454a
)
2003-04-26 11:49:05 +00:00
Jelmer Vernooij
3f3f30549c
Fix the weird charset and build it by default for ./configure -enable-developer
...
(This used to be commit 8d17a4dc21
)
2003-04-26 11:48:16 +00:00
Simo Sorce
43b3ea968b
back port from HEAD
...
(This used to be commit f7cfdf20b7
)
2003-04-26 01:15:57 +00:00
Jim McDonough
fda7b4b226
Get credentials before publishing printers.
...
(This used to be commit 674174fcca
)
2003-04-25 21:51:26 +00:00
Volker Lendecke
10dc904bb4
As nobody really objected to this patch, I opted to create facts :-)
...
This uses 'socket address' as the source address for nmbd. This way we
can again synchronize with the DMB if we have 'bind interfaces only'
to a virtual interface.
I'd love to see this in 2.2.9, but that is up to jerry or jra.
Volker
(This used to be commit fe637c690b
)
2003-04-25 12:42:32 +00:00
Andrew Bartlett
abd9926240
Based on a patch by Alex Deiter <tiamat@komi.mts.ru>, make sure that we convert
...
to and from UTF8 when talking to our LDAP server in pdb_ldap.
Andrew Bartlett
(This used to be commit 759ba40b12
)
2003-04-25 05:59:49 +00:00
Andrew Bartlett
ca103a076a
This function is a duplicate.
...
(This used to be commit fd0cd6200b
)
2003-04-25 05:29:55 +00:00
Tim Potter
bf3e2980bc
Merge of missed another while condition when enumerating aliases.
...
(This used to be commit ee78196bcf
)
2003-04-25 04:09:01 +00:00
Gerald Carter
f4187018ea
fix and if () that should be an 'else if()'
...
(This used to be commit 82f024723c
)
2003-04-25 02:26:23 +00:00
Tim Potter
c61ec2d10e
Minor cleanup of enum domain groups/aliases:
...
- return NT_STATUS_NO_MEMORY instead of NT_STATUS_UNSUCESSFUL if a
talloc fails
- don't try and tallocate memory when the number of entries returned was
zero
- rename some cut&pasted variable names in enum domain aliases function
(This used to be commit aa748e1da5
)
2003-04-25 02:02:01 +00:00
Tim Potter
d3ba70356e
Merge:
...
>When calling cli_samr_enum_{dom,als}_groups in a while loop, the
>terminating condition should be result != STATUS_MORE_ENTRIES, not
>result == NT_STATUS_OK otherwise we get stuck in an infinite loop
>when there's any sign of trouble.
(This used to be commit 4998a72cf8
)
2003-04-25 02:00:47 +00:00
Jelmer Vernooij
e806761ff5
Don't store UID or GID
...
(This used to be commit a986076a74
)
2003-04-24 21:04:03 +00:00
Jelmer Vernooij
05793cacef
In 3.0, pdb_mysql and pdb_xml are in passdb/
...
(This used to be commit 706090a1be
)
2003-04-24 20:45:41 +00:00
Jelmer Vernooij
ec750c5d52
- Get rid of module_path_get_name()
...
- Use find backend function to find duplicates
- declare static function before using it
(This used to be commit ad5ebd4f20
)
2003-04-24 20:36:41 +00:00
Jelmer Vernooij
08b30fcf27
Get rid of module_path_get_name() and use the find backend function
...
to find duplicates
(This used to be commit 871cad7e9a
)
2003-04-24 20:27:19 +00:00
Jelmer Vernooij
c7a6388e7e
Check for absolute paths by only checking the first character of the module name.
...
Don't use strchr_m, which caused race conditions.
(This used to be commit 69ec6be90f
)
2003-04-24 19:47:37 +00:00
Jim McDonough
f870072e5c
Fix length in findfirst2 responses, fix os/2 clients
...
(This used to be commit c12feff680
)
2003-04-24 18:58:26 +00:00
Gerald Carter
9530bbe2ad
groupmap delet should take a name or a SID
...
(This used to be commit d9277bd064
)
2003-04-24 16:47:32 +00:00
Andrew Bartlett
7041e295eb
Revert patch - we need to try the NTLMSSP code below...
...
Andrew Bartlett
(This used to be commit 317158972e
)
2003-04-24 14:07:13 +00:00
Andrew Bartlett
77ced5915d
Use the kerberos error from ads_kinit_password() in the return value from
...
our SASL code - help in printing a useful error message.
Andrew Bartlett
(This used to be commit 984321bfab
)
2003-04-24 14:02:02 +00:00
Andrew Bartlett
95d47c474b
Merge from HEAD - always initailise this to zero - helps callers in loops.
...
(This used to be commit f200a5b858
)
2003-04-24 13:55:51 +00:00
Andrew Bartlett
59e0836b7f
Merge auth changes from HEAD:
...
- better error codes than NT_STATUS_UNSUCCESSFUL for domain logon errors
- make auth_winbind load the ntdomain module if winbind isn't there.
- use new trusted domains cache to determine if the domain is valid.
Andrew Bartlett
(This used to be commit ec8d6524c6
)
2003-04-24 11:56:09 +00:00
Andrew Bartlett
3f03ecf562
Irix CC reminds us that this is non-standard.
...
Andrew Bartlett
(This used to be commit 748ed3552b
)
2003-04-24 11:52:00 +00:00
Andrew Bartlett
a04c643158
Make sure that we don't compile pdb_ldap on systems with ldap.h, but without
...
-lldap.
Andrew Bartlett
(This used to be commit 5c36308d14
)
2003-04-24 11:47:21 +00:00
Andrew Bartlett
30a6f801ae
Add vfs_fake_perms to Samba 3.0
...
Andrew Bartlett
(This used to be commit 3ad260ced9
)
2003-04-24 10:36:23 +00:00
Andrew Bartlett
596de71fc6
When possible, store the IP address of the connecting client, not just the
...
hostname.
This makes 'last -i' show the IP.
Thanks to Philip Anderson <pza@australia.op.org> for the idea.
Andrew Bartlett
(This used to be commit 107731c080
)
2003-04-24 09:52:29 +00:00
Andrew Bartlett
29133d9677
This is really trying to be a StrnCpy (most names will overflow the 10 char
...
limit)
(This used to be commit 0e04761abe
)
2003-04-24 05:43:45 +00:00
Jelmer Vernooij
eae6eb833b
Patch from Guenther Deschner to fix build with gcc 3.2
...
(This used to be commit ab631b31fb
)
2003-04-24 03:51:05 +00:00
Jelmer Vernooij
1f008c1203
Patch from Stephan Metzmacher to add default arguments to lp_parm() smb.conf
...
parameters. Does not break binary compatibility with older modules.
(This used to be commit 147c4d56d8
)
2003-04-24 03:46:17 +00:00
John Terpstra
8f6e88dbb6
Added patch from Stephen Roylance.
...
(This used to be commit 71369f9089
)
2003-04-24 02:35:00 +00:00
Shirish Kalele
8a106dcda9
For deep referrals, track consumed path using a counter, and calculate the
...
consumed count only if and when it is needed. Check into SAMBA_3_0.
(This used to be commit d6a326ba46
)
2003-04-23 19:06:21 +00:00
John Terpstra
a141af397e
Updated FLAGs - Affects only SWAT.
...
(This used to be commit 80f2790eb9
)
2003-04-23 14:56:30 +00:00
Andrew Bartlett
14a317010c
Thanks to a reminder from vance - delete build_options.c from CVS, now
...
it's autogenerated.
(This used to be commit 1cbc66e2e3
)
2003-04-23 14:31:23 +00:00
Andrew Bartlett
53004910eb
Patch by Vance Lankhaar <vlankhaar@linux.ca> to automaticly regenerate the
...
build options, so we will always have the right values for how and when
an smbd was built.
In particular, this is indended to address bitrot caused by configure.in
changes.
Andrew Bartlett
(This used to be commit 2be258071c
)
2003-04-23 14:19:03 +00:00