ira/wip.git
21 years agoDon't modify the incoming packet when checking the signiture.
Andrew Bartlett [Sun, 30 Mar 2003 02:52:47 +0000 (02:52 +0000)]
Don't modify the incoming packet when checking the signiture.

Andrew Bartlett

21 years agofixed the -B option as well
Andrew Tridgell [Sun, 30 Mar 2003 00:00:10 +0000 (00:00 +0000)]
fixed the -B option as well

21 years agofixed the -U option in nmblookup
Andrew Tridgell [Sat, 29 Mar 2003 23:55:54 +0000 (23:55 +0000)]
fixed the -U option in nmblookup

please remember to *test* your changes before committing them. This is
especially the case when you receive patches from outside the team -
before you commit you must make sure that the patch actually works.

21 years agoupdated the TCON test so that win2000 passes. Samba now fails this
Andrew Tridgell [Sat, 29 Mar 2003 23:30:53 +0000 (23:30 +0000)]
updated the TCON test so that win2000 passes. Samba now fails this
test.

It is an interesting test because it shows that win2000 completely
ignores the TID and VUID fields in a SMBwriteX. In Samba it is hard to
do this as we check the VUID and TID fields before we call the SMB
specific reply functions.

The test also shows that the list of open files must be global to the
socket, not specific to a tcon.

21 years agosync packagaing with SAMBA_3_0
Gerald Carter [Sat, 29 Mar 2003 12:49:54 +0000 (12:49 +0000)]
sync packagaing with SAMBA_3_0

21 years agoadded a simple test for the old SMBtcon interface
Andrew Tridgell [Sat, 29 Mar 2003 12:44:42 +0000 (12:44 +0000)]
added a simple test for the old SMBtcon interface

21 years agoMore patches from coolo. One of these functions needs to be moved
Richard Sharpe [Fri, 28 Mar 2003 21:41:27 +0000 (21:41 +0000)]
More patches from coolo. One of these functions needs to be moved
elsewhere so other code can use it.

21 years agoFix some uncleanness with testsmbc.c
Richard Sharpe [Fri, 28 Mar 2003 21:12:11 +0000 (21:12 +0000)]
Fix some uncleanness with testsmbc.c

21 years agoSome fixes to URL syntax from coolo.
Richard Sharpe [Fri, 28 Mar 2003 21:07:44 +0000 (21:07 +0000)]
Some fixes to URL syntax from coolo.

21 years agofix CIDR hosts allow/deny notation
Gerald Carter [Fri, 28 Mar 2003 15:42:57 +0000 (15:42 +0000)]
fix CIDR hosts allow/deny notation

21 years agoMerge from HEAD - get better error strings from the ldap server in pdb_ldap.
Andrew Bartlett [Fri, 28 Mar 2003 10:02:43 +0000 (10:02 +0000)]
Merge from HEAD - get better error strings from the ldap server in pdb_ldap.

Andrew Bartlett

21 years agoAllow the new modules system to function with builtin vfs modules.
Andrew Bartlett [Fri, 28 Mar 2003 05:24:21 +0000 (05:24 +0000)]
Allow the new modules system to function with builtin vfs modules.

If we don't have a vfs path set, just pass the original file name.

In future, we need to seperate the default path as a seperate paramater.

Andrew Bartlett

21 years agodon't include proto.h during autoconf tests since it doesn't exist yet; fixed getsmbp...
Gerald Carter [Fri, 28 Mar 2003 02:02:32 +0000 (02:02 +0000)]
don't include proto.h during autoconf tests since it doesn't exist yet; fixed getsmbpass replacement test

21 years agofix up IPC/LPT:/A: devicetype in tcon_and_X
Gerald Carter [Fri, 28 Mar 2003 02:00:19 +0000 (02:00 +0000)]
fix up IPC/LPT:/A: devicetype in tcon_and_X

21 years agoit is possible for some of the real time signals to be used by glibc,
Andrew Tridgell [Fri, 28 Mar 2003 01:05:32 +0000 (01:05 +0000)]
it is possible for some of the real time signals to be used by glibc,
which then changes SIGRTMIN. It is also possible for bash to leave
some real time signals blocked at startup. This fixes both problems.

21 years agoits VFS_NETATALK_OBJ not VFS_NETATALK
Andrew Tridgell [Fri, 28 Mar 2003 00:28:55 +0000 (00:28 +0000)]
its VFS_NETATALK_OBJ not VFS_NETATALK

