summaryrefslogtreecommitdiff
path: root/source3/libads/ldap_printer.c
AgeCommit message (Collapse)AuthorFilesLines
2003-07-03Implemented 'net ads printer search' which searches the directory forTim Potter1-1/+14
published printers. At the moment we don't search using any parameters but this can be fixed by changing the LDAP search string. Also we should contact the global catalog at SRV _gc._tcp instead of the ldap server we get back from ads_startup(). (This used to be commit 814519c5de7f962623163b732c8589abd355d845)
2003-06-13Fix shadow variable warning.Tim Potter1-4/+4
(This used to be commit c22a4074bd2b998339826ba629fe48153639ec18)
2003-02-19Merge minor library fixes from HEAD to 3.0.Andrew Bartlett1-5/+3
- setenv() replacement - mimir's ASN1/SPNEGO typo fixes - (size_t)-1 fixes for push_* returns - function argument signed/unsigned correction - ASN1 error handling (ensure we don't use initiailsed data) - extra net ads join error checking - allow 'set security discriptor' to fail - escape ldap strings in libads. - getgrouplist() correctness fixes (include primary gid) Andrew Bartlett (This used to be commit e9d6e2ea9a3dc01d3849b925c50702cda6ddf225)
2003-01-03Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett1-3/+3
warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2002-12-05More printer data to publishJim McDonough1-0/+1
(This used to be commit 6e2f0c4e304a09313f933a3c9c2a7b3a0219006d)
2002-12-03Stop using hardcoded key/value strings, be more forgiving of ↵Jim McDonough1-70/+74
dsspooler/dsdriver info existence. (This used to be commit 59ced15a1b0d88a24a89b3aa9717599aa110272b)
2002-11-18Don't pass a function to ADS_ERR_OK().Jim McDonough1-6/+13
(This used to be commit dff4c93d85717ba29799a0ebaaba8b8539c8d68d)
2002-11-18Next step of printer publishing.Jim McDonough1-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 (This used to be commit 8f047a4492f7bd66ac2afd2a2f6194d5dad4a434)
2002-11-12Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison1-5/+4
dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy. (This used to be commit f755711df8f74f9b8e8c1a2b0d07d02a931eeb89)
2002-09-25sync'ing up for 3.0alpha20 releaseGerald Carter1-1/+1
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-37/+36
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-02-12talloc'ify ads modify functions.Jim McDonough1-35/+51
(This used to be commit e097666499564ffe28836876a7a191149c14f199)
2002-02-11Update for new ads modlist structure passingJim McDonough1-5/+14
(This used to be commit 6169b668fe955f298c7323c5d64f6c7b303aaac0)
2002-02-02Update for function name changes, plus do some of the optional attributes on ↵Jim McDonough1-6/+17
printer modify, now that the ldap control is working. (This used to be commit 76afc886a89e8c0d5a169435dde42b00db522060)
2002-02-02Minor bug fixes, plus support to remove a printer. Commented out optional ↵Jim McDonough1-5/+35
attributes until a method for checking for their existence is done. (This used to be commit 538c19a6983e0423b94f743184263cd8ef9c701e)
2002-02-01Fix build errors on non-ldap systems...change function parms from LDAPMod ** ↵Jim McDonough1-1/+1
to void ** (This used to be commit 9467792843fdd9bc55e92bfaa2f2205279074297)
2002-02-01Fix file header description and copyright (from cut-and-paste laziness)Jim McDonough1-3/+1
(This used to be commit 146c731c35beecd3ae8e093e52d94af0e2efcd69)
2002-02-01Module for ADS operations on a printer object in the directory. Initially ↵Jim McDonough1-0/+133
it creates and modifies a printQueue object in the directory (This used to be commit b14e638aeb80bad80cfd12ed60f5e77f24addfd5)