summaryrefslogtreecommitdiff
path: root/source3/Makefile.in
AgeCommit message (Collapse)AuthorFilesLines
2001-02-20initial client side unicode support (needed for netapp filer)Andrew Tridgell1-1/+1
I've currently got this code disabled by default as it is incomplete. You enable it by setting a USE_UNICODE environment variable. Once the support is complete this check will be removed and the CAP_UNICODE capability bit will be the sole determination of whether the client library code uses unicode right now I have converted session_setup and tconx. I will do more fns over the next few days. see clistr.c for the new client side string interface. Luckily it tends to make the code smaller and neater while adding unicode support. (This used to be commit e1a04e621f1c28d8e6e543d43741ca0272e2237f)
2001-02-07Add Makefile.in target for installing smbclientlib ...Richard Sharpe1-0/+5
(This used to be commit 2b9c6d1c9e278caccd202c1d3b07690c0423acc1)
2001-02-02Added Baltic codepage support. From Toomas Soome <tsoome@ut.ee>Tim Potter1-1/+1
(This used to be commit d0c5339486c38b988d39fbf83bfb98c1258dd98d)
2001-01-31Fix for KOI8-R codepage from Andrey Kiselev <dron@at1895.spb.edu>Tim Potter1-1/+1
(This used to be commit 7a08c3a699142fa8079c2736ed70aef0528ad578)
2001-01-23Patch to get smbcacls and rpcclient to compile together.Tim Potter1-4/+4
(This used to be commit 5a9870f22d4995ec1fc242169ffc1e85da04a3c4)
2001-01-15Some ugly mucking around to get the new rpcclient compiling and linkingTim Potter1-2/+10
with the new samr code and have prototypes working and smbd linking. (This used to be commit 6d61f11788b8868e3396559307157edd1f39a84f)
2001-01-11Removed link errors between rpcclient and smbd.Tim Potter1-4/+4
(This used to be commit e5b078ee7c0a65e89d692b0abe78cf5fdf0cfeab)
2001-01-11New makefile and proto for rpcclient.Tim Potter1-9/+5
(This used to be commit fdf044c351e3ed22212a89c9f2559a44a53d0cdd)
2001-01-07Codepages and stuff for Turkish language support. Contributed byTim Potter1-1/+1
Deniz Akkus <akkus@alum.mit.edu> (This used to be commit 5650c143a706a0a65dfd55dea2248c6636a57912)
2001-01-04Changes from APPLIANCE_HEAD:David O'Neill1-2/+2
source/Makefile.in - changes to ctags and etags rules that somehow got lost along the way. source/include/proto.h - make proto source/smbd/sec_ctx.c source/smbd/password.c - merge debugs for debugging user groups and NT token stuff. source/lib/util_str.c - capitalise domain name returned from parse_domain_user() source/nsswitch/wb_client.c - fix broken conditional in debug statement. source/include/rpc_secdes.h source/include/rpc_spoolss.h source/printing/nt_printing.c source/lib/util_seaccess.c - fix printer permission bugs related to ACE masks for printers. This adds mapping of generic access rights to object specific rights for NT printers. Still need to work out whether or not to ignore ACEs with certain flags set, though. See comments in util_seaccess.c:check_ace() for details. source/printing/nt_printing.c source/printing/printing.c - use PRINTER_ACCESS_ADMINISTER instead of JOB_ACCESS_ADMINISTER until we sort out printer/printjob permission stuff. (This used to be commit 1dba9c5cd1e6389734c648f6903abcb7c8d5b2f0)
2001-01-03Add a new file clidgram with routines that are used by the libsmbclient code.Richard Sharpe1-1/+1
These routines handle the sending of dgrams in ways that don't bind us to the nmbd code, but we may merge the two routines at some stage. Also fix Makefile.in so the new code is compiled ... Let's see whether or not it compiles on other architectures ... Seems OK under Linux. (This used to be commit f7466ba67cb6f863ee495e6de884e9b7a2e49430)
2000-12-26First pass at the libsmbclient code ...Richard Sharpe1-0/+11
This code handles the basic stuff and compiles and links under Linux, but I do not know about any other operating systems. Now onto directory listing routines, including those that list workgroups, servers, etc. Nothing is built automatically yet, you have to make client/testsmbc to build the library and test program. Also, no make install targets are defined for libsmbclient.so as yet, either. Would be good if people test on operating systems other than Linux. (This used to be commit 51c0436a50e9f9274cee9de043bbefc93aff8011)
2000-12-13Added proto definition for new RPC calls.Jeremy Allison1-1/+1
Added printing fix from appliance-head. Jeremy. (This used to be commit f4c7f9ddb906b67ee4397e7707309356085476d1)
2000-12-13I think it's time to go home.Tim Potter1-5/+6
(This used to be commit fde66badf143cde40af35e86d55acb48dc754cdd)
2000-12-13OK so I shouldn't have added cli_pipe.o to LIBSMB_OBJ.Tim Potter1-2/+3
(This used to be commit a724850eb83e61450f112c0b2e6e3492c2a72863)
2000-12-13Add libsmb/cli_lsarpc.o and rpc_client/cli_pipe.o to LIBSMB_OBJ. Not soTim Potter1-2/+3
sure about the latter... Modified SMBCACLS_OBJ (This used to be commit c130d5b0f6a23b4fe19accad8a49ac58a1a8b0b1)
2000-12-08Port of lsa_lookup_sids() and lsa_lookup_names() rpc client functions fromTim Potter1-5/+7
TNG branch. Re-instated lsa_lookup_sids and lsa_lookup_names functions in rpcclient. This requires most samba binaries to link in another handful of object files due to uncessary coupling between modules. )-: (This used to be commit 817819d0cc3ecf642be5a1656be3b71bed260ee4)
2000-12-06Cause smbd to use the new posix_acls code, not the old unix_acls code.Jeremy Allison1-2/+2
Currently does exactly the same thing (returns ACLs the same way). This code is written to try and get a POSIX ACL via the abstract sys_XX interface, then fall back to providing a UNIX based ACL if the calls fail. Seems to work. Next step is to add a --with-posix-acls to configure.in and then check on a POSIX ACL system that a complex ACL is returned correctly as an NT ACL. Note that the ACL set (a more complex problem) is not addressed yet. Jeremy. (This used to be commit 4339e20202a876dbadc07980b731f711463b7299)
2000-12-06update for new pdbedit tool (code from Simo)Gerald Carter1-4/+4
--jerry (This used to be commit 3d0ecea18d52b7287beede5687c26536413440eb)
2000-12-06Changed to sourceforge tdb code. This includes spinlocks (so we now haveJeremy Allison1-1/+1
a --with-spinlocks option to configure, this does mean the on-disk tdb format has changed, so 2.2alphaX sites will need to re-create their tdb's. The upside is no more tdb fragmentation and a +5% on netbench. Swings and roundabouts.... Jeremy. (This used to be commit 9dea7b7c257db487f8ced7dad3fce92fba03ea91)
2000-12-03make sure we don't duplicate object filesAndrew Tridgell1-2/+3
(This used to be commit 976b9f6264c1a5af996777ff1d71db0f762cfa9b)
2000-12-03split the RPC_PARSE object into two pieces. The first is included asAndrew Tridgell1-5/+18
part of LIBSMB and the latter is used by parts of samba that know about the pwd backends (This used to be commit 3420b52da5957b5bbf0704d1e386349a061f86cf)
2000-11-21Another large patch for the passdb rewrite.Gerald Carter1-3/+4
o added BOOL own_memory flag in SAM_ACCOUNT so we could use static memory for string pointer assignment or allocate a new string o added a reference TDB passdb backend. This is only a reference and should not be used in production because - RID's are generated using the same algorithm as with smbpasswd - a TDB can only have one key (w/o getting into problems) and we need three. Therefore the pdb_sam-getpwuid() and pdb_getsampwrid() functions are interative searches :-( we need transaction support, multiple indexes, and a nice open source DBM. The Berkeley DB (from sleepycat.com seems to fit this criteria now) o added a new parameter "private dir" as many places in the code were using lp_smb_passwd_file() and chopping off the filename part. This makes more sense to me and I will docuement it in the man pages o Ran through Insure-lite and corrected memory leaks. Need for a public flogging this time Jeremy (-: -- jerry (This used to be commit 4792029a2991bd84251d152a62b1033dec62cee2)
2000-11-16Fix for a problem with the new messaging system. If a sender is using theJeremy Allison1-0/+9
messaging system as a notification mechanism, and the speed of notification greatly exceeds the speed of message recovery, then you get a massively (>75Mb) growing tdb. If the message is a simple notification, then the message is static, and you only need one of them in transit to a target process at any one time. This patch adds a BOOL "allow_duplicates" to the message_send_XX primitives. If set to False, then before sending a message the sender checks the existing message queue for a target pid for a duplicate of this message, and doesn't add to it if one already exists. Also added code into msgtest.c to test this. Jeremy. (This used to be commit 3aa7995660395ecb85c8e35b638fa9fbbb952558)
2000-11-13Large commit which restructures the local password storage API.Gerald Carter1-3/+12
Currently the only backend which works is smbpasswd (tdb, LDAP, and NIS+) are broken, but they were somewhat broken before. :) The following functions implement the storage manipulation interface /*The following definitions come from passdb/pdb_smbpasswd.c */ BOOL pdb_setsampwent (BOOL update); void pdb_endsampwent (void); SAM_ACCOUNT* pdb_getsampwent (void); SAM_ACCOUNT* pdb_getsampwnam (char *username); SAM_ACCOUNT* pdb_getsampwuid (uid_t uid); SAM_ACCOUNT* pdb_getsampwrid (uint32 rid); BOOL pdb_add_sam_account (SAM_ACCOUNT *sampass); BOOL pdb_update_sam_account (SAM_ACCOUNT *sampass, BOOL override); BOOL pdb_delete_sam_account (char* username); There is also a host of pdb_set..() and pdb_get..() functions for manipulating SAM_ACCOUNT struct members. Note that the struct passdb_ops {} has gone away. Also notice that struct smb_passwd (formally in smb.h) has been moved to passdb/pdb_smbpasswd.c and is not accessed outisde of static internal functions in this file. All local password searches should make use of the the SAM_ACCOUNT struct and the previously mentioned functions. I'll write some documentation for this later. The next step is to fix the TDB passdb backend, then work on spliting the backends out into share libraries, and finally get the LDAP backend going. What works and may not: o domain logons from Win9x works o domain logons from WinNT 4 works o user and group enumeration as implemented by Tim works o file and print access works o changing password from Win9x & NT ummm...i'll fix this tonight :) If I broke anything else, just yell and I'll fix it. I think it should be fairly quite. -- jerry (This used to be commit 0b92d0838ebdbe24f34f17e313ecbf61a0301389)
2000-10-26TDB password backend support written by Simo Sorce <simo.sorce@polimi.it>Gerald Carter1-2/+4
Marked as an experimental compile time option (defaults to off) for now. jerry (This used to be commit 0435af4417b876c2ea1dd4591ae7647784c28e30)
2000-10-13Fix to allow smbd to call winbindd if it is running for all group enumeration,Jeremy Allison1-2/+2
falling back to the UNIX calls on error. This should fix all problems with smbd enumerating all users in all groups in all trusted domains via winbindd. Jeremy. (This used to be commit 54a1ae815b3ebcc7ab98bf0a2a39719ae3b2d5ea)
2000-10-09Fixes to allow wins.c to compile to allow building of libnss_wins.so.John Terpstra1-0/+3
(This used to be commit 3fb2e94c4430c570639c0e4d1caeed3a19bbd09b)
2000-09-25printer notify code.Jean-François Micouleau1-4/+2
It only sends notifies to one client. The broadcasting notify code will code soon. J.F. (This used to be commit 4c63c9185887c64e57d901e82a4a16a83522c898)
2000-09-13first cut at smbcontrol program. It currently allows syntax like:Andrew Tridgell1-4/+4
smbcontrol nmbd debug 7 smbcontrol smbd debug 9 smbcontrol 3278 debug 1 smbcontrol nmbd force-election (This used to be commit 5f91c24636f5d82486f22c10bc55e060f9c518bf)
2000-09-11the first cut of the internal messaging system.Andrew Tridgell1-1/+8
The motivation for this system is to replace the UDP message for oplocks, but this commit only does the "set debug level" message. (This used to be commit 2a34ee95f3929cff131db6c5a2b4820194c05b2d)
2000-09-01Changes from APPLIANCE_HEAD (per Tim Potter):David O'Neill1-1/+1
- make proto - addition of function to convert from errno values to NT status codes (source/lib/error.c) - purge queue done without full access permission will purge only the jobs owned by that user, rather than failing. - unlock job database tdb before sending job to printer - in print_job_start(), ensure that we don't pick a jobid with an existing temporary file that may be owned by another user, as it causes silent failures. - fixes for printer permission checking for NT5 clients (source/include/rpc_spoolss.h, source/printing/nt_printing.c, source/printing/printing.c, source/rpc_server/srv_spoolss_nt.c) - change from uint8 to 'enum SID_NAME_USE' (source/rpc_server/srv_lsa.c) - fixed memory leaks for win95 driver download process (source/smbd/lanman.c) - properly free prs_structs and dacl in testsuite/printing/psec.c (This used to be commit 74af3e2caec7197e5d1ca389e2f78054a4197502)
2000-08-29make rpcclent by default.Gerald Carter1-1/+1
--jerry (This used to be commit e89117f418c9c1a1b4f2e9d708030369d801a01c)
2000-07-20readded util_list.c (just to the RPCCLIENT_OBJ). I need to splitGerald Carter1-1/+1
the file up i think. Later. --jerry (This used to be commit ed54a9f4d154ac56330b23255108447036cbd192)
2000-07-19First cut toward adding WINS server failover.Christopher R. Hertel1-1/+1
*Note: failover doesn't actually work yet!* It's just that the code I'm adding provides all of the pieces necessary. I do have one big question. Something that I'll have to ask Jeremy, I'm thinkin'. In nmbd/nmbd_subnetdb.c the IP of the WINS server is used to set up the Unicast subnet. ...so what happens if the WINS server changes? My guess is either: a) nothing. b) I'd have to change the unicast subnet entry whenever the WINS server changes. Urq. BTW, the lp_wins_server() function no longer returns the WINS server name or IP. It returns the list of WINS servers entered in smb.conf. To get the currently 'live' WINS server, use the wins_srv() function. Fun, eh? Chris -)----- (This used to be commit cc08bdc74f4cd111fdc582ee7babef47ed8a950d)
2000-07-18remove util_list from LIB_OBJS since it broke smbd buildGerald Carter1-1/+1
(undefined references in link). This is a quick fix. I'll resolve things later. Sorry everyone. jerry (This used to be commit ea64f2525d649c0952af52c2ba21a3bac57b322e)
2000-07-18Added lib/util_list.[c|o] to Makefile.inGerald Carter1-1/+1
--jerry (This used to be commit 94967b31bbc913d9b45274d9eed846f871b66b6f)
2000-07-14a few changes to Makefile.in to clean up dependencies for rpcclientGerald Carter1-7/+5
--jerry (This used to be commit 9206d593603af959700794d252da8d07082012ef)
2000-07-10Moved winbind client functions from various odd locations toTim Potter1-4/+5
nsswitch/wb_client.c Merge of nsswitch/common.c rename to nsswitch/wb_common.c from TNG. (This used to be commit f866c18f6be65db67d9d2a6c0b42e1af3b421e6c)
2000-07-07Just a few changes due to bringing some partial files backGerald Carter1-3/+10
from TNG to HEAD. --jerry (This used to be commit ddef41c13484f488657ea36a510b52cefc7c8643)
2000-07-06Moved lib/util_seaccess.o from LIB_OBJ to SMBD1_OBJ as it is only used byTim Potter1-2/+2
smbd. (This used to be commit 539c32fa423bee9be34eeda96fad5398f7cf982b)
2000-07-06wrote a little sample smbw programAndrew Tridgell1-1/+8
build using "make bin/smbw_sample" this is to show people how to use smbw (This used to be commit 7d7ceaa9219ba88075cac23eb42b163903537c70)
2000-07-05Merge of wbinfo program from TNG.Tim Potter1-1/+9
(This used to be commit 659e4d88ff9dbf1fa9cd8904470c4a8d02d8674b)
2000-07-03first pass at merging rpcclient from TNG to HEAD. You can get aGerald Carter1-14/+18
semi-connection and a rpcclient prompt, but no functionality there yet. Will be a few more days on that. I need to clean this up a little. Will work on that some more. --jerry (This used to be commit 1b305cb3421eef575cc19bacf1fcc57537d7ea75)
2000-06-23Added smbd/sec_ctx.o to smbd objects.Tim Potter1-1/+2
(This used to be commit 11897939bcc073a24ff25c915beec7418a0bccfd)
2000-06-23just enough to get rpcclient to compile. Look for #if 0Gerald Carter1-1/+2
blocks around a few unimplemented functions. Also had to add cli_reg.c to Makefile.in --jerry (This used to be commit 426c43fb5167b042682c22e67871e5ebadb4b769)
2000-06-14Added nsswitch/common.o to SMBD_OBJ1Tim Potter1-1/+1
(This used to be commit 6c743427dfa2fbd6f3ab47991165db9e705eba20)
2000-06-12enable the Linux change notify code and change some notify debug codeAndrew Tridgell1-1/+1
(This used to be commit c6be511fcc1be79619a0184f03d4c33dbfe12f04)
2000-06-12totally rewrote the async signal, notification and oplock notificationAndrew Tridgell1-3/+5
handling in Samba. This was needed due to several limitations and races in the previous code - as a side effect the new code is much cleaner :) in summary: - changed sys_select() to avoid a signal/select race condition. It is a rare race but once we have signals doing notification and oplocks it is important. - changed our main processing loop to take advantage of the new sys_select semantics - split the notify code into implementaion dependent and general parts. Added the following structure that defines an implementation: struct cnotify_fns { void * (*register_notify)(connection_struct *conn, char *path, uint32 flags); BOOL (*check_notify)(connection_struct *conn, uint16 vuid, char *path, uint32 flags, void *data, time_t t); void (*remove_notify)(void *data); }; then I wrote two implementations, one using hash/poll (like our old code) and the other using the new Linux kernel change notify. It should be easy to add other change notify implementations by creating a sructure of the above type. - fixed a bug in change notify where we were returning the wrong error code. - rewrote the core change notify code to be much simpler - moved to real-time signals for leases and change notify Amazingly, it all seems to work. I was very surprised! (This used to be commit 44766c39e0027c762bee8b33b12c621c109a3267)
2000-06-12split all the change notify code out into a separate moduleAndrew Tridgell1-1/+1
smbd/notify.c. All the data structures are now private to that module. this is in preparation for Linux kernel support for change notify (coming soon to a CVS tree near you) (This used to be commit 1bb0aad4f66dbfa2d0f767ea90f926affff20b17)