21 years agoremoved a duplicate lump of module stuff in configure.in
Andrew Tridgell [Fri, 28 Mar 2003 00:21:01 +0000 (00:21 +0000)]
removed a duplicate lump of module stuff in configure.in

21 years agoCompile @VFS_STATIC@ into smbd and vfstest
Jelmer Vernooij [Thu, 27 Mar 2003 23:36:16 +0000 (23:36 +0000)]
Compile @VFS_STATIC@ into smbd and vfstest

21 years agoAlso rebuild smbd/vfs.o after reconfiguring
Jelmer Vernooij [Thu, 27 Mar 2003 23:31:15 +0000 (23:31 +0000)]
Also rebuild smbd/vfs.o after reconfiguring

21 years agoDoc updates from John + some minor fixes by me
Jelmer Vernooij [Thu, 27 Mar 2003 23:02:43 +0000 (23:02 +0000)]
Doc updates from John + some minor fixes by me

21 years agoReflect current conversion status
Alexander Bokovoy [Thu, 27 Mar 2003 18:56:42 +0000 (18:56 +0000)]
Reflect current conversion status

21 years ago1. Fix generate-file-list.sh to produce a list sorted by parameter name, not paramet...
Alexander Bokovoy [Thu, 27 Mar 2003 18:28:55 +0000 (18:28 +0000)]
1. Fix  generate-file-list.sh to produce a list sorted by parameter name, not parameter section.
2. Convert base parameters to new meta-information scheme

21 years agoPut backwards compatibility support for old modules in a seperate function
Jelmer Vernooij [Thu, 27 Mar 2003 16:33:59 +0000 (16:33 +0000)]
Put backwards compatibility support for old modules in a seperate function

21 years agoAdd new framework for smb.conf(5). Please read README before trying to compile.
Alexander Bokovoy [Thu, 27 Mar 2003 15:27:19 +0000 (15:27 +0000)]
Add new framework for smb.conf(5). Please read README before trying to compile.
I will commit more meta-information updates during week-end.

21 years agoThis is no functional change. It just makes pdb_ldap.c a bit
Volker Lendecke [Thu, 27 Mar 2003 14:30:10 +0000 (14:30 +0000)]
This is no functional change. It just makes pdb_ldap.c a bit
easier to understand by moving the logic for init_ldap_from_sam
and friends around.

Volker

21 years agoTidy XML formating
Alexander Bokovoy [Thu, 27 Mar 2003 14:22:03 +0000 (14:22 +0000)]
Tidy XML formating

21 years agoFix schema error not detected by OpenLDAP 2.0.23 but by 2.1.16.
Volker Lendecke [Thu, 27 Mar 2003 14:12:42 +0000 (14:12 +0000)]
Fix schema error not detected by OpenLDAP 2.0.23 but by 2.1.16.

Volker

21 years agolocal_gid_to_sid() could use pdb_ldap, which for now requires ROOT.
Andrew Bartlett [Thu, 27 Mar 2003 12:54:50 +0000 (12:54 +0000)]
local_gid_to_sid() could use pdb_ldap, which for now requires ROOT.

21 years agoUse the new modules system in VFS. If a module can't be loaded with the
Jelmer Vernooij [Thu, 27 Mar 2003 12:08:46 +0000 (12:08 +0000)]
Use the new modules system in VFS. If a module can't be loaded with the
new modules system, we still fall back to the old system.

21 years agoThe definition of pstrcpy_base(), and the preceeding comments, were given
Christopher R. Hertel [Thu, 27 Mar 2003 05:11:25 +0000 (05:11 +0000)]
The definition of pstrcpy_base(), and the preceeding comments, were given
twice (probably a cut/paste error).
The definition of pstrcpy_base(), and the preceeding comments, were given
twice (probably a cut/paste error).

21 years agoFix DOS del command with widelinks = False.
Jeremy Allison [Wed, 26 Mar 2003 22:15:37 +0000 (22:15 +0000)]
Fix DOS del command with widelinks = False.
Jeremy.

21 years agoRemove LDAP_LIBS and just use LIBS again as before. I'll
Jelmer Vernooij [Wed, 26 Mar 2003 20:16:48 +0000 (20:16 +0000)]
Remove LDAP_LIBS and just use LIBS again as before. I'll
fix this better later.

21 years agoAdd defines for platforms that need them.
Jeremy Allison [Wed, 26 Mar 2003 19:42:51 +0000 (19:42 +0000)]
Add defines for platforms that need them.
Jeremy.

