summaryrefslogtreecommitdiffstats
path: root/source/libads/ldap_printer.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix of two warnings.Rafal Szczesniak2003-02-181-5/+3
| | | | | | | | pull_ucs2_talloc function takes char** pointer, not (here explicitly casted) void** one. Rafal
* BIG patch...Andrew Bartlett2003-01-021-3/+3
| | | | | | | | | | | | | | | | This patch makes Samba compile cleanly with -Wwrite-strings. - That is, all string literals are marked as 'const'. These strings are always read only, this just marks them as such for passing to other functions. What is most supprising is that I didn't need to change more than a few lines of code (all in 'net', which got a small cleanup of net.h and extern variables). The rest is just adding a lot of 'const'. As far as I can tell, I have not added any new warnings - apart from making all of tdbutil.c's function const (so they warn for adding that const string to struct). Andrew Bartlett
* More printer data to publishJim McDonough2002-12-051-0/+1
|
* Stop using hardcoded key/value strings, be more forgiving of ↵Jim McDonough2002-12-031-70/+74
| | | | dsspooler/dsdriver info existence.
* Don't pass a function to ADS_ERR_OK().Jim McDonough2002-11-181-6/+13
|
* Next step of printer publishing.Jim McDonough2002-11-181-106/+242
| | | | | | | | net ads printer publish <printername> [servername] Will retreive the DsSpooler and DsDriver info by rpc for a remote server then publish it. Next comes doing it within smbd
* Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison2002-11-121-5/+4
| | | | | | dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy.
* another const cleanupAndrew Tridgell2002-09-171-1/+1
|
* Support utf8 on the wire for ads ldap. DN's are converted, as well as strings,Jim McDonough2002-06-241-37/+36
| | | | | | | | | | | | | | though it is up to the calling function to decide whether values are strings or not. Attributes are not converted at this point, though support for it would be simple. I have tested it with users and groups using non-ascii chars, and if the check for alphanumeric user/domain names is removed form sesssetup.c, even a user with accented chars can connect, or even login (via winbind). I have also simplified the interfaces to ads_mod_*, though we will probably want to expand this by a few functions in the near future. We just had too many ways to do the same thing...
* talloc'ify ads modify functions.Jim McDonough2002-02-121-35/+51
|
* Update for new ads modlist structure passingJim McDonough2002-02-111-5/+14
|
* Update for function name changes, plus do some of the optional attributes on ↵Jim McDonough2002-02-021-6/+17
| | | | printer modify, now that the ldap control is working.
* Minor bug fixes, plus support to remove a printer. Commented out optional ↵Jim McDonough2002-02-021-5/+35
| | | | attributes until a method for checking for their existence is done.
* Fix build errors on non-ldap systems...change function parms from LDAPMod ** ↵Jim McDonough2002-02-011-1/+1
| | | | to void **
* Fix file header description and copyright (from cut-and-paste laziness)Jim McDonough2002-02-011-3/+1
|
* Module for ADS operations on a printer object in the directory. Initially ↵Jim McDonough2002-02-011-0/+133
it creates and modifies a printQueue object in the directory