1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-21 20:23:50 +03:00
Commit Graph

19 Commits

Author SHA1 Message Date
Jim McDonough
c9b209be2b Update my copyrights according to my agreement with IBM -
Tim Potter
814519c5de Implemented 'net ads printer search' which searches the directory for
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().
-
Tim Potter
c22a4074bd Fix shadow variable warning. -
Andrew Bartlett
e9d6e2ea9a Merge minor library fixes from HEAD to 3.0.
- 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
-
Andrew Bartlett
3a7458f947 Merge from HEAD - make Samba compile with -Wwrite-strings without additional
warnings.  (Adds a lot of const).

Andrew Bartlett
-
Jim McDonough
6e2f0c4e30 More printer data to publish -
Jim McDonough
59ced15a1b Stop using hardcoded key/value strings, be more forgiving of dsspooler/dsdriver info existence. -
Jim McDonough
dff4c93d85 Don't pass a function to ADS_ERR_OK(). -
Jim McDonough
8f047a4492 Next step of printer publishing.
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
-
Jeremy Allison
f755711df8 Removed global_myworkgroup, global_myname, global_myscope. Added liberal
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
-
Gerald Carter
65e7b5273b sync'ing up for 3.0alpha20 release -
Andrew Tridgell
03ac082dcb updated the 3.0 branch from the head branch - ready for alpha18 -
Jim McDonough
e097666499 talloc'ify ads modify functions. -
Jim McDonough
6169b668fe Update for new ads modlist structure passing -
Jim McDonough
76afc886a8 Update for function name changes, plus do some of the optional attributes on printer modify, now that the ldap control is working. -
Jim McDonough
538c19a698 Minor bug fixes, plus support to remove a printer. Commented out optional attributes until a method for checking for their existence is done. -
Jim McDonough
9467792843 Fix build errors on non-ldap systems...change function parms from LDAPMod ** to void ** -
Jim McDonough
146c731c35 Fix file header description and copyright (from cut-and-paste laziness) -
Jim McDonough
b14e638aeb Module for ADS operations on a printer object in the directory. Initially it creates and modifies a printQueue object in the directory -