21 years agoFix extra NULL arg added during app-head merge.
Jeremy Allison [Wed, 26 Mar 2003 19:31:44 +0000 (19:31 +0000)]
Fix extra NULL arg added during app-head merge.
Jeremy.

21 years agoDocument results of smb.conf(5) inspection. We have 13 undocumented parameters for...
Alexander Bokovoy [Wed, 26 Mar 2003 15:06:45 +0000 (15:06 +0000)]
Document results of smb.conf(5) inspection. We have 13 undocumented parameters for HEAD

21 years agoUse SAFE_FREE() instead of plain free() - pointed out by metze
Jelmer Vernooij [Wed, 26 Mar 2003 13:49:23 +0000 (13:49 +0000)]
Use SAFE_FREE() instead of plain free() - pointed out by metze

21 years agoUse execinfo.h to get prototypes for backtrace_symbols (fixes
Jelmer Vernooij [Wed, 26 Mar 2003 13:43:29 +0000 (13:43 +0000)]
Use execinfo.h to get prototypes for backtrace_symbols (fixes
some warnings)

21 years agoFix $LDAP_LIBS
Jelmer Vernooij [Wed, 26 Mar 2003 13:30:26 +0000 (13:30 +0000)]
Fix $LDAP_LIBS

21 years agoOutput backtrace to logfile in smb_panic(), as suggested by mbp
Jelmer Vernooij [Wed, 26 Mar 2003 12:53:28 +0000 (12:53 +0000)]
Output backtrace to logfile in smb_panic(), as suggested by mbp
(only on systems that support it, of course)

21 years ago- Patch from John to update PDC-HOWTO, add ServerType and CUPS (not finished yet)
Jelmer Vernooij [Wed, 26 Mar 2003 11:09:12 +0000 (11:09 +0000)]
- Patch from John to update PDC-HOWTO, add ServerType and CUPS (not finished yet)
- Regenerate docs
- Update docs-status

21 years agoDon't do $(MAKE) modules_clean twice in a row - it breaks the build...
Jelmer Vernooij [Tue, 25 Mar 2003 23:53:34 +0000 (23:53 +0000)]
Don't do $(MAKE) modules_clean twice in a row - it breaks the build...

21 years agoGive PARAMS_OBJ more priority
Jelmer Vernooij [Tue, 25 Mar 2003 23:26:39 +0000 (23:26 +0000)]
Give PARAMS_OBJ more priority

21 years agoFix two typos
Jelmer Vernooij [Tue, 25 Mar 2003 23:03:03 +0000 (23:03 +0000)]
Fix two typos

21 years agoDo $(MAKE) modules_clean when compiling dynconfig.o. It's not the
Jelmer Vernooij [Tue, 25 Mar 2003 22:57:29 +0000 (22:57 +0000)]
Do $(MAKE) modules_clean when compiling dynconfig.o. It's not the
most elegant solution, but it works.

21 years agoAdd notes about the rebuilding of files
Jelmer Vernooij [Tue, 25 Mar 2003 22:51:38 +0000 (22:51 +0000)]
Add notes about the rebuilding of files

21 years agoAlways rebuild modules after running ./configure (to prevent
Jelmer Vernooij [Tue, 25 Mar 2003 22:37:43 +0000 (22:37 +0000)]
Always rebuild modules after running ./configure (to prevent
undefined symbol errors)

21 years agoAdd example version identifier
Jelmer Vernooij [Tue, 25 Mar 2003 22:15:57 +0000 (22:15 +0000)]
Add example version identifier

21 years agoAdd documentation on unicode
Jelmer Vernooij [Tue, 25 Mar 2003 20:49:13 +0000 (20:49 +0000)]
Add documentation on unicode

21 years agoAdd info about dual daemon mode
Jelmer Vernooij [Tue, 25 Mar 2003 20:14:41 +0000 (20:14 +0000)]
Add info about dual daemon mode

21 years agoRemove old check for TDB SAM (we now have --with-{static,shared}-modules=pdb_tdbsam)
Jelmer Vernooij [Tue, 25 Mar 2003 18:10:55 +0000 (18:10 +0000)]
Remove old check for TDB SAM (we now have --with-{static,shared}-modules=pdb_tdbsam)

21 years agoFix another opened-but-not-closed tag
Alexander Bokovoy [Tue, 25 Mar 2003 17:42:46 +0000 (17:42 +0000)]
Fix another opened-but-not-closed tag

21 years ago- Support building all auth modules as .so's
Jelmer Vernooij [Tue, 25 Mar 2003 14:46:11 +0000 (14:46 +0000)]
- Support building all auth modules as .so's
- Change 2 variable names to avoid conflicts (patch by Stephan Kulow <coolo@kde.org>)

21 years agoDon't use 'opt'
Jelmer Vernooij [Tue, 25 Mar 2003 13:59:55 +0000 (13:59 +0000)]
Don't use 'opt'

21 years agoMake variables static to satisfy exotic compilers
Jelmer Vernooij [Tue, 25 Mar 2003 13:40:34 +0000 (13:40 +0000)]
Make variables static to satisfy exotic compilers

21 years agoFixed opened-but-not-closed listitem/varlistentry for LDAPADMINDN
Alexander Bokovoy [Tue, 25 Mar 2003 13:37:36 +0000 (13:37 +0000)]
Fixed opened-but-not-closed listitem/varlistentry for LDAPADMINDN

21 years agoPrint list of builtin modules in 'smbd -b'
Jelmer Vernooij [Tue, 25 Mar 2003 12:27:09 +0000 (12:27 +0000)]
Print list of builtin modules in 'smbd -b'

21 years agoRemove obsolete defines (because of new modules system). We need
Jelmer Vernooij [Tue, 25 Mar 2003 12:05:23 +0000 (12:05 +0000)]
Remove obsolete defines (because of new modules system). We need
a way to track which modules have been builtin

21 years agoWe need to 'preprocess' in popt_common_samba as well
Jelmer Vernooij [Tue, 25 Mar 2003 10:37:58 +0000 (10:37 +0000)]
We need to 'preprocess' in popt_common_samba as well

21 years agoFix debug (thanks metze)
Andrew Bartlett [Tue, 25 Mar 2003 10:29:22 +0000 (10:29 +0000)]
Fix debug (thanks metze)

Andrew Bartlett

21 years agoMake auth.c compile again. I'm not sure what this does though...
Volker Lendecke [Tue, 25 Mar 2003 09:47:52 +0000 (09:47 +0000)]
Make auth.c compile again. I'm not sure what this does though...

Volker

21 years agoFix missing tag pairs
Alexander Bokovoy [Tue, 25 Mar 2003 09:46:57 +0000 (09:46 +0000)]
Fix missing tag pairs

21 years agoMake these functions static, keep them out of proto.
Andrew Bartlett [Tue, 25 Mar 2003 07:55:10 +0000 (07:55 +0000)]
Make these functions static, keep them out of proto.

21 years agoApply metze's change correctly this time. Playing 'patch' by
Volker Lendecke [Tue, 25 Mar 2003 07:54:34 +0000 (07:54 +0000)]
Apply metze's change correctly this time. Playing 'patch' by
hand can be somewhat error-prone..

Volker

21 years agowin9x was suffered a case of the blues during a domain logon.
Gerald Carter [Tue, 25 Mar 2003 04:19:04 +0000 (04:19 +0000)]
win9x was suffered a case of the blues during a domain logon.
For some reason, explicitly setting the service type during the
tcon&X fixes this.

21 years ago- Add support to auth/ for the new modules system
Jelmer Vernooij [Mon, 24 Mar 2003 23:03:46 +0000 (23:03 +0000)]
- Add support to auth/ for the new modules system
- Quite some small fixes (also fixes the build)

21 years agoFix two typos
Jelmer Vernooij [Mon, 24 Mar 2003 19:53:02 +0000 (19:53 +0000)]
Fix two typos

21 years agoWhen using --with-static-modules=subsystem, don't build modules that
Jelmer Vernooij [Mon, 24 Mar 2003 19:18:24 +0000 (19:18 +0000)]
When using --with-static-modules=subsystem, don't build modules that
can't be build

21 years agoAdd notes for packagers
Jelmer Vernooij [Mon, 24 Mar 2003 18:47:18 +0000 (18:47 +0000)]
Add notes for packagers

21 years agoGive error message when module doesn't seem to contain
Jelmer Vernooij [Mon, 24 Mar 2003 18:38:59 +0000 (18:38 +0000)]
Give error message when module doesn't seem to contain
pipe functions

21 years agoSimplify modules interface and make it easier to build
Jelmer Vernooij [Mon, 24 Mar 2003 18:25:31 +0000 (18:25 +0000)]
Simplify modules interface and make it easier to build
complete subsystems as modules (--with-shared-modules=rpc,pdb_xml,pdb_ldap
works now, for example)

21 years agoAdd static to satisfy exotic compilers
Jelmer Vernooij [Mon, 24 Mar 2003 16:16:13 +0000 (16:16 +0000)]
Add static to satisfy exotic compilers

21 years agoAdd mapping for Bad Network Path
Jelmer Vernooij [Mon, 24 Mar 2003 16:15:10 +0000 (16:15 +0000)]
Add mapping for Bad Network Path

21 years agoRemove documentation for removed options
Jelmer Vernooij [Mon, 24 Mar 2003 14:32:55 +0000 (14:32 +0000)]
Remove documentation for removed options

21 years agoDon't use old usage() function, but the one from popt.
Jelmer Vernooij [Mon, 24 Mar 2003 14:32:11 +0000 (14:32 +0000)]
Don't use old usage() function, but the one from popt.
Remove some useless arguments

21 years agoeditreg, wrepld and ntlm_aut aren't documented yet..
Jelmer Vernooij [Mon, 24 Mar 2003 14:20:28 +0000 (14:20 +0000)]
editreg, wrepld and ntlm_aut aren't documented yet..

21 years agoRevoke some of the popt patch from metze I applied earlier today. It added
Jelmer Vernooij [Mon, 24 Mar 2003 14:15:14 +0000 (14:15 +0000)]
Revoke some of the popt patch from metze I applied earlier today. It added
some double options and broke some parameters.

21 years agoDocument common arguments with entities
Jelmer Vernooij [Mon, 24 Mar 2003 14:14:10 +0000 (14:14 +0000)]
Document common arguments with entities

21 years agoAdd modules support to charset
Jelmer Vernooij [Mon, 24 Mar 2003 12:47:21 +0000 (12:47 +0000)]
Add modules support to charset

21 years agoDefine POPT_TABLEEND if current popt.h doesn't contain it already
Jelmer Vernooij [Mon, 24 Mar 2003 12:18:56 +0000 (12:18 +0000)]
Define POPT_TABLEEND if current popt.h doesn't contain it already

21 years agoFix init function name and return value
Jelmer Vernooij [Mon, 24 Mar 2003 11:31:01 +0000 (11:31 +0000)]
Fix init function name and return value

21 years agoPatch from metze to generalise POPT_COMMON_SAMBA, with some minor changes
Jelmer Vernooij [Mon, 24 Mar 2003 11:25:34 +0000 (11:25 +0000)]
Patch from metze to generalise POPT_COMMON_SAMBA, with some minor changes

21 years agoStarted working on python routines to add and delete domain users.
Tim Potter [Mon, 24 Mar 2003 06:31:49 +0000 (06:31 +0000)]
Started working on python routines to add and delete domain users.
Unfortunately users get created with the ACB mask set to disabled and
must change password.  The set_user_info2 call required to fix this
doesn't quite work yet...

21 years agoBuild the profiles.1 and smbtree.1 manpages
Jelmer Vernooij [Sun, 23 Mar 2003 16:27:31 +0000 (16:27 +0000)]
Build the profiles.1 and smbtree.1 manpages

21 years agoDocument Tim's smbtree program
Jelmer Vernooij [Sun, 23 Mar 2003 16:26:53 +0000 (16:26 +0000)]
Document Tim's smbtree program

21 years agoImplement abartlet's suggestion to add attribs to ldap if they
Volker Lendecke [Sun, 23 Mar 2003 14:19:13 +0000 (14:19 +0000)]
Implement abartlet's suggestion to add attribs to ldap if they
are 'SET' when adding the account.

I really don't like passing flags down to inner routines and
complicated if/else conditions, but this time he might be right. ;-)

Volker

21 years agoConvert to popt.
Jelmer Vernooij [Sun, 23 Mar 2003 13:42:38 +0000 (13:42 +0000)]
Convert to popt.

21 years agoFix compile.
Andrew Bartlett [Sun, 23 Mar 2003 13:18:05 +0000 (13:18 +0000)]
Fix compile.

21 years agoConvert to popt.
Jelmer Vernooij [Sun, 23 Mar 2003 13:12:04 +0000 (13:12 +0000)]
Convert to popt.

21 years agoNTLM Authentication:
Andrew Bartlett [Sun, 23 Mar 2003 13:03:25 +0000 (13:03 +0000)]
NTLM Authentication:

- Add a 'privileged' mode to Winbindd.  This is achieved by means of a directory
  under lockdir, that the admin can change the group access for.

- This mode is now required to access with 'CRAP' authentication feature.
- This *will* break the current SQUID helper, so I've fixed up our ntlm_auth
  replacement:
 - Update our NTLMSSP code to cope with 'datagram' mode, where we don't get a
   challenge.
 - Use this to make our ntlm_auth utility suitable for use in current Squid 2.5
   servers.
 - Tested - works for Win2k clients, but not Win9X at present.  NTLMSSP updates
   are needed.
 - Now uses fgets(), not x_fgets() to cope with Squid environment (I think
   somthing to do with non-blocking stdin).

- Add much more robust connection code to wb_common.c - it will not connect to
  a server of a different protocol version, and it will automatically try and
  reconnect to the 'privileged' pipe if possible.
  - This could help with 'privileged' idmap operations etc in future.

- Add a generic HEX encode routine to util_str.c,
- fix a small line of dodgy C in StrnCpy_fn()

- Correctly pull our 'session key' out of the info3 from th the DC.  This is
  used in both the auth code, and in for export over the winbind pipe to
  ntlm_auth.

- Given the user's challenge/response and access to the privileged pipe,
  allow external access to the 'session key'.  To be used for MSCHAPv2
  integration.

Andrew Bartlett

21 years agoConvert to popt.
Jelmer Vernooij [Sun, 23 Mar 2003 13:02:15 +0000 (13:02 +0000)]
Convert to popt.

21 years agoUse popt_common for -s, -d and -V
Jelmer Vernooij [Sun, 23 Mar 2003 12:40:48 +0000 (12:40 +0000)]
Use popt_common for -s, -d and -V

21 years agoDon't duplicate the default group mapping functions - use the ones
Jelmer Vernooij [Sun, 23 Mar 2003 12:29:19 +0000 (12:29 +0000)]
Don't duplicate the default group mapping functions - use the ones
from passdb

21 years agoThis does two things:
Volker Lendecke [Sun, 23 Mar 2003 11:49:24 +0000 (11:49 +0000)]
This does two things:

* pdbedit -i -e sets all SAM_ACCOUNT elements
  to CHANGED to satisfy the new pdb_ldap.c handling

* pdbedit -g transfers group mappings. I made this
  separate from the user database, as current installations
  have to live with a split backend.

  So, if you are running 3_0 alphas with LDAP as a backend
  and upgrade to the next 3_0 alpha, you should call

  pdbedit -i tdbsam -e ldapsam -g

  to transfer your group mapping database to LDAP.

  You certainly have to have all your groups as posixGroup
  objects in LDAP and adapt the LDAP schema before this
  call.

Volker

21 years agoThe group mapping functions are not called
Volker Lendecke [Sun, 23 Mar 2003 11:44:14 +0000 (11:44 +0000)]
The group mapping functions are not called
directly anymore, but instead through the passdb
interface. So we can make them static.

Volker

21 years agoThis adds 'ldap delete dn' as the recommended parameter
Volker Lendecke [Sun, 23 Mar 2003 09:04:25 +0000 (09:04 +0000)]
This adds 'ldap delete dn' as the recommended parameter
for the 'ldap del only sam attr' functionality. So
we are compatiple to the current SuSE patches as well
as to TNG... ;-)

Volker

21 years agoMetzes change:
Volker Lendecke [Sun, 23 Mar 2003 08:40:28 +0000 (08:40 +0000)]
Metzes change:

> Hi Volker,
>
> if 'displayName' is not available we should fallback to 'cn' for map->nt_name
> 'cn' is used as unix group name by nss_ldap.
>
> and if nt_name is not available we should fail (so does this patch)

Volker

21 years agoPatch from waider to update our samsync (net rpc vampire) code:
Andrew Bartlett [Sun, 23 Mar 2003 01:33:13 +0000 (01:33 +0000)]
Patch from waider to update our samsync (net rpc vampire) code:
 - Decode all the database names, even if we don't decode their contents
 - Update the 'set' code to match rpc_server/srv_samr_nt.c in only recording
   the difference between the old and new.

Andrew Bartlett

21 years agoDon't declare variables after instructions
Jelmer Vernooij [Sun, 23 Mar 2003 01:09:43 +0000 (01:09 +0000)]
Don't declare variables after instructions

21 years agoWe don't need optarg when we have popt
Jelmer Vernooij [Sun, 23 Mar 2003 00:47:35 +0000 (00:47 +0000)]
We don't need optarg when we have popt

21 years agoConvert to popt.
Jelmer Vernooij [Sun, 23 Mar 2003 00:44:56 +0000 (00:44 +0000)]
Convert to popt.